]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix sign of inexact zero results for ldbl-128ibm fmal.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
7c7feb47
JM
12012-11-22 Joseph Myers <joseph@codesourcery.com>
2
c60d3bf2
JM
3 [BZ #14645]
4 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
5 x * y if x and y are nonzero and z is zero.
6
ef1e0867
JM
7 [BZ #14811]
8 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
9 nonzero exponents with absolute value below 0x1p-117 to +/-
10 0x1p-117.
11
1468ded3
JM
12 [BZ #14869]
13 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
14 up arguments below 2**-450, not just those below 2**-500.
15 * math/libm-test.inc (hypot_test): Add another test.
16
8e27e3cc
JM
17 [BZ #14868]
18 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
19 Return a+b for ratio over 2**120, not 2**60.
20 * math/libm-test.inc (hypot_test): Add another test.
21
c9c0279b
JM
22 * math/libm-test.inc (clog_test): Use
23 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
24 (clog10_test): Likewise.
25
7c7feb47
JM
26 [BZ #6778]
27 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
28
fff1530e
AS
292012-11-22 Andreas Schwab <schwab@suse.de>
30
31 * sysdeps/i386/fpu/libm-test-ulps: Update.
32
94558d30
PT
332012-11-22 Pino Toscano <toscano.pino@tiscali.it>
34
35 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
36 printf output with newline.
37
7e1be741
L
382012-11-21 H.J. Lu <hongjiu.lu@intel.com>
39
6bfea974
L
40 [BZ #14865]
41 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
42 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
43 -z nodlopen, -z initfirst and -z execstack support.
44 * configure: Regenerated.
45
7e1be741
L
46 * elf/elf.h (DF_1_NODIRECT): New macro.
47 (DF_1_IGNMULDEF): Likewise.
48 (DF_1_NOKSYMS): Likewise.
49 (DF_1_NOHDR): Likewise.
50 (DF_1_EDITED): Likewise.
51 (DF_1_NORELOC): Likewise.
52 (DF_1_SYMINTPOSE): Likewise.
53 (DF_1_GLOBAUDIT): Likewise.
54 (DF_1_SINGLETON): Likewise.
55 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
56 DT_1_SUPPORTED_MASK bits.
57 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
58
105ce2ce
CD
592012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
60
61 * sysdeps/unix/make-syscalls.sh: Document prefixes.
62
123be9de
TS
632012-11-20 Thomas Schwinge <thomas@codesourcery.com>
64
d072f3f7
TS
65 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
66 macro.
67
123be9de
TS
68 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
69 (sendmmsg): Move declarations...
70 * socket/sys/socket.h: ... here.
71 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
72 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
73 include it from...
74 * socket/recvmmsg.c: ... this new file.
75 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
76 (sendmmsg): Rename to __sendmmsg, create weak alias and make
77 definition of __sendmmsg hidden.
78 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
79 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
80 Move ENOSYS stub into and include it from...
81 * socket/sendmmsg.c: ... this new file.
82 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
83 (sysdep_routines): Move recvmmsg and sendmmsg...
84 * socket/Makefile (routines): ... here.
85 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
86 (GLIBC_PRIVATE): Add __sendmmsg.
87 * include/sys/socket.h (__sendmmsg): Add declarations.
88 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
89 sendmmsg.
90
cf9a5d18
JM
912012-11-20 Joseph Myers <joseph@codesourcery.com>
92
93 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
94 variable I1 with __attribute__ ((unused)).
95 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
96
ecd4caf9
JM
972012-11-19 Joseph Myers <joseph@codesourcery.com>
98
be14d48f
JM
99 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
100 DUMMY variables with __attribute__ ((unused)).
101
ecd4caf9
JM
102 * bits/byteswap.h: Include <bits/types.h>.
103 (__bswap_64): Use __uint64_t instead of unsigned long long int.
104
986cab95
PT
1052012-11-19 Pino Toscano <toscano.pino@tiscali.it>
106
107 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
108 string_t. Do not manually set errno.
109 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
110 length with __strnlen. Make sure to both set errno and return it on
111 failure.
112
6d33cc9d
DM
1132012-11-19 David S. Miller <davem@davemloft.net>
114
115 With help from Joseph Myers.
116 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
117 very large arguments properly.
118 * math/libm-test.inc (atan_test): New tests.
119 (atan2_test): New tests.
120 * sysdeps/sparc/fpu/libm-test-ulps: Update.
121 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
122
ee663277
JM
1232012-11-19 Joseph Myers <joseph@codesourcery.com>
124
877f2d8e
JM
125 [BZ #14856]
126 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
127 Define to 3.
128
116fc08a
JM
129 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
130 [POSIX] (EADDRNOTAVAIL): Likewise.
131 [POSIX] (EAFNOSUPPORT): Likewise.
132 [POSIX] (EALREADY): Likewise.
133 [POSIX] (ECONNABORTED): Likewise.
134 [POSIX] (ECONNREFUSED): Likewise.
135 [POSIX] (ECONNRESET): Likewise.
136 [POSIX] (EDESTADDRREQ): Likewise.
137 [POSIX] (EDQUOT): Likewise.
138 [POSIX] (EHOSTUNREACH): Likewise.
139 [POSIX] (EIDRM): Likewise.
140 [POSIX] (EISCONN): Likewise.
141 [POSIX] (ELOOP): Likewise.
142 [POSIX] (EMULTIHOP): Likewise.
143 [POSIX] (ENETDOWN): Likewise.
144 [POSIX] (ENETUNREACH): Likewise.
145 [POSIX] (ENOBUFS): Likewise.
146 [POSIX] (ENODATA): Likewise.
147 [POSIX] (ENOLINK): Likewise.
148 [POSIX] (ENOMSG): Likewise.
149 [POSIX] (ENOPROTOOPT): Likewise.
150 [POSIX] (ENOSR): Likewise.
151 [POSIX] (ENOSTR): Likewise.
152 [POSIX] (ENOTCONN): Likewise.
153 [POSIX] (ENOTSOCK): Likewise.
154 [POSIX] (EOPNOTSUPP): Likewise.
155 [POSIX] (EOVERFLOW): Likewise.
156 [POSIX] (EPROTO): Likewise.
157 [POSIX] (EPROTONOSUPPORT): Likewise.
158 [POSIX] (EPROTOTYPE): Likewise.
159 [POSIX] (ESTALE): Likewise.
160 [POSIX] (ETIME): Likewise.
161 [POSIX] (ETXTBSY): Likewise.
162 [POSIX] (EWOULDBLOCK): Likewise.
163 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
164 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
165 [POSIX] (SEEK_CUR): Likewise.
166 [POSIX] (SEEK_END): Likewise.
167 [POSIX || UNIX98] (mode_t): Do not require.
168 [POSIX] (off_t): Likewise.
169 [POSIX] (pid_t): Likewise.
170 [POSIX] (sys/stat.h): Do not allow header.
171 [POSIX] (unistd.h): Likewise.
172 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
173 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
174 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
175 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
176 require.
177 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
178 sigevent): Specify elements.
179 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
180 entry.
181 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
182 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
183
a483863f
JM
184 * conform/data/cpio.h-data [POSIX]: Disable whole file.
185 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
186 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
187 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
188 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
189 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
190 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
191 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
192 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
193 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
194 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
195 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
196 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
197 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
198 Likewise.
199 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
200 Likewise.
201 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
202 Likewise.
203 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
204 Likewise.
205 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
206 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
207 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
208 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
209 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
210 Specify lower bound on value.
211 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
212 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
213 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
214 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
215 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
216 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
217 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
218 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
219 value.
220 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
221 as optional.
222 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
223 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
224 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
225 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
226 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
227 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
228 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
229 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
230 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
231 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
232 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
233 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
234 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
235 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
236 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
237 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
238 entry.
239 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
240 optional.
241 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
242 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
243 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
244 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
245 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
246 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
247 Likewise.
248 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
249 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
250 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
251 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
252 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
253 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
254 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
255 as optional.
256 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
257 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
258 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
259 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
260 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
261 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
262 specify as optional.
263 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
264 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
265 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
266 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
267 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
268 [XPG3] (NL_LANGMAX): Likewise.
269 [POSIX || XPG3] (NL_MSGMAX): Likewise.
270 [POSIX || XPG3] (NL_NMAX): Likewise.
271 [POSIX || XPG3] (NL_SETMAX): Likewise.
272 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
273 [XPG3] (NZERO): Likewise.
274 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
275 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
276 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
277 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
278 (REG_ERANGE): Expect.
279 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
280 optional-constant.
281 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
282 Use (void) in prototype.
283 [POSIX] (*_t): Allow.
284 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
285 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
286 (WRDE_BADVAL): Expect.
287
5ba924e3
JM
288 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
289 expect.
290 [XPG3 || XPG4] (O_RSYNC): Likewise.
291 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
292 Likewise.
293 [XPG3 || XPG4] (pthread_sigmask): Likewise.
294 [XPG3 || XPG4] (sigqueue): Likewise.
295 [XPG3 || XPG4] (sigtimedwait): Likewise.
296 [XPG3 || XPG4] (sigwaitinfo): Likewise.
297 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
298 [XPG3 || XPG4] (vsnprintf): Likewise.
299 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
300 Likewise.
301 [XPG3 || XPG4] (blksize_t): Likewise.
302 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
303 Likewise.
304 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
305 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
306 [XPG3 || XPG4] (struct itimerspec): Likewise.
307 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
308 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
309 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
310 [XPG3 || XPG4] (clockid_t): Likewise.
311 [XPG3 || XPG4] (timer_t): Likewise.
312 [XPG3 || XPG4] (clock_getres): Likewise.
313 [XPG3 || XPG4] (clock_gettime): Likewise.
314 [XPG3 || XPG4] (clock_settime): Likewise.
315 [XPG3 || XPG4] (nanosleep): Likewise.
316 [XPG3 || XPG4] (timer_create): Likewise.
317 [XPG3 || XPG4] (timer_delete): Likewise.
318 [XPG3 || XPG4] (timer_gettime): Likewise.
319 [XPG3 || XPG4] (timer_getoverrun): Likewise.
320 [XPG3 || XPG4] (timer_settime): Likewise.
321 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
322 [XPG3 || XPG4] (getlogin_r): Likewise.
323 [XPG3 || XPG4] (pread): Likewise.
324 [XPG3 || XPG4] (pthread_atfork): Likewise.
325 [XPG3 || XPG4] (pwrite): Likewise.
326
ee663277
JM
327 [BZ #14835]
328 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
329 <bits/siginfo.h>.
330
942caa16
PT
3312012-11-19 Pino Toscano <toscano.pino@tiscali.it>
332
e19af380
PT
333 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
334 finalizing MALLSTREAM.
335
942caa16
PT
336 * sysdeps/mach/hurd/syncfs.c: New file.
337
cfde9b46
SP
3382012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
339
340 [BZ #14719]
341 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
342 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
343 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
344 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
345 (_nss_dns_gethostbyname4_r): Likewise.
346 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
347 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
348
f6da27e5
PH
3492012-11-19 Peng Haitao <penght@cn.fujitsu.com>
350
351 [BZ #13763]
352 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
353
6665d4a2
SM
3542012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
355
1f51ee92
SM
356 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
357 * elf/cache.c (print_entry): Print ",AArch64" for
358 FLAG_AARCH64_LIB64
359
6665d4a2
SM
360 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
361 * elf/cache.c (print_entry): Print ",hard-float" for
362 FLAG_ARM_LIBHF.
363
05b227bd
DM
3642012-11-18 David S. Miller <davem@davemloft.net>
365
366 With help from Joseph Myers.
367 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
368 cutoff to 2**-13.
369 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
370 cutoff to 2**-25.
371 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
372 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
373 small.
374 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
375 * math/libm-test.inc (y0_test): New tests.
376 (y1_test): New tests.
377 * sysdeps/i386/fpu/libm-test-ulps: Update.
378 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
379 * sysdeps/sparc/fpu/libm-test-ulps: Update.
380
786b0b67
AS
3812012-11-18 Andreas Schwab <schwab@linux-m68k.org>
382
383 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
384 64-bit targets.
385 * configure: Regenerated.
386
8e18b86d
DM
3872012-11-17 David S. Miller <davem@davemloft.net>
388
389 [BZ #14811]
390 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
391 nonzero exponents with absolute value below 0x1p-128 to +/-
392 0x1p-128.
393
531f1ae0
JM
3942012-11-17 Joseph Myers <joseph@codesourcery.com>
395
12df29e2
JM
396 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
397
150dc1a0
JM
398 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
399
531f1ae0
JM
400 * posix/getconf-speclist.c: New file.
401 * posix/posix-envs.def: Likewise.
402 * posix/confstr.c (START_ENV_GROUP): New macro.
403 (END_ENV_GROUP): Likewise.
404 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
405 (KNOWN_PRESENT_ENV_STRING): Likewise.
406 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
407 (UNKNOWN_ENVIRONMENT): Likewise.
408 (confstr): Include posix-envs.def instead of handling
409 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
410 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
411 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
412 (END_ENV_GROUP): Likewise.
413 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
414 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
415 (UNKNOWN_ENVIRONMENT): Likewise.
416 (__sysconf): Include posix-envs.def instead of handling associated
417 cases directly here.
418 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
419 preprocessing getconf-speclist.c rather than running getconf or
420 generating empty file.
421
a93f9cbc
PT
4222012-11-16 Pino Toscano <toscano.pino@tiscali.it>
423
424 * scripts/check-local-headers.sh: Ignore 'mach' headers.
425
d64d9f87
AL
4262012-11-16 Andrej Lajovic <natrij@gmail.com>
427
428 [BZ #14672]
429 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
430
447885eb
DM
4312012-11-16 David S. Miller <davem@davemloft.net>
432
433 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
434 smaller than LDBL_EPSILON/2.0L, just return xm1.
435
bcbf9830
L
4362012-11-16 H.J. Lu <hongjiu.lu@intel.com>
437
438 * elf/tst-array1.c (init): Set constructor priority to 1000.
439 (fini): Set destructor priority to 1000.
440 * elf/tst-array2dep.c: Likewise.
441
2b766585
SP
4422012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
443
444 [BZ #11741]
445 * libio/fileops.c (_IO_new_file_write): Correctly return error.
446 (_IO_new_file_xsputn): Also return EOF if none of the input
447 data was written when overflow failed.
448 * libio/iopadn.c (_IO_padn): Likewise.
449 * libio/iowpadn.c (_IO_wpadn): Likewise.
450 * stdio-common/tst-put-error.c: Add copyright notice.
451 (do_test): Add case for printing padded string.
452 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
453 _IO_padn returned error.
454 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
455 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
456 return EOF.
457
b1848fde
SP
4582012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
459
460 * libio/libioP.h: Add comment note that the references to C++
461 bits are now obsolete.
462
2fd89785
MS
4632012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
464
465 * math/libm-test.inc (check_complex): Use asprintf.
466
e3ea5409
JM
4672012-11-14 Joseph Myers <joseph@codesourcery.com>
468
469 * debug/pcprofiledump.c (print_version): Update copyright year.
470 * malloc/memusagestat.c (print_version): Likewise.
471
2e64d265
L
4722012-11-14 H.J. Lu <hongjiu.lu@intel.com>
473
474 [BZ #14831]
475 * elf/Makefile (tests): Add tst-audit8.
476 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
477 ($(objpfx)tst-audit8.out): New target.
478 (tst-audit8-ENV): New variable.
479 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
480 audit if l_reloc_result is NULL.
481 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
482 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
483 * elf/tst-audit8.c: New file.
484
c485e4d2
MS
4852012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
486
487 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
488 * misc/Makefile (CFLAGS-select.c): Define.
489 * posix/Makefile (CFLAGS-pause.c): Define.
490
3a0d900a
DM
4912012-11-13 David S. Miller <davem@davemloft.net>
492
493 * crypt/Makefile: Move test targets after toplevel Rules
494 inclusion. Grab any necessary sysdep routines when linking.
495 * crypt/md5.c (md5_process_block): Remove define, we will always
496 name it __md5_process_block.
497 (md5_finish_ctx): Update md5_process_block call.
498 (md5_stream): Likewise.
499 (md5_process_bytes): Likewise.
500 (md5_process_block): Rename to __md5_process_block and move to ...
501 * crypt/md5-block.c: ... here.
502 * crypt/sha256.c (sha256_process_block): Move to ...
503 * crypt/sha256-block.c: ... here.
504 * crypt/sha512.c (sha512_process_block): Move to ...
505 * crypt/sha512-block.c: ... here.
506 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
507 path.
508 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
509 * sysdeps/sparc/sparc64/multiarch/Makefile
510 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
511 crypt subdir.
512 (localedef-aux): Add md5 crypto assembler when in locale subdir.
513 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
514 multiarch changes.
515 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
516 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
517 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
518 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
519 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
520 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
521 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
522 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
523 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
524 file.
525 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
526 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
527 file.
528 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
529
8ca89318
JM
5302012-11-13 Joseph Myers <joseph@codesourcery.com>
531
e27d476a
JM
532 * timezone/tzselect.ksh: Update from tzcode git revision
533 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
534 * timezone/zdump.c: Likewise.
535 * timezone/zic.c: Likewise.
536 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
537 in TZVERSION setting, not $(PKGVERSION).
538 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
539 REPORT_BUGS_TO settings.
540
8ca89318
JM
541 [BZ #14838]
542 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
543 macro.
544
47594329
MS
5452012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
546
547 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
548 detection to immediately after _FP_ROUND().
549 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
550 bits are 0.
551
640ac3f1
DM
5522012-11-11 David S. Miller <davem@davemloft.net>
553
554 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
555 inttypes.h
556 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
557 __close rather than their public counterparts.
558
3d2577bb
JM
5592012-11-10 Joseph Myers <joseph@codesourcery.com>
560
561 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
562 file.
563 [UNIX98] (sem_timedwait): Do not expect.
564 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
565 [XPG4 || UNIX98] (sockatmark): Do not expect.
566 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
567 (clock_getcpuclockid): Do not expect.
568 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
569 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
570 Do not expect.
571 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
572 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
573 [UNIX98] (vwscanf): Likewise.
574 [UNIX98] (vswscanf): Likewise.
575
fb1ae1ee
JM
5762012-11-09 Joseph Myers <joseph@codesourcery.com>
577
9ec6f8bd
JM
578 * timezone/version.h: Remove file.
579 * timezone/README: Do not refer to version.h.
580 * timezone/Makefile ($(objpfx)zic.o): New dependency on
581 $(objpfx)version.h.
582 ($(objpfx)zdump.o): Likewise.
c3f81911 583 ($(objpfx)version.h): New target.
9ec6f8bd 584
0aa8f8a1
JM
585 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
586 2012i.
587 * timezone/README: Don't mention modification to tzselect.ksh.
588 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
589 work on unmodified tzselect.ksh. Substitute version numbers in
590 tzselect.ksh.
591
4e87147f
JM
592 * Makefile (format-me): Remove.
593 (INSTALL): Adjust indentation. Use commands directly instead of
594 using $(format-me).
595
8b748aed
JM
596 * aclocal.m4 (ACX_PKGVERSION): New macro.
597 (ACX_BUGURL): Likewise.
598 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
599 (PKGVERSION): New AC_DEFINE_UNQUOTED.
600 (REPORT_BUGS_TO): Likewise.
601 * configure: Regenerated.
602 * config.h.in (PKGVERSION): New macro.
603 (REPORT_BUGS_TO): Likewise.
604 * config.make.in (PKGVERSION): New variable.
605 (PKGVERSION_TEXI): Likewise.
606 (REPORT_BUGS_TO): Likewise.
607 (REPORT_BUGS_TEXI): Likewise.
608 * Makefile (format-me): Use -I$(common-objpfx)manual.
609 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
610 ($(common-objpfx)manual/%): New target.
611 (manual/%): Remove target.
612 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
613 (print_version): Use PKGVERSION.
614 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
615 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
616 and REPORT_BUGS_TO.
617 ($(objpfx)xtrace): Likewise.
618 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
619 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
620 (print_version): Use PKGVERSION.
621 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
622 (do_version): Use PKGVERSION.
623 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
624 REPORT_BUGS_TO.
625 (common-ldd-rewrite): Likewise.
626 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
627 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
628 (print_version): Use PKGVERSION.
629 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
630 * elf/pldd.c (argp_program_bug_address): Remove variable.
631 (more_help): New function.
632 (argp): Use more_help.
633 (print_version): Use PKGVERSION.
634 * elf/sln.c (main): Use PKGVERSION.
635 (usage): Use REPORT_BUGS_TO.
636 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
637 (top level): Use PKGVERSION.
638 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
639 (print_version): Use PKGVERSION.
640 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
641 (print_version): Use PKGVERSION.
642 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
643 (print_version): Use PKGVERSION.
644 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
645 (print_version): Use PKGVERSION.
646 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
647 (print_version): Use PKGVERSION.
648 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
649 (print_version): Use PKGVERSION.
650 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
651 and BUGURL.
652 ($(objpfx)memusage): Likewise.
653 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
654 (do_version): Use PKGVERSION.
655 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
656 (print_version): Use PKGVERSION.
657 * malloc/mtrace.pl ($PACKAGE): Remove variable.
658 ($PKGVERSION): New variable.
659 ($REPORT_BUGS_TO): Likewise.
660 (usage): Use $REPORT_BUGS_TO.
661 (top level): Use $PKGVERSION.
662 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
663 ($(objpfx)pkgvers.texi): New rule.
664 ($(objpfx)stamp-pkgvers): Likewise.
665 * manual/install.texi: Include pkgvers.texi.
666 (--with-pkgversion): Document new configure option.
667 (--with-bugurl): Likewise.
668 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
669 than necessarily for this particular distribution. Use
670 REPORT_BUGS_TO for where to report bugs.
671 * INSTALL: Regenerated.
672 * manual/libc.texinfo: Include pkgvers.texi.
673 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
674 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
675 (print_version): Use PKGVERSION.
676 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
677 (print_version): Use PKGVERSION.
678 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
679 (print_version): Use PKGVERSION.
680 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
681 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
682 macro.
683 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
684 (print_version): Use PKGVERSION.
685 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
686 (print_version): Use PKGVERSION.
687 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
688 and PKGVERSION.
689
92e4b6a9
JM
690 * timezone/checktab.awk: Update from tzcode 2012i.
691 * timezone/ialloc.c: Likewise.
692 * timezone/private.h: Likewise.
693 * timezone/scheck.c: Likewise.
694 * timezone/tzfile.h: Likewise.
695 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
696 (TZVERSION): Hardcode tzcode version number.
697 * timezone/zdump.c: Update from tzcode 2012i.
698 * timezone/zic.c: Likewise.
699 * timezone/version.h: New file.
700 * timezone/README: Describe version.h. Update upstream location.
701
9bde902c
JM
702 [BZ #14824]
703 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
704 (mktemp): Enable declaration.
705 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
706 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
707 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
708 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
709 Likewise.
710 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
711 Likewise.
712 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
713 Likewise.
714 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
715 Likewise.
716 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
717 Likewise.
718 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
719 Likewise.
720
fb1ae1ee
JM
721 [BZ #14821]
722 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
723 offset in buffer as u_int32_t not u_long. Consistently use memcpy
724 for copies of such integer values.
725 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
726 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
727
2c1adbcb
AJ
7282012-11-09 Andreas Jaeger <aj@suse.de>
729
730 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
731 definitions and declarations that are provided by
732 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
733
d0f8457e
AK
7342012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
735
736 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
737 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
738 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
739 definition.
740
57241e26
MS
7412012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
742
743 * elf/elf.h: Update comment before AArch64 relocations.
744
60e8270d
DM
7452012-11-07 David S. Miller <davem@davemloft.net>
746
747 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
748 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
749 (__start_context): Declare.
750 (__makecontext_ret): Delete.
751 (__makecontext): Hook up __start_context instead of
752 __makecontext_ret.
753 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
754 (sysdep_routines): Add __start_context when in stdlib.
755
0fbb0fbc
JM
7562012-11-07 Joseph Myers <joseph@codesourcery.com>
757
758 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
759 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
760 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
761 hardcoded "nm".
762 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
763 (READELF): New variable. Use it instead of hardcoded "readelf".
764
eb48db7e
L
7652012-11-07 H.J. Lu <hongjiu.lu@intel.com>
766
767 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
768 * sysdeps/x86/Makefile: Here.
769 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
770 * sysdeps/x86/tst-xmmymm.sh: This.
771
05bcf62a
JM
7722012-11-07 Joseph Myers <joseph@codesourcery.com>
773
c4b6cf53
JM
774 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
775 expectations.
776 [UNIX98] (pthread_barrier_t): Do not expect.
777 [UNIX98] (pthread_barrierattr_t): Likewise.
778 [UNIX98] (pthread_spinlock_t): Likewise.
779 [UNIX98] (pthread_barrier_destroy): Likewise.
780 [UNIX98] (pthread_barrier_init): Likewise.
781 [UNIX98] (pthread_barrier_wait): Likewise.
782 [UNIX98] (pthread_barrierattr_destroy): Likewise.
783 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
784 [UNIX98] (pthread_barrierattr_init): Likewise.
785 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
786 [UNIX98] (pthread_getcpuclockid): Likewise.
787 [UNIX98] (pthread_mutex_timedlock): Likewise.
788 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
789 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
790 [UNIX98] (pthread_sigmask): Likewise.
791 [UNIX98] (pthread_spin_destroy): Likewise.
792 [UNIX98] (pthread_spin_init): Likewise.
793 [UNIX98] (pthread_spin_lock): Likewise.
794 [UNIX98] (pthread_spin_trylock): Likewise.
795 [UNIX98] (pthread_spin_unlock): Likewise.
796 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
797 Do not expect.
798 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
799 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
800 [XPG3 || XPG4] (pthread_cond_t): Likewise.
801 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
802 [XPG3 || XPG4] (pthread_key_t): Likewise.
803 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
804 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
805 [XPG3 || XPG4] (pthread_once_t): Likewise.
806 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
807 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
808 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
809 [XPG3 || XPG4] (pthread_t): Likewise.
810
cbe6e120
JM
811 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
812 not expect.
813 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
814
1b126443
JM
815 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
816 Change function return type to int.
817
b961a573
JM
818 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
819 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
820 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
821 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
822 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
823 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
824 [!POSIX] (posix_madvise): Likewise.
825 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
826 && !UNIX98].
827 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
828 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
829 (mode_t): Likewise.
830 (posix_mem_offset): Likewise.
831 (posix_typed_mem_get_info): Likewise.
832 (posix_typed_mem_open): Likewise.
833
9e188909
JM
834 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
835 Change condition to [XOPEN2K8].
836
05bcf62a
JM
837 * conform/conformtest.pl: Preprocess allow-header data with -x c
838 instead of from stdin.
839 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
840 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
841 [C99-based standards] (cerfc): Likewise.
842 [C99-based standards] (cexp2): Likewise.
843 [C99-based standards] (cexpm1): Likewise.
844 [C99-based standards] (clog10): Likewise.
845 [C99-based standards] (clog1p): Likewise.
846 [C99-based standards] (clog2): Likewise.
847 [C99-based standards] (clgamma): Likewise.
848 [C99-based standards] (ctgamma): Likewise.
849 [C99-based standards] (cerff): Likewise.
850 [C99-based standards] (cerfcf): Likewise.
851 [C99-based standards] (cexp2f): Likewise.
852 [C99-based standards] (cexpm1f): Likewise.
853 [C99-based standards] (clog10f): Likewise.
854 [C99-based standards] (clog1pf): Likewise.
855 [C99-based standards] (clog2f): Likewise.
856 [C99-based standards] (clgammaf): Likewise.
857 [C99-based standards] (ctgammaf): Likewise.
858 [C99-based standards] (cerfl): Likewise.
859 [C99-based standards] (cerfcl): Likewise.
860 [C99-based standards] (cexp2l): Likewise.
861 [C99-based standards] (cexpm1l): Likewise.
862 [C99-based standards] (clog10l): Likewise.
863 [C99-based standards] (clog1pl): Likewise.
864 [C99-based standards] (clog2l): Likewise.
865 [C99-based standards] (clgammal): Likewise.
866 [C99-based standards] (ctgammal): Likewise.
867 * conform/data/inttypes.h-data [C99-based standards]: Include
868 stdint.h-data. Remove all expectations for stdint.h contents.
869 [C99-based standards] (PRI*): Do not allow.
870 [C99-based standards] (SCN*): Likewise.
871 [C99-based standards] (*_t): Likewise.
872 [C99-based-standards] (PRId8): Expect macro.
873 [C99-based-standards] (PRIi8): Likewise.
874 [C99-based-standards] (PRIo8): Likewise.
875 [C99-based-standards] (PRIu8): Likewise.
876 [C99-based-standards] (PRIx8): Likewise.
877 [C99-based-standards] (PRIX8): Likewise.
878 [C99-based-standards] (SCNd8): Likewise.
879 [C99-based-standards] (SCNi8): Likewise.
880 [C99-based-standards] (SCNo8): Likewise.
881 [C99-based-standards] (SCNu8): Likewise.
882 [C99-based-standards] (SCNx8): Likewise.
883 [C99-based-standards] (PRIdLEAST8): Likewise.
884 [C99-based-standards] (PRIiLEAST8): Likewise.
885 [C99-based-standards] (PRIoLEAST8): Likewise.
886 [C99-based-standards] (PRIuLEAST8): Likewise.
887 [C99-based-standards] (PRIxLEAST8): Likewise.
888 [C99-based-standards] (PRIXLEAST8): Likewise.
889 [C99-based-standards] (SCNdLEAST8): Likewise.
890 [C99-based-standards] (SCNiLEAST8): Likewise.
891 [C99-based-standards] (SCNoLEAST8): Likewise.
892 [C99-based-standards] (SCNuLEAST8): Likewise.
893 [C99-based-standards] (SCNxLEAST8): Likewise.
894 [C99-based-standards] (PRIdFAST8): Likewise.
895 [C99-based-standards] (PRIiFAST8): Likewise.
896 [C99-based-standards] (PRIoFAST8): Likewise.
897 [C99-based-standards] (PRIuFAST8): Likewise.
898 [C99-based-standards] (PRIxFAST8): Likewise.
899 [C99-based-standards] (PRIXFAST8): Likewise.
900 [C99-based-standards] (SCNdFAST8): Likewise.
901 [C99-based-standards] (SCNiFAST8): Likewise.
902 [C99-based-standards] (SCNoFAST8): Likewise.
903 [C99-based-standards] (SCNuFAST8): Likewise.
904 [C99-based-standards] (SCNxFAST8): Likewise.
905 [C99-based-standards] (PRId16): Likewise.
906 [C99-based-standards] (PRIi16): Likewise.
907 [C99-based-standards] (PRIo16): Likewise.
908 [C99-based-standards] (PRIu16): Likewise.
909 [C99-based-standards] (PRIx16): Likewise.
910 [C99-based-standards] (PRIX16): Likewise.
911 [C99-based-standards] (SCNd16): Likewise.
912 [C99-based-standards] (SCNi16): Likewise.
913 [C99-based-standards] (SCNo16): Likewise.
914 [C99-based-standards] (SCNu16): Likewise.
915 [C99-based-standards] (SCNx16): Likewise.
916 [C99-based-standards] (PRIdLEAST16): Likewise.
917 [C99-based-standards] (PRIiLEAST16): Likewise.
918 [C99-based-standards] (PRIoLEAST16): Likewise.
919 [C99-based-standards] (PRIuLEAST16): Likewise.
920 [C99-based-standards] (PRIxLEAST16): Likewise.
921 [C99-based-standards] (PRIXLEAST16): Likewise.
922 [C99-based-standards] (SCNdLEAST16): Likewise.
923 [C99-based-standards] (SCNiLEAST16): Likewise.
924 [C99-based-standards] (SCNoLEAST16): Likewise.
925 [C99-based-standards] (SCNuLEAST16): Likewise.
926 [C99-based-standards] (SCNxLEAST16): Likewise.
927 [C99-based-standards] (PRIdFAST16): Likewise.
928 [C99-based-standards] (PRIiFAST16): Likewise.
929 [C99-based-standards] (PRIoFAST16): Likewise.
930 [C99-based-standards] (PRIuFAST16): Likewise.
931 [C99-based-standards] (PRIxFAST16): Likewise.
932 [C99-based-standards] (PRIXFAST16): Likewise.
933 [C99-based-standards] (SCNdFAST16): Likewise.
934 [C99-based-standards] (SCNiFAST16): Likewise.
935 [C99-based-standards] (SCNoFAST16): Likewise.
936 [C99-based-standards] (SCNuFAST16): Likewise.
937 [C99-based-standards] (SCNxFAST16): Likewise.
938 [C99-based-standards] (PRId32): Likewise.
939 [C99-based-standards] (PRIi32): Likewise.
940 [C99-based-standards] (PRIo32): Likewise.
941 [C99-based-standards] (PRIu32): Likewise.
942 [C99-based-standards] (PRIx32): Likewise.
943 [C99-based-standards] (PRIX32): Likewise.
944 [C99-based-standards] (SCNd32): Likewise.
945 [C99-based-standards] (SCNi32): Likewise.
946 [C99-based-standards] (SCNo32): Likewise.
947 [C99-based-standards] (SCNu32): Likewise.
948 [C99-based-standards] (SCNx32): Likewise.
949 [C99-based-standards] (PRIdLEAST32): Likewise.
950 [C99-based-standards] (PRIiLEAST32): Likewise.
951 [C99-based-standards] (PRIoLEAST32): Likewise.
952 [C99-based-standards] (PRIuLEAST32): Likewise.
953 [C99-based-standards] (PRIxLEAST32): Likewise.
954 [C99-based-standards] (PRIXLEAST32): Likewise.
955 [C99-based-standards] (SCNdLEAST32): Likewise.
956 [C99-based-standards] (SCNiLEAST32): Likewise.
957 [C99-based-standards] (SCNoLEAST32): Likewise.
958 [C99-based-standards] (SCNuLEAST32): Likewise.
959 [C99-based-standards] (SCNxLEAST32): Likewise.
960 [C99-based-standards] (PRIdFAST32): Likewise.
961 [C99-based-standards] (PRIiFAST32): Likewise.
962 [C99-based-standards] (PRIoFAST32): Likewise.
963 [C99-based-standards] (PRIuFAST32): Likewise.
964 [C99-based-standards] (PRIxFAST32): Likewise.
965 [C99-based-standards] (PRIXFAST32): Likewise.
966 [C99-based-standards] (SCNdFAST32): Likewise.
967 [C99-based-standards] (SCNiFAST32): Likewise.
968 [C99-based-standards] (SCNoFAST32): Likewise.
969 [C99-based-standards] (SCNuFAST32): Likewise.
970 [C99-based-standards] (SCNxFAST32): Likewise.
971 [C99-based-standards] (PRId64): Likewise.
972 [C99-based-standards] (PRIi64): Likewise.
973 [C99-based-standards] (PRIo64): Likewise.
974 [C99-based-standards] (PRIu64): Likewise.
975 [C99-based-standards] (PRIx64): Likewise.
976 [C99-based-standards] (PRIX64): Likewise.
977 [C99-based-standards] (SCNd64): Likewise.
978 [C99-based-standards] (SCNi64): Likewise.
979 [C99-based-standards] (SCNo64): Likewise.
980 [C99-based-standards] (SCNu64): Likewise.
981 [C99-based-standards] (SCNx64): Likewise.
982 [C99-based-standards] (PRIdLEAST64): Likewise.
983 [C99-based-standards] (PRIiLEAST64): Likewise.
984 [C99-based-standards] (PRIoLEAST64): Likewise.
985 [C99-based-standards] (PRIuLEAST64): Likewise.
986 [C99-based-standards] (PRIxLEAST64): Likewise.
987 [C99-based-standards] (PRIXLEAST64): Likewise.
988 [C99-based-standards] (SCNdLEAST64): Likewise.
989 [C99-based-standards] (SCNiLEAST64): Likewise.
990 [C99-based-standards] (SCNoLEAST64): Likewise.
991 [C99-based-standards] (SCNuLEAST64): Likewise.
992 [C99-based-standards] (SCNxLEAST64): Likewise.
993 [C99-based-standards] (PRIdFAST64): Likewise.
994 [C99-based-standards] (PRIiFAST64): Likewise.
995 [C99-based-standards] (PRIoFAST64): Likewise.
996 [C99-based-standards] (PRIuFAST64): Likewise.
997 [C99-based-standards] (PRIxFAST64): Likewise.
998 [C99-based-standards] (PRIXFAST64): Likewise.
999 [C99-based-standards] (SCNdFAST64): Likewise.
1000 [C99-based-standards] (SCNiFAST64): Likewise.
1001 [C99-based-standards] (SCNoFAST64): Likewise.
1002 [C99-based-standards] (SCNuFAST64): Likewise.
1003 [C99-based-standards] (SCNxFAST64): Likewise.
1004 [C99-based-standards] (PRIdMAX): Likewise.
1005 [C99-based-standards] (PRIiMAX): Likewise.
1006 [C99-based-standards] (PRIoMAX): Likewise.
1007 [C99-based-standards] (PRIuMAX): Likewise.
1008 [C99-based-standards] (PRIxMAX): Likewise.
1009 [C99-based-standards] (PRIXMAX): Likewise.
1010 [C99-based-standards] (SCNdMAX): Likewise.
1011 [C99-based-standards] (SCNiMAX): Likewise.
1012 [C99-based-standards] (SCNoMAX): Likewise.
1013 [C99-based-standards] (SCNuMAX): Likewise.
1014 [C99-based-standards] (SCNxMAX): Likewise.
1015 [C99-based-standards] (PRIdPTR): Likewise.
1016 [C99-based-standards] (PRIiPTR): Likewise.
1017 [C99-based-standards] (PRIoPTR): Likewise.
1018 [C99-based-standards] (PRIuPTR): Likewise.
1019 [C99-based-standards] (PRIxPTR): Likewise.
1020 [C99-based-standards] (PRIXPTR): Likewise.
1021 [C99-based-standards] (SCNdPTR): Likewise.
1022 [C99-based-standards] (SCNiPTR): Likewise.
1023 [C99-based-standards] (SCNoPTR): Likewise.
1024 [C99-based-standards] (SCNuPTR): Likewise.
1025 [C99-based-standards] (SCNxPTR): Likewise.
1026 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
1027 allow.
1028 * conform/data/stdint.h-data: Update comments to clarify
1029 requirements.
1030 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
1031 type.
1032 [C99-based standards] (INT8_MAX): Likewise.
1033 [C99-based standards] (INT16_MIN): Likewise.
1034 [C99-based standards] (INT16_MAX): Likewise.
1035 [C99-based standards] (INT32_MIN): Likewise.
1036 [C99-based standards] (INT32_MAX): Likewise.
1037 [C99-based standards] (INT64_MIN): Likewise.
1038 [C99-based standards] (INT64_MAX): Likewise.
1039 [C99-based standards] (UINT8_MAX): Likewise.
1040 [C99-based standards] (UINT16_MAX): Likewise.
1041 [C99-based standards] (UINT32_MAX): Likewise.
1042 [C99-based standards] (UINT64_MAX): Likewise.
1043 [C99-based standards] (INT_LEAST8_MIN): Likewise.
1044 [C99-based standards] (INT_LEAST8_MAX): Likewise.
1045 [C99-based standards] (INT_LEAST16_MIN): Likewise.
1046 [C99-based standards] (INT_LEAST16_MAX): Likewise.
1047 [C99-based standards] (INT_LEAST32_MIN): Likewise.
1048 [C99-based standards] (INT_LEAST32_MAX): Likewise.
1049 [C99-based standards] (INT_LEAST64_MIN): Likewise.
1050 [C99-based standards] (INT_LEAST64_MAX): Likewise.
1051 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
1052 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
1053 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
1054 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
1055 [C99-based standards] (INT_FAST8_MIN): Likewise.
1056 [C99-based standards] (INT_FAST8_MAX): Likewise.
1057 [C99-based standards] (INT_FAST16_MIN): Likewise.
1058 [C99-based standards] (INT_FAST16_MAX): Likewise.
1059 [C99-based standards] (INT_FAST32_MIN): Likewise.
1060 [C99-based standards] (INT_FAST32_MAX): Likewise.
1061 [C99-based standards] (INT_FAST64_MIN): Likewise.
1062 [C99-based standards] (INT_FAST64_MAX): Likewise.
1063 [C99-based standards] (UINT_FAST8_MAX): Likewise.
1064 [C99-based standards] (UINT_FAST16_MAX): Likewise.
1065 [C99-based standards] (UINT_FAST32_MAX): Likewise.
1066 [C99-based standards] (UINT_FAST64_MAX): Likewise.
1067 [C99-based standards] (INTPTR_MIN): Likewise.
1068 [C99-based standards] (INTPTR_MAX): Likewise.
1069 [C99-based standards] (UINTPTR_MAX): Likewise.
1070 [C99-based standards] (INTMAX_MIN): Likewise.
1071 [C99-based standards] (INTMAX_MAX): Likewise.
1072 [C99-based standards] (UINTMAX_MAX): Likewise.
1073 [C99-based standards] (PTRDIFF_MIN): Likewise.
1074 [C99-based standards] (PTRDIFF_MAX): Likewise.
1075 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
1076 [C99-based standards] (SIZE_MAX): Likewise.
1077 [C99-based standards] (WCHAR_MAX): Likewise.
1078 [C99-based standards] (WINT_MAX): Likewise.
1079 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
1080 constraint on value.
1081 [C99-based standards] (WCHAR_MIN): Likewise.
1082 [C99-based standards] (WINT_MIN): Likewise.
1083 [C99-based standards] (*_t): Allow.
1084 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
1085 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
1086 Include math.h-data and complex.h-data. Remove all expectations
1087 of math.h and complex.h contents.
1088 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
1089 at end of line.
1090 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
1091 (struct tm): Expect tag.
1092 [C99-based-standards] (wcstof): Expect function.
1093 [C99-based-standards] (wcstold): Likewise.
1094 [C99-based-standards] (wcstoll): Likewise.
1095 [C99-based-standards] (wcstoull): Likewise.
1096 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
1097 macro-int-constant. Specify type.
1098 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
1099 constraint on value.
1100 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1101 Specify type.
1102 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
1103 Specify value.
1104 [ISO C standards]: Do not allow headers.
1105 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
1106 wcs[abcdefghijklmnopqrstuvwxyz]*.
1107 [ISO C standards] (*_t): Do not allow.
1108 * conform/data/wctype.h-data [C99-based standards] (iswblank):
1109 Expect function.
1110 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
1111 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1112 Specify type.
1113 [ISO C standards]: Do not allow headers.
1114 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
1115 is[abcdefghijklmnopqrstuvwxyz]*.
1116 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
1117 to[abcdefghijklmnopqrstuvwxyz]*.
1118 [ISO C standards] (*_t): Do not allow.
1119 * conform/data/stdalign.h-data: New file.
1120 * conform/data/stdbool.h-data: Likewise.
1121 * conform/data/stdnoreturn.h-data: Likewise.
1122
01f34a3b
JL
11232012-11-07 Andreas Jaeger <aj@suse.de>
1124
1125 [BZ #14809]
1126 * sysdeps/unix/sysv/linux/sys/sysctl.h (_UAPI_LINUX_KERNEL_H)
1127 (_UAPI_LINUX_TYPES_H): Starting with Linux 3.7, the include header
1128 guards are changed. Only define if not yet defined, #undef back
1129 after including linux/sysctl.h if defined here.
1130
7514feb8
RM
11312012-11-07 Roland McGrath <roland@hack.frob.com>
1132
1133 [BZ #14815]
1134 * manual/filesys.texi (Directory Entries): Typo fix.
1135 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
1136
19b2ecfc
MS
11372012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1138
1139 * elf/elf.h (EM_AARCH64): New macro.
1140 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
1141 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
1142 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
1143 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
1144 (R_AARCH64_TLSDESC): Likewise.
1145 (NT_ARM_TLS): Likewise.
1146 (NT_ARM_HW_BREAK): Likewise.
1147 (NT_ARM_HW_WATCH): Likewise.
1148
60e235ee
JM
11492012-11-07 Joseph Myers <joseph@codesourcery.com>
1150
1151 [BZ #14811]
1152 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
1153 (__ieee754_powl): Saturate nonzero exponents with absolute value
1154 below 0x1p-79 to +/- 0x1p-79.
1155 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
1156 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
1157 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
1158 nonzero exponents with absolute value below 0x1p-32 to +/-
1159 0x1p-32.
1160 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
1161 (__ieee754_powl): Saturate nonzero exponents with absolute value
1162 below 0x1p-79 to +/- 0x1p-79.
1163 * math/libm-test.inc (pow_test): Add more tests.
1164
0ab234b7
AK
11652012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1166
1167 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
1168 _dl_s390_cap_flags with kernel. Increase string length.
1169 (_dl_s390_platforms): Add z196 and zEC12.
1170
45832f74
JM
11712012-11-07 Joseph Myers <joseph@codesourcery.com>
1172
1173 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
1174 Change XOPEN21K to XOPEN2K.
1175
19218757
MK
11762012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
1177
1178 * string/memmove.c: Use memcpy when possible.
1179
c5f45721
AJ
11802012-11-06 Andreas Jaeger <aj@suse.de>
1181
1182 * po/eo.po: Update from translation team.
1183
82477c28
JM
11842012-11-06 Joseph Myers <joseph@codesourcery.com>
1185
1186 [BZ #14793]
1187 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
1188 exponent and small x and y exponents, scale x or y up. Increase
1189 by 2 the exponent used in scaling up.
1190 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1191 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1192 * math/libm-test.inc (fma_test): Add more tests.
1193 (fma_test_towardzero): Likewise.
1194 (fma_test_downward): Likewise.
1195 (fma_test_upward): Likewise.
1196
99252c8c
JM
11972012-11-05 Joseph Myers <joseph@codesourcery.com>
1198
acfa885f
JM
1199 [BZ #14805]
1200 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
1201 fenv_t *.
1202
99252c8c
JM
1203 [BZ #14801]
1204 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
1205 namespace for names of struct fields.
1206 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
1207 fenv_t fields.
1208 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1209 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
1210
d6d98dea
ST
12112012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1212
1213 [BZ #3665]
1214 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
1215
e10bb107
TS
12162012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1217
1218 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
1219 PTR_DEMANGLE.
1220
1221 [BZ #5246]
1222 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
1223 PTR_DEMANGLE.
1224
a0c2940d
JM
12252012-11-04 Joseph Myers <joseph@codesourcery.com>
1226
1227 [BZ #14797]
1228 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
1229 definitely overflow as x * y not x * y + z.
1230 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1231 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1232 * math/libm-test.inc (fma_test): Add more tests.
1233 (fma_test_towardzero): Likewise.
1234 (fma_test_downward): Likewise.
1235 (fma_test_upward): Likewise.
1236
b830319d
TS
12372012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1238
1239 [BZ #157]
1240
1241 * include/stub-tag.h: Remove file.
1242 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
1243 '#include' of it.
1244 * manual/maint.texi (Porting): Don't reference it.
1245 * Makerules ($(objpfx)stubs): Likewise.
1246 * dirent/closedir.c: Don't include <stub-tag.h>.
1247 * dirent/dirfd.c: Likewise.
1248 * dirent/fdopendir.c: Likewise.
1249 * dirent/getdents.c: Likewise.
1250 * dirent/getdents64.c: Likewise.
1251 * dirent/opendir.c: Likewise.
1252 * dirent/readdir.c: Likewise.
1253 * dirent/readdir64.c: Likewise.
1254 * dirent/readdir64_r.c: Likewise.
1255 * dirent/readdir_r.c: Likewise.
1256 * dirent/rewinddir.c: Likewise.
1257 * dirent/seekdir.c: Likewise.
1258 * dirent/telldir.c: Likewise.
1259 * gmon/profil.c: Likewise.
1260 * grp/setgroups.c: Likewise.
1261 * inet/if_index.c: Likewise.
1262 * io/access.c: Likewise.
1263 * io/chdir.c: Likewise.
1264 * io/chmod.c: Likewise.
1265 * io/chown.c: Likewise.
1266 * io/close.c: Likewise.
1267 * io/dup.c: Likewise.
1268 * io/dup2.c: Likewise.
1269 * io/dup3.c: Likewise.
1270 * io/euidaccess.c: Likewise.
1271 * io/faccessat.c: Likewise.
1272 * io/fchdir.c: Likewise.
1273 * io/fchmod.c: Likewise.
1274 * io/fchmodat.c: Likewise.
1275 * io/fchown.c: Likewise.
1276 * io/fchownat.c: Likewise.
1277 * io/fcntl.c: Likewise.
1278 * io/flock.c: Likewise.
1279 * io/fstatfs.c: Likewise.
1280 * io/fstatfs64.c: Likewise.
1281 * io/fstatvfs.c: Likewise.
1282 * io/fstatvfs64.c: Likewise.
1283 * io/futimens.c: Likewise.
1284 * io/fxstat.c: Likewise.
1285 * io/fxstat64.c: Likewise.
1286 * io/fxstatat.c: Likewise.
1287 * io/fxstatat64.c: Likewise.
1288 * io/getcwd.c: Likewise.
1289 * io/isatty.c: Likewise.
1290 * io/lchmod.c: Likewise.
1291 * io/lchown.c: Likewise.
1292 * io/link.c: Likewise.
1293 * io/linkat.c: Likewise.
1294 * io/lseek.c: Likewise.
1295 * io/lseek64.c: Likewise.
1296 * io/lxstat64.c: Likewise.
1297 * io/mkdir.c: Likewise.
1298 * io/mkdirat.c: Likewise.
1299 * io/mkfifo.c: Likewise.
1300 * io/mkfifoat.c: Likewise.
1301 * io/open.c: Likewise.
1302 * io/open64.c: Likewise.
1303 * io/openat.c: Likewise.
1304 * io/openat64.c: Likewise.
1305 * io/pipe.c: Likewise.
1306 * io/pipe2.c: Likewise.
1307 * io/poll.c: Likewise.
1308 * io/posix_fadvise.c: Likewise.
1309 * io/posix_fadvise64.c: Likewise.
1310 * io/posix_fallocate.c: Likewise.
1311 * io/posix_fallocate64.c: Likewise.
1312 * io/read.c: Likewise.
1313 * io/readlink.c: Likewise.
1314 * io/readlinkat.c: Likewise.
1315 * io/rmdir.c: Likewise.
1316 * io/sendfile.c: Likewise.
1317 * io/sendfile64.c: Likewise.
1318 * io/statfs.c: Likewise.
1319 * io/statfs64.c: Likewise.
1320 * io/statvfs.c: Likewise.
1321 * io/statvfs64.c: Likewise.
1322 * io/symlink.c: Likewise.
1323 * io/symlinkat.c: Likewise.
1324 * io/ttyname.c: Likewise.
1325 * io/ttyname_r.c: Likewise.
1326 * io/umask.c: Likewise.
1327 * io/unlink.c: Likewise.
1328 * io/unlinkat.c: Likewise.
1329 * io/utime.c: Likewise.
1330 * io/utimensat.c: Likewise.
1331 * io/write.c: Likewise.
1332 * io/xmknod.c: Likewise.
1333 * io/xmknodat.c: Likewise.
1334 * io/xstat.c: Likewise.
1335 * io/xstat64.c: Likewise.
1336 * login/getpt.c: Likewise.
1337 * login/grantpt.c: Likewise.
1338 * login/unlockpt.c: Likewise.
1339 * math/e_acoshl.c: Likewise.
1340 * math/e_acosl.c: Likewise.
1341 * math/e_asinl.c: Likewise.
1342 * math/e_atan2l.c: Likewise.
1343 * math/e_atanhl.c: Likewise.
1344 * math/e_coshl.c: Likewise.
1345 * math/e_expl.c: Likewise.
1346 * math/e_fmodl.c: Likewise.
1347 * math/e_gammal_r.c: Likewise.
1348 * math/e_hypotl.c: Likewise.
1349 * math/e_j0l.c: Likewise.
1350 * math/e_j1l.c: Likewise.
1351 * math/e_jnl.c: Likewise.
1352 * math/e_lgammal_r.c: Likewise.
1353 * math/e_log10l.c: Likewise.
1354 * math/e_log2l.c: Likewise.
1355 * math/e_logl.c: Likewise.
1356 * math/e_powl.c: Likewise.
1357 * math/e_rem_pio2l.c: Likewise.
1358 * math/e_sinhl.c: Likewise.
1359 * math/e_sqrtl.c: Likewise.
1360 * math/fclrexcpt.c: Likewise.
1361 * math/fedisblxcpt.c: Likewise.
1362 * math/feenablxcpt.c: Likewise.
1363 * math/fegetenv.c: Likewise.
1364 * math/fegetexcept.c: Likewise.
1365 * math/fegetround.c: Likewise.
1366 * math/feholdexcpt.c: Likewise.
1367 * math/fesetenv.c: Likewise.
1368 * math/fesetround.c: Likewise.
1369 * math/feupdateenv.c: Likewise.
1370 * math/fgetexcptflg.c: Likewise.
1371 * math/fraiseexcpt.c: Likewise.
1372 * math/fsetexcptflg.c: Likewise.
1373 * math/ftestexcept.c: Likewise.
1374 * math/k_cosl.c: Likewise.
1375 * math/k_rem_pio2l.c: Likewise.
1376 * math/k_sinl.c: Likewise.
1377 * math/k_tanl.c: Likewise.
1378 * math/s_asinhl.c: Likewise.
1379 * math/s_atanl.c: Likewise.
1380 * math/s_cbrtl.c: Likewise.
1381 * math/s_erfl.c: Likewise.
1382 * math/s_expm1l.c: Likewise.
1383 * math/s_log1pl.c: Likewise.
1384 * math/s_tanhl.c: Likewise.
1385 * misc/acct.c: Likewise.
1386 * misc/brk.c: Likewise.
1387 * misc/chflags.c: Likewise.
1388 * misc/chroot.c: Likewise.
1389 * misc/fchflags.c: Likewise.
1390 * misc/fgetxattr.c: Likewise.
1391 * misc/flistxattr.c: Likewise.
1392 * misc/fremovexattr.c: Likewise.
1393 * misc/fsetxattr.c: Likewise.
1394 * misc/fsync.c: Likewise.
1395 * misc/ftruncate.c: Likewise.
1396 * misc/futimes.c: Likewise.
1397 * misc/futimesat.c: Likewise.
1398 * misc/getdomain.c: Likewise.
1399 * misc/getdtsz.c: Likewise.
1400 * misc/gethostid.c: Likewise.
1401 * misc/gethostname.c: Likewise.
1402 * misc/getloadavg.c: Likewise.
1403 * misc/getpagesize.c: Likewise.
1404 * misc/getsysstats.c: Likewise.
1405 * misc/getxattr.c: Likewise.
1406 * misc/gtty.c: Likewise.
1407 * misc/ioctl.c: Likewise.
1408 * misc/lgetxattr.c: Likewise.
1409 * misc/listxattr.c: Likewise.
1410 * misc/llistxattr.c: Likewise.
1411 * misc/lremovexattr.c: Likewise.
1412 * misc/lsetxattr.c: Likewise.
1413 * misc/lutimes.c: Likewise.
1414 * misc/madvise.c: Likewise.
1415 * misc/mincore.c: Likewise.
1416 * misc/mlock.c: Likewise.
1417 * misc/mlockall.c: Likewise.
1418 * misc/mmap.c: Likewise.
1419 * misc/mprotect.c: Likewise.
1420 * misc/msync.c: Likewise.
1421 * misc/munlock.c: Likewise.
1422 * misc/munlockall.c: Likewise.
1423 * misc/munmap.c: Likewise.
1424 * misc/preadv.c: Likewise.
1425 * misc/preadv64.c: Likewise.
1426 * misc/ptrace.c: Likewise.
1427 * misc/pwritev.c: Likewise.
1428 * misc/pwritev64.c: Likewise.
1429 * misc/readv.c: Likewise.
1430 * misc/reboot.c: Likewise.
1431 * misc/remap_file_pages.c: Likewise.
1432 * misc/removexattr.c: Likewise.
1433 * misc/revoke.c: Likewise.
1434 * misc/select.c: Likewise.
1435 * misc/setdomain.c: Likewise.
1436 * misc/setegid.c: Likewise.
1437 * misc/seteuid.c: Likewise.
1438 * misc/sethostid.c: Likewise.
1439 * misc/sethostname.c: Likewise.
1440 * misc/setregid.c: Likewise.
1441 * misc/setreuid.c: Likewise.
1442 * misc/setxattr.c: Likewise.
1443 * misc/sstk.c: Likewise.
1444 * misc/stty.c: Likewise.
1445 * misc/swapoff.c: Likewise.
1446 * misc/swapon.c: Likewise.
1447 * misc/sync.c: Likewise.
1448 * misc/syncfs.c: Likewise.
1449 * misc/syscall.c: Likewise.
1450 * misc/truncate.c: Likewise.
1451 * misc/ualarm.c: Likewise.
1452 * misc/usleep.c: Likewise.
1453 * misc/ustat.c: Likewise.
1454 * misc/utimes.c: Likewise.
1455 * misc/vhangup.c: Likewise.
1456 * misc/writev.c: Likewise.
1457 * posix/_exit.c: Likewise.
1458 * posix/alarm.c: Likewise.
1459 * posix/execve.c: Likewise.
1460 * posix/fexecve.c: Likewise.
1461 * posix/fork.c: Likewise.
1462 * posix/fpathconf.c: Likewise.
1463 * posix/getaddrinfo.c: Likewise.
1464 * posix/getegid.c: Likewise.
1465 * posix/geteuid.c: Likewise.
1466 * posix/getgid.c: Likewise.
1467 * posix/getgroups.c: Likewise.
1468 * posix/getlogin.c: Likewise.
1469 * posix/getlogin_r.c: Likewise.
1470 * posix/getpgid.c: Likewise.
1471 * posix/getpid.c: Likewise.
1472 * posix/getppid.c: Likewise.
1473 * posix/getresgid.c: Likewise.
1474 * posix/getresuid.c: Likewise.
1475 * posix/getsid.c: Likewise.
1476 * posix/getuid.c: Likewise.
1477 * posix/glob64.c: Likewise.
1478 * posix/nanosleep.c: Likewise.
1479 * posix/pathconf.c: Likewise.
1480 * posix/pause.c: Likewise.
1481 * posix/posix_madvise.c: Likewise.
1482 * posix/pread.c: Likewise.
1483 * posix/pread64.c: Likewise.
1484 * posix/pwrite.c: Likewise.
1485 * posix/pwrite64.c: Likewise.
1486 * posix/sched_getaffinity.c: Likewise.
1487 * posix/sched_getp.c: Likewise.
1488 * posix/sched_gets.c: Likewise.
1489 * posix/sched_primax.c: Likewise.
1490 * posix/sched_primin.c: Likewise.
1491 * posix/sched_rr_gi.c: Likewise.
1492 * posix/sched_setaffinity.c: Likewise.
1493 * posix/sched_setp.c: Likewise.
1494 * posix/sched_sets.c: Likewise.
1495 * posix/sched_yield.c: Likewise.
1496 * posix/setgid.c: Likewise.
1497 * posix/setlogin.c: Likewise.
1498 * posix/setpgid.c: Likewise.
1499 * posix/setresgid.c: Likewise.
1500 * posix/setresuid.c: Likewise.
1501 * posix/setsid.c: Likewise.
1502 * posix/setuid.c: Likewise.
1503 * posix/sleep.c: Likewise.
1504 * posix/spawni.c: Likewise.
1505 * posix/sysconf.c: Likewise.
1506 * posix/times.c: Likewise.
1507 * posix/wait.c: Likewise.
1508 * posix/wait3.c: Likewise.
1509 * posix/wait4.c: Likewise.
1510 * posix/waitpid.c: Likewise.
1511 * resolv/gai_sigqueue.c: Likewise.
1512 * resource/getpriority.c: Likewise.
1513 * resource/getrlimit.c: Likewise.
1514 * resource/getrusage.c: Likewise.
1515 * resource/nice.c: Likewise.
1516 * resource/setpriority.c: Likewise.
1517 * resource/setrlimit.c: Likewise.
1518 * resource/ulimit.c: Likewise.
1519 * rt/aio_cancel.c: Likewise.
1520 * rt/aio_fsync.c: Likewise.
1521 * rt/aio_read.c: Likewise.
1522 * rt/aio_sigqueue.c: Likewise.
1523 * rt/aio_suspend.c: Likewise.
1524 * rt/aio_write.c: Likewise.
1525 * rt/clock_getres.c: Likewise.
1526 * rt/clock_gettime.c: Likewise.
1527 * rt/clock_nanosleep.c: Likewise.
1528 * rt/clock_settime.c: Likewise.
1529 * rt/lio_listio.c: Likewise.
1530 * rt/mq_close.c: Likewise.
1531 * rt/mq_getattr.c: Likewise.
1532 * rt/mq_notify.c: Likewise.
1533 * rt/mq_open.c: Likewise.
1534 * rt/mq_receive.c: Likewise.
1535 * rt/mq_send.c: Likewise.
1536 * rt/mq_setattr.c: Likewise.
1537 * rt/mq_timedreceive.c: Likewise.
1538 * rt/mq_timedsend.c: Likewise.
1539 * rt/mq_unlink.c: Likewise.
1540 * rt/shm_open.c: Likewise.
1541 * rt/shm_unlink.c: Likewise.
1542 * rt/timer_create.c: Likewise.
1543 * rt/timer_delete.c: Likewise.
1544 * rt/timer_getoverr.c: Likewise.
1545 * rt/timer_gettime.c: Likewise.
1546 * rt/timer_settime.c: Likewise.
1547 * setjmp/__longjmp.c: Likewise.
1548 * setjmp/setjmp.c: Likewise.
1549 * signal/kill.c: Likewise.
1550 * signal/killpg.c: Likewise.
1551 * signal/raise.c: Likewise.
1552 * signal/sigaction.c: Likewise.
1553 * signal/sigaltstack.c: Likewise.
1554 * signal/sigblock.c: Likewise.
1555 * signal/sigignore.c: Likewise.
1556 * signal/sigintr.c: Likewise.
1557 * signal/signal.c: Likewise.
1558 * signal/sigpause.c: Likewise.
1559 * signal/sigpending.c: Likewise.
1560 * signal/sigqueue.c: Likewise.
1561 * signal/sigreturn.c: Likewise.
1562 * signal/sigset.c: Likewise.
1563 * signal/sigsetmask.c: Likewise.
1564 * signal/sigstack.c: Likewise.
1565 * signal/sigsuspend.c: Likewise.
1566 * signal/sigtimedwait.c: Likewise.
1567 * signal/sigvec.c: Likewise.
1568 * signal/sigwait.c: Likewise.
1569 * signal/sigwaitinfo.c: Likewise.
1570 * signal/sysv_signal.c: Likewise.
1571 * socket/accept.c: Likewise.
1572 * socket/accept4.c: Likewise.
1573 * socket/bind.c: Likewise.
1574 * socket/connect.c: Likewise.
1575 * socket/getpeername.c: Likewise.
1576 * socket/getsockname.c: Likewise.
1577 * socket/getsockopt.c: Likewise.
1578 * socket/isfdtype.c: Likewise.
1579 * socket/listen.c: Likewise.
1580 * socket/recv.c: Likewise.
1581 * socket/recvfrom.c: Likewise.
1582 * socket/recvmsg.c: Likewise.
1583 * socket/send.c: Likewise.
1584 * socket/sendmsg.c: Likewise.
1585 * socket/sendto.c: Likewise.
1586 * socket/setsockopt.c: Likewise.
1587 * socket/shutdown.c: Likewise.
1588 * socket/sockatmark.c: Likewise.
1589 * socket/socket.c: Likewise.
1590 * socket/socketpair.c: Likewise.
1591 * stdio-common/ctermid.c: Likewise.
1592 * stdio-common/cuserid.c: Likewise.
1593 * stdio-common/remove.c: Likewise.
1594 * stdio-common/rename.c: Likewise.
1595 * stdio-common/renameat.c: Likewise.
1596 * stdio-common/tempname.c: Likewise.
1597 * stdlib/getcontext.c: Likewise.
1598 * stdlib/makecontext.c: Likewise.
1599 * stdlib/setcontext.c: Likewise.
1600 * stdlib/swapcontext.c: Likewise.
1601 * stdlib/system.c: Likewise.
1602 * streams/fattach.c: Likewise.
1603 * streams/fdetach.c: Likewise.
1604 * streams/getmsg.c: Likewise.
1605 * streams/getpmsg.c: Likewise.
1606 * streams/putmsg.c: Likewise.
1607 * streams/putpmsg.c: Likewise.
1608 * sysdeps/unix/bsd/getpt.c: Likewise.
1609 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
1610 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
1611 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
1613 Likewise.
1614 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
1615 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
1616 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1617 * sysvipc/msgctl.c: Likewise.
1618 * sysvipc/msgget.c: Likewise.
1619 * sysvipc/msgrcv.c: Likewise.
1620 * sysvipc/msgsnd.c: Likewise.
1621 * sysvipc/semctl.c: Likewise.
1622 * sysvipc/semget.c: Likewise.
1623 * sysvipc/semop.c: Likewise.
1624 * sysvipc/semtimedop.c: Likewise.
1625 * sysvipc/shmat.c: Likewise.
1626 * sysvipc/shmctl.c: Likewise.
1627 * sysvipc/shmdt.c: Likewise.
1628 * sysvipc/shmget.c: Likewise.
1629 * termios/tcdrain.c: Likewise.
1630 * termios/tcflow.c: Likewise.
1631 * termios/tcflush.c: Likewise.
1632 * termios/tcgetattr.c: Likewise.
1633 * termios/tcgetpgrp.c: Likewise.
1634 * termios/tcsendbrk.c: Likewise.
1635 * termios/tcsetattr.c: Likewise.
1636 * termios/tcsetpgrp.c: Likewise.
1637 * time/adjtime.c: Likewise.
1638 * time/clock.c: Likewise.
1639 * time/getitimer.c: Likewise.
1640 * time/gettimeofday.c: Likewise.
1641 * time/setitimer.c: Likewise.
1642 * time/settimeofday.c: Likewise.
1643 * time/stime.c: Likewise.
1644 * time/time.c: Likewise.
1645
16462012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 1647
a20492cf
PT
1648 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
1649 /usr/old/bin.
1650
72e182e3
PT
1651 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
1652 instead of spaces.
1653 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
1654
fbeafede
JM
16552012-11-03 Joseph Myers <joseph@codesourcery.com>
1656
5b5b04d6
JM
1657 [BZ #14796]
1658 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
1659 FE_TONEAREST before applying Dekker multiplication and Knuth
1660 addition. Clear inexact exceptions and check for exact zero
1661 results afterwards.
1662 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1663 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1664 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1665 * math/libm-test.inc (fma_test): Add more tests.
1666 (fma_test_towardzero): Likewise.
1667 (fma_test_downward): Likewise.
1668 (fma_test_upward): Likewise.
1669 * sysdeps/generic/math_private.h (default_libc_fesetround): New
1670 function.
1671 (libc_fesetround): New macro.
1672 (libc_fesetroundf): Likewise.
1673 (libc_fesetroundl): Likewise.
1674 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
1675 function.
1676 (libc_fesetround_387): Likewise.
1677 (libc_fesetroundf): New macro.
1678 (libc_fesetround): Likewise.
1679 (libc_fesetroundl): Likewise.
1680 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
1681 function.
1682 (libc_fesetroundf): New macro.
1683 (libc_fesetround): Likewise.
1684 (libc_fesetroundl): Likewise.
1685 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
1686 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
1687 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
1688 libm_hidden_ver.
1689 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
1690 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
1691 libm_hidden_def.
1692 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
1693 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
1694 libm_hidden_ver.
1695 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
1696 libm_hidden_def.
1697
fbeafede
JM
1698 [BZ #3439]
1699 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
1700 integer constant usable in #if and use that to give value to enum
1701 constant.
1702 (FE_DIVBYZERO): Likewise.
1703 (FE_UNDERFLOW): Likewise.
1704 (FE_OVERFLOW): Likewise.
1705 (FE_INVALID): Likewise.
1706 (FE_INVALID_SNAN): Likewise.
1707 (FE_INVALID_ISI): Likewise.
1708 (FE_INVALID_IDI): Likewise.
1709 (FE_INVALID_ZDZ): Likewise.
1710 (FE_INVALID_IMZ): Likewise.
1711 (FE_INVALID_COMPARE): Likewise.
1712 (FE_INVALID_SOFTWARE): Likewise.
1713 (FE_INVALID_SQRT): Likewise.
1714 (FE_INVALID_INTEGER_CONVERSION): Likewise.
1715 (FE_TONEAREST): Likewise.
1716 (FE_TOWARDZERO): Likewise.
1717 (FE_UPWARD): Likewise.
1718 (FE_DOWNWARD): Likewise.
1719 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
1720 (FE_DIVBYZERO): Likewise.
1721 (FE_OVERFLOW): Likewise.
1722 (FE_UNDERFLOW): Likewise.
1723 (FE_INEXACT): Likewise.
1724 (FE_TONEAREST): Likewise.
1725 (FE_DOWNWARD): Likewise.
1726 (FE_UPWARD): Likewise.
1727 (FE_TOWARDZERO): Likewise.
1728 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
1729 (FE_UNDERFLOW): Likewise.
1730 (FE_OVERFLOW): Likewise.
1731 (FE_DIVBYZERO): Likewise.
1732 (FE_INVALID): Likewise.
1733 (FE_TONEAREST): Likewise.
1734 (FE_TOWARDZERO): Likewise.
1735 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
1736 (FE_OVERFLOW): Likewise.
1737 (FE_UNDERFLOW): Likewise.
1738 (FE_DIVBYZERO): Likewise.
1739 (FE_INEXACT): Likewise.
1740 (FE_TONEAREST): Likewise.
1741 (FE_TOWARDZERO): Likewise.
1742 (FE_UPWARD): Likewise.
1743 (FE_DOWNWARD): Likewise.
1744 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
1745 (FE_DIVBYZERO): Likewise.
1746 (FE_OVERFLOW): Likewise.
1747 (FE_UNDERFLOW): Likewise.
1748 (FE_INEXACT): Likewise.
1749 (FE_TONEAREST): Likewise.
1750 (FE_DOWNWARD): Likewise.
1751 (FE_UPWARD): Likewise.
1752 (FE_TOWARDZERO): Likewise.
1753
105ca950
CM
17542012-11-02 Chris Metcalf <cmetcalf@tilera.com>
1755
1756 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
1757
a542b389
AS
17582012-11-03 Andreas Schwab <schwab@linux-m68k.org>
1759
1760 * scripts/cross-test-ssh.sh (command): Use newlines to separate
1761 commands. Quote $PWD.
1762 (blacklist_exports): Don't use remove_newlines. Replace "declare
1763 -x" by "export".
1764 (remove_newlines): Remove.
1765
f62c8abc
L
17662012-11-02 H.J. Lu <hongjiu.lu@intel.com>
1767
1768 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
1769 * stdlib/stdlib.h (atof): Moved to ...
1770 * include/bits/stdlib-float.h: Here. New file.
1771 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
1772 * stdlib/bits/stdlib-float.h: New file.
1773 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
1774 -mno-sse -mno-mmx.
1775 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
1776 <xmmintrin.h>.
1777
0155d5b2
JM
17782012-11-02 Joseph Myers <joseph@codesourcery.com>
1779
a68d0680
JM
1780 * conform/conformtest.pl (@headers): Add fenv.h.
1781 * conform/data/fenv.h-data: New file.
1782 * include/fenv.h [_ISOMAC]: Disable all contents of file except
1783 include of <math/fenv.h>.
1784
caf7f573
JM
1785 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
1786 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
1787 && !UNIX98]. Enables tests for XOPEN2K8.
1788 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
1789 POSIX2008]: Likewise.
1790
6c073ad6
JM
1791 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
1792 (struct rusage): Do not expect type or its members.
1793
0155d5b2
JM
1794 [BZ #3439]
1795 * math/math.h (FP_NAN): Define macro to integer constant usable in
1796 #if and use that to give value to enum constant.
1797 (FP_INFINITE): Likewise.
1798 (FP_ZERO): Likewise.
1799 (FP_SUBNORMAL): Likewise.
1800 (FP_NORMAL): Likewise.
1801
b5dcacb4
AS
18022012-11-02 Andreas Schwab <schwab@linux-m68k.org>
1803
1804 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
1805 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
1806 arguments.
1807
f7934be8
RM
18082012-11-02 Roland McGrath <roland@hack.frob.com>
1809
1810 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
1811 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
1812 autoconf-time if not.
1813 * configure.in: Remove AC_PREREQ.
1814
d7d08bde
TMQMF
18152012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1816
1817 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
1818 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
1819 of the internal implementation.
1820
dcdae19a
JM
18212012-11-02 Joseph Myers <joseph@codesourcery.com>
1822
1823 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
1824 except include of <misc/sys/syslog.h>.
1825
d6cffd3e
AS
18262012-11-01 Andreas Schwab <schwab@linux-m68k.org>
1827
1828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
1829 function returns with a NULL context exit with zero.
1830
b3563932
TMQMF
18312012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1832
1833 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
1834
b288a93d
L
18352012-11-01 H.J. Lu <hongjiu.lu@intel.com>
1836
1837 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
1838 (run_program_cmd): This.
1839 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
1840 (tst_langinfo): New variable. Use it.
1841
a2421a68
SAS
18422012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
1843
1844 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
1845 floating point opcodes.
1846
6f796e1b
TS
18472012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1848
7402596b
TS
1849 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
1850 variable.
1851
d0d4f868
TS
1852 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
1853
6f796e1b
TS
1854 * sysdeps/mach/hurd/powerpc: Remove directory.
1855 * sysdeps/mach/powerpc: Likewise.
1856
4da224a2
AS
18572012-11-01 Andreas Schwab <schwab@linux-m68k.org>
1858
1859 * scripts/check-local-headers.sh: Ignore c++ headers.
1860
341dd673
TS
18612012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1862
1863 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
1864 __libc_cleanup_region_start argument.
1865
473611b2
JM
18662012-11-01 Joseph Myers <joseph@codesourcery.com>
1867
1868 [BZ #14784]
1869 [BZ #14785]
1870 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
1871 x * y using scaling, not as x * y + z.
1872 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1873 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1874 * math/libm-test.inc (fma_test): Add more tests.
1875 (fma_test_towardzero): Likewise.
1876 (fma_test_downward): Likewise.
1877 (fma_test_upward): Likewise.
1878
4078da3d
TS
18792012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1880
1881 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
1882
903252aa
JM
18832012-10-31 Joseph Myers <joseph@codesourcery.com>
1884
1885 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
1886 New variable.
1887
cbc818d0
TS
18882012-10-31 Thomas Schwinge <thomas@codesourcery.com>
1889
1890 * rt/tst-shm.c (worker): Correct checking for mmap failure.
1891
5a03cb1e
AS
18922012-10-31 Andreas Schwab <schwab@linux-m68k.org>
1893
1894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1895 Fix sort order.
1896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1897 Likewise.
1898
90aff2ff
TMQMF
18992012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1900
1901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1902 Fix the order of the list for glibc 2.17.
1903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1904 Likewise.
1905
1818fcb7
AS
19062012-10-31 Andreas Schwab <schwab@linux-m68k.org>
1907
1908 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1909
ef82f4da
JM
19102012-10-31 Joseph Myers <joseph@codesourcery.com>
1911
16a0e2ec
JM
1912 [BZ #14610]
1913 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
1914 for low part of x being zero before using __atanl (y).
1915 * math/libm-test.inc (atan2_test): Add another test.
1916
0eb69512
JM
1917 * manual/install.texi (Configuring and compiling): Document
1918 general use of test-wrapper and test-wrapper-env.
1919 * INSTALL: Regenerated.
1920
ef82f4da
JM
1921 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
1922 (__fma): Do not extract and scale down low bits on after-rounding
1923 systems when result rounded to normal precision would have normal
1924 exponent.
1925 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
1926 (__fmal): Do not extract and scale down low bits on after-rounding
1927 systems when result rounded to normal precision would have normal
1928 exponent.
1929 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
1930 (__fmal): Do not extract and scale down low bits on after-rounding
1931 systems when result rounded to normal precision would have normal
1932 exponent.
1933 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
1934 macro.
1935 (fma_test): Add more tests.
1936 (fma_test_towardzero): Likewise.
1937 (fma_test_downward): Likewise.
1938 (fma_test_upward): Likewise.
1939
954ef0d9
L
19402012-10-30 H.J. Lu <hongjiu.lu@intel.com>
1941
1942 * sysdeps/i386/tininess.h: Renamed to ...
1943 * sysdeps/x86/tininess.h: This.
1944 * sysdeps/x86_64/tininess.h: Removed.
1945
df61ffb2
JM
19462012-10-30 Joseph Myers <joseph@codesourcery.com>
1947
1948 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
1949 input. Use $(build-program-cmd).
1950 ($(objpfx)tst-array1-static.out): Likewise.
1951 ($(objpfx)tst-array2.out): Likewise.
1952 ($(objpfx)tst-array3.out): Likewise.
1953 ($(objpfx)tst-array4.out): Likewise.
1954 ($(objpfx)tst-array5.out): Likewise.
1955 ($(objpfx)tst-array5-static.out): Likewise.
1956
01767843
CM
19572012-10-30 Chris Metcalf <cmetcalf@tilera.com>
1958
47cc1490
CM
1959 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
1960 if defined.
1961
01767843
CM
1962 * nss/nsswitch.h (nss_interface_function): Provide new
1963 macro for use with NSS functions.
1964 * grp/initgroups.c: Use new macro.
1965 * nss/getXXbyYY.c: Likewise.
1966 * nss/getXXbyYY_r.c: Likewise.
1967 * nss/getXXent.c: Likewise.
1968 * nss/getXXent_r.c: Likewise.
1969 * sysdeps/posix/getaddrinfo.c: Likewise.
1970
8321aa97
AJ
19712012-10-30 Andreas Jaeger <aj@suse.de>
1972
1973 * po/ru.po: Update Russion translation from translation project.
1974
2a27fd6d
JM
19752012-10-30 Joseph Myers <joseph@codesourcery.com>
1976
8627a232
JM
1977 [BZ #14152]
1978 [BZ #14783]
1979 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
1980 result and shift together with sticky bit instead of replicating
1981 round-to-nearest rounding.
1982 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1983 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1984 * math/libm-test.inc (fma_test): Add more tests. Do not permit
1985 missing underflow exceptions.
1986 (fma_test_towardzero): Add more tests.
1987 (fma_test_downward): Likewise.
1988 (fma_test_upward): Likewise.
1989
2a27fd6d
JM
1990 [BZ #14047]
1991 * sysdeps/generic/tininess.h: New file.
1992 * sysdeps/i386/tininess.h: Likewise.
1993 * sysdeps/sh/tininess.h: Likewise.
1994 * sysdeps/x86_64/tininess.h: Likewise.
1995 * stdlib/tst-strtod-underflow.c: Likewise.
1996 * stdlib/tst-tininess.c: Likewise.
1997 * stdlib/strtod_l.c: Include <tininess.h>.
1998 (round_and_return): Do not set errno for exact underflow cases.
1999 Force an underflow exception when setting errno for underflow.
2000 Determine underflow based on rounding to normal precision if
2001 TININESS_AFTER_ROUNDING.
2002 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
2003 ERANGE for exact underflow cases.
2004 * stdlib/Makefile (tests): Add tst-tininess and
2005 tst-strtod-underflow.
2006 ($(objpfx)tst-tininess): Use $(link-libm).
2007 ($(objpfx)tst-strtod-underflow): Likewise.
2008
e7170363
AJ
20092012-10-30 Andreas Jaeger <aj@suse.de>
2010
e5088dc6
AJ
2011 [BZ#14767]
2012 * elf/Makefile (tests): Remove conditional for have-initfini-array
2013 since this is now always required and the variable does not exist
2014 anymore.
2015 (tests-static): Likewise.
2016 (modules-names): Likewise.
2017
e7170363 2018 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
2019
2020 * elf/tst-array1.c (fini_array): Make writeable so that it can be
2021 merged with constructor/destructor.
2022 (init_array): Likewise.
2023 * elf/tst-array2dep.c (fini_array): Likewise.
2024 (init_array): Likewise.
2025
60457d8a
MF
20262012-10-29 Mike Frysinger <vapier@gentoo.org>
2027
2028 * manual/message.texi: Delete @cartouche tags.
2029
8bece752
PT
20302012-10-29 Pino Toscano <toscano.pino@tiscali.it>
2031
94ce799f
PT
2032 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
2033 EOPNOTSUPP.
2034 * sysdeps/mach/hurd/fsync.c: Likewise.
2035
8bece752
PT
2036 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
2037 [_POSIX_REALTIME_SIGNALS]: Change condition to
2038 [_POSIX_REALTIME_SIGNALS > 0].
2039
86ebe6b1
AJ
20402012-10-27 Andreas Jaeger <aj@suse.de>
2041
2042 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
2043 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
2044 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
2045 [__WORDSIZE != 64]: Likewise.
2046
54399c08
L
20472012-10-26 H.J. Lu <hongjiu.lu@intel.com>
2048
2049 * iconvdata/tst-table.sh: Remove ${SHELL}.
2050 * iconvdata/tst-tables.sh: Likewise.
2051
e2211bed
DM
20522012-10-25 David S. Miller <davem@davemloft.net>
2053
2054 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2055 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
2056 of strtoull.
2057
f303f97c
DM
2058 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
2059 ifunc-impl-list.c
2060 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2061 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
2062 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
2063 file.
2064
1e9d84cd
RM
20652012-10-25 Roland McGrath <roland@hack.frob.com>
2066
2067 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2068 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
2069 __getdirentries.
2070
df381762
JM
20712012-10-25 Joseph Myers <joseph@codesourcery.com>
2072 Jim Blandy <jimb@codesourcery.com>
2073
2074 * scripts/cross-test-ssh.sh: New file.
2075 * manual/install.texi (Configuring and compiling): Document use of
2076 cross-test-ssh.sh.
2077 * INSTALL: Regenerated.
2078
bff64913
PT
20792012-10-25 Pino Toscano <toscano.pino@tiscali.it>
2080
2081 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
2082 EOPNOTSUPP.
2083
25fe8932
JM
20842012-10-25 Joseph Myers <joseph@codesourcery.com>
2085
2086 * Makeconfig (run-program-prefix): Fix comment.
2087
cc1290d0
JM
20882012-10-24 Joseph Myers <joseph@codesourcery.com>
2089 Jim Blandy <jimb@codesourcery.com>
2090
2091 * Makeconfig (test-wrapper): New variable,
2092 (test-wrapper-env): Likewise.
2093 [$(cross-compiling) = yes && $(test-wrapper) != ""]
2094 (run-built-tests): Define to yes.
2095 (run-program-prefix): Use $(test-wrapper).
2096 (built-program-cmd): Likewise.
2097 * Rules (make-test-out): Use $(test-wrapper-env) and
2098 $(host-built-program-cmd).
2099 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
2100 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
2101 tst-pathopt.sh.
2102 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
2103 $(test-wrapper-env) to tst-rtld-load-self.sh.
2104 ($(objpfx)order2.out): Use $(test-wrapper).
2105 ($(objpfx)tst-initorder.out): Likewise.
2106 ($(objpfx)tst-initorder2.out): Likewise.
2107 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
2108 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
2109 (test_wrapper_env): New variable. Use it to run ld.so.
2110 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
2111 Use it to run ld.so.
2112 (test_wrapper_env): Likewise.
2113 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
2114 $(test-wrapper) to run-iconv-test.sh.
2115 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
2116 (ICONV): Use $test_wrapper.
2117 * posix/Makefile ($(objpfx)globtest.out): Pass
2118 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
2119 globtest.sh, not $(run-program-prefix).
2120 * posix/globtest.sh (run_via_rtld_prefix): New variable.
2121 (test_wrapper): Likewise.
2122 (test_wrapper_env): Likewise. Use it to run globtest with HOME
2123 set together with run_via_rtld_prefix.
2124 (run_program_prefix): Define in terms of test_wrapper and
2125 run_via_rtld_prefix.
2126
6e6249d0
RM
21272012-10-24 Roland McGrath <roland@hack.frob.com>
2128
2129 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
2130 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
2131 Targets removed.
2132
2133 [BZ #14743]
2134 * include/time.h: Remove librt_hidden_proto (clock_gettime).
2135 Declare __clock_getres, __clock_gettime, __clock_settime,
2136 __clock_nanosleep, and __clock_getcpuclockid.
2137 * rt/clock_gettime.c: Define __clock_gettime as an alias.
2138 Remove librt_hidden_def (clock_gettime).
2139 * sysdeps/unix/clock_gettime.c: Likewise.
2140 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
2141 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2142 * rt/clock_getres.c: Define __clock_getres as an alias.
2143 * sysdeps/posix/clock_getres.c: Likewise.
2144 * rt/clock_settime.c: Define __clock_settime as an alias.
2145 * sysdeps/unix/clock_settime.c: Likewise.
2146 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
2147 * sysdeps/unix/clock_nanosleep.c: Likewise.
2148 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2149 * rt/clock-compat.c: New file.
2150 * rt/Makefile (librt-routines): Add clock-compat and move
2151 $(clock-routines) to ...
2152 (routines): ... here, new variable.
2153 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
2154 Don't add get_clockfreq here.
2155 * rt/Versions (libc: GLIBC_2.17): New version set.
2156 Add clock_* symbols here.
2157 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
2158 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
2159 (GLIBC_2.17): Add clock_* symbols.
2160 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2161 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2162 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2164 Likewise.
2165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2166 Likewise.
2167 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2168 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2169 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2170 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2171 * NEWS: Mention the move.
2172
2173 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2174 Use __open, __read, __close rather than their public counterparts.
2175 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2176 (__get_clockfreq_via_cpuinfo): Likewise.
2177 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
2178 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
2179
2180 * config.h.in (HAVE_IFUNC): New #undef.
2181 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
2182 was successful.
2183 * configure: Regenerated.
2184
0cae3f4b
MF
21852012-10-24 Mike Frysinger <vapier@gentoo.org>
2186
2187 * configure.in: Move READELF check to start of file.
2188 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
2189 libc_cv_asm_gnu_indirect_function in the process.
2190 * configure: Regenerated.
2191
8175a253
MF
21922012-10-24 Mike Frysinger <vapier@gentoo.org>
2193
2194 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
2195 send the output to /dev/null.
2196 (libc_cv_cc_with_libunwind): Likewise.
2197 (libc_cv_as_noexecstack): Likewise.
2198 * configure: Regenerate.
2199
0708a7d1
JM
22002012-10-24 Joseph Myers <joseph@codesourcery.com>
2201
10b40d85
JM
2202 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
2203
0708a7d1
JM
2204 * posix/globtest.sh (TMPDIR): Do not set.
2205 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
2206 (testout): Likewise.
2207
9fddec1a
AJ
22082012-10-24 Andreas Jaeger <aj@suse.de>
2209
3a8db22f
AJ
2210 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
2211 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
2212 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
2213 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
2214 posix_fadvise64, posix_fallocate64.
2215
9fddec1a
AJ
2216 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
2217 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
2218 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
2219 Likewise.
2220 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
2221 Likewise.
2222 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
2223
2224 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
2225 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
2226 <bits/fcntl-linux.h>.
2227 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
2228
2229 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
2230 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
2231 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
2232 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
2233 [__WORDSIZE != 64]: Likewise.
2234
ebfd1bbd
JM
22352012-10-23 Joseph Myers <joseph@codesourcery.com>
2236
03ac099f
JM
2237 * Makeconfig (run-built-tests): New variable.
2238 * Rules [$(cross-compiling) = yes]: Change condition to
2239 [$(run-built-tests) = no].
2240 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
2241 to [$(run-built-tests) = yes].
2242 * elf/Makefile [$(cross-compiling) = no]: Likewise
2243 * grp/Makefile [$(cross-compiling) = no]: Likewise.
2244 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
2245 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
2246 * intl/Makefile [$(cross-compiling) = no]: Likewise.
2247 * io/Makefile [$(cross-compiling) = no]: Likewise.
2248 * libio/Makefile [$(cross-compiling) = no]: Likewise.
2249 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
2250 * misc/Makefile [$(cross-compiling) = no]: Likewise.
2251 * posix/Makefile [$(cross-compiling) = no]: Likewise.
2252 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
2253 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
2254 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
2255 * string/Makefile [$(cross-compiling) = no]: Likewise.
2256
ebfd1bbd
JM
2257 * posix/Makefile ($(objpfx)globtest.out): Pass
2258 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
2259 $(rtld-installed-name).
2260 * posix/globtest.sh (elf_objpfx): Remove variable.
2261 (rtld_installed_name): Likewise.
2262 (library_path): Likewise.
2263 (run_program_prefix): New variable. Use for running globtest
2264 binary.
2265
166bca24
JB
22662012-10-23 Jim Blandy <jimb@codesourcery.com>
2267 Joseph Myers <joseph@codesourcery.com>
2268
2269 * Makeconfig (host-built-program-cmd): New variable.
2270 * elf/Makefile (tst-stackguard1-ARGS): Use
2271 $(host-built-program-cmd).
2272 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
2273 (tst-spawn-ARGS): Likewise.
2274 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
2275
88866099
JM
22762012-10-23 Joseph Myers <joseph@codesourcery.com>
2277 Jim Blandy <jimb@codesourcery.com>
2278
2279 * Makeconfig (run-via-rtld-prefix): New variable.
2280 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
2281 (built-program-cmd): Likewise.
2282
b4b4c296
AJ
22832012-10-22 Andreas Jaeger <aj@suse.de>
2284
2285 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
2286 __O_RSYNC if it exists, otherwise to O_SYNC.
2287
6fb54a22
JB
22882012-10-22 Jim Blandy <jimb@codesourcery.com>
2289 Joseph Myers <joseph@codesourcery.com>
2290
2291 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
2292 /dev/null.
2293 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
2294 from /dev/null
2295 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
2296 /dev/null.
2297
481b90b9
AJ
22982012-10-22 Andreas Jaeger <aj@suse.de>
2299
2a0e2669
AJ
2300 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
2301 Define always.
2302 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
2303
76e38f9a
AJ
2304 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2305 bits/fcntl-linux.h.
2306
7cd37b43
AJ
2307 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
2308 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
2309
481b90b9
AJ
2310 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
2311 to __O_LARGEFILE.
2312 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
2313 to __O_LARGEFILE.
2314
aba75984
JB
23152012-10-21 Jim Blandy <jimb@codesourcery.com>
2316 Joseph Myers <joseph@codesourcery.com>
2317
2318 * config.make.in (NM): New variable.
2319
88d4247f
AJ
23202012-10-21 Andreas Jaeger <aj@suse.de>
2321
2322 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
2323 definitions and declarations that are provided by
2324 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2325
f2eed205
L
23262012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2327
2328 [BZ #14683]
2329 * elf/Makefile (tests-static): Add tst-leaks1-static.
2330 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
2331 ($(objpfx)tst-leaks1-static): New rule.
2332 ($(objpfx)tst-leaks1-static-mem): Likewise.
2333 (tst-leaks1-static-ENV): New macro.
2334 * elf/dl-open.c (dl_open_worker): Check the main application
2335 only if SHARED is defined.
2336 * elf/tst-leaks1-static.c: New file.
2337
335e6931
AJ
23382012-10-20 Andreas Jaeger <aj@suse.de>
2339
2340 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
2341 generic values for Linux.
2342 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
2343 and declarations that are provided by <bits/fcntl-linux.h> and
2344 include <bits/fcntl-linux.h>.
2345 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2346 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
2347
ac5c94d3
RM
23482012-10-20 Roland McGrath <roland@hack.frob.com>
2349
2350 * io/fcntl.h: Move include of <bits/types.h> to the top and
2351 include it unconditionally.
2352
de54b33a
L
23532012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2354
228cfb01
L
2355 * wcsmbs/Makefile (tests-ifunc): New variable.
2356 (tests): Add $(tests-ifunc).
2357 * wcsmbs/test-wcschr-ifunc.c: New file.
2358 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2359 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2360 * wcsmbs/test-wcslen-ifunc.c: Likewise.
2361 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2362 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2363
69f07e5f
L
2364 * string/Makefile (tests-ifunc): New variable.
2365 (tests): Add $(tests-ifunc).
2366 * string/test-memccpy.c (TEST_NAME): New macro.
2367 * string/test-memchr.c (TEST_NAME): Likewise.
2368 * string/test-memcmp.c (TEST_NAME): Likewise.
2369 * string/test-memcpy.c (TEST_NAME): Likewise.
2370 * string/test-memmem.c (TEST_NAME): Likewise.
2371 * string/test-memmove.c (TEST_NAME): Likewise.
2372 * string/test-memset.c (TEST_NAME): Likewise.
2373 * string/test-rawmemchr.c (TEST_NAME): Likewise.
2374 * string/test-stpcpy.c (TEST_NAME): Likewise.
2375 * string/test-stpncpy.c (TEST_NAME): Likewise.
2376 * string/test-strcasecmp.c (TEST_NAME): Likewise.
2377 * string/test-strcasestr.c (TEST_NAME): Likewise.
2378 * string/test-strcat.c (TEST_NAME): Likewise.
2379 * string/test-strchr.c (TEST_NAME): Likewise.
2380 * string/test-strcmp.c(TEST_NAME): Likewise.
2381 * string/test-strcpy.c (TEST_NAME): Likewise.
2382 * string/test-strcspn.c (TEST_NAME): Likewise.
2383 * string/test-strlen.c (TEST_NAME): Likewise.
2384 * string/test-strncasecmp.c (TEST_NAME): Likewise.
2385 * string/test-strncmp.c (TEST_NAME): Likewise.
2386 * string/test-strncpy.c (TEST_NAME): Likewise.
2387 * string/test-strnlen.c (TEST_NAME): Likewise.
2388 * string/test-strpbrk.c (TEST_NAME): Likewise.
2389 * string/test-strrchr.c (TEST_NAME): Likewise.
2390 * string/test-strspn.c (TEST_NAME): Likewise.
2391 * string/test-strstr.c (TEST_NAME): Likewise.
2392 * string/test-bcopy-ifunc.c: New file.
2393 * string/test-bzero-ifunc.c: Likewise.
2394 * string/test-memccpy-ifunc.c: Likewise.
2395 * string/test-memchr-ifunc.c: Likewise.
2396 * string/test-memcmp-ifunc.c: Likewise.
2397 * string/test-memcpy-ifunc.c: Likewise.
2398 * string/test-memmem-ifunc.c: Likewise.
2399 * string/test-memmove-ifunc.c: Likewise.
2400 * string/test-mempcpy-ifunc.c: Likewise.
2401 * string/test-memset-ifunc.c: Likewise.
2402 * string/test-rawmemchr-ifunc.c: Likewise.
2403 * string/test-stpcpy-ifunc.c: Likewise.
2404 * string/test-stpncpy-ifunc.c: Likewise.
2405 * string/test-strcasecmp-ifunc.c: Likewise.
2406 * string/test-strcasestr-ifunc.c: Likewise.
2407 * string/test-strcat-ifunc.c: Likewise.
2408 * string/test-strchr-ifunc.c: Likewise.
2409 * string/test-strchrnul-ifunc.c: Likewise.
2410 * string/test-strcmp-ifunc.c: Likewise.
2411 * string/test-strcpy-ifunc.c: Likewise.
2412 * string/test-strcspn-ifunc.c: Likewise.
2413 * string/test-strlen-ifunc.c: Likewise.
2414 * string/test-strncasecmp-ifunc.c: Likewise.
2415 * string/test-strncat-ifunc.c: Likewise.
2416 * string/test-strncmp-ifunc.c: Likewise.
2417 * string/test-strncpy-ifunc.c: Likewise.
2418 * string/test-strnlen-ifunc.c: Likewise.
2419 * string/test-strpbrk-ifunc.c: Likewise.
2420 * string/test-strrchr-ifunc.c: Likewise.
2421 * string/test-strspn-ifunc.c: Likewise.
2422 * string/test-strstr-ifunc.c: Likewise.
2423
de54b33a
L
2424 * debug/Makefile (tests-ifunc): New variable.
2425 (tests): Add $(tests-ifunc).
2426 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
2427 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
2428 * debug/test-stpcpy_chk-ifunc.c: New file.
2429 * debug/test-strcpy_chk-ifunc.c: Likewise.
2430
88481c16
SP
24312012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2432
2433 [BZ #13601]
2434 * elf/dl-load.c (open_verify): Retry read if the entire ELF
2435 header is not read in.
2436
135948bd
JM
24372012-10-19 Joseph Myers <joseph@codesourcery.com>
2438
89f1c388
JM
2439 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
2440 script to $(SHELL) as $<. Pass $(common-objpfx) to script
2441 directly. Pass built executable to script as
2442 $(built-program-cmd).
2443 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
2444 $testprogram without using LD_LIBRARY_PATH and $ldso.
2445
e40a0d21
JM
2446 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
2447 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
2448 $(rtld-installed-name).
2449 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
2450 (rtld_installed_name): Likewise.
2451 (library_path): Likewise.
2452 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
2453 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
2454 $(run-program-prefix) to tst-tables.sh.
2455 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
2456 it to run tst-table-from and tst-table-to.
2457 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
2458 Pass it to tst-table.sh.
2459 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
2460 $(run-program-prefix) to tst-gettext.sh.
2461 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
2462 tst-translit.sh.
2463 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
2464 tst-gettext2.sh.
2465 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
2466 to run tst-gettext.
2467 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
2468 to run tst-gettext2.
2469 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
2470 to run tst-translit.
2471 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
2472 $(run-program-prefix) to tst-mtrace.sh.
2473 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
2474 to run tst-mtrace.
2475 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
2476 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
2477 $(rtld-installed-name).
2478 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
2479 (rtld_installed_name): Likewise.
2480 (run_program_prefix): New variable. Use it to run wordexp-test.
2481
728e272a
JM
2482 * Makeconfig (ARCH): Remove all definitions.
2483 (machine): Likewise.
2484 [ARCH]: Remove conditional code.
2485 [!objdir]: Give error.
2486 [!objdir] (objpfx): Remove.
2487 [!objdir] (common-objpfx): Likewise.
2488 [!objdir] (common-objdir): Likewise.
2489 * configure.in (config_makefile): Remove. Hardcode Makefile in
2490 AC_CONFIG_FILES call.
2491 * configure: Regenerated.
2492
d528cdcf
JM
2493 [BZ #13888]
2494 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
2495 or TMPDIR.
2496 (testout): Likewise.
2497
135948bd
JM
2498 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
2499 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
2500 $(rtld-installed-name).
2501 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
2502 (rtld_installed_name): Likwise.
2503 (runit): Remove function.
2504 (run_getconf): New variable, Use it for running getconf binary.
2505
38c78296
L
25062012-10-18 H.J. Lu <hongjiu.lu@intel.com>
2507
2508 [BZ #14716]
2509 * string/test-memmem.c (check_result): New function.
2510 (do_one_test): Use it.
2511 (check1): New function.
2512 (test_main): Use it.
2513
d077f65f
MT
25142012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
2515
2516 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
2517
ced52c71
JM
25182012-10-18 Joseph Myers <joseph@codesourcery.com>
2519
2520 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
2521 (_G_LSEEK64): Likewise.
2522 (_G_MMAP64): Likewise.
2523 (_G_FSTAT64): Likewise.
2524 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
2525 (_G_LSEEK64): Likewise.
2526 (_G_MMAP64): Likewise.
2527 (_G_FSTAT64): Likewise.
2528 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
2529 unconditional. Call __mmap64 directly.
2530 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
2531 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
2532 __lseek64 directly.
2533 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
2534 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
2535 __mmap64 directly.
2536 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
2537 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
2538 __lseek64 directly.
2539 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
2540 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
2541 __lseek64 directly.
2542 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
2543 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
2544 __lseek64 directly.
2545 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
2546 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
2547 __fxstat64 directly.
2548 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
2549 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
2550 unconditional.
2551 (freopen64) [!_G_OPEN64]: Remove conditional code.
2552 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
2553 unconditional.
2554 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
2555 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
2556 unconditional.
2557 (ftello64) [!_G_LSEEK64]: Remove conditional code.
2558 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
2559 unconditional.
2560 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2561 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
2562 unconditional.
2563 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
2564 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
2565 unconditional.
2566 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2567 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
2568 unconditional.
2569 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2570 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
2571 unconditional.
2572 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2573
b741de23
SP
25742012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2575
2576 [BZ #12140]
2577 * manual/memory.texi (Malloc Tunable Parameters): Add note
2578 about free list pointers overwriting some perturb bytes.
2579 Wording suggested by Roland McGrath.
2580
f9b9d9c9
JM
25812012-10-17 Joseph Myers <joseph@codesourcery.com>
2582
2583 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
2584 (lgamma_test): Likewise.
2585 (tgamma_test): Likewise.
2586
172a631a
FW
25872012-10-16 Florian Weimer <fweimer@redhat.com>
2588
2589 [BZ #14700]
2590 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
2591 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
2592
e9f37252
MK
25932012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
2594
2595 * NEWS: Mention BZ #14716.
2596 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
2597 when removing AVAILABLE1_USES_J macro.
2598
d394eb74
L
25992012-10-12 H.J. Lu <hongjiu.lu@intel.com>
2600
2601 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
2602 (__bswap_64): __uint64_t for unsigned 64-bit int.
2603
ca38dc17
AS
26042012-10-12 Andreas Schwab <schwab@linux-m68k.org>
2605
2606 * include/string.h (memmem): Declare libc hidden alias.
2607 * string/memmem.c (memmem): Define libc hidden alias.
2608 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
2609 __read, __close instead of open, read, close.
2610
9a387d1f
L
26112012-10-11 H.J. Lu <hongjiu.lu@intel.com>
2612
ac49ecaf
L
2613 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
2614 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
2615 global and hidden.
2616 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
2617 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
2618 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
2619 Likewise.
2620 (__rawmemchr_sse2): Likewise.
2621 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
2622 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
2623 (__strchr_sse2): Likewise.
2624 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
2625 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
2626 (__strcasecmp_sse2): Likewise.
2627 (__strncasecmp_sse2): Likewise.
2628 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
2629 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
2630 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
2631 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
2632 (__strrchr_sse2): Likewise.
2633 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
2634 ifunc-impl-list.c.
2635 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2636 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2637 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2638 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2639 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2640 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2641 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2642 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2643 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
2644 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
2645 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
2646 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
2647 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
2648 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2649 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2650 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2651 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2652 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2653 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
2654 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
2655 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
2656 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
2657 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
2658 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
2659 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
2660 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2661 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2662 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2663 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2664 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2665
b090e8ea
L
2666 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
2667 global and hidden.
2668 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
2669 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
2670 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
2671 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
2672 Likewise.
2673 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
2674 Likewise.
2675 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
2676 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
2677 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
2678 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
2679 ifunc-impl-list.c.
2680 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2681 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2682 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2683 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2684 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2685 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2686 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2687 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2688 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2689 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2690 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2691 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2692 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2693 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
2694 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
2695 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2696 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
2697 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
2698 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2699 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2700 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2701 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2702 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2703 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2704 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2705 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
2706 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
2707 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
2708 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
2709 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2710 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
2711 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2712 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2713 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
2714 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2715 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2716 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2717 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2718 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2719 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2720 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
2721
11dd4af6
L
2722 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
2723 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
2724 * include/ifunc-impl-list.h: New file.
2725 * misc/ifunc-impl-list.c: Likewise.
2726 * misc/Makefile (routines): Add ifunc-impl-list.
2727 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
2728 * string/test-string.h: Include <ifunc-impl-list.h>.
2729 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
2730 impl_array): New variables.
2731 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
2732 are defined.
2733 (test_init): Call __libc_ifunc_impl_list to initialize
2734 func_list if TEST_IFUNC and TEST_NAME are defined.
2735
9a387d1f
L
2736 * string/Makefile (strop-tests): Add bcopy and bzero.
2737 * string/test-bcopy.c: New file.
2738 * string/test-bzero.c: Likewise.
2739 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
2740 defined.
2741 * string/test-memset.c: Support bzero test if TEST_BZERO is
2742 defined.
2743 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
2744 __libc_memmove.
2745 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
2746 __libc_memset.
2747 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
2748 of memset.
2749
472371b9
JM
27502012-10-10 Joseph Myers <joseph@codesourcery.com>
2751
1e4a9536
JM
2752 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
2753 * configure: Regenerated.
2754
d173d12e
JM
2755 * Makeconfig (+link-static-before-libc): Don't include
2756 $(link-static-libc).
2757
472371b9
JM
2758 * libio/libio.h (_IO_pos_t): Remove.
2759
89a3ad0b
AO
27602012-10-10 Alexandre Oliva <aoliva@redhat.com>
2761
2762 * NEWS: Add note about FIPS mode. Wording suggested by Roland
2763 McGrath.
2764
e7451425
AO
27652012-10-10 Alexandre Oliva <aoliva@redhat.com>
2766
2767 * crypt/crypt-entry.c: Include fips-private.h.
2768 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
2769 * crypt/md5c-test.c (main): Tolerate disabled MD5.
2770 * sysdeps/unix/sysv/linux/fips-private.h: New file.
2771 * sysdeps/generic/fips-private.h: New file, dummy fallback.
2772
4ba74a35
AO
27732012-10-10 Alexandre Oliva <aoliva@redhat.com>
2774
2775 * crypt/crypt-private.h: Include stdbool.h.
2776 (_ufc_setup_salt_r): Return bool.
2777 * crypt/crypt-entry.c: Include errno.h.
2778 (__crypt_r): Return NULL with EINVAL for bad salt.
2779 * crypt/crypt_util.c (bad_for_salt): New.
2780 (_ufc_setup_salt_r): Check that salt is long enough and within
2781 the specified alphabet.
2782 * crypt/badsalttest.c: New file.
2783 * crypt/Makefile (tests): Add it.
2784 ($(objpfx)badsalttest): New.
2785
f96f1242
MK
27862012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
2787
2788 * NEWS: Add entry for BZ #14602.
2789
0e8e0c1c
JM
27902012-10-09 Joseph Myers <joseph@codesourcery.com>
2791
2792 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
2793 type-generic.
2794 * math/libm-test.inc: Update comment listing what functions and
2795 macros are tested.
2796 (isgreater_test): New function.
2797 (isgreaterequal_test): Likewise.
2798 (isless_test): Likewise.
2799 (islessequal_test): Likewise.
2800 (islessgreater_test): Likewise.
2801 (isunordered_test): Likewise.
2802 (main): Call the new functions.
2803
273edc5e
RM
28042012-10-09 Roland McGrath <roland@hack.frob.com>
2805
b8493de0
RM
2806 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
2807 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
2808 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
2809 * sysdeps/i386/configure: Regenerated.
2810 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
2811 * sysdeps/mach/configure: Regenerated.
2812 * sysdeps/mach/hurd/configure: Regenerated.
2813 * sysdeps/powerpc/configure: Regenerated.
2814 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2815 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2816 * sysdeps/s390/s390-32/configure: Regenerated.
2817 * sysdeps/s390/s390-64/configure: Regenerated.
2818 * sysdeps/sh/configure: Regenerated.
2819 * sysdeps/sparc/configure: Regenerated.
2820 * sysdeps/unix/sysv/linux/configure: Regenerated.
2821 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2822 * sysdeps/x86_64/configure: Regenerated.
2823
273edc5e
RM
2824 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
2825 defined. Don't check if MAP is NULL.
2826
c8450f70
JM
28272012-10-09 Joseph Myers <joseph@codesourcery.com>
2828
2829 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
2830 (_G_stat64): Likewise.
2831 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
2832 (_G_stat64): Likewise.
2833 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
2834 instead of struct _G_stat64.
2835 * libio/fileops.c (mmap_remap_check): Likewise.
2836 (decide_maybe_mmap): Likewise.
2837 (_IO_new_file_seekoff): Likewise.
2838 (_IO_file_stat): Likewise.
2839 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
2840 _G_off64_t.
2841 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
2842 instead of struct _G_stat64.
2843 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
2844
57e605ba
MK
28452012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
2846
2847 [BZ #14602]
2848 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2849 Replace with ...
2850 (CHECK_EOL): New macro.
2851 (two_way_short_needle): Check beginning of haystack for EOL. Use
2852 CHECK_EOL.
2853 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2854 Replace with CHECK_EOL.
2855 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2856 Replace with CHECK_EOL.
2857
ef1bb361
JM
28582012-10-08 Joseph Myers <joseph@codesourcery.com>
2859
2860 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
2861 type-generic.
2862 * math/libm-test.inc: Update comment listing what functions and
2863 macros are tested.
2864 (finite_test): New function.
2865 (isinf_test): Likewise.
2866 (isnan_test): Likewise.
2867 (fpclassify_test): Test subnormal input.
2868 (isfinite_test): Likewise.
2869 (isnormal_test): Likewise.
2870 (main): Call the new functions.
2871
55f11534
JN
28722012-10-08 Jonathan Nieder <jrnieder@gmail.com>
2873
2874 [BZ #14660]
2875 * Makerules (%.dynsym): Force C locale when running
2876 $(OBJDUMP) --dynamic-syms.
2877
1ab29350
AS
28782012-10-08 Andreas Schwab <schwab@linux-m68k.org>
2879
2880 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
2881 <stdint.h>.
2882
f1ecb7ef
DM
28832012-10-06 David S. Miller <davem@davemloft.net>
2884
2885 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
2886 upper 32-bits of the length value in %o2 since we use branch-on-register
2887 tests which consider the entire 64-bit register.
2888
5d41d91a
L
28892012-10-06 H.J. Lu <hongjiu.lu@intel.com>
2890
2891 * string/test-strstr.c (check2): Add a test for page boundary.
2892
3baddb72
DM
28932012-10-05 David S. Miller <davem@davemloft.net>
2894
2895 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
2896 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
2897 file.
2898 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
2899 sysdep_routines.
2900 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
2901 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
2902 and bzero when HWCAP_SPARC_CRYPTO is present.
2903
9cee5585
L
29042012-10-05 H.J. Lu <hongjiu.lu@intel.com>
2905
d7e0dab9
L
2906 [BZ #14602]
2907 * string/test-strstr.c (check2): New function.
2908 (test_main): Call check2.
2909
03759f47
L
2910 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
2911 and bug-strchr1.
2912 * string/bug-strcasestr1.c (do_test): Moved to ...
2913 * string/test-strcasestr.c (check1): Here. New function.
2914 (do_one_test): Break out result checking code into ...
2915 (check_result): This. New function.
2916 (do_one_test): Call check_result.
2917 (test_main): Call check1.
2918 * string/bug-strchr1.c (do_test): Moved to ...
2919 * string/test-strchr.c (check1): Here. New function.
2920 (do_one_test): Break out result checking code into ...
2921 (check_result): This. New function.
2922 (do_one_test): Call check_result.
2923 (test_main): Call check1.
2924 * string/bug-strstr1.c (main): Moved to ...
2925 * string/test-strchr.c (check1): Here. New function.
2926 (do_one_test): Break out result checking code into ...
2927 (check_result): This. New function.
2928 (do_one_test): Call check_result.
2929 (test_main): Call check1.
2930 * string/bug-strcasestr1.c: Removed.
2931 * string/bug-strchr1.c: Likewise.
2932 * string/bug-strstr1.c: Likewise.
2933
53cea63e
L
2934 * elf/Makefile (dl-routines): Add hwcaps.
2935 * elf/dl-support.c (_dl_important_hwcaps): Removed.
2936 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
2937 (_dl_important_hwcaps): Moved to ...
2938 * elf/dl-hwcaps.c: Here. New file.
2939 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
2940
9cee5585 2941 [BZ #14557]
bb859b06
L
2942 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
2943 if IS_IN_rtld isn't defined.
2944
9cee5585
L
2945 * elf/dl-support.c (_dl_sysinfo_map): New.
2946 Include "get-dynamic-info.h" and "setup-vdso.h".
2947 (_dl_non_dynamic_init): Call setup_vdso.
2948 * elf/dynamic-link.h: Don't include <assert.h>.
2949 (elf_get_dynamic_info): Moved to ...
2950 * elf/get-dynamic-info.h: Here. New file.
2951 * elf/dynamic-link.h: Include "get-dynamic-info.h".
2952 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
2953 * elf/setup-vdso.h: Here. New file.
2954 * elf/rtld.c: Include "setup-vdso.h".
2955 (dl_main): Call setup_vdso.
2956
23c31b76
JM
29572012-10-05 Joseph Myers <joseph@codesourcery.com>
2958
28234b07
JM
2959 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
2960 creal in comment listing functions tested. List finite, isinf,
2961 isnan, isless, islessequal, isgreater, isgreaterequal,
2962 islessgreater, isunordered, lgamma_r and pow10 as functions and
2963 macros not tested. Mention which functions not tested are aliases
2964 for other functions. Fix typo. Note that signs of NaNs are not
2965 tested.
2966
23c31b76
JM
2967 * scripts/config.guess: Update from config.git.
2968 * scripts/config.sub: Likewise.
2969
9043e228
RM
29702012-10-04 Roland McGrath <roland@hack.frob.com>
2971
2972 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
2973 * misc/madvise.c (madvise): Renamed to __madvise.
2974 Make madvise a weak alias.
2975 * include/sys/mman.h: Declare __madvise.
2976 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
2977 * sysdeps/unix/syscalls.list
2978 (madvise): Make __madvise the strong name, and madvise a weak alias.
2979 * sysdeps/unix/sysv/linux/syscalls.list
2980 (madvise, mmap): Remove redundant entries.
2981 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
2982 * malloc/malloc.c (mtrim): Likewise.
2983 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
2984
f57f8055
RM
29852012-10-03 Roland McGrath <roland@hack.frob.com>
2986
2987 * sysdeps/mach/hurd/dl-cache.c: File removed.
2988 * config.h.in (USE_LDCONFIG): New #undef.
2989 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
2990 * configure: Regenerated.
2991 * elf/Makefile (dl-routines): Add dl-cache only under
2992 [$(use-ldconfig) = yes].
2993 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
2994 cache on [USE_LDCONFIG].
2995 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
2996 [USE_LDCONFIG].
2997 * elf/rtld.c (dl_main): Likewise.
2998
5bb0c10a
PT
29992012-10-03 Pino Toscano <toscano.pino@tiscali.it>
3000
3001 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
3002 _SC_LEVEL4_CACHE_LINESIZE.
3003
010188c6
RM
30042012-10-03 Roland McGrath <roland@hack.frob.com>
3005
3006 * sysdeps/unix/bsd/confstr.h: File removed.
3007
b6c5ec07
AO
30082012-10-02 Alexandre Oliva <aoliva@redhat.com>
3009
3010 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
3011 sys/sdt-config.h.
3012
408223d4
RM
30132012-10-02 Roland McGrath <roland@hack.frob.com>
3014
3015 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
3016 Make 'mapoff' field ElfW(Off) rather than off_t.
3017
bb9510dc
DL
30182012-10-02 Dmitry V. Levin <ldv@altlinux.org>
3019
fc997c6e
DL
3020 * nscd/Makefile: Remove nscd-cflags and all its users.
3021 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
3022 (CFLAGS-nonlib): Add compiler flags for nscd modules.
3023
bb9510dc
DL
3024 [BZ #10631]
3025 * malloc.c (malloc_printerr): Clarify error message.
3026
05699367
L
30272012-10-02 H.J. Lu <hongjiu.lu@intel.com>
3028
3029 [BZ #14648]
3030 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3031 Set bit_FMA_Usable if FMA is supported.
3032 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
3033 macro.
3034 (bit_FMA4_Usable): Updated.
3035 (index_FMA_Usable): New macro.
3036 (CPUID_FMA): Likewise
3037 (HAS_FMA): Defined with bit_FMA_Usable.
3038
51367701
RM
30392012-10-01 Roland McGrath <roland@hack.frob.com>
3040
3041 * bits/types.h (__swblk_t): Type removed.
3042 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
3043 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
3044 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3045 (__SWBLK_T_TYPE): Likewise.
3046 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3047 (__SWBLK_T_TYPE): Likewise.
3048 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3049 (__SWBLK_T_TYPE): Likewise.
3050 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3051 (__SWBLK_T_TYPE): Likewise.
3052
4d57bf63 30532012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 3054 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
3055
3056 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
3057 (xdr_mapname): Use YPMAXMAP as maxsize.
3058 (xdr_peername): Use YPMAXPEER as maxsize.
3059 (xdr_keydat): Use YPAXRECORD as maxsize.
3060 (xdr_valdat): Use YPMAXRECORD as maxsize.
3061
93c65d43
RM
30622012-10-01 Roland McGrath <roland@hack.frob.com>
3063
497a03d6
RM
3064 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
3065
93c65d43
RM
3066 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
3067 * csu/init-first.c: ... here.
3068 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
3069 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3070 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
3071 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3072 * sysdeps/i386/init-first.c: File removed.
3073 * sysdeps/sh/init-first.c: File removed.
3074
bec749fd
JM
30752012-10-01 Joseph Myers <joseph@codesourcery.com>
3076
3077 [BZ #14645]
3078 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
3079 if x * y might underflow to zero and z is zero.
3080 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3081 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3082 * math/libm-test.inc (min_subnorm_value): New variable.
3083 (fma_test): Add more tests.
3084 (fma_test_towardzero): Likewise.
3085 (fma_test_downward): Likewise
3086 (fma_test_upward): Likewise.
3087 (initialize): Set min_subnorm_value.
3088
8ec5b013
JM
30892012-09-29 Joseph Myers <joseph@codesourcery.com>
3090
3091 [BZ #14638]
3092 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
3093 0 + 0.
3094 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
3095 mode for addition resulting in exact zero.
3096 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
3097 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
3098 exact 0 + 0.
3099 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3100 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3101 * math/libm-test.inc (fma_test): Add more tests.
3102 (fma_test_towardzero): New function.
3103 (fma_test_downward): Likewise.
3104 (fma_test_upward): Likewise.
3105 (main): Call the new functions.
3106
b1fa802e
DM
31072012-09-28 David S. Miller <davem@davemloft.net>
3108
3109 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
3110
d3b9fd9e
RM
31112012-09-28 Roland McGrath <roland@hack.frob.com>
3112
ea4d37b3
RM
3113 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
3114 instead of SIGALRM.
3115
ac51c949
RM
3116 * sysdeps/gnu/_G_config.h: Moved to ...
3117 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
3118 * sysdeps/mach/hurd/_G_config.h: Moved to ...
3119 * sysdeps/generic/_G_config.h: ... here.
3120
28c195f7
RM
3121 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
3122
848917f9
RM
3123 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
3124
6bacf05b
RM
3125 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
3126 Conditionalize target on [libnss_test1.so-version].
3127
91363dbb
RM
3128 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
3129
cc87f7d8
RM
3130 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
3131 (elfobjdir): Move out of conditionals.
3132
b1c608fe
RM
3133 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
3134 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
3135 (__nss_lookup_function): Conditionalize label remove_from_tree on
3136 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 3137
1d9a6d96
DM
31382012-09-28 David S. Miller <davem@davemloft.net>
3139
3140 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
3141 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
3142 file.
3143 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3144 sysdep_routines.
3145 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3146 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
3147 when HWCAP_SPARC_CRYPTO is present.
3148
72581615
PT
31492012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3150
3151 * io/tst-mknodat.c: Create a FIFO instead of a socket.
3152
715a900c
JL
31532012-09-28 Andreas Schwab <schwab@linux-m68k.org>
3154
3155 [BZ #6530]
3156 * stdio-common/vfprintf.c (process_string_arg): Revert
3157 2000-07-22 change.
3158
31592011-09-28 Jonathan Nieder <jrnieder@gmail.com>
3160
3161 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
3162 for testcase.
3163 * stdio-common/tst-sprintf.c: Include <locale.h>
3164 (main): Test sprintf's handling of incomplete multibyte
3165 characters.
3166
9bac1d86
L
31672012-09-28 H.J. Lu <hongjiu.lu@intel.com>
3168
3169 * elf/dl-runtime.c (VERSYMIDX): Removed.
3170 * elf/dl-version.c (VERSYMIDX): Likewise.
3171 * elf/do-rel.h (VERSYMIDX): Likewise.
3172 (VALIDX): Likewise.
3173 * elf/dynamic-link.h (VERSYMIDX): Likewise.
3174 * elf/rtld.c (VALIDX): Likewise.
3175 (ADDRIDX): Likewise.
9bac1d86
L
3176 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
3177 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
3178 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
3179 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
3180 (VALIDX): Likewise.
3181 (ADDRIDX): Likewise.
9bac1d86 3182
b31606c0
PT
31832012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3184
3185 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
3186
11541177
JL
31872012-09-28 Dmitry V. Levin <ldv@altlinux.org>
3188
3189 [BZ #11438]
3190 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
3191 to global scope.
3192 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
3193 addresses are in the same scope as 192.0.2/24.
3194 * posix/gai.conf: Document new scope table defaults.
3195
adb26fae
SP
31962012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3197
3198 [BZ #5298]
3199 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
3200 for ftell. Compute offsets from write pointers instead.
3201 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3202
4573c6b0
SP
32032012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3204
3205 [BZ #14543]
3206 * libio/Makefile (tests): New test case tst-fseek.
3207 * libio/tst-fseek.c: New test case to verify that fseek/ftell
3208 combination works in wide mode.
3209 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
3210 state when the external buffer state changes.
3211
aa9bbfe6
DM
32122012-09-27 David S. Miller <davem@davemloft.net>
3213
3214 [BZ #14376]
3215 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
3216 pass reloc->r_addend in as the 'high' argument to
3217 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
3218
784421e7
DM
3219 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3220
c39bc8b8
PT
32212012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3222
3223 * rt/tst-aio2.c: Include <pthread.h>.
3224 * rt/tst-aio3.c: Likewise.
3225
1ccc2399
SE
32262012-09-27 Steve Ellcey <sellcey@mips.com>
3227
3228 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
3229
31ed4153
L
32302012-09-27 H.J. Lu <hongjiu.lu@intel.com>
3231
25f5f885
L
3232 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
3233 contents on [SHARED].
31ed4153 3234
b7bfe116
MP
32352012-09-26 Marek Polacek <polacek@redhat.com>
3236
3237 [BZ #14530]
3238 [BZ #13741]
3239 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
3240 for C++ and GCC <4.3 as well as for non GCC compilers.
3241
43c4edba
MT
32422012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
3243
3244 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3245
6a1bf82f
RM
32462012-09-25 Roland McGrath <roland@hack.frob.com>
3247
3248 * Makefile.in (all, install): Declare with .PHONY.
3249 Reported by Michael Hope <michael.hope@linaro.org>.
3250
8ad11b9a
TMQMF
32512012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3252
3253 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
3254 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
3255 system header.
3256 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
3257 Likewise.
3258 (sydep_routines): Add the new and the internal functions.
3259 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
3260 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
3261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
3262 (GLIBC_2.17): Add the new function.
3263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3264 (GLIBC_2.17): Likewise.
3265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
3266 (GLIBC_2.17): Likewise.
3267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
3268 (GLIBC_2.17): Likewise.
3269 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
3270
7e2fca8d
AM
32712012-09-25 Alan Modra <amodra@gmail.com>
3272
3273 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
3274 Add release barrier before setting once_control to say
3275 initialisation is done. Add hints on lwarx. Use macro in
3276 place of isync.
3277 (clear_once_control): Add release barrier.
3278
b87c4b24
JM
32792012-09-25 Joseph Myers <joseph@codesourcery.com>
3280
d032e0d2
JM
3281 [BZ #13629]
3282 * math/s_clog.c (__clog): Handle more values close to |z| = 1
3283 specially.
3284 * math/s_clog10.c (__clog10): Likewise.
3285 * math/s_clog10f.c (__clog10f): Likewise.
3286 * math/s_clog10l.c (__clog10l): Likewise.
3287 * math/s_clogf.c (__clogf): Likewise.
3288 * math/s_clogl.c (__clogl): Likewise.
3289 * math/Makefile (libm-calls): Add x2y2m1.
3290 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
3291 (__x2y2m1): Likewise.
3292 (__x2y2m1l): Likewise.
3293 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
3294 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
3295 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3296 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3297 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
3298 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
3299 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
3300 * sysdeps/i386/fpu/libm-test-ulps: Update.
3301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3302
b87c4b24
JM
3303 [BZ #14621]
3304 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
3305 int as type of variable DEPTH.
3306 (glob): Use size_t instead of int as type of variables NEWCOUNT
3307 and OLD_PATHC.
3308
6d3bf199
LD
33092012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3310
22bf5c17
LD
3311 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3312 Add s_sincosf-sse2.
3313 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
3314 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
3315 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
3316 macros for using routine as __sincosf_ia32.
3317 Use macro for function declaration and weak_alias.
3318 * sysdeps/i386/fpu/libm-test-ulps: Update.
3319
3320 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
3321 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3322
3323 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
3324 subnormal argument.
3325 * math/s_cexpf.c (__cexpf): Likewise.
3326 * math/s_csinf.c (__csinf): Likewise.
3327 * math/s_csinhf.c (__csinhf): Likewise.
3328 * math/s_ctanf.c (__ctanf): Likewise.
3329 * math/s_ctanhf.c (__ctanhf): Likewise.
3330 * math/s_ccosh.c (__ccoshf): Likewise.
3331 * math/s_cexp.c (__cexpl): Likewise.
3332 * math/s_csin.c (__csin): Likewise.
3333 * math/s_csinh.c (__csinh): Likewise.
3334 * math/s_ctan.c (__ctan): Likewise.
3335 * math/s_ctanh.c (ctanh): Likewise.
3336 * math/s_ccoshl.c (__ccoshl): Likewise.
3337 * math/s_cexpl.c (__cexpl): Likewise.
3338 * math/s_csinl.c (__csinl): Likewise.
3339 * math/s_csinhl.c (__csinhl): Likewise.
3340 * math/s_ctanl.c (__ctanl): Likewise.
3341 * math/s_ctanhl.c (__ctanhl): Likewise.
3342
203e5603
JM
33432012-09-25 Joseph Myers <joseph@codesourcery.com>
3344
3345 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
3346 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
3347 (_IO_off_t): Define to __off_t, not _G_off_t.
3348 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
3349 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
3350 (_IO_wint_t): Define to wint_t, not _G_wint_t.
3351 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
3352 type of __dummy and __dummy2 fields.
3353 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
3354 (_G_ssize_t): Likewise.
3355 (_G_off_t): Likewise.
3356 (_G_pid_t): Likewise.
3357 (_G_uid_t): Likewise.
3358 (_G_wchar_t): Likewise.
3359 (_G_wint_t): Likewise.
3360 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
3361 (_G_ssize_t): Likewise.
3362 (_G_off_t): Likewise.
3363 (_G_pid_t): Likewise.
3364 (_G_uid_t): Likewise.
3365 (_G_wchar_t): Likewise.
3366 (_G_wint_t): Likewise.
3367 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
3368 (_G_ssize_t): Likewise.
3369 (_G_off_t): Likewise.
3370 (_G_pid_t): Likewise.
3371 (_G_uid_t): Likewise.
3372 (_G_wchar_t): Likewise.
3373 (_G_wint_t): Likewise.
3374
9fab36eb
SP
33752012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3376
3377 * malloc/arena.c: Include malloc-sysdep.h.
3378 (shrink_heap): Use check_may_shrink_heap to decide if madvise
3379 is sufficient to shrink the heap or an unmap is needed.
3380 * sysdeps/generic/malloc-sysdep.h: New file. Define
3381 new function check_may_shrink_heap.
3382 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
3383 new function check_may_shrink_heap.
3384
2b4f00d1
SP
33852012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3386
3387 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
3388 comments.
3389
9a9028b1
DL
33902012-09-24 Dmitry V. Levin <ldv@altlinux.org>
3391
57c69bef
DL
3392 * catgets/test-gencat.sh: Add "set -e".
3393 * elf/tst-pathopt.sh: Likewise.
3394 * grp/tst_fgetgrent.sh: Likewise.
3395 * iconvdata/run-iconv-test.sh: Likewise.
3396 * intl/tst-gettext.sh: Likewise.
3397 * intl/tst-gettext2.sh: Likewise.
3398 * intl/tst-gettext4.sh: Likewise.
3399 * intl/tst-gettext6.sh: Likewise.
3400 * intl/tst-translit.sh: Likewise.
3401 * io/ftwtest-sh: Likewise.
3402 * libio/test-freopen.sh: Likewise.
3403 * malloc/tst-mtrace.sh: Likewise.
3404 * posix/globtest.sh: Likewise.
3405 * posix/tst-getconf.sh: Likewise.
3406 * posix/wordexp-tst.sh: Likewise.
3407 * stdio-common/tst-printf.sh: Likewise.
3408 * stdio-common/tst-unbputc.sh: Likewise.
3409 * stdlib/tst-fmtmsg.sh: Likewise.
3410 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3411 * catgets/Makefile: Do not specify -e option when running
3412 testsuite shell scripts.
3413 * elf/Makefile: Likewise.
3414 * grp/Makefile: Likewise.
3415 * iconvdata/Makefile: Likewise.
3416 * intl/Makefile: Likewise.
3417 * io/Makefile: Likewise.
3418 * libio/Makefile: Likewise.
3419 * malloc/Makefile: Likewise.
3420 * posix/Makefile: Likewise.
3421 * stdio-common/Makefile: Likewise.
3422 * stdlib/Makefile: Likewise.
3423 * sysdeps/x86_64/Makefile: Likewise.
3424
9a9028b1
DL
3425 * io/ftwtest-sh: Add copyright header.
3426 * posix/globtest.sh: Likewise.
3427 * posix/tst-getconf.sh: Likewise.
3428 * posix/wordexp-tst.sh: Likewise.
3429 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3430
ced6f16e
L
34312012-09-24 H.J. Lu <hongjiu.lu@intel.com>
3432
94b32c39
L
3433 [BZ #13679]
3434 * Makeconfig (+link): Defined as $(+link-static) if
3435 $(build-shared) isn't yes.
3436 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
3437 isn't yes.
3438 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
3439
189e935b
L
3440 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
3441
ced6f16e
L
3442 [BZ #14562]
3443 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
3444 new chunk size with MALLOC_ALIGN_MASK.
3445
a9f8e53a
JM
34462012-09-24 Joseph Myers <joseph@codesourcery.com>
3447
3448 [BZ #5044]
3449 * stdio-common/printf_fphex.c: Include <stdbool.h> and
3450 <rounding-mode.h>.
3451 (__printf_fphex): Determine rounding using get_rounding_mode and
3452 round_away.
3453 * stdio-common/tst-printf-round.c (struct hex_test): New
3454 structure.
3455 (hex_tests): New variable.
3456 (test_hex_in_one_mode): New function.
3457 (do_test): Also run tests for hex float output.
3458
43153109
JM
34592012-09-21 Joseph Myers <joseph@codesourcery.com>
3460
3461 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3462 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3463 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
3464 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3465 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3466 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
3467 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3468 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3469
8a26625d
JM
34702012-09-20 Joseph Myers <joseph@codesourcery.com>
3471
3472 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
3473 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
3474 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
3475 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
3476
f3fd569c
DL
34772012-09-19 Dmitry V. Levin <ldv@altlinux.org>
3478
3479 [BZ #14579]
3480 * elf/rtld.c (dl_main): Limit the check for self loading to normal
3481 mode only.
3482 * elf/tst-rtld-load-self.sh: New test.
3483 * elf/Makefile: Run it.
3484
63bbedd4
JM
34852012-09-18 Joseph Myers <joseph@codesourcery.com>
3486
3487 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
3488 (tst-writev-ENV): Remove.
3489 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
3490
626f8b6a
CM
34912012-09-17 Chris Metcalf <cmetcalf@tilera.com>
3492
3493 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
3494
b7aaa4d6
JM
34952012-09-17 Joseph Myers <joseph@codesourcery.com>
3496
3497 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
3498 unconditional.
3499 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
3500 Likewise.
3501 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
3502 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
3503 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
3504 Likewise.
3505
65513990
L
35062012-09-14 H.J. Lu <hongjiu.lu@intel.com>
3507
3508 [BZ #14587]
3509 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
3510 * config.make.in (have-cpp-asm-debuginfo): Removed.
3511 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
3512 * configure: Regenerated.
3513
784761be
JM
35142012-09-14 Joseph Myers <joseph@codesourcery.com>
3515
3516 [BZ #5044]
3517 * stdio-common/printf_fp.c: Include <stdbool.h> and
3518 <rounding-mode.h>.
3519 (___printf_fp): Determine rounding using get_rounding_mode and
3520 round_away.
3521 * stdio-common/tst-printf-round.c: New file.
3522 * stdio-common/Makefile (tests): Add tst-printf-round.
3523 (link-libm): New variable.
3524 ($(objpfx)tst-printf-round): Depend in $(link-libm).
3525
9503345f
L
35262012-09-13 H.J. Lu <hongjiu.lu@intel.com>
3527
3528 [BZ #14576]
3529 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
3530 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
3531 Likewise.
3532 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
3533 Likewise.
3534
ad35fc00
JM
35352012-09-13 Joseph Myers <joseph@codesourcery.com>
3536
3537 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
3538 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3539 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3540 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3541
6c9b0f68
JM
35422012-09-12 Joseph Myers <joseph@codesourcery.com>
3543
3544 [BZ #14518]
3545 * include/rounding-mode.h: New file.
3546 * sysdeps/generic/get-rounding-mode.h: Likewise.
3547 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
3548 * stdlib/strtod_l.c: Include <rounding-mode.h>.
3549 (MAX_VALUE): New macro.
3550 (MIN_VALUE): Likewise.
3551 (overflow_value): New function.
3552 (underflow_value): Likewise.
3553 (round_and_return): Use overflow_value and underflow_value to
3554 determine return values in overflow and underflow cases. Use
3555 round_away to determine rounding depending on rounding mode.
3556 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
3557 determine return values in overflow and underflow cases.
3558 * stdlib/tst-strtod-round.c: Include <fenv.h>.
3559 (struct test_results): New structure.
3560 (struct test): Use struct test_results to store expected results
3561 for all rounding modes.
3562 (TEST): Include expected results for all rounding modes.
3563 (test_in_one_mode): New function.
3564 (do_test): Use test_in_one_mode to compute and check results.
3565 Check results for all rounding modes.
3566 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
3567 $(link-libm).
3568
19fcedd5
AM
35692012-12-09 Allan McRae <allan@archlinux.org>
3570
1e9d84cd 3571 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 3572
8bbfd2f1
JM
35732012-09-11 Joseph Myers <joseph@codesourcery.com>
3574
3575 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
3576 (_G_int32_t): Likewise.
3577 (_G_uint16_t): Likewise.
3578 (_G_uint32_t): Likewise.
3579 (_G_HAVE_BOOL): Likewise.
3580 (_G_HAVE_ATEXIT): Likewise.
3581 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3582 (_G_HAVE_IO_FILE_OPEN): Likewise.
3583 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
3584 (_G_int32_t): Likewise.
3585 (_G_uint16_t): Likewise.
3586 (_G_uint32_t): Likewise.
3587 (_G_HAVE_BOOL): Likewise.
3588 (_G_HAVE_ATEXIT): Likewise.
3589 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3590 (_G_HAVE_IO_FILE_OPEN): Likewise.
3591 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
3592 (_G_int32_t): Likewise.
3593 (_G_uint16_t): Likewise.
3594 (_G_uint32_t): Likewise.
3595 (_G_HAVE_BOOL): Likewise.
3596 (_G_HAVE_ATEXIT): Likewise.
3597 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3598 (_G_HAVE_IO_FILE_OPEN): Likewise.
3599
b1dc5912
L
36002012-09-11 H.J. Lu <hongjiu.lu@intel.com>
3601
3602 * csu/libc-tls.c: Update copyright years.
3603
0e886ef9
JM
36042012-09-10 Joseph Myers <joseph@codesourcery.com>
3605
28361c5e
JM
3606 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
3607 [!_G_USING_THUNKS]: Remove conditional code.
3608 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
3609 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
3610
0e886ef9
JM
3611 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
3612 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
3613 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3614 (_G_VTABLE_LABEL_PREFIX): Likewise.
3615 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3616 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3617 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3618 (_G_VTABLE_LABEL_PREFIX): Likewise.
3619 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3620 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3621 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3622 (_G_VTABLE_LABEL_PREFIX): Likewise.
3623 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3624
bcba7aa2
L
36252012-09-10 H.J. Lu <hongjiu.lu@intel.com>
3626
3627 * libio/Makefile: Include ../Makeconfig before tests.
3628 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
3629 only if $(build-shared) is yes.
3630
06585ee8
L
3631 * iconv/gconv_db.c: Update copyright years.
3632
80ccd52c
LD
36332012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3634
3635 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
3636 unwind info if defined PIC. Fix special cases description.
3637 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
3638
3639 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
3640 DP_HI_MASK entry.
3641 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
3642
691bc9c1
L
36432012-09-07 H.J. Lu <hongjiu.lu@intel.com>
3644
3d9b46b3
L
3645 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
3646
de2139a9
L
3647 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
3648 is NULL.
3649
5ca78dd0
L
3650 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
3651 (LDLIBS-tst-chk4): This.
3652 (LDFLAGS-tst-chk5): Renamed to ...
3653 (LDLIBS-tst-chk5): This.
3654 (LDFLAGS-tst-chk6): Renamed to ...
3655 (LDLIBS-tst-chk6): This.
3656 (LDFLAGS-tst-lfschk4): Renamed to ...
3657 (LDLIBS-tst-lfschk4): This.
3658 (LDFLAGS-tst-lfschk5): Renamed to ...
3659 (LDLIBS-tst-lfschk5): This.
3660 (LDFLAGS-tst-lfschk6): Renamed to ...
3661 (LDLIBS-tst-lfschk6): This.
3662
691bc9c1
L
3663 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
3664 on $(common-objpfx)soversions.mk.
3665
65cafb1c
JM
36662012-09-07 Joseph Myers <joseph@codesourcery.com>
3667
3668 [BZ #10014]
3669 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
3670 example host name.
3671
c78ab094
SP
36722012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3673
3674 * malloc/arena.c (arena_get_retry): New function that gets
3675 another arena for the caller to try its request on.
3676 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
3677 current arena cannot fulfill the request.
3678 (__libc_memalign): Likewise.
3679 (__libc_memalign): Likewise.
3680 (__libc_pvalloc): Likewise.
3681 (__libc_calloc): Likewise.
3682
01f49f59
JT
36832012-09-05 John Tobey <john.tobey@gmail.com>
3684
3685 [BZ #13542]
3686 * manual/arith.texi (Operations on Complex): Fix description
3687 of carg branch cut.
3688
4c23fed5
JM
36892012-09-06 Joseph Myers <joseph@codesourcery.com>
3690
1d3c8572
JM
3691 [BZ #10014]
3692 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
3693 host name.
3694
4c23fed5
JM
3695 [BZ #10038]
3696 * manual/memory.texi (Memory): Make order of menu items match
3697 order of sections.
3698
04570aaa
L
36992012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3700
3701 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
3702 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
3703 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
3704
b80af2f4
L
37052012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3706
3707 * csu/libc-tls.c (static_dtv): Renamed to ...
3708 (_dl_static_dtv): This. Make it global.
3709 (_dl_initial_dtv): Removed.
3710 (__libc_setup_tls): Updated.
3711 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
3712 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
3713 DL_INITIAL_DTV.
3714
2abe9f15
PM
37152012-09-06 Petr Machata <pmachata@redhat.com>
3716
3717 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
3718 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
3719 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
3720 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
3721
0948c3af
L
37222012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3723
3724 [BZ #14545]
3725 * csu/libc-tls.c (_dl_initial_dtv): New variable.
3726 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
3727 freeing dtv[-1].
3728
a5055ad1
L
37292012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3730
3731 [BZ #14544]
3732 * Makeconfig (link-static-before-libc): Replace $(+prector)
3733 with $(+prectorT).
3734 (link-static-after-libc): Replace $(+postctor) with
3735 $(+postctorT).
3736 (link-bounded): Replace $(+prector)/$(+postctor) with
3737 $(+prectorT)/$(+postctorT).
3738 (+prectorT): New macro.
3739 (+postctorT): Likewise.
3740
ed8c2ecd
JM
37412012-09-06 Joseph Myers <joseph@codesourcery.com>
3742
3743 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
3744 (round_str): Handle values above the maximum for IBM long double
3745 as inexact.
3746 * stdlib/tst-strtod-round.c (tests): Regenerated.
3747
14c996c8
AK
37482012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3749
3750 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
3751 assembler flag.
3752 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
3753 zarch_nohighgprs around the zarch optimized routines.
3754 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3755 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3756 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
3757 for zarch.
3758
430d6ce6
DM
37592012-09-05 David S. Miller <davem@davemloft.net>
3760
3761 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3762
ff04dda4
DM
3763 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
3764 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
3765 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
3766 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
3767 entries.
3768
24d4e01b
AO
37692012-09-05 Alexandre Oliva <aoliva@redhat.com>
3770
3771 * malloc/arena.c: Fold copyright years.
3772 * malloc/mcheck.c, malloc/memusage.c: Likewise.
3773
61d58174
AO
37742012-09-05 Alexandre Oliva <aoliva@redhat.com>
3775
3776 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
3777
20196a5e
AO
37782012-09-05 Alexandre Oliva <aoliva@redhat.com>
3779
3780 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
3781
5c447383
AO
37822012-09-05 Alexandre Oliva <aoliva@redhat.com>
3783
3784 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
3785 change internal state upon failure.
3786
fad64255
AO
37872012-09-05 Alexandre Oliva <aoliva@redhat.com>
3788
3789 * malloc/mcheck.c (mcheck_check_all): Fix typo.
3790 * malloc/memusage.c (mmap): Likewise.
3791 (mmap64, mremap): Likewise. Adjust name in comment.
3792
1ffb8c90
SP
37932012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3794
3795 * libio/fileops.c: Fix typos in comments.
3796 * libio/oldfileops.c: Likewise.
3797 * libio/wfileops.c: Likewise.
3798
6ef9cc37
SP
37992012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3800
3801 [BZ #1349]
3802 * malloc/Makefile (tests): Add tst-malloc-usable test case.
3803 (tst-malloc-usable-ENV): Set environment for test case.
3804 * malloc/hooks.c (malloc_check_get_size): New function to get
3805 requested size.
3806 * malloc/malloc.c (musable): Use malloc_check_get_size.
3807 * malloc/tst-malloc-usable.c: New test case.
3808
4d038ae3
AS
38092012-09-05 Andreas Schwab <schwab@linux-m68k.org>
3810
3811 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
3812
c4e85184
AM
38132012-09-05 Allan McRae <allan@archlinux.org>
3814
b9dafc56 3815 [BZ #13966]
c4e85184
AM
3816 * configure.in (CXX_SYSINCLUDES): Use compiler output to
3817 determine header location.
3818 * configure: Regenerated.
3819
e1343020
AS
38202012-09-05 Andreas Schwab <schwab@linux-m68k.org>
3821
3822 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
3823 float format.
3824 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
3825 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
3826 format.
e1343020
AS
3827 (test): Regenerate.
3828
0a9f1987
DM
38292012-09-04 David S. Miller <davem@davemloft.net>
3830
3831 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
3832 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
3833 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
3834
29237804
FW
38352012-09-04 Florian Weimer <fweimer@redhat.com>
3836
3837 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
3838 failures.
3839
edb3cb88
FW
3840 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
3841
60160d83
JM
38422012-09-04 Joseph Myers <joseph@codesourcery.com>
3843
3844 [BZ #9914]
3845 * libio/iogetdelim.c: Include <limits.h>.
3846 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
3847 + len + 1 would overflow.
3848
bcd6c8dc
AJ
38492012-09-03 Andreas Jaeger <aj@suse.de>
3850
3851 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3852 * sysdeps/i386/fpu/libm-test-ulps: Update.
3853
4ffffbd2
LD
38542012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3855
3856 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3857 Add s_sinf-sse2, s_conf-sse2.
3858
3859 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
3860 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
3861 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
3862 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
3863
3864 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
3865 for using routine as __sinf_ia32.
3866 Use macro for function declaration and weak_alias.
3867 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
3868 for using routine as __cosf_ia32.
3869 Use macro for function declaration and weak_alias.
3870
3871 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
3872 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
3873
3874 * sysdeps/x86_64/fpu/s_sinf.S: New file.
3875 * sysdeps/x86_64/fpu/s_cosf.S: New file.
3876 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3877
3878 * math/libm-test.inc (cos_test): Add more test cases.
3879 (sin_test): Likewise.
3880 (sincos_test): Likewise.
3881
511fa286
AK
38822012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3883
3884 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
3885 (IFUNC_RESOLVE): Make pointers to the specialized implementations
3886 hidden.
3887 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3888
5f30cfec
L
38892012-09-02 H.J. Lu <hongjiu.lu@intel.com>
3890
3891 [BZ #14538]
3892 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
3893 first element of the GOT.
3894 (elf_machine_load_address): Return the difference between
3895 the runtime address of _DYNAMIC and elf_machine_dynamic ().
3896
0786794f
AM
38972012-09-01 Allan McRae <allan@archlinux.org>
3898
5f30cfec
L
3899 [BZ #13412]
3900 * configure.in (AWK): Require gawk version 3.0 or later.
3901 * configure: Regenerated.
0786794f 3902
26889eac
JM
39032012-09-01 Joseph Myers <joseph@codesourcery.com>
3904
3905 * sysdeps/unix/sysv/linux/kernel-features.h
3906 (__ASSUME_POSIX_CPU_TIMERS): Remove.
3907 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3908 [__NR_clock_getres]: Make code unconditional.
3909 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
3910 (clock_getcpuclockid): Remove code left unreachable by removal of
3911 conditionals.
3912 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
3913 code unconditional.
3914 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
3915 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3916 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
3917 Make code unconditional.
3918 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
3919 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3920 * sysdeps/unix/sysv/linux/clock_settime.c
3921 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
3922 conditional code.
3923 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
3924 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3925
d22e28b0
L
39262012-08-29 H.J. Lu <hongjiu.lu@intel.com>
3927
3928 [BZ #14476]
3929 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
3930 scripts/test-installation.pl.
3931
3932 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
3933 and $ld_so_version if it is set.
3934
050af9c4
SP
39352012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3936
3937 [BZ #14516]
3938 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
3939 failure if reading from procfs failed.
3940 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
3941
ad845c0b
JM
39422012-08-27 Joseph Myers <joseph@codesourcery.com>
3943
3944 * sysdeps/unix/sysv/linux/kernel-features.h
3945 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
3946 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
3947 Remove conditional code.
3948 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3949 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
3950 Remove conditional code.
3951 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3952 * sysdeps/unix/sysv/linux/i386/fxstat.c
3953 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3954 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3955 * sysdeps/unix/sysv/linux/i386/fxstatat.c
3956 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3957 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3958 * sysdeps/unix/sysv/linux/i386/lxstat.c
3959 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3960 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3961 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
3962 Remove conditional code.
3963 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3964 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
3965 Remove conditional code.
3966 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3967 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
3968 <kernel-features.h>.
3969 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
3970 Remove.
3971 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
3972 Remove conditional code.
3973 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3974 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
3975 Remove conditional.
3976
5dbf56af
MF
39772012-08-27 Mike Frysinger <vapier@gentoo.org>
3978
3979 [BZ #5400]
3980 * NEWS: Add fixed bug number.
3981
d6e70f43
JM
39822012-08-27 Joseph Myers <joseph@codesourcery.com>
3983
7efb4737
JM
3984 [BZ #14519]
3985 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
3986 underflowing exponent in case of negative sign.
3987 * stdlib/tst-strtod-round-data: Add more tests.
3988 * stdlib/tst-strtod-round.c (tests): Regenerated.
3989
af92131a
JM
3990 [BZ #3479]
3991 * stdlib/strtod_l.c (NDIG): Remove.
3992 (HEXNDIG): Likewise.
3993 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
3994 smallest representable value.
3995 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
3996 lie within an exact representation of 1/2 ulp of the result.
3997 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
3998 unconditionally.
3999 (TENS_P9_IDX): Define unconditionally.
4000 (TENS_P9_SIZE): Likewise.
4001 (TENS_P10_IDX): Likewise.
4002 (TENS_P10_SIZE): Likewise.
4003 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
4004 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
4005 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
4006 entries for 10^2^13 and 10^2^14.
4007 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
4008 (TENS_P13_IDX): Define.
4009 (TENS_P13_SIZE): Likewise.
4010 (TENS_P14_IDX): Likewise.
4011 (TENS_P14_SIZE): Likewise.
4012 (_fpioconst_pow10): Change array size to
4013 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
4014 unconditional.
4015 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
4016 1024]: Add entries for 10^2^13 and 10^2^14.
4017 [LAST_POW10 > _LAST_POW10]: Remove #error.
4018 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
4019 (_fpioconst_pow10): Change array size to
4020 FPIOCONST_POW10_ARRAY_SIZE.
4021 * stdlib/gen-fpioconst.c: New file.
4022 * stdlib/gen-tst-strtod-round.c: Likewise.
4023 * stdlib/tst-strtod-round-data: Likewise.
4024 * stdlib/tst-strtod-round.c: Likewise.
4025 * stdlib/Makefile (tests): Add tst-strtod-round.
4026
d6e70f43
JM
4027 [BZ #14459]
4028 * stdlib/strtod_l.c: Include <stdint.h>.
4029 (NDEBUG): Do not define.
4030 (round_and_return): Change EXPONENT parameter to type intmax_t.
4031 Rearrange calculations to avoid internal overflow possibilities.
4032 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
4033 Rearrange calculations to avoid internal overflow possibilities.
4034 Assert that number fits inside MPNSIZE limbs.
4035 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
4036 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
4037 calculations and add assertions to avoid internal overflow
4038 possibilities. Add casts to avoid signed/unsigned operations.
4039 * stdlib/tst-strtod-overflow.c: New file.
4040 * stdlib/Makefile (tests): Add tst-strtod-overflow.
4041
1f529f7d
MP
40422012-08-25 Marek Polacek <polacek@redhat.com>
4043
4044 * time/time.h: Fix some typos in comments.
4045
59a629f1
RM
40462012-08-23 Roland McGrath <roland@hack.frob.com>
4047
4048 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
4049 * posix/tst-rfc3484-2.c: Likewise.
4050 * posix/tst-rfc3484-3.c: Likewise.
4051
d3bafbc9
SM
40522012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
4053
4054 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
4055 (EF_ARM_ABI_FLOAT_HARD): Likewise.
4056
4efcc022
JM
40572012-08-23 Joseph Myers <joseph@codesourcery.com>
4058
4059 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
4060 #include of fxstatat64.c.
4061
3cc3ef96
RM
40622012-08-22 Roland McGrath <roland@hack.frob.com>
4063
f04e2132
RM
4064 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
4065 * shadow/getspent_r.c: Likewise.
4066 * shadow/getspnam.c: Likewise.
4067 * shadow/getspnam_r.c: Likewise.
4068 * gshadow/getsgent.c: Likewise.
4069 * gshadow/getsgent_r.c: Likewise.
4070 * gshadow/getsgnam.c: Likewise.
4071 * gshadow/getsgnam_r.c: Likewise.
4072 * inet/getnetbyad.c: Likewise.
4073 * inet/getnetbyad_r.c: Likewise.
4074 * inet/getnetbynm.c: Likewise.
4075 * inet/getnetbynm_r.c: Likewise.
4076 * inet/getnetent.c: Likewise.
4077 * inet/getnetent_r.c: Likewise.
4078 * inet/getproto.c: Likewise.
4079 * inet/getproto_r.c: Likewise.
4080 * inet/getprtent.c: Likewise.
4081 * inet/getprtent_r.c: Likewise.
4082 * inet/getprtname.c: Likewise.
4083 * inet/getprtname_r.c: Likewise.
4084 * inet/getrpcbyname.c: Likewise.
4085 * inet/getrpcbyname_r.c: Likewise.
4086 * inet/getrpcbynumber.c: Likewise.
4087 * inet/getrpcbynumber_r.c: Likewise.
4088 * inet/getrpcent.c: Likewise.
4089 * inet/getrpcent_r.c: Likewise.
4090 * inet/getaliasent.c: Likewise.
4091 * inet/getaliasent_r.c: Likewise.
4092 * inet/getaliasname.c: Likewise.
4093 * inet/getaliasname_r.c: Likewise.
4094 * nscd/getgrgid_r.c: Likewise.
4095 * nscd/getgrnam_r.c: Likewise.
4096 * nscd/gethstbyad_r.c: Likewise.
4097 * nscd/gethstbynm3_r.c: Likewise.
4098 * nscd/getpwnam_r.c: Likewise.
4099 * nscd/getpwuid_r.c: Likewise.
4100 * nscd/getsrvbynm_r.c: Likewise.
4101 * nscd/getsrvbypt_r.c: Likewise.
4102 * nscd/gai.c: Likewise.
4103
c53d909c
RM
4104 * configure.in (build_nscd): New substituted variable, set
4105 by --disable-build-nscd and defaults to $use_nscd.
4106 * configure: Regenerated.
4107 * config.make.in (build-nscd): New substituted variable.
4108 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
4109 Change conditional to require [$(build-nscd) = yes] as well.
4110 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
4111
3cc3ef96
RM
4112 [BZ# 13696]
4113 * configure.in (use_nscd): New substituted variable, set by
4114 --disable-nscd. If enabled, define USE_NSCD.
4115 * configure: Regenerated.
4116 * config.h.in: Add USE_NSCD.
4117 * config.make.in (use-nscd): New substituted variable.
4118 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
4119 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
4120 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
4121 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
4122 (CFLAGS-getgrnam_r.c): Likewise.
4123 (CFLAGS-initgroups.c): Likewise.
4124 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
4125 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
4126 Variables removed.
4127 * inet/getnetgrent_r.c
4128 (nscd_setnetgrent): New function, broken out of ...
4129 (setnetgrent): ... here. Call it.
4130 (innetgr): Conditionalize nscd bits on [USE_NSCD].
4131 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
4132 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
4133 * nscd/Makefile (routines, aux): Move definitions after include of
4134 Makeconfig. Conditionalize on [$(use-nscd) != no].
4135 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
4136 Conditionalize on [USE_NSCD].
4137 (is_nscd, nscd_init_cb): Likewise.
4138 (nss_load_library): Conditionalize init callback on [USE_NSCD].
4139 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
4140 * nss/nss_db/db-init.c: Likewise.
4141 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
4142 [USE_NSCD].
4143 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
4144 (make_request): Use it.
4145 (cache_valid_p): New function.
4146 (__check_pf): Use it.
4147 * NEWS: Add item for --disable-nscd.
4148
07e51550
DL
41492012-08-22 Dmitry V. Levin <ldv@altlinux.org>
4150
4151 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
4152 to support sed >= 4.2.1-20-ga9bf076.
4153 * configure: Regenerated.
4154
35a5b08b
RM
41552012-08-22 Roland McGrath <roland@hack.frob.com>
4156
4157 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
4158 Conditionalize whole body on [IREL].
4159
8479f23a
JL
41602012-08-22 Jeff Law <law@redhat.com>
4161
4162 [BZ #14505]
4163 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
4164 if the family is PF_UNSPEC.
4165
48da0b21
MF
41662012-08-22 Mike Frysinger <vapier@gentoo.org>
4167
4168 * Makerules (lib-version): Rename from V.
4169 (install-lib-nosubdir): Change V to lib-version.
4170
15d0da8c
WS
41712012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
4172
4173 [BZ #14252]
4174 * powerpc32/power6/wcschr.c: New file.
4175 * powerpc32/power6/wcscpy.c: New file.
4176 * powerpc32/power6/wcsrchr.c: New file.
4177 * powerpc64/power6/wcschr.c: New file.
4178 * powerpc64/power6/wcscpy.c: New file.
4179 * powerpc64/power6/wcsrchr.c: New file.
4180
bcca0895
MK
41812012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4182
4183 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
4184 (two_way_short_needle): Use it.
5a4aaa33
RM
4185 * string/strstr.c (AVAILABLE1_USES_J): Define.
4186 * string/strcasestr.c: Likewise.
99677e57
MK
4187
4188 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
4189 array references.
4190 * string/strcasestr.c (TOLOWER): Make side-effect safe.
4191
400726de
MK
4192 [BZ #11607]
4193 * NEWS: Add an entry.
4194 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
4195 define their defaults.
4196 (two_way_short_needle): Detect end-of-string on-the-fly.
4197 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
4198 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
4199 * string/bug-strcasestr1.c: New test.
4200 * string/Makefile: Run it.
4201
20a71f2c
MK
42022012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4203
4204 [BZ #11607]
4205 * string/str-two-way.h (two_way_short_needle): Optimize matching of
4206 the first character.
4207
21ad0558
RM
42082012-08-21 Roland McGrath <roland@hack.frob.com>
4209
4210 * csu/elf-init.c (__libc_csu_irel): Function removed.
4211 * csu/libc-start.c (apply_irel): New function.
4212 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
4213
0e1d9911
JM
42142012-08-21 Joseph Myers <joseph@codesourcery.com>
4215
4216 * sysdeps/unix/sysv/linux/kernel-features.h
4217 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
4218 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
4219 <kernel-features.h>.
4220 [__NR_fadvise64_64]: Make code unconditional.
4221 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
4222 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4223 !__NR_fadvise64_64)]: Likewise.
4224 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4225 !__NR_fadvise64_64))]: Likewise.
4226 [__NR_fadvise64]: Make code unconditional.
4227 [!__NR_fadvise64]: Remove conditional code.
4228 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
4229 <kernel-features.h>.
4230 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4231 unconditional.
4232 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4233 conditional code.
4234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
4235 not include <kernel-features.h>.
4236 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4237 unconditional.
4238 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4239 conditional code.
4240 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
4241 include <kernel-features.h>.
4242 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4243 unconditional.
4244 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4245 conditional code.
4246
14a50c9d
WS
42472012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4248
4249 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
4250 slight instruction rearrangements per scrollpipe analysis.
4251 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4252
c0f4faf0
RM
42532012-08-20 Roland McGrath <roland@hack.frob.com>
4254
696da859
RM
4255 * manual/syslog.texi (syslog; vsyslog, closelog):
4256 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
4257 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
4258
c0f4faf0
RM
4259 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
4260 DSOCAPS to match condition on defining it.
4261
348363b2
JM
42622012-08-20 Joseph Myers <joseph@codesourcery.com>
4263
a35cbf28
JM
4264 * sysdeps/unix/sysv/linux/kernel-features.h
4265 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
4266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
4267 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4268 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
4270 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4271 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
4273 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4274 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4275
445f7ecd
JM
4276 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
4277 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
4278
348363b2
JM
4279 * sysdeps/unix/sysv/linux/kernel-features.h
4280 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
4281 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
4282 unconditional.
4283 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4284 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
4285 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4286 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4287 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
4288 Make code unconditional.
4289 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4290 (__mmap64) [!__NR_mmap2]: Likewise.
4291 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
4292 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4293 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4294 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
4295 [__NR_mmap2]: Make code unconditional.
4296 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4297 (__mmap64) [!__NR_mmap2]: Likewise.
4298
bc5bc0e5
AK
42992012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4300
4301 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
4302
88d506de
AJ
43032012-08-18 Andreas Jaeger <aj@suse.de>
4304
4305 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
4306
493387d2
MF
43072012-08-18 Mike Frysinger <vapier@gentoo.org>
4308
4309 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
4310 * include/unistd.h (__have_sock_cloexec): Likewise.
4311 (__have_pipe2): Likewise.
4312 (__have_dup3): Likewise.
4313
a277af22
MF
43142012-08-18 Mike Frysinger <vapier@gentoo.org>
4315
4316 [BZ #9685]
4317 * include/unistd.h (__have_pipe2): Change define into an extern int.
4318 (__have_dup3): Likewise.
4319 * socket/have_sock_cloexec.c: Include fcntl.h.
4320 (__have_pipe2): New variable.
4321 (__have_dup3): Likewise.
4322
fdab8fd3
MF
43232012-08-17 Mike Frysinger <vapier@gentoo.org>
4324
4325 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
4326
31035e80
MP
43272012-08-17 Marek Polacek <polacek@redhat.com>
4328
4329 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
4330 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
4331
3bd9e993
RM
43322012-08-17 Roland McGrath <roland@hack.frob.com>
4333
c91c505f
RM
4334 * configure.in: Add AC_SUBST for sysheaders.
4335 * configure: Regenerated.
4336 * config.make.in (sysheaders): New substituted variable.
4337
7c6f9d53
RM
4338 * sysdeps/unix/mkfifo.c: Moved ...
4339 * sysdeps/posix/mkfifo.c: ... here.
4340 * sysdeps/unix/mkfifoat.c: Moved ...
4341 * sysdeps/posix/mkfifoat.c: ... here.
4342
4343 * sysdeps/unix/utime.c: Moved ...
4344 * sysdeps/posix/utime.c: ... here.
4345
4346 * sysdeps/unix/time.c: Moved ...
4347 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
4348 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
4349 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
4350
4351 * sysdeps/unix/nice.c: Moved ...
4352 * sysdeps/posix/nice.c: ... here.
4353
4354 * sysdeps/unix/alarm.c: Moved ...
4355 * sysdeps/posix/alarm.c: ... here.
4356
3bd9e993
RM
4357 * intl/Makefile ($(codeset_mo)): Depend on the input file.
4358
d1f09384
JL
43592012-08-17 Jeff Law <law@redhat.com>
4360
4361 * intl/Makefile (codeset_mo): New variable.
4362 ($(codeset_mo)): New target.
4363 (tst-codeset.out): Depend on that. Remove explicit rule.
4364 (tst-gettext3.out, tst-gettext5.out): Likewise.
4365 (LOCPATH-ENV, tst-codeset-ENV): New variables.
4366 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
4367 * intl/tst-codeset.sh: Remove.
4368 * intl/tst-gettext3.sh: Likewise.
4369 * intl/tst-gettext5.sh: Likewise.
4370
2ae1ae5c
RM
43712012-08-17 Roland McGrath <roland@hack.frob.com>
4372
c31fdb83
RM
4373 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
4374 * sysdeps/unix/syscalls.list: ... here.
4375
a0844057
RM
4376 * sysdeps/posix/getaddrinfo.c
4377 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
4378 (gaiconf_init, gaiconf_reload): Use them.
4379 [!_STATBUF_ST_NSEC]
4380 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
4381 Define using time_t rather than struct timespec.
4382
750c1f2a
RM
4383 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
4384 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
4385 Macros removed.
4386 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
4387 [!NO_THREADS].
4388 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
4389 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
4390 Likewise.
4391
2ae1ae5c
RM
4392 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
4393 __libc_cleanup_push argument.
4394
e66a42f5
RM
4395 * bits/param.h: New file.
4396 * misc/sys/param.h: New file.
4397 * include/sys/param.h: New file.
4398 * misc/Makefile (headers): Add bits/param.h.
4399 * sysdeps/generic/sys/param.h: File removed.
4400 * sysdeps/unix/sysv/linux/bits/param.h: New file.
4401 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
4402 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 4403 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 4404
b7c08a66
RM
4405 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
4406 last change.
4407
b2e1c562
RM
4408 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
4409 [_IO_MTSAFE_IO].
4410 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
4411 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
4412 New macros.
4413
c75ccd4c
RM
4414 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
4415 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
4416 rather than -D_IO_MTSAFE_IO conditionally.
4417 * stdio-common/Makefile (CPPFLAGS): Likewise.
4418 * wcsmbs/Makefile (CPPFLAGS): Likewise.
4419 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
4420 Use $(libio-mtsafe).
4421 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
4422 of -D_IO_MTSAFE_IO.
4423 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
4424 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
4425 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
4426 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
4427 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
4428 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
4429 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
4430 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
4431 (CFLAGS-fread_u_chk.c): Likewise.
4432 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
4433 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
4434 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
4435 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
4436 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
4437 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
4438 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
4439 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
4440 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
4441
4442 * libio/Makefile: Test [$(libc-reentrant) = yes]
4443 instead of [$(filter %REENTRANT, $(defines)) nonempty].
4444
4445 * Makeconfig
4446 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
4447 * sysdeps/pthread/configure: File removed.
4448 * sysdeps/pthread/Makeconfig: New file.
4449 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
4450 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
4451
d9195db8
GB
44522012-08-16 Gary Benson <gbenson@redhat.com>
4453
4454 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
4455 unmapping the first object in a namespace.
4456
86466cd9
RM
44572012-08-16 Roland McGrath <roland@hack.frob.com>
4458
4459 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
4460 (__internal_setnetgrent): ... this. Add internal_function to
4461 definition. Add libc_hidden_def.
4462 (setnetgrent): Update caller.
4463 (internal_endnetgrent): Renamed to ...
4464 (__internal_endnetgrent): ... this. Add internal_function to
4465 definition. Add libc_hidden_def.
4466 (endnetgrent): Update caller.
4467 (internal_getnetgrent_r): Renamed to ...
4468 (__internal_getnetgrent_r): ... this. Add internal_function to
4469 definition. Add libc_hidden_def.
4470 (__getnetgrent_r): Update caller.
4471 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
4472
c3c8283c
JM
44732012-08-16 Joseph Myers <joseph@codesourcery.com>
4474
4475 * stdlib/longlong.h: Update from GCC.
4476
db1ee0a8
RM
44772012-08-16 Roland McGrath <roland@hack.frob.com>
4478
4479 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
4480 on _QL, which is set by umul_ppmm but never used.
4481 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
4482 variables, which are set by GMP macros but never used.
4483 * stdio-common/_itowa.c (_itowa): Likewise.
4484 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
4485 * stdlib/mod_1.c (mpn_mod_1): Likewise.
4486
30f69637
CD
44872012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
4488
4489 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
4490 struct La_sh_regs is not constant.
4491 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
4492 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
4493 and struct La_sparc64_regs are not constant.
4494
93a78ac4
JM
44952012-08-16 Joseph Myers <joseph@codesourcery.com>
4496
4497 * sysdeps/unix/sysv/linux/kernel-features.h
4498 (__ASSUME_POSIX_TIMERS): Remove.
4499 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4500 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4501 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
4502 Make code unconditional.
4503 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4504 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
4505 Make code unconditional.
4506 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4507 * sysdeps/unix/sysv/linux/clock_nanosleep.c
4508 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
4509 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4510 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
4511 Make code unconditional.
4512 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4513 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
4514 (__libc_missing_posix_timers): Remove.
4515
dd924cd7
RM
45162012-08-15 Roland McGrath <roland@hack.frob.com>
4517
4b4f2771
RM
4518 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
4519 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
4520
601c888b
RM
4521 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
4522
176790a7
RM
4523 * elf/dl-sym.c: Include <stdlib.h>.
4524
329bc018
RM
4525 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
4526 constants, which avoids warnings in 32-bit builds.
4527
e04e272d
RM
4528 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
4529 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
4530
952bf94a
RM
4531 * misc/lseek.c: File moved to ...
4532 * io/lseek.c: ... here.
4533
7c99b50a
RM
4534 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
4535
dd924cd7
RM
4536 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
4537 shifting LEN more than 31 bits at once.
4538
b3f479a8
LD
45392012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4540
4541 [BZ #14195]
8c4ae0d4
RM
4542 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
4543 segmentation fault for a case of two empty input strings.
b3f479a8
LD
4544 * string/test-strncasecmp.c (check1): Renamed to...
4545 (bz12205): ...this.
4546 (bz14195): Add new testcase for two empty input strings and N > 0.
4547 (test_main): Call new testcase, adapt for renamed function.
4548
9c55864e
AJ
45492012-08-15 Andreas Jaeger <aj@suse.de>
4550
4551 [BZ #14090]
4552 * crypt/md5test2.c: New test, based on test supplied by Serge
4553 Belyshev <belyshev@depni.sinp.msu.ru>.
4554 * crypt/Makefile (xtests): Add md5test-giant..
4555 * crypt/Makefile ($(objpfx)md5test-giant): Add.
4556
02dcb6c5
PE
45572012-08-15 Paul Eggert <eggert@cs.ucla.edu>
4558
4559 [BZ #14090]
4560 * crypt/md5.c (md5_process_block): Don't assume the buffer
4561 length is less than 2**32.
4562 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
4563 length is less than 2**64.
4564
a3f95dcc
RM
45652012-08-15 Roland McGrath <roland@hack.frob.com>
4566
be75d758
RM
4567 * string/str-two-way.h: Include <sys/param.h>.
4568 (MAX): Macro removed.
4569
7312ca90
RM
4570 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
4571 Move #define and #undef of memmove to just before and after
4572 including <string.h>.
4573
9a0a5486
RM
4574 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
4575 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
4576 and after including <string.h>. Move declarations of
4577 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
4578 to before #include "string/memmove.c".
4579
67cc348d
RM
4580 * include/dirent.h: Declare __getdirentries.
4581
a3f95dcc
RM
4582 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
4583 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
4584
ca98e171
MF
45852012-08-14 Mike Frysinger <vapier@gentoo.org>
4586
4587 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
4588 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
4589 * sysdeps/i386/configure: Regenerated.
4590 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
4591 STABS_CURRENT_FILE, and STABS_FUN.
4592 (END): Remove call to STABS_FUN_END.
4593 (STABS_CURRENT_FILE1): Delete.
4594 (STABS_CURRENT_FILE): Likewise.
4595 (STABS_FUN): Likewise.
4596 (STABS_FUN_END): Likewise.
4597 (STABS_FUN2): Likewise.
4598 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
4599 * sysdeps/x86_64/configure: Regenerated.
4600
5908bf46
RM
46012012-08-14 Roland McGrath <roland@hack.frob.com>
4602
4603 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 4604 * elf/dl-lookup.c: Likewise.
5908bf46 4605
f2c05b9e
JM
46062012-08-14 Joseph Myers <joseph@codesourcery.com>
4607
4608 * sysdeps/unix/sysv/linux/kernel-features.h
4609 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
4610 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
4611 unconditionally.
4612 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
4613 unconditionally.
4614 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
4615 condition on __ASSUME_CLONE_THREAD_FLAGS.
4616
e11f5155
AJ
46172012-08-14 Andreas Jaeger <aj@suse.de>
4618
4619 * sysdeps/i386/fpu/libm-test-ulps: Update.
4620
51a9ba86
MK
46212012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
4622
2fdd4f78
AJ
4623 * include/atomic.h (atomic_exchange_and_add): Split into ...
4624 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
4625 New atomic macros.
51a9ba86 4626
ba6cba9e
MT
46272012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
4628
4629 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4630
42443a47
JL
46312012-08-13 Jeff Law <law@redhat.com>
4632
4633 * manual/stdio.texi (snprintf): Clarify handling of the trailing
4634 null byte in the output string.
4635
121dce05
JM
46362012-08-10 Joseph Myers <joseph@codesourcery.com>
4637
4638 * sysdeps/unix/sysv/linux/kernel-features.h
4639 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
4640 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
4641 (__ASSUME_ARG_MAX_STACK_BASED): Define.
4642 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4643 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
4644 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
4645 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
4646
bf51f568
JL
46472012-08-09 Jeff Law <law@redhat.com>
4648
4649 [BZ #13939]
4650 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
4651 When avoid_arena is set, don't retry in the that arena. Pick the
4652 next one, whatever it might be.
4653 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
4654 (arena_lock): Pass in new parameter to arena_get2.
4655 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
4656 arena_get2.
4657 (__libc_malloc): Unify retrying after main arena failure with
4658 __libc_memalign version.
4659 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
4660
f85fa270
L
46612012-08-09 H.J. Lu <hongjiu.lu@intel.com>
4662
4663 [BZ #14166]
4664 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
4665 to __redirect_strstr.
4666 (__strstr_sse42): Use typeof __redirect_strstr.
4667 (__strstr_ia32): Likewise.
4668 (__libc_strstr): New prototype.
4669 (strstr): Renamed to ...
4670 (__libc_strstr): This.
4671 (strstr): New strong alias of __libc_strstr.
4672 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
4673 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
4674 __redirect_time.
4675 Include <time.h>.
4676 (__libc_time): New prototype.
4677 (time_ifunc): Replace time with __libc_time.
4678 (time): New strong alias and hidden definition of __libc_time.
4679 (__GI_time): Remove strong alias.
4680 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
4681 Include <stddef.h>.
4682 (memmove): Redefined to __redirect_memmove.
4683 (__memmove_sse2): Use typeof __redirect_memmove.
4684 (__memmove_ssse3): Likewise.
4685 (__memmove_ssse3_back): Likewise.
4686 (__libc_memmove): New prototype.
4687 (memmove): Renamed to ...
4688 (__libc_memmove): This.
4689 (memmove): New strong alias of __libc_memmove.
4690
33b4a91e
MS
46912012-08-08 Mark Salter <msalter@redhat.com>
4692
4693 * elf/elf.h
4694 (R_MN10300_TLS_GD): Define.
4695 (R_MN10300_TLS_LD): Likewise.
4696 (R_MN10300_TLS_LDO): Likewise.
4697 (R_MN10300_TLS_GOTIE): Likewise.
4698 (R_MN10300_TLS_IE): Likewise.
4699 (R_MN10300_TLS_LE): Likewise.
4700 (R_MN10300_TLS_DTPMOD): Likewise.
4701 (R_MN10300_TLS_DTPOFF): Likewise.
4702 (R_MN10300_TLS_TPOFF): Likewise.
4703 (R_MN10300_SYM_DIFF): Likewise.
4704 (R_MN10300_ALIGN): Likewise.
4705 (R_MN10300_NUM): Update.
4706
b36137f1
JM
47072012-08-08 Joseph Myers <joseph@codesourcery.com>
4708
4709 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
4710 Remove.
4711
cdd915fd
RM
47122012-08-08 Roland McGrath <roland@hack.frob.com>
4713
a2433aac
RM
4714 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
4715
cdd915fd
RM
4716 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
4717 sysdeps/unix -> sysdeps/posix move.
4718 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
4719
bf9b740a
AM
47202012-08-07 Allan McRae <allan@archlinux.org>
4721
4722 [BZ #14303]
4723 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
4724 (SUNOS_CPP): Likewise.
4725 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
4726 not found.
4727 (open_input): Call CPP using execvp.
4728
93df14ee
JM
47292012-08-07 Joseph Myers <joseph@codesourcery.com>
4730
4731 * sysdeps/unix/sysv/linux/kernel-features.h
4732 (__ASSUME_PROT_GROWSUPDOWN): Remove.
4733 (__ASSUME_NO_CLONE_DETACHED): Likewise.
4734 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4735 (__ASSUME_WAITID_SYSCALL): Likewise.
4736 * sysdeps/unix/sysv/linux/dl-execstack.c
4737 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
4738 code unconditional.
4739 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
4740 conditional code.
4741 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
4742 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
4743 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
4744 code.
4745 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
4746 unconditional.
4747 [__ASSUME_WAITID_SYSCALL]: Likewise.
4748 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
4749
d34689de
RM
47502012-08-07 Roland McGrath <roland@hack.frob.com>
4751
a281decc
RM
4752 * sysdeps/unix/closedir.c: Renamed to ...
4753 * sysdeps/posix/closedir.c: ... here.
4754 * sysdeps/unix/dirfd.c: Renamed to ...
4755 * sysdeps/posix/dirfd.c: ... here.
4756 * sysdeps/unix/dirstream.h: Renamed to ...
4757 * sysdeps/posix/dirstream.h: ... here.
4758 * sysdeps/unix/fdopendir.c: Renamed to ...
4759 * sysdeps/posix/fdopendir.c: ... here.
4760 * sysdeps/unix/opendir.c: Renamed to ...
4761 * sysdeps/posix/opendir.c: ... here.
4762 * sysdeps/unix/readdir.c: Renamed to ...
4763 * sysdeps/posix/readdir.c: ... here.
4764 * sysdeps/unix/readdir_r.c: Renamed to ...
4765 * sysdeps/posix/readdir_r.c: ... here.
4766 * sysdeps/unix/rewinddir.c: Renamed to ...
4767 * sysdeps/posix/rewinddir.c: ... here.
4768 * sysdeps/unix/seekdir.c: Renamed to ...
4769 * sysdeps/posix/seekdir.c: ... here.
4770 * sysdeps/unix/telldir.c: Renamed to ...
4771 * sysdeps/posix/telldir.c: ... here.
4772 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
4773 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
4774 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
4775 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
4776
22895b47
RM
4777 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
4778 * bits/fcntl.h: ... here.
4779
707a53b6
RM
4780 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
4781 not 0.
4782 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
4783 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
4784 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
4785 (struct flock): Move l_start, l_len to the beginning.
4786 Use __pid_t for l_pid.
4787 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
4788 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
4789 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
4790 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
4791 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
4792 [__USE_LARGEFILE64] (struct flock64): New type.
4793 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
4794
f0bd3e25
RM
4795 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
4796 * bits/dirent.h: ... here.
4797
d34689de
RM
4798 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
4799 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
4800
6dad2c06
JM
48012012-08-07 Joseph Myers <joseph@codesourcery.com>
4802
4803 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4804 Change from 2.6.0 to 2.6.16.
4805 * sysdeps/unix/sysv/linux/configure: Regenerated.
4806 * sysdeps/unix/sysv/linux/kernel-features.h
4807 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
4808 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
4809 version.
4810 (__ASSUME_UTIMES): Likewise.
4811 (__ASSUME_CLONE_STOPPED): Remove.
4812 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
4813 architectures, not kernel version.
4814 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
4815 (__ASSUME_NO_CLONE_DETACHED): Likewise.
4816 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4817 (__ASSUME_WAITID_SYSCALL): Likewise.
4818 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
4819 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
4820 * README: State 2.6.16 as minimum Linux kernel version. Do not
4821 refer to older versions.
4822
03af9520
RM
48232012-08-06 Roland McGrath <roland@hack.frob.com>
4824
8e49df1d
RM
4825 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
4826 Define alphasort64 as an alias.
4827 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
4828 Define versionsort64 as an alias.
4829 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
4830 Define scandir64 as an alias.
4831 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
4832 Define scandirat64 as an alias.
4833 * dirent/alphasort64.c (alphasort64):
4834 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
4835 * dirent/versionsort64.c: Likewise.
4836 * dirent/scandir64.c: Likewise.
4837 * dirent/scandirat64.c: Likewise.
4838 * sysdeps/wordsize-64/alphasort.c: File removed.
4839 * sysdeps/wordsize-64/alphasort64.c: File removed.
4840 * sysdeps/wordsize-64/scandir.c: File removed.
4841 * sysdeps/wordsize-64/scandir64.c: File removed.
4842 * sysdeps/wordsize-64/scandirat.c: File removed.
4843 * sysdeps/wordsize-64/scandirat64.c: File removed.
4844 * sysdeps/wordsize-64/versionsort.c: File removed.
4845 * sysdeps/wordsize-64/versionsort64.c: File removed.
4846 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
4847 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
4848 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
4849 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
4850 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
4851 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
4852 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
4853 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
4854
4855 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
4856 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
4857 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
4858 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4859 [defined __arch64__ || defined __sparcv9]
4860 (__INO_T_MATCHES_INO64_T): New macro.
4861 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4862 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
4863 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
4864 * sysdeps/unix/sysv/linux/bits/dirent.h
4865 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
4866 (_DIRENT_MATCHES_DIRENT64): New macro.
4867
03af9520
RM
4868 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
4869 Define lockf64 as an alias.
4870 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
4871 Define fseeko64 as an alias.
4872 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
4873 Define ftello64 as an alias.
4874 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
4875 Define _IO_fgetpos64 and fgetpos64 as aliases.
4876 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
4877 Define _IO_fsetpos64 and fsetpos64 as aliases.
4878 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
4879 Conditionalize body on this.
4880 * libio/fseeko64.c: Likewise.
4881 * libio/ftello64.c: Likewise.
4882 * libio/iofgetpos64.c: Likewise.
4883 * libio/iofsetpos64.c: Likewise.
4884 * sysdeps/wordsize-64/lockf.c: File removed.
4885 * sysdeps/wordsize-64/lockf64.c: File removed.
4886 * sysdeps/wordsize-64/fseeko.c: File removed.
4887 * sysdeps/wordsize-64/fseeko64.c: File removed.
4888 * sysdeps/wordsize-64/ftello.c: File removed.
4889 * sysdeps/wordsize-64/ftello64.c: File removed.
4890 * sysdeps/wordsize-64/iofgetpos.c: File removed.
4891 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
4892 * sysdeps/wordsize-64/iofsetpos.c: File removed.
4893 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
4894 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
4895 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
4896 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
4897 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
4898 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
4899 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
4900 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
4901 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
4902 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
4903 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
4904
4905 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
4906 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
4907 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
4908 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4909 [defined __arch64__ || defined __sparcv9]
4910 (__OFF_T_MATCHES_OFF64_T): New macro.
4911 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4912 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
4913 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4914 (__OFF_T_MATCHES_OFF64_T): New macro.
4915
c5757acd
L
49162012-08-06 H.J. Lu <hongjiu.lu@intel.com>
4917
4918 * stdlib/secure-getenv.c (__secure_getenv): Replace
4919 GLIBC_2_16 with GLIBC_2_17.
4920
3a31811e
L
49212012-08-06 H.J. Lu <hongjiu.lu@intel.com>
4922
4923 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
4924 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4925
faa2bccb
DM
49262012-08-03 David S. Miller <davem@davemloft.net>
4927
4928 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4929
85fe1997
JM
49302012-08-03 Joseph Myers <joseph@codesourcery.com>
4931
4932 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
4933 Remove.
4934 (__ASSUME_CORRECT_SI_PID): Likewise.
4935 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
4936 (__ASSUME_TMPFS_NAME): Likewise.
4937 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
4938 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
4939 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
4940 (HAVE_AUX_SECURE): Make definition unconditional.
4941 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
4942 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
4943
4f75b7a0
RM
49442012-08-03 Roland McGrath <roland@hack.frob.com>
4945
4946 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
4947 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
4948 * sysdeps/mach/hurd/eloop-threshold.h: New file.
4949 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4950 __eloop_threshold instead of SYMLOOP_MAX.
4951
4952 * sysdeps/generic/eloop-threshold.h: New file.
4953 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
4954 of MAXSYMLINKS.
4955 * elf/chroot_canon.c (chroot_canon): Likewise.
4956
7aab07e4
JM
49572012-08-03 Joseph Myers <joseph@codesourcery.com>
4958
4959 [BZ #13717]
4960 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4961 Change to 2.6.0 everywhere.
4962 * sysdeps/unix/sysv/linux/configure: Regenerated.
4963 * sysdeps/unix/sysv/linux/kernel-features.h
4964 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
4965 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
4966 kernel versions.
4967 (__ASSUME_POSIX_TIMERS): Define unconditionally.
4968 (__ASSUME_FUTEX_REQUEUE): Remove.
4969 (__ASSUME_STATFS64): Define unconditionally.
4970 (__ASSUME_AT_SECURE): Likewise.
4971 (__ASSUME_CORRECT_SI_PID): Likewise.
4972 (__ASSUME_TGKILL): Define without depending on kernel version for
4973 i386.
4974 (__ASSUME_UTIMES): Likewise.
4975 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
4976 kernel version.
4977 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
4978 (__ASSUME_TMPFS_NAME): Likewise.
4979 * README: Update reference to Linux kernel versions.
4980
b67e9372
MP
49812012-08-02 Marek Polacek <polacek@redhat.com>
4982
1f529f7d 4983 [BZ# 14150]
b67e9372
MP
4984 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
4985 libc_cv_asm_type_prefix with %.
4986 * configure: Regenerated.
d2441631
RM
4987 * include/libc-symbols.h: Remove comment about
4988 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
4989 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
4990 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
4991 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
4992 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
4993 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
4994 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
4995 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
4996 * elf/tst-unique2mod1.c: Likewise.
4997 * elf/tst-unique1mod2.c: Likewise.
4998 * elf/tst-unique1mod1.c: Likewise.
4999 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
5000 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
5001 Replace ASM_TYPE_DIRECTIVE with .type.
5002 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5003 * sysdeps/i386/sysdep.h: Likewise.
5004 * sysdeps/x86_64/sysdep.h: Likewise.
5005 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
5006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
5007 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 5008 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
5009 * sysdeps/powerpc/powerpc32/sysdep.h:
5010 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
5011 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5012 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5013 * sysdeps/i386/fpu/e_powf.S: Likewise.
5014 * sysdeps/i386/fpu/e_expl.S: Likewise.
5015 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5016 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5017 * sysdeps/i386/fpu/e_pow.S: Likewise.
5018 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5019 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5020 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5021 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5022 * sysdeps/i386/fpu/e_log2.S: Likewise.
5023 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5024 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5025 * sysdeps/i386/fpu/e_powl.S: Likewise.
5026 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5027 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5028 * sysdeps/i386/fpu/e_logl.S: Likewise.
5029 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5030 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5031 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5032 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5033 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5034 * sysdeps/i386/fpu/e_log.S: Likewise.
5035 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5036 * sysdeps/i386/fpu/e_logf.S: Likewise.
5037 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5038 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5039 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5040 * sysdeps/i386/fpu/e_log10.S: Likewise.
5041 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5042 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5043 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5044 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5045 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5046 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
5047 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5048 * sysdeps/i386/i686/strtok.S: Likewise.
5049 * sysdeps/i386/i386-mcount.S: Likewise.
5050 * sysdeps/i386/strtok.S: Likewise.
5051 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
5052 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5053 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5054 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5055 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5056 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5057 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5058 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5059 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5060 * sysdeps/x86_64/_mcount.S: Likewise.
5061 * sysdeps/x86_64/strtok.S: Likewise.
5062 * sysdeps/sh/_mcount.S: Likewise.
5063
2747bf9a
RM
50642012-08-01 Roland McGrath <roland@hack.frob.com>
5065
5066 * libio/iofopen.c: Include <fcntl.h>.
5067 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
5068 (_IO_fopen64, fopen64): Define as aliases.
5069 * libio/iofopen64.c: Include <fcntl.h>.
5070 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
5071 Conditionalize body on this.
5072 * sysdeps/wordsize-64/iofopen.c: File removed.
5073 * sysdeps/wordsize-64/iofopen64.c: File removed.
5074
3fb791b8
MP
50752012-08-01 Marek Polacek <polacek@redhat.com>
5076
5077 * libc/Makeconfig: Use elf in place of binfmt-subdir.
5078 Use dlfcn directly instead of a variable.
5079 (binfmt-subdir): Do not define.
5080 (dlfcn): Likewise.
5081
a9f1039f
JM
50822012-08-01 Joseph Myers <joseph@codesourcery.com>
5083
23bddc06
JM
5084 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
5085 Remove all definitions.
5086 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
5087 <kernel-features.h>.
5088 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5089 (miss_F_GETOWN_EX): Remove all definitions.
5090 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
5091 macro definition.
5092 [!__ASSUME_FCNTL64]: Remove conditional code.
5093 [__ASSUME_FCNTL64]: Make code unconditional.
5094 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
5095 <kernel-features.h>.
5096 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5097 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
5098 (lockf64) [__NR_fcntl64]: Make code unconditional.
5099 (lockf64) [__ASSUME_FCNTL64]: Likewise.
5100
a9f1039f
JM
5101 * sysdeps/unix/sysv/linux/kernel-features.h
5102 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
5103 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
5104 Make code unconditional.
5105 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5106 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
5108 [__NR_vfork]: Make code unconditional.
5109 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5110 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
5112 [__NR_vfork]: Make code unconditional.
5113 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5114 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5115
09c0ee5f
RM
51162012-08-01 Roland McGrath <roland@hack.frob.com>
5117
48aec5b9
RM
5118 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
5119 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
5120
cd97c966
RM
5121 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5122 Define mkstemp64 as an alias.
3f55550c
RM
5123 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5124 Define mkstemps64 as an alias.
cd97c966
RM
5125 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5126 Define mkostemp64 as an alias.
b8625cfc
RM
5127 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5128 Define mkostemps64 as an alias.
cd97c966
RM
5129 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
5130 Conditionalize body on this.
5131 * misc/mkostemp64.c: Likewise.
b8625cfc 5132 * misc/mkostemps64.c: Likewise.
3f55550c 5133 * misc/mkstemps64.c: Likewise.
cd97c966
RM
5134 * sysdeps/wordsize-64/mkstemp64.c: File removed.
5135 * sysdeps/wordsize-64/mkostemp64.c: File removed.
5136 * sysdeps/wordsize-64/mkostemp.c: File removed.
5137 * sysdeps/wordsize-64/mkstemp.c: File removed.
5138 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
5139 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
5140 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
5141 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
5142
09c0ee5f
RM
5143 [BZ #14138]
5144 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
5145 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
5146 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
5147 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
5148
5149 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
5150 compat_symbol macros from <shlib-compat.h> rather than the underlying
5151 default_symbol_version and symbol_version macros, so that DEFAULT
5152 lines in shlib-versions are respected.
5153 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
5154
7e66ee51
FW
51552012-08-01 Florian Weimer <fweimer@redhat.com>
5156
5157 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
5158 Declare with warn_unused_result.
5159 (setgid, setregid, setegid, setresgid): Likewise.
5160 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
5161 Likewise.
5162 * WUR-REPORT: Remove set*id functions.
5163
d2a54255
PT
51642012-07-31 Pino Toscano <toscano.pino@tiscali.it>
5165
5166 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
5167
7ecdb005
RM
51682012-07-31 Roland McGrath <roland@hack.frob.com>
5169
789bd351
RM
5170 * include/sys/socket.h (__libc_accept, __libc_accept4):
5171 Add attribute_hidden.
5172 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
5173
40ce302d
RM
5174 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
5175 use of PTR_MANGLE.
5176 * inet/getnetgrent_r.c (setup): Likewise.
5177
7ecdb005
RM
5178 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
5179
e2eabb2c
DM
51802012-07-31 David S. Miller <davem@davemloft.net>
5181
5182 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5183
d0419dbf
JM
51842012-07-31 Joseph Myers <joseph@codesourcery.com>
5185
5186 [BZ #13629]
5187 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
5188 value between 1.0 and 2.0 and smaller part has absolute value less
5189 than 1.0.
5190 * math/s_clog10.c (__clog10): Likewise.
5191 * math/s_clog10f.c (__clog10f): Likewise.
5192 * math/s_clog10l.c (__clog10l): Likewise.
5193 * math/s_clogf.c (__clogf): Likewise.
5194 * math/s_clogl.c (__clogl): Likewise.
5195 * math/libm-test.inc (clog_test): Add more tests.
5196 (clog10_test): Likewise.
5197 * sysdeps/i386/fpu/libm-test-ulps: Update.
5198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5199
2bc13872
FW
52002012-07-31 Florian Weimer <fweimer@redhat.com>
5201
5202 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
5203 Exit with zero in case no suitable GID is found, and write a
5204 message to standard error.
5205
bea9b193
RM
52062012-07-30 Roland McGrath <roland@hack.frob.com>
5207
5208 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
5209 rather than to 1.
5210 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
5211 (MAXPATHLEN): Removed.
5212 (NOGROUP, NODEV): New macros.
5213 (setbit, clrbit, isset, isclr): New macros.
5214 (howmany, roundup, powerof2): New macros.
5215 (DEV_BSIZE): New macro.
5216
5217 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
5218 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
5219
5220 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
5221 definition on [!__NO_LONG_DOUBLE_MATH].
5222
5223 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
5224 PTR_MANGLE and PTR_DEMANGLE.
5225
5226 * socket/accept4.c (accept4): Rename to __libc_accept4.
5227 Define accept4 as a weak alias.
5228
5229 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
5230 on [_DIRENT_HAVE_D_TYPE].
5231 * io/ftw.c (ftw_dir): Likewise.
5232
5233 * io/xmknod.c (__xmknod): Don't check PATH for being null.
5234
5235 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
5236
5237 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
5238 Use the BSD numbers rather than the arbitrary ones we had.
5239 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
5240 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
5241 (SIGXCPU, SIGXFSZ): New macros.
5242 (_NSIG): Now 32.
5243
5244 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
5245 initializer on [_LIBC_REENTRANT].
5246
5247 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
5248 definitions inside [_POSIX_MAPPED_FILES].
5249
5250 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
5251
5252 * dirent/opendir.c: Include <fcntl.h>.
5253
5254 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
5255 (__libc_getspecific): Likewise.
5256 (__libc_key_create): Likewise.
5257
5258 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
5259 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
5260 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
5261 (tmpfile64): Define as alias.
5262 * sysdeps/wordsize-64/tmpfile.c: File removed.
5263 * sysdeps/wordsize-64/tmpfile64.c: File removed.
5264 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
5265 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
5266
5267 * stdio-common/vfscanf.c: Include <stdbool.h>.
5268 * nss/makedb.c: Likewise.
5269 * stdio-common/_i18n_number.h: Likewise.
5270 * argp/argp-help.c: Likewise.
5271 * posix/wordexp.c: Likewise.
5272 * sysdeps/posix/spawni.c: Likewise.
5273 * nss/nss_files/files-initgroups.c: Likewise.
5274 * stdio-common/reg-modifier.c: Include <stdlib.h>.
5275 * nss/nss_files/files-initgroups.c: Likewise.
5276 * nss/nss_db/db-netgrp.c: Likewise.
5277 * nss/nss_db/db-initgroups.c: Likewise.
5278 * io/fchmodat.c: Include <sys/stat.h>.
5279
5280 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
5281 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
5282
5283 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
5284 [HAVE_MMAP].
5285
5286 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
5287 Add multiple inclusion protection.
5288
e5abc686
DM
52892012-07-27 David S. Miller <davem@davemloft.net>
5290
5291 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5292
815e6fa3
GB
52932012-07-27 Gary Benson <gbenson@redhat.com>
5294
5295 [BZ #14298]
5296 * elf/rtld.c: Include <stap-probe.h>.
5297 (dl_main): Added static probes "init_start" and "init_complete".
5298 * elf/dl-load.c: Include <stap-probe.h>.
5299 (lose): Take new parameter "nsid".
5300 Added static probe "map_failed".
5301 (_dl_map_object_from_fd): Pass namespace id to lose.
5302 Added static probe "map_start".
5303 (open_verify): Pass namespace id to lose.
5304 * elf/dl-open.c: Include <stap-probe.h>.
5305 (dl_open_worker) Added static probes "map_complete", "reloc_start"
5306 and "reloc_complete".
5307 * elf/dl-close.c: Include <stap-probe.h>.
5308 (_dl_close_worker): Added static probes "unmap_start" and
5309 "unmap_complete".
5310 * elf/rtld-debugger-interface.txt: New file documenting the above.
5311
9f98c16c
RM
53122012-07-26 Roland McGrath <roland@hack.frob.com>
5313
5314 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
5315 rather than a string variable.
5316 * sunrpc/rpc_main.c (h_output): Likewise.
5317 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
5318
f3c22df3
PT
53192012-07-26 Pino Toscano <toscano.pino@tiscali.it>
5320
5321 * inet/check_native.c: New file.
5322
3129cfc6
JM
53232012-07-26 Joseph Myers <joseph@codesourcery.com>
5324
da865e95
JM
5325 [BZ #13629]
5326 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
5327 if larger part has absolute value 1.0.
5328 * math/s_clog10.c (__clog10): Likewise.
5329 * math/s_clog10f.c (__clog10f): Likewise.
5330 * math/s_clog10l.c (__clog10l): Likewise.
5331 * math/s_clogf.c (__clogf): Likewise.
5332 * math/s_clogl.c (__clogl): Likewise.
5333 * math/libm-test.inc (clog_test): Add more tests.
5334 (clog10_test): Likewise.
5335 * sysdeps/i386/fpu/libm-test-ulps: Update.
5336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5337
3129cfc6
JM
5338 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
5339 (pltexit): Likewise.
5340 (La_regs): Likewise.
5341 (La_retval): Likewise.
5342 (int_retval): Likewise.
5343 Update #error for removed macros to refer only to definitions in
5344 tst-audit.h.
5345 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
5346 macro.
5347 (pltexit): Likewise.
5348 (La_regs): Likewise.
5349 (La_retval): Likewise.
5350 (int_retval): Likewise.
5351 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
5352 macro.
5353 (pltexit): Likewise.
5354 (La_regs): Likewise.
5355 (La_retval): Likewise.
5356 (int_retval): Likewise.
5357 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
5358 macro.
5359 (pltexit): Likewise.
5360 (La_regs): Likewise.
5361 (La_retval): Likewise.
5362 (int_retval): Likewise.
5363 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
5364 macro.
5365 (pltexit): Likewise.
5366 (La_regs): Likewise.
5367 (La_retval): Likewise.
5368 (int_retval): Likewise.
5369 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
5370 macro.
5371 (pltexit): Likewise.
5372 (La_regs): Likewise.
5373 (La_retval): Likewise.
5374 (int_retval): Likewise.
5375 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
5376 macro.
5377 (pltexit): Likewise.
5378 (La_regs): Likewise.
5379 (La_retval): Likewise.
5380 (int_retval): Likewise.
5381 * sysdeps/generic/tst-audit.h: Update comment to refer only to
5382 macro definitions in tst-audit.h.
5383 * sysdeps/i386/tst-audit.h: New file.
5384 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
5385 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
5386 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
5387 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
5388 * sysdeps/sh/tst-audit.h: Likewise.
5389 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
5390 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
5391 * sysdeps/x86_64/tst-audit.h: Likewise.
5392
bfc07087
AJ
53932012-07-26 Andreas Jaeger <aj@suse.de>
5394
b1b2aaf8
AJ
5395 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
5396 ptrace.
5397
5398 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
5399 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
5400 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
5401 PTRACE_O_MASK.
5402 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
5403 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
5404 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
5405
bfc07087
AJ
5406 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
5407 value.
5408
5409 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
5410 _sigsys.
5411 (si_call_addr, si_syscall, si_arch): Define new macro.
5412 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
5413 _sigsys.
5414 (si_call_addr, si_syscall, si_arch): Define new marcro.
5415 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
5416 _sigsys.
5417 (si_call_addr, si_syscall, si_arch): Define new macro.
5418 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
5419 _sigsys.
5420 (si_call_addr, si_syscall, si_arch): Define new macro.
5421
89b4b02f
JM
54222012-07-25 Joseph Myers <joseph@codesourcery.com>
5423
5424 [BZ #13717]
5425 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5426 Change to 2.4.21 where previously 2.4.1.
5427 * sysdeps/unix/sysv/linux/configure: Regenerated.
5428 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
5429 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
5430 Linux kernel version.
5431 (__ASSUME_STD_AUXV): Remove.
5432 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
5433 kernel version.
5434 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
5435 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
5436 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
5437 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
5438 (__ASSUME_NETLINK_SUPPORT): Likewise.
5439 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
5440 (__no_netlink_support): Remove conditional definition.
5441 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
5442 Remove.
5443 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5444 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
5445 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
5446 (if_nameindex_ioctl): Remove.
5447 (if_nameindex_netlink): Do not handle __no_netlink_support.
5448 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5449 code.
5450 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
5451 Remove conditional code.
5452 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5453 code.
5454 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
5455 unconditional.
5456 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5457 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
5458 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
5459 Remove.
5460 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
5461 [!__ASSUME_STD_AUXV]: Remove conditional code.
5462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
5463 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
5464 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
5465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
5466 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
5467 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5468 code.
5469 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5471 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
5472 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5473 conditional code.
5474 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
5476 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5477 code.
5478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5479 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5480 conditional code.
5481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
5482 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5483 code unconditional.
5484 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5485 conditional code.
5486 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5487 unconditional.
5488 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5489 conditional code.
5490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
5491 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5492 unconditional.
5493 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5494 conditional code.
5495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
5496 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5497 code unconditional.
5498 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5499 conditional code.
5500 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5501 unconditional.
5502 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5503 conditional code.
5504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
5505 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5506 code unconditional.
5507 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5508 conditional code.
5509 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5510 unconditional.
5511 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5512 conditional code.
5513
842a39cd
AS
55142012-07-25 Andreas Schwab <schwab@linux-m68k.org>
5515
5516 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
5517 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
5518 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5519 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
5520 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
5521 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
5522 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5523 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
5524 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
5525 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
5526 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
5527 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
5528 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
5529 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5530 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
5531 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
5532 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
5533 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
5534 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
5535 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
5536 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
5537 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
5538 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5539
84b3fd84
FW
55402012-07-25 Florian Weimer <fweimer@redhat.com>
5541
5542 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
5543 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
5544 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
5545 Introduce __libc_secure_getenv.
0c7936d5
FW
5546 * stdlib/Versions (2.17): Add secure_getenv
5547 (GLIBC_PRIVATE): Add __libc_secure_getenv.
5548 * stdlib/secure-getenv.c: Rename __secure_getenv to
5549 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
5550 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
5551 * stdlib/tst-secure-getenv.c: New.
5552 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
5553 * manual/startup.texi (Environment Access): Document
5554 secure_getenv.
84b3fd84
FW
5555 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
5556 __libc_secure_getenv.
5557 * inet/ruserpass.c (ruserpass): Likewise.
5558 * malloc/mtrace.c (mtrace): Likewise.
5559 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 5560 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
5561 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
5562 * sysdeps/posix/tempname.c: Likewise. Evaluate
5563 HAVE_SECURE_GETENV.
5564 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 5565 __secure_getenv to __libc_secure_getenv.
84b3fd84 5566 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
5567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5568 Likewise.
5569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5570 Likewise.
5571 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
5572 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
5573 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5574 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
5575 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
5576 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5577 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 5578
56e49b71
JM
55792012-07-25 Joseph Myers <joseph@codesourcery.com>
5580
5581 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
5582 (struct La_i86_retval): Likewise.
5583 (struct La_x86_64_regs): Likewise.
5584 (struct La_x86_64_retval): Likewise.
5585 (struct La_x32_regs): Likewise.
5586 (struct La_x32_retval): Likewise.
5587 (struct La_ppc32_regs): Likewise.
5588 (struct La_ppc32_retval): Likewise.
5589 (struct La_ppc64_regs): Likewise.
5590 (struct La_ppc64_retval): Likewise.
5591 (struct La_sh_regs): Likewise.
5592 (struct La_sh_retval): Likewise.
5593 (struct La_s390_32_regs): Likewise.
5594 (struct La_s390_32_retval): Likewise.
5595 (struct La_s390_64_regs): Likewise.
5596 (struct La_s390_64_retval): Likewise.
5597 (struct La_sparc32_regs): Likewise.
5598 (struct La_sparc32_retval): Likewise.
5599 (struct La_sparc64_regs): Likewise.
5600 (struct La_sparc64_retval): Likewise.
5601 (struct audit_ifaces): Remove architecture-specific pltenter and
5602 pltexit members.
5603 * sysdeps/i386/ldsodefs.h: New file.
5604 * sysdeps/powerpc/ldsodefs.h: Likewise.
5605 * sysdeps/s390/ldsodefs.h: Likewise.
5606 * sysdeps/sh/ldsodefs.h: Likewise.
5607 * sysdeps/sparc/ldsodefs.h: Likewise.
5608 * sysdeps/x86_64/ldsodefs.h: Likewise.
5609
354691b7
MP
56102012-07-25 Marek Polacek <polacek@redhat.com>
5611
5612 [BZ #6808]
5613 * math/libm-test.inc (yn_test): Add another test.
5614 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
5615 to ERANGE when the result is +-Inf.
5616 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
5617 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
5618 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
5619 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
5620
bf9e2071
JM
56212012-07-24 Joseph Myers <joseph@codesourcery.com>
5622
5623 * conform/data/time.h-data (NULL): Use macro-constant. Require
5624 equal to 0.
5625 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
5626 clock_t.
5627 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
5628
57633811
TS
56292012-07-23 Thomas Schwinge <thomas@codesourcery.com>
5630
5631 * configure.in <sysdeps resolving>: Correct printing
5632 Implies_before.
5633 * configure: Regenerate.
5634
c23c33b0
TS
56352012-07-22 Thomas Schwinge <thomas@codesourcery.com>
5636
5637 * math/w_ilogb.c: Include <limits.h>.
5638 * math/w_ilogbl.c: Likewise.
5639
b5982523
JM
56402012-07-20 Joseph Myers <joseph@codesourcery.com>
5641
5642 * manual/lang.texi (__va_copy): Document primarily as ISO C99
5643 va_copy. Document allowing for unavailable va_copy only as
5644 pre-C99 compatibility.
5645 * manual/string.texi (Copying and Concatenation): Use va_copy
5646 instead of __va_copy in concat example.
5647
ac4ea442
PT
56482012-07-20 Pino Toscano <toscano.pino@tiscali.it>
5649
5650 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
5651 (__sendto): Use create_address_port. Initialize APORT and deallocate
5652 it if not null.
5653
f98eafbd
PT
5654 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
5655 with O_NOLINK passed to __file_name_lookup.
5656
898c7aab
PT
5657 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
5658 with O_NOLINK passed to __file_name_lookup.
5659
0ced335a
PT
5660 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
5661 negative N or less than NGIDS.
5662
b3404dbd
PT
5663 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
5664 type to string_t. Set ERANGE as errno and return it if NAME is not big
5665 enough. Use memcpy instead of strncpy.
5666
0f48659e
JM
56672012-07-20 Joseph Myers <joseph@codesourcery.com>
5668
5669 * elf/Makefile (check-data): Remove.
5670 (localplt.data): New vpath directive.
5671 ($(objpfx)check-localplt.out): Use localplt.data from vpath
5672 instead of $(check-data).
5673 * scripts/data/localplt-generic.data: Move to ...
5674 * sysdeps/generic/localplt.data: ... here.
5675 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
5676 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
5677 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
5678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
5679 ... here.
5680 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
5681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
5682 ... here.
5683 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
5684 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
5685 ... here.
5686 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
5687 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
5688 ... here.
5689 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
5690 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
5691 ... here.
5692 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
5693 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
5694 ... here.
5695
d37cbdaa
AZ
56962012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5697
5698 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
5699 PPC32 and PPC64 files.
5700 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
5701 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
5702
46f85fc2
AK
57032012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5704
5705 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
5706 __makecontext_ret to ...
5707 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
5708 ... here and call exit if uc_link is NULL. New file.
5709 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
5710 __makecontext_ret.S.
5711 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
5712 __makecontext_ret to ...
5713 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
5714 ... here and call exit if uc_link is NULL. New file.
5715 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
5716 __makecontext_ret.S.
5717
08f43f9b
AK
57182012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5719
5720 * elf/elf.h (R_390_IRELATIVE): New definition.
5721 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
5722 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
5723 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
5724 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
5725 (elf_machine_lazy_rel): Likewise.
5726 * sysdeps/s390/dl-irel.h: New file.
5727 * sysdeps/s390/s390-64/memcpy.S: New asm code.
5728 * sysdeps/s390/s390-64/memset.S: New asm code.
5729 * sysdeps/s390/s390-64/memcmp.S: New asm code.
5730 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
5731 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
5732 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
5733 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
5734 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
5735 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
5736 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
5737 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
5738 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
5739 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
5740 * sysdeps/s390/s390-32/memcpy.S: New asm code.
5741 * sysdeps/s390/s390-32/memset.S: New asm code.
5742 * sysdeps/s390/s390-32/memcmp.S: New asm code.
5743
3b05db33
MP
57442012-07-17 Marek Polacek <polacek@redhat.com>
5745
5746 [BZ #14349]
5747 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
5748 * sysdeps/s390/s390-64/configure.in: Likewise.
5749 * sysdeps/sparc/configure.in: Likewise.
5750 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
5751 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
5752 * sysdeps/i386/configure.in: Likewise.
5753 * sysdeps/x86_64/configure.in: Likewise.
5754 * sysdeps/sh/configure.in: Likewise.
5755 * sysdeps/s390/s390-32/configure: Regenerated.
5756 * sysdeps/s390/s390-64/configure: Likewise.
5757 * sysdeps/x86_64/configure: Likewise.
5758 * sysdeps/sh/configure: Likewise.
5759 * sysdeps/powerpc/powerpc64/configure: Likewise.
5760 * sysdeps/powerpc/powerpc32/configure: Likewise.
5761 * sysdeps/sparc/configure: Likwise.
5762 * sysdeps/i386/configure: Likewise.
5763
a66877c6
MP
5764 * elf/dl-open.c: Comment fixes.
5765
cfc82fd8
JM
57662012-07-17 Joseph Myers <joseph@codesourcery.com>
5767
bd29910a
JM
5768 * Makefile [CXX] (check-data): Remove.
5769 [CXX] (c++-types.data): New vpath directive.
5770 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
5771 vpath. Do not allow for C++ type data being missing.
5772 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
5773 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
5774 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
5775 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
5776 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
5777 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
5778 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
5779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
5780 ... here.
5781 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
5782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
5783 ... here.
5784 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
5785 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
5786 ... here.
5787 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
5788 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
5789 ... here.
5790 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
5791 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
5792 ... here.
5793 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
5794 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
5795 ... here.
5796 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
5797 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
5798 ... here.
5799 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
5800 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
5801
cfc82fd8
JM
5802 * elf/tls-macros.h (TLS_LE): Move architecture-specific
5803 definitions to architecture-specific files.
5804 (TLS_IE): Likewise.
5805 (TLS_LD): Likewise.
5806 (TLS_GD): Likewise.
5807 * sysdeps/i386/tls-macros.h: New file.
5808 * sysdeps/powerpc/tls-macros.h: Likewise.
5809 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
5810 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
5811 * sysdeps/sh/tls-macros.h: Likewise.
5812 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
5813 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
5814 * sysdeps/x86_64/tls-macros.h: Likewise.
5815
f7db3170
TS
58162012-07-17 Thomas Schwinge <thomas@codesourcery.com>
5817
07cbfc23
TS
5818 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
5819 zero value for regular exit case.
5820
f7db3170
TS
5821 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
5822 (__start_context): Preserve zero value for regular exit case.
5823
dc97c227
TS
58242012-07-17 Thomas Schwinge <thomas@codesourcery.com>
5825 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5826
5827 * manual/setjmp.texi (setcontext): Clarify normal process
5828 termination when uc_link is the null pointer.
5829 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
5830 exit call.
5831
d0cd7d02
AS
58322012-07-16 Andreas Schwab <schwab@linux-m68k.org>
5833
5834 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
5835 preprocessor. Test for each exception mask separately.
5836
dd318934
AJ
58372012-07-16 Andreas Jaeger <aj@suse.de>
5838
5839 * po/ru.po: Update from translation team.
5840
8048311a
JM
58412012-07-15 Joseph Myers <joseph@codesourcery.com>
5842
5843 * conform/data/string.h-data (NULL): Use macro-constant. Require
5844 equal to 0.
5845 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
5846 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
5847 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
5848 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
5849 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5850
b637d46e
AJ
58512012-07-13 Andreas Jaeger <aj@suse.de>
5852
5853 * po/fr.po: Update from translation team.
5854
541428fe
MP
58552012-07-12 Marek Polacek <polacek@redhat.com>
5856
5857 [BZ #14173]
5858 * math/libm-test.inc (yn_test): Add test for BZ #14173.
5859 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
5860 loop condition.
5861
ec332e94
JM
58622012-07-12 Joseph Myers <joseph@codesourcery.com>
5863
5864 [BZ #13717]
5865 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5866 Change to 2.4.1 where previously 2.4.0.
5867 * sysdeps/unix/sysv/linux/configure: Regenerated.
5868 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
5869 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
5870 version.
5871 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
5872 (__ASSUME_AT_CLKTCK): Remove.
5873 (__ASSUME_AT_PAGESIZE): Likewise.
5874 (__ASSUME_AT_XID): Likewise.
5875 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
5876 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
5877 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
5878 unconditionally.
5879 (HAVE_AUX_PAGESIZE): Likewise.
5880 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
5881 [__ASSUME_AT_CLKTCK]: Make code unconditional.
5882 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
5883
7b6e99be
JB
58842012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
5885
5886 [BZ #14307]
5887 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
5888 the temporary buffer used to invoke __gethostbyname2_r,
5889 __gethostbyaddr_r and gethostbyname4_r to make room for struct
5890 host_data / struct gaih_addrtuple.
5891 * resolv/nss_dns/dns-host.c (global scope): Move definition of
5892 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
5893 header file nss/nsswitch.h.
5894 * nss/nsswitch.h (global scope): Add definition of implementation
5895 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
5896 resolv/nss_dns/dns-host.c).
5897
608404eb
AJ
58982012-07-11 Andreas Jaeger <aj@suse.de>
5899
5900 * po/fr.po: Update from translation team.
5901
71220aca
AJ
5902 * po/sv.po: Update from translation team
5903 * po/fr.po: Another update from translation team.
5904
28cfe843
AZ
59052012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5906
5907 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
5908 for subnormals or multiply small sinh result by itself.
5909 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5910 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5911
6b90f981
DM
59122012-07-11 David S. Miller <davem@davemloft.net>
5913
5914 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5915
c6825772
AS
59162012-07-10 Andreas Schwab <schwab@linux-m68k.org>
5917
5918 [BZ #14347]
5919 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
5920 (INTERNAL_MARK): Shift it here.
5921
7b8e0d49
MP
59222012-07-10 Marek Polacek <polacek@redhat.com>
5923
5924 [BZ #14151]
5925 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
5926 libc_cv_asm_global_directive with .globl.
5927 * configure: Regenerated.
5928 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
5929 with .globl.
5930 * sysdeps/i386/configure: Regenerated.
5931 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
5932 with .globl.
5933 * sysdeps/x86_64/configure: Regenerated.
5934 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
5935 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
5936 * elf/tst-unique2mod2.c: Likewise.
5937 * elf/tst-unique2mod1.c: Likewise.
5938 * elf/tst-unique1mod2.c: Likewise.
5939 * elf/tst-unique1mod1.c: Likewise.
5940 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5941 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5942 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5943 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5944 * sysdeps/mach/sysdep.h: Likewise.
5945 * sysdeps/i386/sysdep.h: Likewise.
5946 * sysdeps/i386/i386-mcount.S: Likewise.
5947 * sysdeps/x86_64/_mcount.S: Likewise.
5948 * sysdeps/x86_64/sysdep.h: Likewise.
5949 * sysdeps/sh/_mcount.S: Likewise.
5950 * sysdeps/sh/sysdep.h: Likewise.
5951 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
5952 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
5953 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
5954 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5955 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
5956 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
5957 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
5958 * locale/localeinfo.h: Likewise.
5959 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
5960 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
5961
6c55cda3
RM
59622012-07-09 Roland McGrath <roland@hack.frob.com>
5963
5964 [BZ #14336]
5965 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
5966 system".
5967 * manual/message.texi (The Uniforum approach): Likewise.
5968 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
5969 (glibc iconv Implementation): Likewise.
5970
638a572e
JM
59712012-07-09 Joseph Myers <joseph@codesourcery.com>
5972
5973 [BZ #14337]
5974 * math/s_clog.c (__clog): Avoid scaling a value down where that
5975 could result in underflow.
5976 * math/s_clog10.c (__clog10): Likewise.
5977 * math/s_clog10f.c (__clog10f): Likewise.
5978 * math/s_clog10l.c (__clog10l): Likewise.
5979 * math/s_clogf.c (__clogf): Likewise.
5980 * math/s_clogl.c (__clogl): Likewise.
5981 * math/libm-test.inc (clog_test): Add more tests.
5982 (clog10_test): Likewise.
5983 * sysdeps/i386/fpu/libm-test-ulps: Update.
5984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5985
261f4859
AS
59862012-07-06 Andreas Schwab <schwab@linux-m68k.org>
5987
0abaf3e4
AS
5988 [BZ #14283]
5989 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
5990 by 7 not 8 to examine high bit of fractional part.
5991
261f4859
AS
5992 [BZ #14042]
5993 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
5994 for call to __mcount_internal.
5995 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
5996 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
5997 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
5998
f17ac40d
JM
59992012-07-06 Joseph Myers <joseph@codesourcery.com>
6000
9ad63c23
JM
6001 [BZ #14154]
6002 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
6003 approximation for values within 0x1p-13f of an odd multiple of
6004 pi/4.
6005 * math/libm-test.inc (tan_test): Do not allow spurious underflow
6006 exception. Add more tests.
6007 * sysdeps/i386/fpu/libm-test-ulps: Update.
6008
f17ac40d
JM
6009 [BZ #6778]
6010 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
6011 inputs and return -1 for them. Do not check for +Inf in case not
6012 reachable for +Inf.
6013 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6014 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
6015 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6016 and return -1 for them. Do not check for +Inf in case not
6017 reachable for +Inf.
6018 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
6019 define.
6020 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6021 and return -1 for them. Do not check for +Inf in case not
6022 reachable for +Inf.
6023 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
6024 spurious underflow.
6025 * sysdeps/i386/fpu/libm-test-ulps: Update.
6026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6027
fb21f89b
MF
60282012-07-06 Mike Frysinger <vapier@gentoo.org>
6029
6030 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
6031
cdfe2c5e
JM
60322012-07-05 Joseph Myers <joseph@codesourcery.com>
6033
6034 [BZ #14157]
6035 [BZ #14331]
6036 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
6037 could result in spurious underflow. Scale down values above
6038 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
6039 * math/s_csqrtf.c (__csqrtf): Likewise.
6040 * math/s_csqrtl.c (__csqrtl): Likewise.
6041 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
6042 spurious underflow.
6043 * sysdeps/i386/fpu/libm-test-ulps: Update.
6044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6045
70d35b67
AS
60462012-07-04 Andreas Schwab <schwab@linux-m68k.org>
6047
704bc459
AS
6048 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
6049 xopen-msg.sed.
6050 * catgets/xopen-msg.awk: New file.
6051 * catgets/xopen-msg.sed: Removed.
6052
70d35b67
AS
6053 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
6054 po2text.sed.
6055 * intl/po2test.awk: New file.
6056 * intl/po2test.sed: Removed.
6057
ca61cf32
JM
60582012-07-04 Joseph Myers <joseph@codesourcery.com>
6059
6060 [BZ #14328]
6061 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
6062 or multiply small sinh result by itself.
6063 * math/s_ctanf.c (__ctanf): Likewise.
6064 * math/s_ctanh.c (__ctanh): Likewise.
6065 * math/s_ctanhf.c (__ctanhf): Likewise.
6066 * math/s_ctanhl.c (__ctanhl): Likewise.
6067 * math/s_ctanl.c (__ctanl): Likewise.
6068 * math/libm-test.inc (ctan_test_tonearest): New function.
6069 (ctan_test_towardzero): Likewise.
6070 (ctan_test_downward): Likewise.
6071 (ctan_test_upward): Likewise.
6072 (ctanh_test_tonearest): Likewise.
6073 (ctanh_test_towardzero): Likewise.
6074 (ctanh_test_downward): Likewise.
6075 (ctanh_test_upward): Likewise.
6076 (main): Call these new functions.
6077 * sysdeps/i386/fpu/libm-test-ulps: Update.
6078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6079
ca48a46a
MF
60802012-07-03 Mike Frysinger <vapier@gentoo.org>
6081
6082 * .gitignore: Delete /ports entry.
6083
9d63d37d
AJ
60842012-07-03 Andreas Jaeger <aj@suse.de>
6085
6086 * po/bg.po: Update from translation team.
6087 * po/cs.po: Likewise.
6088 * po/de.po: Likewise.
6089 * po/hr.po: Likewise.
6090 * po/nl.pl: Likewise.
6091 * po/pl.po: Likewise.
6092 * po/vi.po: Likewise.
6093
370ca3d2
JM
60942012-07-03 Joseph Myers <joseph@codesourcery.com>
6095
95f5a9a8
JM
6096 * Makeconfig [!+link] (+link-before-libc): New variable.
6097 [!+link] (+link-after-libc): Likewise.
6098 [!+link] (+link-tests): Likewise.
6099 [!+link] (+link): Define in terms of $(+link-before-libc) and
6100 $(+link-after-libc).
6101 [!+link-static] (+link-static-before-libc): New variable.
6102 [!+link-static] (+link-static-after-libc): Likewise.
6103 [!+link-static] (+link-static-tests): Likewise.
6104 [!+link-static] (+link-static): Define in terms of
6105 $(+link-static-before-libc) and $(+link-static-after-libc).
6106 [build-shared] (link-libc-before-gnulib): New variable.
6107 [build-shared] (link-libc-tests): Likewise.
6108 [build-shared] (link-libc): Define in terms of
6109 $(link-libc-before-gnulib).
6110 [!build-shared] (link-libc-tests): New variable.
6111 (link-libc-static-tests): New variable.
6112 [!gnulib] (gnulib-arch): New variable.
6113 [!gnulib] (gnulib-tests): Likewise.
6114 [!gnulib] (static-gnulib-arch): Likewise.
6115 [!gnulib] (static-gnulib-tests): Likewise.
6116 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
6117 Define with "=" instead of ":=".
6118 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
6119 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
6120 * Rules (binaries-all-notests): New variable.
6121 (binaries-all-tests): Likewise.
6122 (binaries-static-notests): Likewise.
6123 (binaries-static-tests): Likewise.
6124 (binaries-all): Define using $(binaries-all-notests) and
6125 $(binaries-all-tests).
6126 (binaries-static): Define using $(binaries-static-notests) and
6127 $(binaries-static-tests).
6128 (binaries-shared-tests): New variable.
6129 (binaries-shared-notests): Likewise.
6130 (binaries-shared): Remove variable.
6131 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
6132 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
6133 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
6134 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
6135 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
6136 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
6137 * elf/Makefile (sln-modules): New variable.
6138 (extra-objs): Add $(sln-modules:=.o).
6139 (ldconfig-modules): Add static-stubs.
6140 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
6141 * elf/static-stubs.c: New file.
6142
7a845b2c
JM
6143 [BZ #14283]
6144 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
6145 by 7 not 8 to examine high bit of fractional part. Use volatile
6146 variables when splitting into final array of floats if
6147 __FLT_EVAL_METHOD__ != 0.
6148 * math/libm-test.inc (cos_test): Add another test.
6149 (sin_test): Likewise.
6150 * sysdeps/i386/fpu/libm-test-ulps: Update.
6151
e2283f38
JM
6152 [BZ #14273]
6153 * math/libm-test.inc (cosh_test): Add more tests.
6154
370ca3d2
JM
6155 * version.h (RELEASE): Set to "development".
6156 (VERSION): Set to "2.16.90".
6157
ee9247c3
CD
61582012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
6159
6160 * NEWS: Update copyright. Remove last-updated date.
6161 Mention math library bug fixes and timezone data changes.
6162 * README: Mention GNU/Hurd, x32, and HPPA support status.
6163
4648c381
TS
61642012-06-28 Thomas Schwinge <thomas@codesourcery.com>
6165
6166 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
6167
aac78a43
AJ
61682012-06-27 Andreas Jaeger <aj@suse.de>
6169
6170 * manual/contrib.texi (Contributors): Add Samuel Thibault.
6171
ed3dbfad
AJ
61722012-06-25 Andreas Jaeger <aj@suse.de>
6173
6174 * sysdeps/s390/fpu/libm-test-ulps: Update.
6175
4d0ee855
AS
61762012-06-23 Andreas Schwab <schwab@linux-m68k.org>
6177 Thomas Schwinge <thomas@codesourcery.com>
6178
6179 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
6180 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
6181 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
6182 fanotify_mark.
6183
af1bce34
TS
61842012-06-23 Thomas Schwinge <thomas@codesourcery.com>
6185
a9fa33ba
TS
6186 * sysdeps/mach/start.c: Remove file.
6187 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
6188 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
6189 * sysdeps/sh/init-first.c: Likewise.
6190
58f902b8
TS
6191 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
6192 registers for frame unwinding purposes, add CFI directives.
6193 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6194 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
6195 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
6196 Likewise.
6197
1518f58b
TS
6198 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
6199 __fortify_fail returning.
6200 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6201
db9b5059
TS
6202 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
6203 sysdeps/sh/____longjmp_chk.S.
6204 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
6205 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
6206 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
6207 (gen-as-const-headers): Append sigaltstack-offsets.sym.
6208
967705fe
TS
6209 * sysdeps/sh/abort-instr.h: New file.
6210 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
6211 process in case exit returns.
6212
a9def8c4
TS
6213 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
6214 initialize the GOT register before use.
6215
2a649725
TS
6216 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
6217 calculation of ARGC > 4.
6218
af1bce34
TS
6219 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
6220 meaningful names to some local labels.
6221
d230f50a
KK
62222012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6223 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6224
6225 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
6226 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
6227 (__arch_compare_and_exchange_val_16_acq): Likewise.
6228 (__arch_compare_and_exchange_val_32_acq): Likewise.
6229 (atomic_exchange_and_add): Fix gUSA sequence.
6230 (atomic_add): Likewise.
6231 (atomic_add_negative): Likewise.
6232 (atomic_add_zero): Likewise.
6233 (atomic_bit_test_set): Likewise.
6234
0479b305
AS
62352012-06-22 Andreas Schwab <schwab@redhat.com>
6236
6237 [BZ #13579]
6238 * include/link.h (struct link_map): Add l_free_initfini.
6239 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
6240 l_initfini.
6241 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
6242 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
6243 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
6244 set.
6245
0e3933b9
CD
62462012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
6247
6248 * configure.in: Use AC_LANG_SOURCE.
6249 * configure: Regenerate.
6250
4248b1b1
RM
62512012-06-22 Roland McGrath <roland@hack.frob.com>
6252
6253 * configure.in (libc_cv_localstatedir): New substituted variable.
6254 * configure: Regenerated.
6255 * config.make.in (localstatedir): New variable, substituted from
6256 libc_cv_localstatedir.
6257 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
6258 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
6259 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
6260 * sysdeps/gnu/configure: Regenerated.
6261
006dd861
JL
62622012-06-21 Jeff Law <law@redhat.com>
6263
6264 [BZ #14277]
6265 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
6266 free. Simplify list management for _LIBC case.
6267
79662d42
JM
62682012-06-21 Joseph Myers <joseph@codesourcery.com>
6269
b7abb4bf
JM
6270 [BZ #14273]
6271 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
6272 Clear sign bit of 64-bit integer value before comparing against
6273 overflow value.
6274
79662d42
JM
6275 * sysdeps/mach/configure: Regenerated.
6276
1f150908
L
62772012-06-21 H.J. Lu <hongjiu.lu@intel.com>
6278
6279 [BZ #14278]
6280 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
6281
28363bbf
JL
62822012-06-21 Jeff Law <law@redhat.com>
6283
6284 [BZ #13882]
6285 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
6286 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 6287 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
6288 * elf/dl-open.c (dl_open_worker): Likewise.
6289
09615db4
CD
62902012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
6291
6292 * scripts/list-sources.sh: Scan PORTS for translations.
6293 * po/libc.pot: Regenerated.
6294
2174c6dd
AJ
62952012-06-21 Andreas Jaeger <aj@suse.de>
6296
6297 [BZ #12194]
6298 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
6299 warning.
6300 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
6301 * bits/byteswap-16.h (__bswap_16): Likewise.
6302 * bits/byteswap.h (__bswap_constant_16): Likewise.
6303
3ee947b1
L
63042012-06-18 H.J. Lu <hongjiu.lu@intel.com>
6305
6306 [BZ #14117]
a2f34833
L
6307 * sysdeps/i386/fpu_control.h: Removed.
6308 * sysdeps/x86_64/fpu_control.h: Moved to ...
6309 * sysdeps/x86/fpu_control.h: Here.
6310
3ee947b1
L
6311 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
6312 (_FPU_SETCW): Likewise.
6313
ed1825f8
L
63142012-06-15 H.J. Lu <hongjiu.lu@intel.com>
6315
25f1282a
L
6316 [BZ #14117]
6317 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
6318 * sysdeps/x86/fpu/bits/mathinline.h: This.
6319 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
6320
ed1825f8
L
6321 [BZ #14050]
6322 [BZ #14117]
6323 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
6324 functions if __x86_64__ is defined.
6325
36d54b74
CLT
63262012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
6327
6328 * string/endian.h: Add !__ASSEMBLER__ condition for including
6329 conversion interfaces.
6330
10285c21
JM
63312012-06-15 Joseph Myers <joseph@codesourcery.com>
6332
6333 [BZ #14241]
6334 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
6335 of ABS(x) in calculating zero to negative powers other than odd
6336 integers.
6337 * math/libm-test.inc (pow_test): Add more tests.
6338
06c5abbd
AJ
63392012-06-15 Andreas Jaeger <aj@suse.de>
6340
6341 * manual/contrib.texi (Contributors): Update entry of Liubov
6342 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
6343 Machado Filho.
6344
a3aeac40
CH
63452012-06-15 Cyril Hrubis <metan@ucw.cz>
6346
6347 * string/string.h: Add __wur to GNU version of strerror_r.
6348
49bdf4c1
L
63492012-06-14 H.J. Lu <hongjiu.lu@intel.com>
6350
6351 [BZ #14229]
6352 * string/Makefile (tests): Add tst-strtok_r.
6353 * string/tst-strtok_r.c: New file.
6354 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
6355 RAX_LP/RDX_LP on SAVE_PTR.
6356
834f9b8d
RM
63572012-06-14 Roland McGrath <roland@hack.frob.com>
6358
6359 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
6360
75fa1921
JM
63612012-06-14 Joseph Myers <joseph@codesourcery.com>
6362
6363 * libm_test.inc (csqrt_test): Allow more spurious underflow
6364 exceptions.
6365 (j0_test): Likewise.
6366 (j1_test): Likewise.
6367 (y0_test): Likewise.
6368 (y1_test): Likewise.
6369
771766df
CD
63702012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
6371
6372 * po/Makefile (libc.pot): Use UTF-8 charset.
6373
ceb9e56b
PP
63742012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
6375
6376 [BZ #14210]
6377 Suppress sign-conversion warning from FD_SET.
6378 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
6379 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
6380 not unsigned long int.
6381 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
6382
ddb28975
L
63832012-06-12 H.J. Lu <hongjiu.lu@intel.com>
6384
6385 [BZ #14050]
6386 [BZ #14117]
6387 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
6388 __extern_always_inline instead of __extern_inline.
6389 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
6390 (__signbit): Likewise.
6391 (__signbitl): Support C++ namespace.
6392 (lrintf): New inline function.
6393 (lrint): Likewise.
6394 (llrintf): Likewise.
6395 (llrint): Likewise.
6396 (fmaxf): Likewise.
6397 (fmax): Likewise.
6398 (fminf): Likewise.
6399 (fmin): Likewise.
6400 (rint): Likewise.
6401 (rintf): Likewise.
6402 (ceil): Likewise.
6403 (ceilf): Likewise.
6404 (floor): Likewise.
6405 (floorf): Likewise.
6406 (nearbyint): Likewise.
6407 (nearbyintf): Likewise.
6408
d7b4fb26
TS
64092012-06-12 Thomas Schwinge <thomas@codesourcery.com>
6410
6411 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
6412 non-default versions.
6413
eb55f5c2
RM
64142012-06-11 Roland McGrath <roland@hack.frob.com>
6415
6416 [BZ #14218]
6417 * manual/argp.texi (Argp): Reword argp_parse description slightly.
6418
366af02c
TS
64192012-06-09 Thomas Schwinge <thomas@codesourcery.com>
6420
99ff6e5c
TS
6421 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
6422 (FE_UPWARD, FE_DOWNWARD): Don't define.
6423 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
6424 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6425
366af02c
TS
6426 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
6427 reading it.
6428 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6429 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6430
793ea851
KK
64312012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6432
6433 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6434 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
6435 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
6436 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
6437
a728a38f
L
64382012-06-06 H.J. Lu <hongjiu.lu@intel.com>
6439
6440 [BZ #14117]
c08010c7
L
6441 * sysdeps/i386/fpu/bits/fenv.h: Removed.
6442 * sysdeps/i386/fpu/Implies: New file.
6443 * sysdeps/x86_64/fpu/Implies: Likewise.
6444 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
6445 * sysdeps/x86/fpu/bits/fenv.h: This.
6446
a728a38f
L
6447 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
6448 __SSE_MATH__.
6449
6e230d11
SP
64502012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6451
6452 [BZ #14134]
6453 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
6454 character 0xffff that matches the last element of the
6455 conversion table.
6456
1b671feb
AZ
64572012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6458
6459 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
6460 fmodl commit.
6461
6043738b
AZ
64622012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6463
6464 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
6465 values higher than 25.6283.
6466
34ae0b32
AZ
64672012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6468
6469 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
6470 subnormal exponent extraction and add some __builtin_expect.
6471 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
6472 Fix for subnormal mantissa calculation.
6473
1214ec8f
MF
64742012-06-04 Mike Frysinger <vapier@gentoo.org>
6475
6476 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
6477 cpu2 is -1 and errno is not ENOSYS.
6478
f3d1f93c
L
64792012-06-04 H.J. Lu <hongjiu.lu@intel.com>
6480
6481 [BZ #14117]
0e4a3cd7
L
6482 * sysdeps/i386/i486/bits/string.h: Renamed to ...
6483 * sysdeps/x86/bits/string.h: This.
6484 * sysdeps/x86_64/bits/string.h: Removed.
6485
6704c645
L
6486 * sysdeps/i386/i486/bits/string.h: Define inline functions only
6487 if not compiling for x86-64, but compiling for >= i486.
6488
48495318
L
6489 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
6490 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
6491
14adcbfc
L
6492 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
6493 New macro from Linux kernel 3.4.0.
6494 (FP_XSTATE_MAGIC2): Likewise.
6495 (FP_XSTATE_MAGIC2_SIZE): Likewise.
6496 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
6497 (struct _fpx_sw_bytes): New struct.
6498 (struct _xsave_hdr): Likewise.
6499 (struct _ymmh_state): Likewise.
6500 (struct _xstate): Likewise.
6501
68e408ab
L
6502 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
6503 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
6504 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
6505 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
6506 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
6507 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
6508
f3d1f93c
L
6509 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
6510 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
6511 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
6512 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
6513 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
6514 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
6515
d9dc34cd
TMQMF
65162012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6517
6518 [BZ #13743]
6519 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
6520 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
6521 (sysdep_headers): Include sys/platform/ppc.h.
6522 * sysdeps/powerpc/test-gettimebase.c: Test for
6523 __ppc_get_timebase() to catch future ISA opcode/insn changes.
6524 * manual/Makefile (appendices): Include platform.texi.
6525 * manual/contrib.texi (Contributors): Update @node pointers.
6526 * manual/maint.texi (Maintenance): Likewise.
6527 (Platform): New node.
6528 * manual/platform.texi: New file. Document the new features.
6529
4af3879c
SP
65302012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6531 Jakub Jelinek <jakub@redhat.com>
6532
6533 [BZ #14188]
6534 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
6535 where __builtin_expect is unavailable.
6536
2fd6ff13
DM
65372012-06-03 David S. Miller <davem@davemloft.net>
6538
6539 * stdlib/longlong.h: Updated from GCC.
6540
173f7220
AS
65412012-06-02 Andreas Schwab <schwab@linux-m68k.org>
6542
6543 [BZ #14042]
6544 * sysdeps/powerpc/powerpc32/mcount.c: New file.
6545 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
6546 __mcount_internal.
6547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6548 (GLIBC_2.16): Likewise.
6549
f34a1c6f
L
65502012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6551
6552 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
6553
88a4576f
JM
65542012-06-01 Joseph Myers <joseph@codesourcery.com>
6555
ea32bcdd
JM
6556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
6557 (default-abi): New variable.
6558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
6559 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
6560 variable.
6561 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
6562 Likewise.
6563 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
6564 Likewise.
6565 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
6566 Likewise.
6567
88a4576f
JM
6568 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
6569 definition. Document in comment.
6570
402fe938
DM
65712012-06-01 David S. Miller <davem@davemloft.net>
6572
6573 * stdlib/longlong.h: Updated from GCC.
6574
3553723f
L
65752012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6576
6577 [BZ #14117]
3bd872c4
L
6578 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
6579 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
6580 sys/debugreg.h sys/io.h here.
6581 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
6582 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
6583 sys/io.h.
6584 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
6585 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
6586 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
6587 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
6588 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
6589 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
6590
3553723f
L
6591 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
6592 Define only if __x86_64__ is defined.
6593
4842e4fe
JM
65942012-06-01 Joseph Myers <joseph@codesourcery.com>
6595
c5bfe3d5
JM
6596 [BZ #14048]
6597 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
6598 Use int64_t for variable i.
6599 * math/libm-test.inc (fmod_test): Add more tests.
6600
4842e4fe
JM
6601 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
6602 z computation is not scheduled after fetestexcept.
6603 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
6604 Use math_force_eval instead of asm to ensure calculation scheduled
6605 before exception test.
6606 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
6607 Ensure a1 + u.d computation is not scheduled after fetestexcept.
6608
efb73488
AJ
66092012-06-01 Aurelien Jarno <aurelien@aurel32.net>
6610
6611 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
6612 computation is not scheduled after fetestexcept.
6613
29bcce7c
L
66142012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6615
6616 [BZ #14117]
6617 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
6618 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
6619
73a68f94
AZ
66202012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6621
6622 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
6623 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6624
67b6df78
L
66252012-05-31 H.J. Lu <hongjiu.lu@intel.com>
6626
edf2933a 6627 [BZ #14117]
ebc64a18
L
6628 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
6629 <bits/wordsize.h>.
6630 (__WCHAR_MIN): Support __WORDSIZE == 64.
6631 (__WCHAR_MAX): Likewise.
6632
edf2933a
L
6633 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
6634 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
6635
57c6cf40
L
6636 [BZ #14183]
6637 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
6638 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
6639
67b6df78 6640 [BZ #14117]
8eb6281e
L
6641 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
6642 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
6643
aac639f4
L
6644 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
6645 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
6646
67b6df78
L
6647 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
6648 Defined to 1 if __x86_64__ isn't defined.
6649 (_STAT_VER_LINUX_OLD): New.
6650 (st_atime): Remove duplicate.
6651 (st_mtime): Likewise.
6652 (st_ctime): Likewise.
6653
1c2cfe81
DM
66542012-05-31 David S. Miller <davem@davemloft.net>
6655
6656 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
6657 entries.
6658
5be8418c
AS
66592012-06-01 Andreas Schwab <schwab@linux-m68k.org>
6660
e7725326
AS
6661 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
6662 gen-libm-test.pl.
6663
5be8418c
AS
6664 [BZ #14132]
6665 * elf/dl-reloc.c: Include <_itoa.h>.
6666 (_dl_reloc_bad_type): Remove use of INTUSE.
6667 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
6668 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
6669 * stdio-common/psiginfo.c (psiginfo): Likewise.
6670 * stdio-common/psignal.c (psignal): Likewise.
6671 * string/strsignal.c (strsignal): Likewise.
6672 * include/signal.h (_sys_siglist): Declare hidden proto.
6673 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
6674 INTVARDEF with libc_hidden_data_def.
6675 * stdio-common/itoa-udigits.c: Likewise.
6676 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
6677 (_itoa_lower_digits_internal): Remove declaration.
6678 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
6679 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
6680 (_sys_sigabbrev_internal): Remove aliases.
6681 (_sys_siglist): Define hidden alias.
6682
507352f1
MT
66832012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
6684
6685 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6686 bits/sysctl.h.
6687
42bbb1c3
L
66882012-05-31 H.J. Lu <hongjiu.lu@intel.com>
6689
6690 [BZ #14117]
6bd784b6
L
6691 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
6692 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
6693
8bca20f0
L
6694 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
6695 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
6696 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
6697 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
6698 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
6699 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
6700
f9e890a9
L
6701 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
6702 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
6703 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
6704
471101a1
L
6705 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
6706 with __addr.
6707 (insw): Likewise.
6708 (insl): Likewise.
6709 (outsb): Likewise.
6710 (outsw): Likewise.
6711 (outsl): Likewise.
6712
6451c862
L
6713 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
6714 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
6715 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
6716
a254b8c9
L
6717 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
6718 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
6719 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
6720 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
6721 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
6722 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
6723
b8dfdd92
L
6724 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
6725 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
6726
578cd270
L
6727 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
6728 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
6729
de662f5f
L
6730 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
6731 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
6732 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
6733
25653439
L
6734 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
6735 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
6736 to ...
6737 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
6738
6bad24a0
L
6739 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
6740 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
6741 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
6742
42bbb1c3
L
6743 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
6744 for x86-64.
6745 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
6746
2d10d547
JM
67472012-05-31 Joseph Myers <joseph@codesourcery.com>
6748
6749 * math/math.h (M_El): Use two more decimal places.
6750 (M_LOG2El): Likewise.
6751 (M_LOG10El): Likewise.
6752 (M_LN2l): Likewise.
6753 (M_LN10l): Likewise.
6754 (M_PIl): Likewise.
6755 (M_PI_2l): Likewise.
6756 (M_PI_4l): Likewise.
6757 (M_1_PIl): Likewise.
6758 (M_2_PIl): Likewise.
6759 (M_2_SQRTPIl): Likewise.
6760 (M_SQRT2l): Likewise.
6761 (M_SQRT1_2l): Likewise.
6762
f230c29b
DM
67632012-05-31 David S. Miller <davem@davemloft.net>
6764
6765 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
6766 values between float registers.
6767 * sysdeps/sparc/sparc64/memset.S: Likewise.
6768 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6769
fed806c3
MF
67702012-05-31 Mike Frysinger <vapier@gentoo.org>
6771
6772 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
6773 -D_FORTIFY_SOURCE=1.
6774 (CPPFLAGS-tst-longjmp_chk.c): Define.
6775 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
6776 (CPPFLAGS-tst-longjmp_chk2.c): Define.
6777 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
6778 CFLAGS-tst-wchar-h.c.
6779
30917259
MP
67802012-05-31 Marek Polacek <polacek@redhat.com>
6781
6782 [BZ #14132]
6783 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
6784 __endmntent_internal): Remove declaration.
6785 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
6786 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
6787 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
6788
1c58d5dc
DM
67892012-05-30 David S. Miller <davem@davemloft.net>
6790
6791 * sysdeps/sparc/sparc32/soft-fp/q_util.c
6792 (___Q_simulate_exceptions): Use real FP ops rather than writing
6793 into the %fsr.
6794 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
6795 Likewise.
6796
7dc00e0d
L
67972012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6798
6799 [BZ #14117]
0bd53985
L
6800 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
6801 * sysdeps/x86/bits/xtitypes.h: This.
6802
3a257e66
L
6803 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
6804 * sysdeps/x86/bits/wordsize.h: This.
6805
62f62904
L
6806 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
6807 * sysdeps/x86/bits/huge_vall.h: This.
6808
404fe9d9
L
6809 * sysdeps/i386/bits/select.h: Removed.
6810 * sysdeps/x86_64/bits/select.h: Renamed to ...
6811 * sysdeps/x86/bits/select.h: This.
6812
d48d0446
L
6813 * sysdeps/i386/bits/setjmp.h: Removed.
6814 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
6815 * sysdeps/x86/bits/setjmp.h: This.
6816
7dc00e0d
L
6817 * sysdeps/i386/bits/mathdef.h: Removed.
6818 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
6819 * sysdeps/x86/bits/mathdef.h: This.
6820
03277f8f
AS
68212012-05-30 Andreas Schwab <schwab@linux-m68k.org>
6822
6823 [BZ #14132]
6824 * include/sys/socket.h (__connect_internal)
6825 (__libc_sa_len_internal): Remove declaration.
6826 (__connect, __libc_sa_len): Declare hidden_proto.
6827 (SA_LEN): Remove use of INTUSE.
6828 * socket/connect.c: Add libc_hidden_def.
6829 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
6830 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
6831 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
6832 alias.
6833 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
6834 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6835 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
6836 of adding _internal alias.
6837
13764867
L
68382012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6839
6840 [BZ #14117]
6bd97696
L
6841 * sysdeps/i386/bits/link.h: Removed.
6842 * sysdeps/i386/bits/linkmap.h: Likewise.
6843 * sysdeps/x86_64/bits/link.h: Renamed to ...
6844 * sysdeps/x86/bits/link.h: This.
6845 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
6846 * sysdeps/x86/bits/linkmap.h: This.
6847
f726f0bb
L
6848 * sysdeps/i386/bits/endian.h: Removed.
6849 * sysdeps/x86_64/bits/endian.h: Renamed to ...
6850 * sysdeps/x86/bits/endian.h: This.
6851
13764867
L
6852 * sysdeps/i386/bits/byteswap.h: Removed.
6853 * sysdeps/i386/bits/byteswap-16.h: Likewise.
6854 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
6855 * sysdeps/x86/bits/byteswap.h: This.
6856 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
6857 * sysdeps/x86/bits/byteswap-16.h: This.
6858 * sysdeps/i386/Implies: Add x86.
6859 * sysdeps/x86_64/Implies: Likewise.
6860
ae251b0b
DM
68612012-05-30 David S. Miller <davem@davemloft.net>
6862
6863 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
6864 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
6865 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
6866 (FP_TRAPPING_EXCEPTIONS): Define.
6867 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
6868 (FP_TRAPPING_EXCEPTIONS): Define.
6869 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
6870 subnormals only when inexact has been signalled or underflow
6871 exceptions are enabled.
6872 (_FP_PACK_CANONICAL): Likewise.
6873
d5c90867
L
68742012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6875
6876 [BZ #14183]
6877 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
6878 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
6879
63f1549e
RH
68802012-05-30 Richard Henderson <rth@twiddle.net>
6881
8d8f2279
RH
6882 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
6883 with #ifndef NOT_IN_libc.
6884
63f1549e
RH
6885 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
6886 marked to avoid plt entry.
6887
0ab0291b
L
68882012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6889
6890 [BZ #14112]
6891 * Makeconfig (default-abi): New macro.
6892 (abi-includes): Likewise.
6893 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
6894 $(abi-$(default-abi)-lib-soname) for soname if defined.
6895 ($(common-objpfx)gnu/lib-names.stmp): Generate from
6896 abi-variants.
6897 * Makefile (installed-stubs): Likewise.
6898 * include/stubs-biarch.h: Removed.
6899 * scripts/lib-names.awk: Only handle one library at a time.
6900 * scripts/soversions.awk: Remove WORDSIZE support.
6901 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
6902 entries.
6903 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
6904 Removed.
6905 (syscall-list-default-condition): Likewise.
6906 (syscall-list-default-condition): Likewise.
6907 (syscall-list-includes): Likewise.
6908 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
6909 syscall-list-* with abi-*. Handle undefined abi-variants.
6910 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
6911 * sysdeps/unix/sysv/linux/i386/Implies: New file.
6912 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
6913 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
6914 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
6915 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
6916 Removed.
6917 (syscall-list-32-options): Likewise.
6918 (syscall-list-32-condition): Likewise.
6919 (syscall-list-64-options): Likewise.
6920 (syscall-list-64-condition): Likewise.
6921 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
6922 macro.
6923 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
6924 Renamed to ...
6925 (abi-*): This.
6926 (abi-64-ld-soname): New macro.
6927 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
6928 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
6929 Renamed to ...
6930 (abi-*): This.
6931 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
6932 * sysdeps/x86_64/x32/shlib-versions: Likewise.
6933
4da0431d
JM
69342012-05-30 Joseph Myers <joseph@codesourcery.com>
6935
3a85279c
JM
6936 * sysdeps/unix/sysv/linux/kernel-features.h
6937 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
6938 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
6939 include <kernel-features.h>.
6940 [!__NR_ftruncate64]: Remove conditional code.
6941 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6942 [__NR_ftruncate64]: Make code unconditional.
6943 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6944 * sysdeps/unix/sysv/linux/truncate64.c: Do not
6945 include <kernel-features.h>.
6946 [!__NR_ftruncate64]: Remove conditional code.
6947 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6948 [__NR_ftruncate64]: Make code unconditional.
6949 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
6951 include <kernel-features.h>.
6952 [!__NR_ftruncate64]: Remove conditional code.
6953 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6954 [__NR_ftruncate64]: Make code unconditional.
6955 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
6957 include <kernel-features.h>.
6958 [!__NR_ftruncate64]: Remove conditional code.
6959 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6960 [__NR_ftruncate64]: Make code unconditional.
6961 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6962
4da0431d
JM
6963 * configure.in (libc_cv_fpie): Weaken to a compile test using
6964 LIBC_TRY_CC_OPTION.
6965 * configure: Regenerated.
6966
11ef492c
AK
69672012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6968
6969 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
6970 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
6971 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
6972 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6973 Refreshed.
6974 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
6975 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
6976 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
6977 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
6978 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
6979 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6980 Refreshed.
6981
d66ef399
DM
69822012-05-27 David S. Miller <davem@davemloft.net>
6983
6984 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
6985 (___Q_zero): New.
6986 (__Q_simulate_exceptions): Return void. Change to simulate
6987 exceptions by writing into the %fsr.
6988 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
6989 (__Qp_handle_exceptions): Likewise.
6990 (numbers): Delete.
6991 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
6992 __Qp_handle_exceptions.
6993 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
6994 __Qp_handle_exceptions.
6995 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
6996 as unused and give dummy FP_RND_NEAREST initializer.
6997 (FP_INHIBIT_RESULTS): Define.
6998 (___Q_simulate_exceptions): Update declaration.
6999 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
7000 formatting.
7001 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7002 as unused and give dummy FP_RND_NEAREST initializer.
7003 (__Qp_handle_exceptions): Update declaration.
7004 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
7005 formatting.
7006
04fb54b5
TS
70072012-05-27 Thomas Schwinge <thomas@codesourcery.com>
7008
7009 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
7010 the temporary FPU control word.
7011 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7012 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
7013 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7014 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7015 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7016 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7017 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7018 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7019 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7020 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
7021 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7022
3f99608f
KK
70232012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7024
7025 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
7026 fields.
7027
65a4de4e
CLT
70282012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
7029
7030 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
7031 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
7032 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
7033 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
7034 Likewise.
7035 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
7036 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
7037 Likewise.
7038
15749d40
UD
70392012-05-27 Ulrich Drepper <drepper@gmail.com>
7040
7041 * po/h.po: Update from translation team.
7042
25dbcb27
AS
70432012-05-26 Andreas Schwab <schwab@linux-m68k.org>
7044
3d3f8e55
AS
7045 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
7046
25dbcb27
AS
7047 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
7048 handling of denormals.
7049 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7050 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7051 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7052 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7053 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7054 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
7055 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
7056 Likewise.
7057
7ad47a80 70582012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
7059
7060 [BZ #14152]
7061 * math/libm-test.inc (fma_test): Don't always expect underflow
7062 exception.
7063
9c6ea9fa
SP
70642012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7065
7066 [BZ #12416]
7067 * elf/tst-execstack.c: Include stackinfo.h.
7068 (do_test): Adjust test case to ensure that pthread_getattr_np
7069 behaviour remains the same after marking stack executable.
7070
a8239222
JM
70712012-05-25 Joseph Myers <joseph@codesourcery.com>
7072
7073 * sysdeps/unix/sysv/linux/kernel-features.h
7074 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
7075 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
7076 kernel-features.h.
7077 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7078 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7079 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
7080 kernel-features.h.
7081 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7082 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7083
918b5606
L
70842012-05-25 H.J. Lu <hongjiu.lu@intel.com>
7085
7086 * configure.in: Define the default includes to being none.
7087 * configure: Regenerated.
7088
3a097cc7
RM
70892012-05-25 Roland McGrath <roland@hack.frob.com>
7090
8422c9a5
RM
7091 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
7092 * sysdeps/x86_64/setjmp.S: Likewise.
7093 * sysdeps/i386/bsd-setjmp.S: Likewise.
7094 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7095 * sysdeps/i386/setjmp.S: Likewise.
7096 * sysdeps/i386/__longjmp.S: Likewise.
7097 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7098 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
7099
3a097cc7
RM
7100 * include/stap-probe.h: New file.
7101 * configure.in: Handle --enable-systemtap.
7102 * configure: Regenerated.
7103 * config.h.in (USE_STAP_PROBE): New #undef.
7104 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
7105 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
7106 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7107
21708942
JM
71082012-05-25 Joseph Myers <joseph@codesourcery.com>
7109
7110 [BZ #13717]
7111 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
7112 to 2.4.0 where earlier.
7113 * sysdeps/unix/sysv/linux/configure: Regenerated.
7114 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7115 <kernel-features.h>.
7116 [__ASSUME_32BITUIDS]: Make code unconditional.
7117 [!__ASSUME_32BITUIDS]: Remove conditional code.
7118 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
7119 <kernel-features.h>.
7120 [__ASSUME_32BITUIDS]: Make code unconditional.
7121 [!__ASSUME_32BITUIDS]: Remove conditional code.
7122 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
7123 [__ASSUME_32BITUIDS]: Make code unconditional.
7124 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
7125 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
7126 <kernel-features.h>.
7127 [__ASSUME_32BITUIDS]: Make code unconditional.
7128 [!__ASSUME_32BITUIDS]: Remove conditional code.
7129 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
7130 <kernel-features.h>.
7131 [__ASSUME_32BITUIDS]: Make code unconditional.
7132 [!__ASSUME_32BITUIDS]: Remove conditional code.
7133 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
7134 <kernel-features.h>.
7135 [__ASSUME_32BITUIDS]: Make code unconditional.
7136 [!__ASSUME_32BITUIDS]: Remove conditional code.
7137 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
7138 <kernel-features.h>.
7139 [__ASSUME_32BITUIDS]: Make code unconditional.
7140 [!__ASSUME_32BITUIDS]: Remove conditional code.
7141 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7142 <kernel-features.h>.
7143 [__ASSUME_32BITUIDS]: Make code unconditional.
7144 [!__ASSUME_32BITUIDS]: Remove conditional code.
7145 * sysdeps/unix/sysv/linux/i386/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
7166 <kernel-features.h>.
7167 [__NR_setresgid] (__setresgid): Do not declare.
7168 [__ASSUME_32BITUIDS]: Make code unconditional.
7169 [!__ASSUME_32BITUIDS]: Remove conditional code.
7170 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
7171 <kernel-features.h>.
7172 [__NR_setresuid] (__setresuid): Do not declare.
7173 [__ASSUME_32BITUIDS]: Make code unconditional.
7174 [!__ASSUME_32BITUIDS]: Remove conditional code.
7175 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
7176 <kernel-features.h>.
7177 [__ASSUME_32BITUIDS]: Make code unconditional.
7178 [!__ASSUME_32BITUIDS]: Remove conditional code.
7179 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
7180 <kernel-features.h>.
7181 [__ASSUME_32BITUIDS]: Make code unconditional.
7182 [!__ASSUME_32BITUIDS]: Remove conditional code.
7183 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
7184 <kernel-features.h>.
7185 [__ASSUME_32BITUIDS]: Make code unconditional.
7186 [!__ASSUME_32BITUIDS]: Remove conditional code.
7187 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
7188 <kernel-features.h>.
7189 [__ASSUME_32BITUIDS]: Make code unconditional.
7190 [!__ASSUME_32BITUIDS]: Remove conditional code.
7191 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
7192 <kernel-features.h>.
7193 [__ASSUME_32BITUIDS]: Make code unconditional.
7194 [!__ASSUME_32BITUIDS]: Remove conditional code.
7195 * sysdeps/unix/sysv/linux/i386/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
7216 (__ASSUME_SETRESUID_SYSCALL): Remove.
7217 (__ASSUME_SETRESGID_SYSCALL): Likewise.
7218 (__ASSUME_32BITUIDS): Likewise.
7219 (__ASSUME_LDT_WORKS): Likewise.
7220 (__ASSUME_O_DIRECTORY): Likewise.
7221 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
7222 architecture but not kernel version.
7223 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7224 (__ASSUME_MMAP2_SYSCALL): Likewise.
7225 (__ASSUME_STAT64_SYSCALL): Likewise.
7226 (__ASSUME_IPC64): Likewise.
7227 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
7228 <kernel-features.h>.
7229 [__ASSUME_32BITUIDS]: Make code unconditional.
7230 [!__ASSUME_32BITUIDS]: Remove conditional code.
7231 * sysdeps/unix/sysv/linux/opendir.c: Do not include
7232 <kernel-features.h>.
7233 [__ASSUME_O_DIRECTORY]: Make code unconditional.
7234 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
7235 132096]: Remove conditional code.
7236 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
7237 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7238 <kernel-features.h>.
7239 [__ASSUME_32BITUIDS]: Make code unconditional.
7240 [!__ASSUME_32BITUIDS]: Remove conditional code.
7241 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7242 <kernel-features.h>.
7243 [__ASSUME_32BITUIDS]: Make code unconditional.
7244 [!__ASSUME_32BITUIDS]: Remove conditional code.
7245 * sysdeps/unix/sysv/linux/setegid.c: Do not include
7246 <kernel-features.h>.
7247 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
7248 unconditional.
7249 (__setresgid): Do not declare.
7250 [__ASSUME_32BITUIDS]: Make code unconditional.
7251 [!__ASSUME_32BITUIDS]: Remove conditional code.
7252 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
7253 <kernel-features.h>.
7254 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
7255 unconditional.
7256 (__setresuid): Do not declare.
7257 [__ASSUME_32BITUIDS]: Make code unconditional.
7258 [!__ASSUME_32BITUIDS]: Remove conditional code.
7259 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7260 <kernel-features.h>.
7261 [__ASSUME_32BITUIDS]: Make code unconditional.
7262 [!__ASSUME_32BITUIDS]: Remove conditional code.
7263 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
7264 <kernel-features.h>.
7265 [__ASSUME_32BITUIDS]: Make code unconditional.
7266 [!__ASSUME_32BITUIDS]: Remove conditional code.
7267
a386f1cc
RH
72682012-05-25 Richard Henderson <rth@twiddle.net>
7269
7270 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
7271 dl_hwcap to ifunc resolver.
7272 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
7273 elf_ifunc_invoke.
7274 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
7275 dl_hwcap to ifunc resolver.
7276 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
7277
b6550497
JM
72782012-05-24 Joseph Myers <joseph@codesourcery.com>
7279
7280 [BZ #14153]
7281 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
7282 for |x| <= 2**-26, not 2**-57.
7283 * math/libm-test.inc (acos_test): Do not allow spurious underflow
7284 exception.
7285
b0bc23a1
JL
72862012-05-24 Jeff Law <law@redhat.com>
7287
7288 * stdio-common/Makefile (tests): Add bug25.
7289 * stdio-common/bug25.c: New test.
7290
347c92e9
L
72912012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7292
7293 [BZ #13576]
7294 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
7295 multiple of MALLOC_ALIGNMENT in size.
7296 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
7297
6bcc8b3f
JM
72982012-05-24 Joseph Myers <joseph@codesourcery.com>
7299
7300 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
7301 Require >= 256.
7302 (FILENAME_MAX): Use macro-int-constant.
7303 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
7304 (_IOFBF): Use macro-int-constant.
7305 (_IOLBF): Likewise.
7306 (_IONBF): Likewise.
7307 (SEEK_CUR): Likewise.
7308 (SEEK_END): Likewise.
7309 (SEEK_SET): Likewise.
7310 (TMP_MAX): Likewise.
7311 (EOF): Use macro-int-constant. Require < 0.
7312 (NULL): Use macro-constant. Require == 0.
7313 (stdin): Require type to be FILE *.
7314 (stdout): Likewise.
7315 (stderr): Likewise.
7316 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
7317 macro-int-constant.
7318 (EXIT_SUCCESS): Likewise.
7319 (NULL): Use macro-constant. Require == 0.
7320 (RAND_MAX): Use macro-int-constant.
7321 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
7322 [C99-based standards] (strtof): Require function.
7323 [C99-based standards] (strtold): Likewise.
7324 [C99-based standards] (strtoll): Likewise.
7325 [C99-based standards] (strtoull): Likewise.
7326 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7327 [ISO || ISO99 || ISO11] (limits.h): Likewise.
7328 [ISO || ISO99 || ISO11] (math.h): Likewise.
7329 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
7330 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7331 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7332
d18ea0c5
AS
73332012-05-24 Andreas Schwab <schwab@linux-m68k.org>
7334
7335 [BZ #14132]
56d25bb8
AS
7336 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
7337 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
7338 * intl/dgettext.c (DCGETTEXT): Likewise.
7339 * intl/gettext.c (DCGETTEXT): Likewise.
7340 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
7341 * posix/regex_internal.h (gettext): Likewise.
7342 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
7343 Remove declaration.
7344 * include/argz.h (__argz_count_internal)
7345 (__argz_stringify_internal): Remove declaration.
7346 (__argz_count, __argz_stringify): Declare hidden proto.
7347 * intl/dcgettext.c: Remove use of INTDEF.
7348 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
7349 * string/argz-stringify.c: Likewise.
7350 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7351 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7352 Declare hidden proto.
d18ea0c5
AS
7353 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7354 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7355 Declare hidden proto.
7356 * include/stdio.h (__asprintf_internal): Don't declare.
7357 (__asprintf): Don't define as macro. Declare hidden proto.
7358 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
7359 (__fsetlocking): Declare hidden proto.
7360 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
7361 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
7362 hidden proto.
7363 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
7364 (_IO_setlinebuf): Remove use of INTUSE.
7365 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
7366 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
7367 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
7368 Remove declaration.
7369 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
7370 (_IO_do_flush): Remove use of INTUSE.
7371 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
7372 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
7373 (_IO_adjust_column, _IO_least_wmarker)
7374 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
7375 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
7376 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
7377 (_IO_default_doallocate, _IO_wdefault_doallocate)
7378 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
7379 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
7380 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
7381 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
7382 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
7383 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
7384 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
7385 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
7386 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
7387 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
7388 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
7389 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
7390 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
7391 proto.
7392 (_IO_flush_all_internal, _IO_adjust_column_internal)
7393 (_IO_default_uflow_internal, _IO_default_finish_internal)
7394 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
7395 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
7396 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
7397 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
7398 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
7399 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
7400 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
7401 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
7402 (_IO_file_close_internal, _IO_file_close_it_internal)
7403 (_IO_file_underflow_internal, _IO_file_overflow_internal)
7404 (_IO_file_init_internal, _IO_file_attach_internal)
7405 (_IO_file_fopen_internal, _IO_file_read_internal)
7406 (_IO_file_sync_internal, _IO_file_seek_internal)
7407 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
7408 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
7409 (_IO_str_underflow_internal, _IO_str_overflow_internal)
7410 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
7411 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
7412 (_IO_list_all_internal, _IO_link_in_internal)
7413 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
7414 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
7415 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
7416 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
7417 (_IO_do_write_internal, _IO_padn_internal)
7418 (_IO_getline_info_internal, _IO_getline_internal)
7419 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
7420 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
7421 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
7422 (_IO_vfscanf_internal, _IO_vfprintf_internal)
7423 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
7424 (_IO_init_internal, _IO_un_link_internal): Don't declare.
7425 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
7426 with libc_hidden_ver, remove use of INTUSE.
7427 * libio/genops.c: Likewise.
7428 * libio/freopen.c: Likewise.
7429 * libio/freopen64.c: Likewise.
7430 * libio/iofclose.c: Likewise.
7431 * libio/iofdopen.c: Likewise.
7432 * libio/iofflush.c: Likewise.
7433 * libio/iofflush_u.c: Likewise.
7434 * libio/iofgets.c: Likewise.
7435 * libio/iofgets_u.c: Likewise.
7436 * libio/iofopen.c: Likewise.
7437 * libio/iofopncook.c: Likewise.
7438 * libio/iofread.c: Likewise.
7439 * libio/iofread_u.c: Likewise.
7440 * libio/ioftell.c: Likewise.
7441 * libio/iofwrite.c: Likewise.
7442 * libio/iogetline.c: Likewise.
7443 * libio/iogets.c: Likewise.
7444 * libio/iogetwline.c: Likewise.
7445 * libio/iopadn.c: Likewise.
7446 * libio/iopopen.c: Likewise.
7447 * libio/ioseekoff.c: Likewise.
7448 * libio/ioseekpos.c: Likewise.
7449 * libio/iosetbuffer.c: Likewise.
7450 * libio/iosetvbuf.c: Likewise.
7451 * libio/ioungetc.c: Likewise.
7452 * libio/ioungetwc.c: Likewise.
7453 * libio/iovdprintf.c: Likewise.
7454 * libio/iovsprintf.c: Likewise.
7455 * libio/iovsscanf.c: Likewise.
7456 * libio/memstream.c: Likewise.
7457 * libio/obprintf.c: Likewise.
7458 * libio/oldfileops.c: Likewise.
7459 * libio/oldiofclose.c: Likewise.
7460 * libio/oldiofdopen.c: Likewise.
7461 * libio/oldiofopen.c: Likewise.
7462 * libio/oldiopopen.c: Likewise.
7463 * libio/oldstdfiles.c: Likewise.
7464 * libio/putc.c: Likewise.
7465 * libio/setbuf.c: Likewise.
7466 * libio/setlinebuf.c: Likewise.
7467 * libio/stdfiles.c: Likewise.
7468 * libio/strops.c: Likewise.
7469 * libio/vasprintf.c: Likewise.
7470 * libio/vscanf.c: Likewise.
7471 * libio/vsnprintf.c: Likewise.
7472 * libio/vswprintf.c: Likewise.
7473 * libio/wfiledoalloc.c: Likewise.
7474 * libio/wfileops.c: Likewise.
7475 * libio/wgenops.c: Likewise.
7476 * libio/wmemstream.c: Likewise.
7477 * libio/wstrops.c: Likewise.
7478 * libio/__fpurge.c: Likewise.
7479 * libio/__fsetlocking.c: Likewise.
7480 * assert/assert.c: Likewise.
7481 * debug/fgets_chk.c: Likewise.
7482 * debug/fgets_u_chk.c: Likewise.
7483 * debug/fread_chk.c: Likewise.
7484 * debug/fread_u_chk.c: Likewise.
7485 * debug/gets_chk.c: Likewise.
7486 * debug/obprintf_chk.c: Likewise.
7487 * debug/vasprintf_chk.c: Likewise.
7488 * debug/vdprintf_chk.c: Likewise.
7489 * debug/vsnprintf_chk.c: Likewise.
7490 * debug/vsprintf_chk.c: Likewise.
7491 * malloc/mtrace.c: Likewise.
7492 * misc/error.c: Likewise.
7493 * misc/syslog.c: Likewise.
7494 * stdio-common/asprintf.c: Likewise.
7495 * stdio-common/fxprintf.c: Likewise.
7496 * stdio-common/getw.c: Likewise.
7497 * stdio-common/isoc99_fscanf.c: Likewise.
7498 * stdio-common/isoc99_scanf.c: Likewise.
7499 * stdio-common/isoc99_vfscanf.c: Likewise.
7500 * stdio-common/isoc99_vscanf.c: Likewise.
7501 * stdio-common/isoc99_vsscanf.c: Likewise.
7502 * stdio-common/printf-prs.c: Likewise.
7503 * stdio-common/printf_fp.c: Likewise.
7504 * stdio-common/printf_fphex.c: Likewise.
7505 * stdio-common/printf_size.c: Likewise.
7506 * stdio-common/putw.c: Likewise.
7507 * stdio-common/scanf.c: Likewise.
7508 * stdio-common/sprintf.c: Likewise.
7509 * stdio-common/tmpfile.c: Likewise.
7510 * stdio-common/vfprintf.c: Likewise.
7511 * stdio-common/vfscanf.c: Likewise.
7512 * stdlib/strfmon_l.c: Likewise.
7513 * sunrpc/openchild.c: Likewise.
7514 * sunrpc/xdr_stdio.c: Likewise.
7515 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
7516 * sysdeps/mach/hurd/tmpfile.c: Likewise.
7517
d6c33fda
RM
75182012-05-24 Roland McGrath <roland@hack.frob.com>
7519
c1487492
RM
7520 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7521
7522 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
7523 in the third column, to generate for the shared library an IFUNC
7524 that uses _dl_vdso_vsym.
7525 * Makerules (COMPILE.c, compile-stdin.c): New variables.
7526 * Makeconfig (object-suffixes-noshared): New variable.
7527
7528 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
7529 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
7530 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
7531 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
7532
d6c33fda
RM
7533 [BZ #14132]
7534 * include/sys/time.h (__gettimeofday): Remove macro.
7535 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
7536 * time/gettimeofday.c (__gettimeofday): Remove #undef.
7537 Remove INTDEF.
7538 (__gettimeofday): Add libc_hidden_def.
7539 (gettimeofday): Add libc_hidden_weak.
7540 * sysdeps/mach/gettimeofday.c: Likewise.
7541 * sysdeps/posix/gettimeofday.c: Likewise.
7542 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
7543 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
7544 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
7545 (__gettimeofday_internal): Remove strong_alias.
7546 (__gettimeofday): Add libc_hidden_def.
7547 (gettimeofday): Add libc_hidden_weak.
7548 * sysdeps/unix/syscalls.list (gettimeofday):
7549 Remove __gettimeofday_internal alias.
7550
b5a2bbe6
L
75512012-05-24 Daniel Jacobowitz <drow@false.org>
7552 H.J. Lu <hongjiu.lu@intel.com>
7553
7554 [BZ #12495]
7555 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
7556 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
7557 (largebin_index_32_big): New.
7558 (largebin_index): Use it for 16-byte alignment.
7559 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
7560 correction with front_misalign.
7561
cfba4fda
L
75622012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7563
7f907421
L
7564 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
7565 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7566 Likewise.
7567 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
7568 Likewise.
7569 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7570 Likewise.
7571 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
7572 Likewise.
7573 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
7574 Likewise.
7575 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
7576 Likewise.
7577 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
7578 Likewise.
7579 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7580 Likewise.
7581 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
7582 Likewise.
7583 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
7584 Likewise.
7585 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7586 Likewise.
7587 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
7588 Likewise.
7589
cfba4fda
L
7590 * scripts/data/c++-types-x32-linux-gnu.data: New file.
7591 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
7592
80bad0cc
JM
75932012-05-24 Joseph Myers <joseph@codesourcery.com>
7594
7a25eb06
JM
7595 [BZ #10846]
7596 [BZ #14036]
7597 * math/libm-test.inc (exp_test): Add test from bug 14036.
7598 (pow_test): Add test from bug 10846.
7599
795405f9
JM
7600 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
7601 and other flags.
7602 (special_function): Do not include flags in test name.
7603 (parse_args): Likewise.
7604 * sysdeps/i386/fpu/libm-test-ulps: Update.
7605 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7606 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7607 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7609
80bad0cc
JM
7610 * math/gen-libm-test.pl (%beautify): Add entries for underflow
7611 exceptions.
7612 * math/libm-test.inc ("Philosophy"): Update comment about
7613 exception testing.
7614 (UNDERFLOW_EXCEPTION): New macro.
7615 (UNDERFLOW_EXCEPTION_OK): Likewise.
7616 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
7617 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
7618 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
7619 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
7620 (INVALID_EXCEPTION_OK): Update value.
7621 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7622 (OVERFLOW_EXCEPTION_OK): Likewise.
7623 (IGNORE_ZERO_INF_SIGN): Likewise.
7624 (test_exceptions): Handle underflow exceptions.
7625 (acos_test): Update for underflow exception expectations.
7626 (cexp_test): Likewise.
7627 (clog_test): Likewise.
7628 (clog10_test): Likewise.
7629 (csqrt_test): Likewise.
7630 (ctan_test): Likewise.
7631 (ctanh_test): Likewise.
7632 (exp_test): Likewise.
7633 (exp10_test): Likewise.
7634 (exp2_test): Likewise.
7635 (expm1_test): Likewise.
7636 (fma_test): Likewise.
7637 (j0_test): Likewise.
7638 (jn_test): Likewise.
7639 (nexttoward_test): Likewise.
7640 (pow_test): Likewise.
7641 (scalbn_test): Likewise.
7642 (scalbln_test): Likewise.
7643 (tan_test): Likewise.
7644 (y1_test): Likewise.
7645 * sysdeps/i386/fpu/libm-test-ulps: Update.
7646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7647
9e0e3d0b
DM
76482012-05-23 David S. Miller <davem@davemloft.net>
7649
7650 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
7651 (__libc_sigaction): Remove unused local variables.
7652
ccd0a08f
L
76532012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7654
7655 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
7656
62bdf9a6
PE
76572012-05-23 Paul Eggert <eggert@cs.ucla.edu>
7658
f8591f80
PE
7659 mktime: avoid signed integer overflow
7660 * time/mktime.c (__mktime_internal): Do not mishandle the case
7661 where diff == INT_MIN.
7662
94c7d826
PE
7663 mktime: simplify computation of average
7664 * time/mktime.c (ranged_convert): Use new time_t_avg function
7665 instead of rolling our own (probably-slower) code.
7666
ce73d683
PE
7667 mktime: do not assume signed right shift propagates sign bit
7668 * time/mktime.c (isdst_differ): New static function.
7669 (__mktime_internal): No need to normalize tm_isdst now.
7670 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
7671 tm_isdst values.
7672
72a22e59
PE
7673 mktime: merge another wrapv change from gnulib
7674 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
7675 from some compilers.
7676
68605433
PE
7677 mktime: remove incorrect attempt at unusual arithmetics
7678 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
7679 The code didn't really work on such machines anyway.
7680 (TYPE_MINIMUM): Assume two's complement.
7681 (twos_complement_arithmetic): Verify that long_int and time_t
7682 are two's complement (or unsigned, in the latter case).
7683
03cf7fe3
PE
7684 mktime: check signed shifts on long_int and time_t, too
7685 * time/mktime.c (SHR): Check that shifts work as desired
7686 on the types long_int and time_t too, as SHR is used on
7687 such types.
7688
f04dfbc2
PE
7689 mktime: do not assume 'long' is wide enough
7690 * time/mktime.c (verify): Move decl up.
7691 (long_int): New type.
7692 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
7693 to remove assumption in the code that 'long' is wide enough to
7694 store year values. This assumption is not true on x32 and on
7695 some non-glibc platforms.
7696
62bdf9a6
PE
7697 mktime: merge wrapv change from gnulib
7698 * time/mktime.c (WRAPV): New macro.
7699 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
7700 (guess_time_tm, __mktime_internal): Do not assume that signed
7701 integer overflow wraps around; modern compilers generate code
7702 where this assumption is no longer valid.
7703
5e292e4f
L
77042012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7705
7706 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7707 Replace "jmp L(pseudo_end)" with "ret".
7708 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
7709 Likewise.
7710
8caf8c87
AJ
77112012-05-23 Andreas Jaeger <aj@suse.de>
7712
7713 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
7714 * sysdeps/unix/sysv/linux/poll.c: Remove file.
7715
1a09dc56
AJ
77162012-05-23 Andreas Jaeger <aj@suse.de>
7717 Maximilian Attems <max@stro.at>
7718
7719 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
7720 New macros.
7721
1c87aba0
L
77222012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7723
7724 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
7725 code so that pseudo_end is just ret and the stack pointer is
7726 correct also for static library in error case.
7727
40e45bd5
JM
77282012-05-23 Joseph Myers <joseph@codesourcery.com>
7729
c2670533
JM
7730 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
7731 move to syscalls.list.
7732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
7733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7736
40e45bd5
JM
7737 * manual/install.texi (Running make install): Do not mention Linux
7738 kernel version for which pt_chown is not needed.
7739 (Linux): Do not mention problems with nscd with 2.0 kernels.
7740 * INSTALL: Regenerated.
7741
be08eda5
AJ
77422012-05-23 Andreas Jaeger <aj@suse.de>
7743
7744 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
7745 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
7746 macro.
7747 * sysdeps/unix/sysv/linux/s390/bits/mman.h
7748 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7749 * sysdeps/unix/sysv/linux/sh/bits/mman.h
7750 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7751 * sysdeps/unix/sysv/linux/i386/bits/mman.h
7752 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7753 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
7754 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7755 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
7756 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7757 * sysdeps/unix/sysv/linux/bits/in.h
7758 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
7759
a6a056bb
RM
77602012-05-22 Roland McGrath <roland@hack.frob.com>
7761
7762 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
7763 (PREPARE_VERSION): Just use assert instead, it will be elided
7764 under [NDEBUG] anyway.
7765
c9009328
L
77662012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7767
7768 * sysdeps/unix/sysv/linux/Makefile: Include
7769 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 7770 (sysdep_routines): Remove sysctl.
c9009328
L
7771 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
7772 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
7773 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
7774 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
7775 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
7776
73338355
AJ
77772012-05-22 Andreas Jaeger <aj@suse.de>
7778
7779 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
7780 that pseudo_end is just ret and the stack pointer is correct also
7781 for static library in error case.
7782
d44638b0
PP
77832012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
7784
7785 [BZ #14122]
7786 * nss/nsswitch.c (defconfig_entries): New variable.
7787 (__nss_database_lookup): Don't leak defconfig entries.
7788 (nss_parse_service_list): Don't leak on error paths.
7789 (free_database_entries): New function.
7790 (free_defconfig): New function.
7791 (free_mem): Move common code to free_database_entries.
7792
31a39bd8
L
77932012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7794
da0331a8
L
7795 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
7796 Add arch_prctl.
7797 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
7798
31a39bd8
L
7799 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7800 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
7801 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
7802 New macro.
7803 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
7804 (INTERNAL_SYSCALL_TYPES): Likewise.
7805 (LOAD_ARGS_TYPES_[1-6]): Likewise.
7806 (LOAD_REGS_TYPES_[1-6]): Likewise.
7807 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
7808 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
7809
45470df3
AZ
78102012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7811
7812 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
7813 copysignl for GLIBC_2_0.
7814 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
7815 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
7816 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
7817 logbl for GLIBC_2_0.
7818 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
7819 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
7820
98a61bcb
L
78212012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7822
a4f6e481
L
7823 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
7824 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7825
f63d5db6
L
7826 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7827 Use "neg %eax".
7828
98a61bcb
L
7829 * time/mktime.c: Update copyright years.
7830
95770f14
PE
78312012-05-22 Paul Eggert <eggert@cs.ucla.edu>
7832
6226efbd
PE
7833 mktime: merge comment-quoting-style change from gnulib
7834 * time/mktime.c: Quote 'like this' in comments.
7835 The GNU coding standards suggest that we no longer quote `like this',
7836 as "`" and "'" are typically rendered asymmetrically nowadays.
7837 The typical gnulib style is to quote 'like this' when quoting
7838 code, and "like this" when quoting English.
7839
b99e4f78
PE
7840 * time/mktime.c (compile-command): Add "-I.".
7841
643e01e6
PE
7842 mktime: merge mktime-internal.h change from gnulib
7843 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
7844
2554247d
PE
7845 mktime: merge time_r change from gnulib
7846 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
7847
826dd0ab
PE
7848 mktime: merge DEBUG change from gnulib
7849 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
7850 case system <time.h> has a #define.
7851
bd83aabe
PE
7852 mktime: merge <sys/types.h> change from gnulib
7853 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
7854 since <time.t> is now guaranteed to define time_t.
7855
95770f14
PE
7856 mktime: merge HAVE_CONFIG_H change from gnulib
7857 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
7858
5e1a27a9
L
78592012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7860
0e44a77e
L
7861 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
7862 Use "neg %eax".
7863
5e1a27a9
L
7864 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
7865 __rlim_t cast.
7866 (struct rusage): Use anonymous union to pad each field to
7867 __syscall_slong_t.
7868
46259bec
DM
78692012-05-21 David S. Miller <davem@davemloft.net>
7870
7871 * Makefules (o-iterator): Remove .s cases.
7872 (compile-command.s): Delete.
7873 (COMPILE.s): Delete.
7874 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
7875
59f0c22e
JM
78762012-05-21 Joseph Myers <joseph@codesourcery.com>
7877
7878 * configure.in (libc_cv_predef_stack_protector): Only consider
7879 "foobar" and "__stack_chk_fail" lines in libc_undefs.
7880 * configure: Regenerated.
7881
20c07380
L
78822012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7883
bbb3154b
L
7884 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
7885 New macro. Use R*LP on int and pointer.
7886 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
7887 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
7888 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
7889 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
7890
20c07380
L
7891 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
7892 [__WORDSIZE_TIME64_COMPAT32] instead of
7893 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
7894 (struct utmp): Likewise.
7895 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
7896 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
7897 Renamed to ...
7898 (__WORDSIZE_TIME64_COMPAT32): This.
7899 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
7900 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
7901 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
7902 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
7903 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
7904 (__WORDSIZE_TIME64_COMPAT32): New macro.
7905
d8d1017e
AJ
79062012-05-21 Andreas Jaeger <aj@suse.de>
7907
7908 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
7909 only if [SHARED]. Add prototype for __wcschr_ia32.
7910
6c7fb145
RM
79112012-05-21 Roland McGrath <roland@hack.frob.com>
7912
7913 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
7914 of %rbp unmolested in the jmp_buf while mangling the low bits.
7915 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
7916 unmolested high bits of %rbp while demangling the low bits.
7917 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7918
66274218
AJ
79192012-05-21 Andreas Jaeger <aj@suse.de>
7920
07c58f8f
AJ
7921 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
7922 * sunrpc/svc_simple.c: Use it for registerrpc.
7923 * sunrpc/xcrypt.c: Use it for passwd2des.
7924
66274218
AJ
7925 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
7926
61f65140
L
79272012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7928
7929 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
7930 Don't define if [__SYSCALL_WORDSIZE != 32].
7931 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
7932 New macro.
7933
5fefb436
AJ
79342012-05-21 Bruno Haible <bruno@clisp.org>
7935 Andreas Jaeger <aj@suse.de>
7936
7937 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
7938 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
7939 inptr and inend for must_buffer_ch.
7940 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
7941 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
7942 * stdio-common/Makefile (tests): Remove bug15.
7943 (bug15-ENV): Remove macro.
7944 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
7945 anymore.
7946
d8e272ab
AJ
79472012-05-19 Andreas Jaeger <aj@suse.de>
7948 Roland McGrath <roland@hack.frob.com>
7949
7950 * manual/contrib.texi: Completely rewritten. It contains now an
7951 alphabetical list of contributors and their contributions.
7952
4a56a162
RH
79532012-05-21 Richard Henderson <rth@twiddle.net>
7954
7955 * misc/getauxval.c (__getauxval): Use unsigned long int.
7956 * misc/sys/auxv.h: Include <sys/cdefs.h>.
7957 (getauxval): Use unsigned long int.
7958
d024d23c
L
79592012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7960
7961 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7962
cbc00a03
RM
79632012-05-21 Roland McGrath <roland@hack.frob.com>
7964
7965 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
7966 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
7967 __alignof__ (long double).
7968
478143fa
AZ
79692012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7970
7971 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7972
c7683a6d
RH
79732012-05-20 Richard Henderson <rth@twiddle.net>
7974
7975 * misc/getauxval.c: New file.
7976 * misc/sys/auxv.h: New file.
7977 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
7978 (routines): Add getauxval.
7979 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
7980 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
7981 * elf/dl-sysdep.c (_dl_auxv): Remove.
7982 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
7983 * elf/dl-support.c (_dl_auxv): New variable.
7984 (_dl_aux_init): Initialize it.
7985 * manual/startup.texi (Auxiliary Vector): New node.
7986 * sysdeps/generic/bits/hwcap.h: New file.
7987 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
7988 * sysdeps/powerpc/sysdep.h: ... here. Include it.
7989 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
7990 * sysdeps/sparc/sysdep.h: ... here. Include it.
7991 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
7992 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
7993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7994 Update.
c7683a6d
RH
7995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
7996 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
7997 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
7998 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
7999 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8000 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8001 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
8002 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
8003
a6f1845d
AZ
80042012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8005
8006 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8007
cbcbe830
DM
80082012-05-19 David S. Miller <davem@davemloft.net>
8009
8010 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8011
e0b16cc2
JM
80122012-05-19 Joseph Myers <joseph@codesourcery.com>
8013
8014 [BZ #14123]
8015 * math/s_ccosh.c: Include <float.h>
8016 (__ccosh): Avoid internal overflow calculating sinh and cosh
8017 values before multiplying by sin and cos values.
8018 * math/s_ccoshf.c: Likewise.
8019 * math/s_ccoshl.c: Likewise.
8020 * math/s_csin.c: Likewise.
8021 * math/s_csinf.c: Likewise.
8022 * math/s_csinl.c: Likewise.
8023 * math/s_csinh.c: Likewise.
8024 * math/s_csinhf.c: Likewise.
8025 * math/s_csinhl.c: Likewise.
8026 * math/libm-test.inc (ccos_test): Add more tests.
8027 (ccosh_test): Likewise.
8028 (csin_test): Likewise.
8029 (csinh_test): Likewise.
8030 * sysdeps/i386/fpu/libm-test-ulps: Update.
8031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8032
6ad13e08
L
80332012-05-19 H.J. Lu <hongjiu.lu@intel.com>
8034
f66f0ce8
L
8035 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
8036 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
8037
6ad13e08
L
8038 * sysdeps/x86_64/x32/_itoa.h: Add comment.
8039
b1d072a7
JM
80402012-05-19 Joseph Myers <joseph@codesourcery.com>
8041
8042 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
8043 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
8044 * sysdeps/powerpc/soft-fp/Versions: Likewise.
8045 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
8046 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
8047 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
8048 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
8049 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
8050 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
8051 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
8052 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
8053 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
8054 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
8055 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
8056 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
8057 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
8058 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
8059 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
8060 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
8061 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
8062 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
8063 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
8064 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
8065 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
8066 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
8067 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
8068 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
8069 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
8070 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
8071 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
8072 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
8073
9eae47cb
AJ
80742012-05-18 Andreas Jaeger <aj@suse.de>
8075
8076 * csu/.gitignore: Delete.
8077
bb07f69f
L
80782012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8079
8080 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
8081 (timex): Use __syscall_slong_t.
8082
e6bdb741
AJ
80832012-05-18 Andreas Jaeger <aj@suse.de>
8084 Carlos O'Donell <carlos_odonell@mentor.com>
8085
8086 * manual/install.texi (Configuring and compiling): Update
8087 description about files modified in the source directory.
d6c33fda 8088 * INSTALL: Regenerated.
e6bdb741 8089
1b74487e
L
80902012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8091
8092 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
8093 value. Use "or" to set return value to -1.
8094 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
8095 negate return value.
8096
a88b64b9
TMQMF
80972012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8098
8099 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
8100 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
8101 failure if the compiler has Graphite support disabled.
8102 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
8103 Likewise.
8104 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
8105 CFLAGS-memmove.c): Likewise.
8106 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
8107 Likewise.
8108
3707636e
L
81092012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8110
610b8622
L
8111 * sysdeps/x86_64/x32/_itoa.h: New file.
8112
7cd195df
L
8113 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
8114 getdents system call only if kernel and user dirents have the
8115 same d_ino and d_off.
8116
94b07d20
L
8117 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8118 LLONG_MAX != LONG_MAX.
8119 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8120 (_fitoa_word): Likewise.
8121
18298070
L
8122 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
8123 years.
8124 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
8125 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
8126 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
8127
553c7ea4
L
8128 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
8129 include <bits/wordsize.h>. Check __x86_64__ instead of
8130 __WORDSIZE.
8131 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
8132 if __x86_64__ is defined. Use anonymous union on fpstate.
8133
3707636e
L
8134 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
8135 anonymous union.
8136
b53ef01a
AS
81372012-05-18 Andreas Schwab <schwab@linux-m68k.org>
8138
37fb1dc0
AS
8139 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
8140 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
8141 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
8142 Refer to _rtld_local_ro instead of _rtld_global_ro.
8143 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
8144 Likewise.
8145 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
8146 Likewise.
8147 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
8148 Likewise.
8149 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
8150 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
8151 of _rtld_global, and rtld_progname instead of _dl_argv[0].
8152
b53ef01a
AS
8153 * sysdeps/powerpc/powerpc32/dl-machine.c
8154 (__elf_machine_runtime_setup) [PROF]: Don't reference
8155 _dl_prof_resolve.
8156
7a185db2
AJ
81572012-05-18 Andreas Jaeger <aj@suse.de>
8158
8159 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
8160 function only available for GCCs before 3.4 since GCC 3.4
8161 introduced a builtin.
8162 (lrint): Likewise.
8163 (llrintf): Likewise.
8164 (llrint): Likewise.
8165 (fmaxf): Likewise.
8166 (fmax): Likewise.
8167 (fminf): Likewise.
8168 (fmin): Likewise.
8169 (rint): Likewise.
8170 (rintf): Likewise.
8171 (nearbyint): Likewise.
8172 (nearbyintf): Likewise.
8173 (ceil): Likewise.
8174 (ceilf): Likewise.
8175 (floor): Likewise.
8176 (floorf): Likewise.
8177
3e5aef87
L
81782012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8179
428bd707
L
8180 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
8181 on both fields and cast pointer to __syscall_ulong_t.
8182
3e5aef87
L
8183 * bits/types.h (__fsword_t): New type.
8184 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
8185 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
8186 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8187 (__FSWORD_T_TYPE): Likewise.
8188 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8189 (__FSWORD_T_TYPE): Likewise.
8190 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8191 (__FSWORD_T_TYPE): Likewise.
8192 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
8193 (__FSWORD_T_TYPE): Likewise.
8194 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
8195 __SWORD_TYPE with __fsword_t.
8196 (statfs64): Likewise.
8197
1ba7c3dc
DM
81982012-05-17 David S. Miller <davem@davemloft.net>
8199
8200 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
8201
59910343
AJ
82022012-05-17 Andreas Jaeger <aj@suse.de>
8203
8204 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
8205 warning.
8206
2e4c1e9e
L
82072012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8208
8209 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
8210
de7f5ce7
AJ
82112012-05-17 Andreas Jaeger <aj@suse.de>
8212
8213 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
8214 when it is used.
8215
286abc3d
CM
82162012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8217
8218 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
8219
477cc68e
L
82202012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8221
8222 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
8223 * sysdeps/x86_64/tst-mallocalign1.c: New file.
8224
1a0994f5
CD
82252012-05-17 Andreas Jaeger <aj@suse.de>
8226 Carlos O'Donell <carlos_odonell@mentor.com>
8227
8228 [BZ #14059]
8229 * sysdeps/x86_64/multiarch/init-arch.h
8230 (bit_YMM_Usable): Rename to...
8231 (bit_AVX_Usable): ... this.
8232 (bit_FMA4_Usable): New macro.
8233 (bit_XMM_state): New macro.
8234 (bit_YMM_state): New macro.
8235 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
8236 [__ASSEMBLER__] (index_AVX_Usable): ... this.
8237 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
8238 (CPUID_OSXSAVE): New macro.
8239 (CPUID_AVX): New macro.
8240 (CPUID_FMA4): New macro.
8241 (index_YMM_Usable): Rename to...
8242 (index_AVX_Usable): ... this.
8243 (HAS_AVX): Use HAS_ARCH_FEATURE.
8244 (HAS_FMA4): Likewise.
8245 (HAS_YMM_USABLE): Remove.
8246 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8247 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
8248 are present.
8249 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
8250 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
8251 * sysdeps/x86_64/multiarch/Makefile: Likewise.
8252 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
8253 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
8254
0af797de
CM
82552012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8256
8257 * math/libm-test.c: Support platforms without multiple rounding modes.
8258 * math/bug-nextafter.c: Support platforms without FP exceptions.
8259 * math/bug-nexttoward.c: Likewise.
8260 * math/test-fenv.c: Likewise.
8261 * math/test-misc.c: Likewise.
8262 * stdlib/bug-getcontext.c: Likewise.
8263
e39745ff
AJ
82642012-05-17 Andreas Jaeger <aj@suse.de>
8265
8266 * manual/examples/search.c (critter_cmp): Change signature to
8267 avoid warnings.
8268 * manual/string.texi (Collation Functions): Likewise.
8269
48970aba
L
82702012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8271
8272 * bits/types.h: Fold copyright years.
8273 * bits/typesizes.h: Likewise.
8274 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
8275 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8276 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
8277 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
8278 * time/time.h: Likewise.
8279
bedee953
PP
82802012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
8281
8282 [BZ #208]
8283 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
8284 in instead of returning them. Return void.
8285 (__libc_mallinfo): Accumulate over all arenas.
8286 (__malloc_stats): Adjust for change in int_mallinfo interface.
8287
61653dfb
RM
82882012-05-16 Roland McGrath <roland@hack.frob.com>
8289
30b99d79
RM
8290 [BZ #10375]
8291 * configure.in (NM): Add AC_CHECK_TOOL for it.
8292 (libc_extra_cflags): New substituted variable.
8293 Check for -fstack-protector being used implicitly.
8294 * configure: Regenerated.
8295 * config.make.in (config-extra-cflags): New variable,
8296 gets @libc_extra_cflags@.
8297 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
8298
61653dfb
RM
8299 [BZ #10375]
8300 * configure.in: Check for _FORTIFY_SOURCE being predefined.
8301 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
8302 * configure: Regenerated.
8303 * config.make.in (CPPUNDEFS): New substituted variable.
8304 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
8305 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
8306 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
8307
661768bb
L
83082012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8309
8310 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
8311 (mq_attr): Use __syscall_slong_t.
8312
d4261567
L
83132012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8314
8315 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
8316 Check __x86_64__ instead of __WORDSIZE.
8317 (_STAT_VER_LINUX): Likewise.
8318 (stat): Check __x86_64__ instead of __WORDSIZE. Use
8319 __syscall_ulong_t and __syscall_slong_t.
8320 (stat64): Likewise.
8321
cf3ff365
L
83222012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8323
8324 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
8325
76cf3e4d
L
83262012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8327
8328 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
8329
a637753a
L
83302012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8331
8332 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
8333 __syscall_ulong_t.
8334
d5e05119
L
8335 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
8336 include <bits/wordsize.h>. Check __x86_64__ instead of
8337 __WORDSIZE.
8338 (greg_t): Use "__extension__ long long int" if __x86_64__ is
8339 defined.
8340 (mcontext_t): Replace "unsigned long" with "unsigned long long".
8341
f62ee380
L
8342 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
8343 include <bits/wordsize.h>. Check __x86_64__ instead of
8344 __WORDSIZE.
8345 (user_regs_struct): Use "__extension__ unsigned long long"
8346 instead of "unsigned long" if __x86_64__ is defined.
8347 (user): Likewise. Pad after pointer field if __ILP32__ is
8348 defined.
8349
4e124ced
JM
83502012-05-16 Joseph Myers <joseph@codesourcery.com>
8351
6a3951a0
JM
8352 * configure.in (makeinfo): Require version 4.5 or later. Allow
8353 versions 5 to 9.
8354 * configure: Regenerated.
8355 * manual/install.texi (texinfo): Increase version requirement to
8356 4.5 or later.
8357 * INSTALL: Regenerated.
8358
4e124ced
JM
8359 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
8360
953ca31a
L
83612012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8362
8363 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
8364
617aca05
L
8365 * sysdeps/x86_64/x32/ffs.c: New file.
8366
5762f7ae
L
8367 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
8368 __syscall_ulong_t.
8369 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
8370 defined. Use __syscall_ulong_t.
8371 (shminfo): Use __syscall_ulong_t.
8372 (shm_info): Likewise.
8373
a26b6856
L
8374 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
8375 __syscall_ulong_t.
8376
cb2b9ef7
L
8377 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
8378 <bits/wordsize.h>.
8379 (msgqnum_t): Use __syscall_ulong_t.
8380 (msglen_t): Likewise.
8381 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
8382 __syscall_ulong_t.
8383
34683bb0
L
8384 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
8385 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8386
84a68786
L
8387 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
8388
48baa5f1
L
8389 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
8390 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
8391
180be88b
L
8392 * sysvipc/sys/msg.h (msgbuf): Replace long int with
8393 __syscall_slong_t.
8394
5e90c8ad
L
8395 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
8396 include <bits/wordsize.h>. Check __x86_64__ instead of
8397 __WORDSIZE.
8398
23dfb58b
L
8399 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
8400 "unsigned long long int" if __x86_64__ is defined.
8401 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
8402
ce5d54b0
L
8403 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
8404 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8405 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
8406
13dc9eac
L
8407 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
8408 <stdint.h>.
8409 (GET_PC): Cast to uintptr_t first.
8410 (GET_FRAME): Likewise.
8411 (GET_STACK): Likewise.
8412
a7895d15
L
8413 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
8414 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
8415 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
8416 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
8417 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
8418 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
8419 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
8420 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
8421 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
8422 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
8423 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
8424 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
8425 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8426 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
8427 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
8428 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
8429 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
8430 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
8431 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
8432 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
8433 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
8434 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
8435 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
8436 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
8437 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
8438 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
8439 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
8440 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
8441 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
8442
656416c9
AS
84432012-05-16 Andreas Schwab <schwab@linux-m68k.org>
8444
5bd66283
AS
8445 * Makerules (+depfiles): Also collect depfiles from .oS in
8446 $(extra-objs).
8447 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
8448 .oS, $(libnldbl-routines)).
8449
656416c9
AS
8450 * Makerules (native-compile-mkdep-flags): Define.
8451 * sunrpc/Makefile (extra-objs): Add $(addprefix
8452 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
8453 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
8454 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
8455 calling $(make-target-directory).
8456
a46f2169
L
84572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8458
8459 * bits/types.h (__snseconds_t): Removed.
8460 * time/time.h (struct timespec): Replace __snseconds_t with
8461 __syscall_slong_t.
8462 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
8463 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
8464 Likewise.
8465 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8466 (__SNSECONDS_T_TYPE): Likewise.
8467 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8468 (__SNSECONDS_T_TYPE): Likewise.
8469 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8470 (__SNSECONDS_T_TYPE): Likewise.
8471
6af6528b
L
84722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8473
8474 * sysdeps/mach/hurd/bits/typesizes.h
8475 (__SYSCALL_SLONG_TYPE): New macro.
8476 (__SYSCALL_ULONG_TYPE): Likewise.
8477
de986b56
L
84782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8479
8480 * bits/types.h (__syscall_slong_t): New type.
8481 (__syscall_ulong_t): Likewise.
8482
8483 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
8484 (__SYSCALL_ULONG_TYPE): Likewise.
8485 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8486 (__SYSCALL_SLONG_TYPE): Likewise.
8487 (__SYSCALL_ULONG_TYPE): Likewise.
8488 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8489 (__SYSCALL_SLONG_TYPE): Likewise.
8490 (__SYSCALL_ULONG_TYPE): Likewise.
8491 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8492 (__SYSCALL_SLONG_TYPE): Likewise.
8493 (__SYSCALL_ULONG_TYPE): Likewise.
8494
85736dc7
L
84952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8496
8497 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
8498 Add sigaltstack-offsets.sym.
8499 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
8500 <sigaltstack-offsets.h>.
8501 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
8502 longjmp_msg pointer.
8503 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
8504 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
8505 signal stack.
8506 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
8507
cc03b296
JM
85082012-05-15 Joseph Myers <joseph@codesourcery.com>
8509
a9538892
JM
8510 * elf/stackguard-macros.h: Remove file.
8511 * sysdeps/generic/stackguard-macros.h: New file.
8512 * sysdeps/i386/stackguard-macros.h: Likewise.
8513 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
8514 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
8515 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
8516 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
8517 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
8518 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
8519 * sysdeps/x86_64/stackguard-macros.h: Likewise.
8520 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
8521 <elf/stackguard-macros.h>.
8522
cc03b296
JM
8523 [BZ #14109]
8524 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
8525 __aligned__ in attribute.
8526 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
8527 (gregset_t): Likewise.
8528
93171016
L
85292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8530
8531 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
8532 * sysdeps/x86_64/64/Implies-after: Here. New file.
8533 * sysdeps/x86_64/x32/Implies-after: New file.
8534
d86813a0
L
85352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8536
8537 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
8538 and access return value for _dl_profile_fixup. Use R10_LP to
8539 load frame size.
8540
2953ec75
L
85412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8542
8543 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
8544
3b550e9e
L
85452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8546
8547 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
8548 * sysdeps/x86_64/x32/sysdep.h: New file.
8549
eda41706
L
85502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8551
8552 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
8553 * sysdeps/x86_64/setjmp.S: Likewise.
8554
9ea01d93
AZ
85552012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8556
8557 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
8558 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
8559 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
8560 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
8561 remove unused global constant.
8562
02a91938
CM
85632012-05-15 Chris Metcalf <cmetcalf@tilera.com>
8564
8565 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
8566 include of <not-cancel.h>.
8567
6540185f
RM
85682012-05-15 Roland McGrath <roland@hack.frob.com>
8569
8570 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
8571
509072a0
AJ
85722012-05-15 Jeff Law <law@redhat.com>
8573 Andreas Jaeger <aj@suse.de>
8574
8575 [BZ #13594]
8576 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
8577 out from...
8578 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
8579 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
8580 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
8581 code changing __hst_map_handle.map.
8582
ba75122d
RM
85832012-05-15 Roland McGrath <roland@hack.frob.com>
8584
8585 * configure.in (sysnames): Look for Implies-before and Implies-after
8586 files.
8587 * configure: Regenerated.
8588
890d8bd8
L
85892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8590
8591 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
8592 8-byte data alignment with LP_SIZE alignment.
8593
f6ee6623
L
85942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8595
8596 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
8597 into R10_LP.
8598
ea2626f6
L
85992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8600
8601 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
8602
085f715e
L
86032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8604
8605 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
8606 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
8607 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
8608 Likewise.
8609 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8610
be8498fc
L
86112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8612
8613 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
8614 (stackinfo_sub_sp): Likewise.
8615
70bc83b9
L
86162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8617
8618 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
8619 RAX_LP.
8620
9bc0b730
L
86212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8622
8623 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
8624 into R*_LP.
8625
6d2850e7
L
86262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8627
8628 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
8629 sizes into R*_LP.
8630
3cb84561
L
86312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8632
8633 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
8634
54e2ed81
L
86352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8636
8637 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
8638 into R11_LP and load __x86_64_shared_cache_size_half into
8639 R8_LP.
8640
8a17f349
L
86412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8642
8643 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
8644 R8_LP.
8645
777b1eea
AZ
86462012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8647
8648 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
8649 logb for POWER7.
8650 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
8651 logbf for POWER7.
8652 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
8653 logbl for POWER7.
8654 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
8655 powerpc32/power7/fpu/s_logb.c via #include.
8656 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
8657 powerpc32/power7/fpu/s_logbf.c via #include.
8658 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
8659 powerpc32/power7/fpu/s_logbl.c via #include.
8660
d20d4ac2
JM
86612012-05-15 Joseph Myers <joseph@codesourcery.com>
8662
8663 * README.libm: Remove file.
8664
6cdef1ab
L
86652012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8666
8667 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
8668 count for x32. Use R*_LP and omit operand-size suffix.
8669
0b254d8f
L
86702012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8671
8672 * shlib-versions: Move x86_64-.*-linux.* entries to ...
8673 * sysdeps/x86_64/64/shlib-versions: Here. New file.
8674 * sysdeps/x86_64/x32/shlib-versions: New file.
8675
ceb809dc
RM
86762012-05-14 Roland McGrath <roland@hack.frob.com>
8677
8678 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
8679 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
8680 Use _dl_fatal_printf instead.
8681
37f1abd4
JM
86822012-05-14 Joseph Myers <joseph@codesourcery.com>
8683
8684 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
8685 set if not set by the user. Do not allow for being unset.
8686 * sysdeps/unix/sysv/linux/configure: Regenerated.
8687
11de3a33
L
86882012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8689
8690 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
8691 the `q' suffix from lea and replace .quad with ASM_ADDR.
8692
e02f153a
L
86932012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8694
8695 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
8696 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
8697 instead of $17.
8698 (PTR_DEMANGLE): Likewise.
8699
520ae0fd
L
87002012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8701
8702 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
8703 (LP_OP): Likewise.
8704 (ASM_ADDR): Likewise.
8705 (RAX_LP): Likewise.
8706 (RBP_LP): Likewise.
8707 (RBX_LP): Likewise.
8708 (RCX_LP): Likewise.
8709 (RDI_LP): Likewise.
8710 (RSI_LP): Likewise.
8711 (RSP_LP): Likewise.
8712 (R8_LP): Likewise.
8713 (R9_LP): Likewise.
8714 (R10_LP): Likewise.
8715 (R10_LP): Likewise.
8716 (R11_LP): Likewise.
8717 (R12_LP): Likewise.
8718 (R13_LP): Likewise.
8719 (R14_LP): Likewise.
8720 (R15_LP): Likewise.
8721
b985be81
L
87222012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8723
8724 * sysdeps/x86_64/x32/dl-machine.h: New file.
8725
6a4888ff
AJ
87262012-05-14 Andreas Jaeger <aj@suse.de>
8727
8728 * manual/Makefile (subdir): Remove export of subdir.
8729 (all): Remove target.
8730 (.PHONY): Remove all from list.
8731 (mkinstalldirs): Remove.
8732 (.PHONY): Remove installdirs from list.
8733 ($(inst_infodir)/libc.info): Use make-target-directory.
8734 (installdirs): Remove.
8735 (subdir_%): Remove.
8736 (glibc-targets): Remove.
8737 (lib): Remove.
8738 (stubs): Remove.
8739 ($(objpfx)stubs ../po/manual.pot): Remove.
8740 ($(objpfx)stamp%): Remove.
8741 (make-target-directory): Remove.
8742 (subdir_install): Remove.
8743 (routines): Remove.
8744 (aux): Remove.
8745 (sources): Remove.
8746 (objects): Remove.
8747 (headers): Remove.
8748
8749 [BZ #13750]
8750 * manual/.gitignore: Remove, it's not needed anymore.
8751 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
8752 all files in it.
8753 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
8754 directory.
8755 (texis): Renamed to $(objpfx)texis.
8756 (texis-path): New, contains path to generated files.
8757 (chapters.%): Use texis-path for complete path, add extra argument
8758 libc-texinfo.sh.
8759 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
8760 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
8761 (summary,texi, stamp-summary): Use complete path of
8762 files. Generate files in build dir.
8763 (dir-add.texi): Build in build dir.
8764 (libm-err.texi,stamp-libm-err): Likewise.
8765 (version.texi, stamp-version): Likewise.
8766 (.%c.texi): Likewise.
8767 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
8768 (mostlyclean): Remove target.
8769 (realclean): Remove target.
8770 (generated): Add new variable with contents from mostlyclean and
8771 realclean, remove entries duplicated in common-mostlyclean, add
8772 stamp-libm-err and stamp-version.
8773 (generated-dirs): Add libc directory.
8774 ($(inst_infodir)/libc.info): Install files from build dir.
8775
8776 * manual/install.texi (Configuring and compiling): Adjust since
8777 the info files are not part of the tar ball anymore.
8778
7ac77294
AJ
87792012-05-14 Andreas Jaeger <aj@suse.de>
8780
8781 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
8782 variable.
8783
ffb7875d
JM
87842012-05-14 Joseph Myers <joseph@codesourcery.com>
8785
8786 [BZ #13717]
8787 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
8788 to 2.2.0 where earlier.
8789 * sysdeps/unix/sysv/linux/configure: Regenerated.
8790 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
8791 Remove conditional code.
8792 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
8793 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
8794 Remove conditional code.
8795 [!__NR_lchown]: Likewise.
8796 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8797 [__NR_lchown]: Likewise.
8798 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
8799 comment referencing __ASSUME_LCHOWN_SYSCALL.
8800 * sysdeps/unix/sysv/linux/i386/sigaction.c
8801 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8802 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8803 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
8804 Remove conditional code.
8805 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
8806 (__protocol_available): Remove #if 0 code.
8807 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
8808 conditional code.
8809 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
8810 * sysdeps/unix/sysv/linux/kernel-features.h
8811 (__ASSUME_GETCWD_SYSCALL): Don't define.
8812 (__ASSUME_REALTIME_SIGNALS): Likewise.
8813 (__ASSUME_PREAD_SYSCALL): Likewise.
8814 (__ASSUME_PWRITE_SYSCALL): Likewise.
8815 (__ASSUME_POLL_SYSCALL): Likewise.
8816 (__ASSUME_LCHOWN_SYSCALL): Likewise.
8817 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
8818 non-SPARC.
8819 (__ASSUME_SIOCGIFNAME): Don't define.
8820 (__ASSUME_MSG_NOSIGNAL): Likewise.
8821 (__ASSUME_SENDFILE): Define unconditionally.
8822 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
8823 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
8824 conditional code.
8825 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
8826 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
8827 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8828 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8829 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
8830 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8831 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
8833 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8834 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
8836 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8837 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
8839 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8840 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
8842 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8843 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
8845 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8846 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
8848 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8849 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
8851 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8852 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
8854 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8855 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8856 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
8857 Remove conditional code.
8858 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8859 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
8860 Remove conditional code.
8861 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8862 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
8863 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
8864 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
8865 Remove conditional code.
8866 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8867 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
8868 Remove conditional code.
8869 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8870 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
8871 Remove conditional code.
8872 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8873 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
8874 Remove conditional code.
8875 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8876 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
8877 Remove conditional code.
8878 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8879 * sysdeps/unix/sysv/linux/sh/pwrite64.c
8880 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8881 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8882 * sysdeps/unix/sysv/linux/sigaction.c
8883 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8884 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8885 * sysdeps/unix/sysv/linux/sigpending.c
8886 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8887 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8888 * sysdeps/unix/sysv/linux/sigprocmask.c
8889 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8890 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8891 * sysdeps/unix/sysv/linux/sigsuspend.c
8892 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8893 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8894 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8895 (__libc_missing_rt_sigs): Remove.
8896 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
8897 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
8898 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
8899 Remove conditional code.
8900 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
8901 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
8902 return 1.
8903 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
8904 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
8905 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
8906 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
8907
1bfb7291
AJ
89082012-05-14 Andreas Jaeger <aj@suse.de>
8909
caae5a81
AJ
8910 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
8911 it's not used in glibc.
8912 (__coshm1): Likewise.
8913 (__acosh1p): Likewise.
8914 (__sgn): Likewise.
8915
1bfb7291
AJ
8916 * manual/string.texi (Copying and Concatenation): Add missing
8917 variable in concat example.
8918 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
8919
c044d724
L
89202012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8921
144c5467 8922 [BZ #14103]
c044d724
L
8923 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
8924 __builtin_clzl with __builtin_clzll.
8925
2523c62b
L
89262012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8927
8928 [BZ #14104]
8929 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
8930 libc_freeres_ptr.
8931
d7bb4c42
LD
89322012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8933
8934 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
8935 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
8936 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
8937 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
8938
9dc4e1fb
MF
89392012-05-14 Mike Frysinger <vapier@gentoo.org>
8940
8941 * NEWS: Update ia64 info.
8942
c7df0112
AS
89432012-05-12 Andreas Schwab <schwab@linux-m68k.org>
8944
8945 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
8946 used as bcopy.
8947
dc70356c
TS
89482012-05-12 Thomas Schwinge <thomas@codesourcery.com>
8949
8950 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
8951 * sysdeps/unix/syscalls.list (dup3): Likewise.
8952 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
8953 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
8954
9fb1a21f
L
89552012-05-11 H.J. Lu <hongjiu.lu@intel.com>
8956
8957 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
8958 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
8959
4822a2a5
L
89602012-05-11 H.J. Lu <hongjiu.lu@intel.com>
8961
8962 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
8963 thread pointer.
8964 (TLS_IE): Use mov/add instead of movq/addq to load thread
8965 pointer.
8966 (TLS_GD_PREFIX): New.
8967 (TLS_GD): Use it.
8968
842b81d6
DM
89692012-05-11 David S. Miller <davem@davemloft.net>
8970
8971 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
8972 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
8973 (_FPU_SETCW): Likewise.
8974
1cf463cd
L
89752012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8976
8977 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
8978 is 32-byte aligned.
8979
60cc4a18
AS
89802012-05-11 Andreas Schwab <schwab@linux-m68k.org>
8981
8982 [BZ #11837]
8983 * iconvdata/gb18030.c: Update tables.
8984 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
8985 characters specially.
8986 (BODY for TO_LOOP): Add encoding of missing ranges.
8987
febb44a4
TS
89882012-05-11 Thomas Schwinge <thomas@codesourcery.com>
8989
8990 [BZ #13673]
8991 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
8992 * sysdeps/mach/hurd/dup3.c: Likewise.
8993 * sysdeps/mach/hurd/readlinkat.c: Likewise.
8994 * sysdeps/powerpc/memmove.c:: Likewise.
8995
0a10fb9e
L
89962012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8997
8998 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
8999 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
9000
df8a552f
L
90012012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9002
9003 * elf/elf.h (R_X86_64_RELATIVE64): New.
9004 (R_X86_64_NUM): Updated.
9005 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9006 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
9007 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
9008 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
9009 tst-quad1pie tst-quad2pie
9010 (modules-names): Add tst-quadmod1 tst-quadmod2.
9011 ($(objpfx)tst-quad1): New dependency.
9012 ($(objpfx)tst-quad2): Likewise.
9013 ($(objpfx)tst-quad1pie): Likewise.
9014 ($(objpfx)tst-quad2pie): Likewise.
9015 * sysdeps/x86_64/tst-quad1.c: New file.
9016 * sysdeps/x86_64/tst-quad1pie.c: New file.
9017 * sysdeps/x86_64/tst-quad2.c: Likewise.
9018 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
9019 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
9020 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
9021 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
9022 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
9023
f34d6f84
ST
90242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9025
f42d41d1
ST
9026 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
9027 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
9028 * streams/stropts.h (t_scalar_t): Define type.
9029
3c3571fc
ST
9030 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
9031 (_PATH_PRESERVE): Set to "/var/lib".
9032 (_PATH_RWHODIR): Set to "/var/spool/rwho".
9033
61f06bd3
ST
9034 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
9035 instead of int.
9036
918d4d71
ST
9037 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
9038 if __dir_mkfile succeeded.
9039
f34d6f84
ST
9040 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
9041 checking for _hurd_dtablesize. Unlock it right after having
9042 finished _hurd_dtable allocation.
9043
10589b4a
TS
90442012-05-10 Thomas Schwinge <thomas@schwinge.name>
9045
674cdbc7
TS
9046 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
9047 * sysdeps/mach/hurd/configure: Regenerated.
9048 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
9049 special-casing to...
9050 * sysdeps/gnu/configure.in: ... this new file.
9051 * sysdeps/unix/sysv/linux/configure: Regenerated.
9052 * sysdeps/gnu/configure: New generated file.
9053
8e41b99f
TS
9054 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
9055 for Linux: use nsec instead of usec, as well as:
9056 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
9057 members of type struct timespec.
9058 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
9059 New macros.
9060 (struct stat64): Likewise.
9061 (_STATBUF_ST_NSEC): New macro.
9062 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
9063
10589b4a
TS
9064 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9065 __strtoul_internal rather than strtoul.
9066
63643c85
PT
90672012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9068
9069 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
9070 and reject them.
9071
3faebe6a
ST
90722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9073
9074 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
9075 which preserves existing values.
9076 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
9077
c6474b07
PT
90782012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9079
9080 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
9081 TIMEOUT values. Return EINVAL for NFDS values either negative or
9082 greater than FD_SETSIZE.
9083
1043890b
ST
90842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9085
9086 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
9087 allocated, call __vm_protect to finish enabling the existing space, and
9088 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
9089 allocate the remainder.
9090
37ed8b9b
PT
90912012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9092
9093 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
9094 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
9095
db653660
ST
90962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9097
37ed8b9b
PT
9098 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
9099 sysdeps/mach/hurd/readlink.c.
b29d4053 9100
db653660
ST
9101 * posix/tst-sysconf.c (posix_options): Only use
9102 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
9103 _POSIX_SYNCHRONIZED_IO when they are defined
9104 * sysdeps/mach/hurd/bits/posix_opt.h:
9105 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
9106 (_XOPEN_REALTIME): Undefine macro.
9107 (_XOPEN_REALTIME_THREADS): Undefine macro.
9108 (_XOPEN_SHM): Undefine macro.
9109 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
9110 macro to -1.
9111 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
9112 macro to -1.
9113 (_POSIX_ASYNC_IO): Undefine macro.
9114 (_POSIX_PRIORITIZED_IO): Undefine macro.
9115 (_POSIX_SPIN_LOCKS): Define macro to -1.
9116
ee16e894
ST
9117 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
9118 SA_NODEFER, SA_RESETHAND.
9119 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
9120 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
9121 F_DUPFD_CLOEXEC.
9122
6103ae3b
TS
91232012-05-10 Thomas Schwinge <thomas@schwinge.name>
9124
9125 * elf/Makefile (pldd-modules): Define unconditionally.
9126
80b4e5f3
TS
91272012-05-10 Thomas Schwinge <thomas@schwinge.name>
9128
9129 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
9130
edadcbd6
ST
91312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9132
9133 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
9134 Return ENOENT when name is empty.
9135 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
9136
80694780
TS
91372012-05-10 Thomas Schwinge <thomas@schwinge.name>
9138
1792c087
TS
9139 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
9140
80694780
TS
9141 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
9142
6b645f0d
ST
91432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9144
80694780
TS
9145 Fix mlock in all cases except non-readable pages.
9146 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
9147 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 9148
6b645f0d
ST
9149 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
9150 (__mkdir): When path is `/', just fail with EEXIST.
9151 * sysdeps/mach/hurd/mkdirat.c: Likewise.
9152
e468f8a3
TS
91532012-05-10 Thomas Schwinge <thomas@schwinge.name>
9154
9155 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
9156 <sys/uio.h> (for writev).
9157 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
9158 and <sys/param.h> (for MIN).
9159
a4186cff
PT
91602012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9161
9162 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
9163 REQUESTED_TIME. Properly set the remaining time and return EINTR
9164 if interrupted.
9165
510bbf14
TS
91662012-05-10 Thomas Schwinge <thomas@schwinge.name>
9167
9168 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
9169 Depend on against $(link-rpcuserlibs).
9170
5d5722e8
ST
91712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9172
a4186cff
PT
9173 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
9174 (__libc_stack_end): Do not use attribute_relro.
9175 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
9176 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 9177 to libthread-provided value.
a4186cff
PT
9178 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
9179 attribute_relro.
5d5722e8 9180
37233df9
TS
91812012-05-10 Thomas Schwinge <thomas@schwinge.name>
9182
be971a2b
TS
9183 [BZ #3748]
9184 * bits/libc-lock.h (__libc_once_get): New macro.
9185 * sysdeps/mach/bits/libc-lock.h: Likewise.
9186 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
9187 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
9188 instead of using implementation details.
9189
37233df9
TS
9190 * libio/fileops.c: Unconditionally include <kernel-features.h>.
9191 * libio/freopen.c: Likewise.
9192 * libio/freopen64.c: Likewise.
9193 * misc/syslog.c: Likewise.
9194 * nscd/connections.c: Likewise.
9195 * nscd/netgroupcache.c: Likewise.
9196 * sysdeps/posix/getcwd.c: Likewise.
9197
38de94a5
RM
91982012-05-10 Roland McGrath <roland@hack.frob.com>
9199
9200 * math/w_ilogbf.c: Add #include <limits.h>.
9201
67530489
ST
92022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9203
a4186cff 9204 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
9205 path instead of returning without unlocking.
9206
67530489
ST
9207 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
9208 immediate-write ioctls.
9209 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
9210
5aa3a74a
TS
92112012-05-10 Thomas Schwinge <thomas@schwinge.name>
9212
18bad2ae
TS
9213 * sysdeps/mach/hurd/i386/init-first.c (init): Use
9214 __builtin_frame_address instead of making assumptions about the
9215 location of the return address relative to DATA. Force early load of
9216 the return address.
9217 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
9218 __builtin_frame_address.
9219
5aa3a74a
TS
9220 dup3 for GNU Hurd.
9221 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
9222 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
9223 implement dup3 and do some further code clean-ups.
9224 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
9225 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
9226
ecd0de9a
ST
92272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9228
cd9fa985
ST
9229 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
9230
a4186cff
PT
9231 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
9232 HURD_CRITICAL_END around holding _hurd_dtable_lock.
9233 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
9234 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
9235 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
9236 d->port.lock.
802ca5a5 9237
a4186cff
PT
9238 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
9239 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
9240 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 9241
bcf55240
TS
92422012-05-10 Thomas Schwinge <thomas@schwinge.name>
9243
6960eb42
TS
9244 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
9245 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
9246 definitions.
9247
eb43375f
TS
9248 accept4 for GNU Hurd.
9249 * include/sys/socket.h (__libc_accept4): New prototype.
9250 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
9251 to implement __libc_accept4.
9252 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
9253 __libc_accept4.
9254 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
9255
bcf55240
TS
9256 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
9257 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
9258 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
9259 signal-defines.sym.
9260
6178c55b
ST
92612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9262
a4186cff 9263 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 9264
6f080c2f
TS
92652012-05-10 Thomas Schwinge <thomas@schwinge.name>
9266
9267 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
9268 assertion on O_CLOEXEC flag.
9269 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
9270 * hurd/intern-fd.c: Likewise.
9271 * hurd/port2fd.c: Likewise.
9272
bcfe3a54
ST
92732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9274
9275 [BZ #3906]
9276 * bits/in.h (IPV6_PKTINFO): Define new macro.
9277 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
9278
89c9aa49
AZ
92792012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9280
9281 [BZ #13954]
9282 [BZ #13955]
9283 [BZ #13956]
9284 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
9285 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9286 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
9287 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9288 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9289 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9290 * math/libm-test.inc (logb_test) : Additional logb tests.
9291
021db4be
AJ
92922012-05-09 Andreas Schwab <schwab@linux-m68k.org>
9293 Andreas Jaeger <aj@suse.de>
9294
9295 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
9296 * configure: Regenerated.
9297 * config.h.in (LINK_OBSOLETE_RPC): New macro.
9298 * config.make.in (link-obsolete-rpc): New substituted variable.
9299 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
9300 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
9301 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9302 (shared-only-routines): Don't set it under [link-obsolete-rpc],
9303 so that libc.a contains the symbols.
9304 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9305 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
9306 * sunrpc/auth_none.c: Likewise.
9307 * sunrpc/auth_unix.c: Likewise.
9308 * sunrpc/authdes_prot.c: Likewise.
9309 * sunrpc/authuxprot.c: Likewise.
9310 * sunrpc/clnt_gen.c: Likewise.
9311 * sunrpc/clnt_perr.c: Likewise.
9312 * sunrpc/clnt_raw.c: Likewise.
9313 * sunrpc/clnt_simp.c: Likewise.
9314 * sunrpc/clnt_tcp.c: Likewise.
9315 * sunrpc/clnt_udp.c: Likewise.
9316 * sunrpc/clnt_unix.c: Likewise.
9317 * sunrpc/des_crypt.c: Likewise.
9318 * sunrpc/des_soft.c: Likewise.
9319 * sunrpc/get_myaddr.c: Likewise.
9320 * sunrpc/key_call.c: Likewise.
9321 * sunrpc/key_prot.c: Likewise.
9322 * sunrpc/netname.c: Likewise.
9323 * sunrpc/pm_getmaps.c: Likewise.
9324 * sunrpc/pm_getport.c: Likewise.
9325 * sunrpc/pmap_clnt.c: Likewise.
9326 * sunrpc/pmap_prot.c: Likewise.
9327 * sunrpc/pmap_prot2.c: Likewise.
9328 * sunrpc/pmap_rmt.c: Likewise.
9329 * sunrpc/publickey.c: Likewise.
9330 * sunrpc/rpc_cmsg.c: Likewise.
9331 * sunrpc/rpc_common.c: Likewise.
9332 * sunrpc/rpc_dtable.c: Likewise.
9333 * sunrpc/rpc_prot.c: Likewise.
9334 * sunrpc/rpc_thread.c: Likewise.
9335 * sunrpc/rtime.c: Likewise.
9336 * sunrpc/svc.c: Likewise.
9337 * sunrpc/svc_auth.c: Likewise.
9338 * sunrpc/svc_raw.c: Likewise.
9339 * sunrpc/svc_run.c: Likewise.
9340 * sunrpc/svc_tcp.c: Likewise.
9341 * sunrpc/svc_udp.c: Likewise.
9342 * sunrpc/svc_unix.c: Likewise.
9343 * sunrpc/svcauth_des.c: Likewise.
9344 * sunrpc/xcrypt.c: Likewise.
9345 * sunrpc/xdr.c: Likewise.
9346 * sunrpc/xdr_array.c: Likewise.
9347 * sunrpc/xdr_float.c: Likewise.
9348 * sunrpc/xdr_intXX_t.c: Likewise.
9349 * sunrpc/xdr_mem.c: Likewise.
9350 * sunrpc/xdr_rec.c: Likewise.
9351 * sunrpc/xdr_ref.c: Likewise.
9352 * sunrpc/xdr_sizeof.c: Likewise.
9353 * sunrpc/xdr_stdio.c: Likewise.
9354
b5c086a2
RM
93552012-05-10 Roland McGrath <roland@hack.frob.com>
9356
9357 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
9358 change. Update copyright years.
9359
6d74dd09
JM
93602012-05-10 Joseph Myers <joseph@codesourcery.com>
9361
9362 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
9363
28e72501
MK
93642012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
9365 Joseph Myers <joseph@codesourcery.com>
9366 Paul Pluzhnikov <ppluzhnikov@google.com>
9367
9368 [BZ #14012]
9369 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
9370 requiring rpcgen.
9371 [cross-compiling] (extra-libs): Likewise.
9372 [cross-compiling] (extra-libs-others): Likewise.
9373 [cross-compiling] (librpcsvc-routines): Likewise.
9374 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
9375 [cross-compiling] (omit-deps): Likewise.
9376 (sunrpc-CPPFLAGS): New variable.
9377 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
9378 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
9379 (cross-rpcgen-objs): New variable.
9380 (extra-objs): Append $(cross-rpcgen-objs).
9381 ($(cross-rpcgen-objs)): New rule.
9382 ($(objpfx)cross-rpcgen): Likewise.
9383 (rpcgen-cmd): Define to use $(built-program-file). Expand
9384 comment.
9385 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
9386 ($(objpfx)x%.stmp): Likewise.
9387 * sunrpc/proto.h [IS_IN_build] (_): Define.
9388 [IS_IN_build] (_libc_intl_domainname): Likewise.
9389
c8c59454
L
93902012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9391
9392 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
9393 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
9394 and R_X86_64_TPOFF64.
9395
6f27cd16
JM
93962012-05-10 Joseph Myers <joseph@codesourcery.com>
9397
9398 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
9399 sysdeps/unix/sysv/syscalls.list.
9400 (stime): Likewise.
9401 (utime): Likewise.
9402 * sysdeps/unix/sysv/syscalls.list: Remove file.
9403
02467e1c
PE
94042012-05-10 Paul Eggert <eggert@cs.ucla.edu>
9405
9406 [BZ #3440]
9407 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
9408 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
9409 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
9410 (__LC_IDENTIFICATION): Make these macros useful in #if
9411 expressions, as required by C99.
9412
da392631
AS
94132012-05-10 Andreas Schwab <schwab@linux-m68k.org>
9414
9415 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
9416 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
9417 after this.
9418
8115f29b
L
94192012-05-09 H.J. Lu <hongjiu.lu@intel.com>
9420
9421 * stdlib/longlong.h: Updated from GCC.
9422
bdd74070
AJ
94232012-05-09 Andreas Jaeger <aj@suse.de>
9424
edfe0dbe
AJ
9425 * nscd/nscd.c (run_modes): Make named enum, reorder so that
9426 default is first entry.
9427 (run_mode): Set type.
9428 (main): Remove informal message about syslog.
9429 (options): Fix typo.
9430
bcfe3a54
ST
9431 [BZ #14053]
9432 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 9433 to asm.
bcfe3a54
ST
9434 (lrint): Likewise.
9435 (llrintf): Likewise.
9436 (llrint): Likewise.
9437 (rint): Likewise.
9438 (rintf): Likewise.
9439 (nearbyint): Likewise.
9440 (nearbyintf): Likewise.
bdd74070 9441
91d8d69e
AJ
94422012-05-09 Andreas Jaeger <aj@suse.de>
9443 Pedro Alves <palves@redhat.com>
9444
9445 * nscd/nscd.c (run_mode): Use enum.
9446 (main): Cleanup coding style issue.
9447
bb90b80b
AJ
94482012-05-09 Alexandre Oliva <aoliva@redhat.com>
9449 Andreas Jaeger <aj@suse.de>
9450
bcfe3a54
ST
9451 * nscd/nscd.c (go_background): Replaced with...
9452 (run_mode): ... this.
bb90b80b 9453 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
9454 (options): Add -F --foreground.
9455 (main): Implement it.
9456 (parse_opt): Parse it.
bb90b80b 9457
1a4b75a1
AJ
94582012-05-09 Andreas Jaeger <aj@suse.de>
9459
9460 [BZ #14083]
9461 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
9462 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
9463 -Wconversion warning.
9464 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
9465 Likewise.
9466
b1cc2472
JM
94672012-05-09 Joseph Myers <joseph@codesourcery.com>
9468
9469 * conform/data/locale.h-data (NULL): Use macro-constant. Require
9470 == 0.
9471 (LC_ALL): Use macro-int-constant.
9472 (LC_COLLATE): Likewise.
9473 (LC_CTYPE): Likewise.
9474 (LC_MESSAGES): Likewise.
9475 (LC_MONETARY): Likewise.
9476 (LC_NUMERIC): Likewise.
9477 (LC_TIME): Likewise.
9478 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
9479 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9480 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9481 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
9482 Specify type.
9483 [C99-based standards] (float_t): Expect type.
9484 [C99-based standards] (double_t): Expect type.
9485 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
9486 type.
9487 [C99-based standards] (HUGE_VALL): Likewise.
9488 [C99-based standards] (INFINITY): Likewise.
9489 [C99-based standards] (NAN): Likewise.
9490 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
9491 [C99-based standards] (FP_NAN): Likewise.
9492 [C99-based standards] (FP_NORMAL): Likewise.
9493 [C99-based standards] (FP_SUBNORMAL): Likewise.
9494 [C99-based standards] (FP_ZERO): Likewise.
9495 [C99-based standards] (FP_FAST_FMA): Use
9496 optional-macro-int-constant. Specify type. Require == 1.
9497 [C99-based standards] (FP_FAST_FMAF): Likewise.
9498 [C99-based standards] (FP_FAST_FMAL): Likewise.
9499 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
9500 [C99-based standards] (FP_ILOGBNAN): Likewise.
9501 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
9502 Specify type.
9503 [C99-based standards] (MATH_ERREXCEPT): Likewise.
9504 [C99-based standards] (math_errhandling): Specify type.
9505 [ISO99 || ISO11] (signgam): Do not allow.
9506 [non-C99-based standards] (copysignf): Do not allow.
9507 [non-C99-based standards] (exp2f): Likewise.
9508 [non-C99-based standards] (log2f): Likewise.
9509 [non-C99-based standards] (modff): Allow.
9510 [non-C99-based standards] (erff): Do not allow.
9511 [non-C99-based standards] (erfcf): Likewise.
9512 [non-C99-based standards] (gammaf): Likewise.
9513 [non-C99-based standards] (hypotf): Likewise.
9514 [non-C99-based standards] (j0f): Likewise.
9515 [non-C99-based standards] (j1f): Likewise.
9516 [non-C99-based standards] (jnf): Likewise.
9517 [non-C99-based standards] (lgammaf): Likewise.
9518 [non-C99-based standards] (tgammaf): Likewise.
9519 [non-C99-based standards] (y0f): Likewise.
9520 [non-C99-based standards] (y1f): Likewise.
9521 [non-C99-based standards] (ynf): Likewise.
9522 [non-C99-based standards] (isnanf): Likewise.
9523 [non-C99-based standards] (acoshf): Likewise.
9524 [non-C99-based standards] (asinhf): Likewise.
9525 [non-C99-based standards] (atanhf): Likewise.
9526 [non-C99-based standards] (cbrtf): Likewise.
9527 [non-C99-based standards] (expm1f): Likewise.
9528 [non-C99-based standards] (ilogbf): Likewise.
9529 [non-C99-based standards] (log1pf): Likewise.
9530 [non-C99-based standards] (logbf): Likewise.
9531 [non-C99-based standards] (nextafterf): Likewise.
9532 [non-C99-based standards] (remainderf): Likewise.
9533 [non-C99-based standards] (rintf): Likewise.
9534 [non-C99-based standards] (scalbf): Likewise.
9535 [non-C99-based standards] (copysignl): Likewise.
9536 [non-C99-based standards] (exp2l): Likewise.
9537 [non-C99-based standards] (log2l): Likewise.
9538 [non-C99-based standards] (modfl): Allow.
9539 [non-C99-based standards] (erfl): Do not allow.
9540 [non-C99-based standards] (erfcl): Likewise.
9541 [non-C99-based standards] (gammal): Likewise.
9542 [non-C99-based standards] (hypotl): Likewise.
9543 [non-C99-based standards] (j0l): Likewise.
9544 [non-C99-based standards] (j1l): Likewise.
9545 [non-C99-based standards] (jnl): Likewise.
9546 [non-C99-based standards] (lgammal): Likewise.
9547 [non-C99-based standards] (tgammal): Likewise.
9548 [non-C99-based standards] (y0l): Likewise.
9549 [non-C99-based standards] (y1l): Likewise.
9550 [non-C99-based standards] (ynl): Likewise.
9551 [non-C99-based standards] (isnanl): Likewise.
9552 [non-C99-based standards] (acoshl): Likewise.
9553 [non-C99-based standards] (asinhl): Likewise.
9554 [non-C99-based standards] (atanhl): Likewise.
9555 [non-C99-based standards] (cbrtl): Likewise.
9556 [non-C99-based standards] (expm1l): Likewise.
9557 [non-C99-based standards] (ilogbl): Likewise.
9558 [non-C99-based standards] (log1pl): Likewise.
9559 [non-C99-based standards] (logbl): Likewise.
9560 [non-C99-based standards] (nextafterl): Likewise.
9561 [non-C99-based standards] (remainderl): Likewise.
9562 [non-C99-based standards] (rintl): Likewise.
9563 [non-C99-based standards] (scalbl): Likewise.
9564 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9565 [non-C99-based standards] (FP_*): Do not allow.
9566 [C99-based standards] (FP_*): Change to
9567 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9568 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9569 allow.
9570 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
9571 (SIG_ERR): Likewise.
9572 [X/Open-based standards] (SIG_HOLD): Likewise.
9573 (SIG_IGN): Likewise.
9574 (SIGABRT): Use macro-int-constant. Specify type. Require
9575 positive value.
9576 (SIGFPE): Likewise.
9577 (SIGILL): Likewise.
9578 (SIGINT): Likewise.
9579 (SIGSEGV): Likewise.
9580 (SIGTER): Likewise.
9581 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
9582 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
9583 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
9584 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
9585 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
9586 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
9587 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
9588 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
9589 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
9590 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
9591 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
9592 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
9593 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
9594 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
9595 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
9596 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
9597 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
9598 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
9599 [X/Open-based standards] (SIGTRAP): Likewise.
9600 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
9601 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
9602 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
9603 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
9604 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9605 allow.
9606
b9f1922d
IW
96072012-05-08 Ian Wienand <ianw@vmware.com>
9608
9609 [BZ #14080]
9610 * time/tzset.c (__tzset_parse_tz): Update default rules for
9611 daylight time changes in the Energy Policy Act of 2005.
9612
1db86e88
AJ
96132012-05-09 Andreas Jaeger <aj@suse.de>
9614
9615 [BZ #13983]
9616 * elf/ldconfig.c (parse_conf): Change string to make clear that
9617 ldconfig only issued a warning if ld.so.conf does not exist.
9618
dee4a4e3
DM
96192012-05-08 David S. Miller <davem@davemloft.net>
9620
ee0db190
DM
9621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
9622 movxtod instead of popping the value on the stack.
9623
dee4a4e3
DM
9624 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9625
6a43ec98
CD
96262012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
9627
9628 * config.h.in: Add HAVE_ARM_PCS_VFP.
9629
05c2c961
RMG
96302012-05-08 Roland Mc Grath <roland@hack.frob.com>
9631
bcfe3a54
ST
9632 [BZ #13979]
9633 * include/features.h: Warn if user requests __FORTIFY_SOURCE
9634 checking but the checks are disabled for any reason.
05c2c961 9635
4b30f61a
L
96362012-05-08 H.J. Lu <hongjiu.lu@intel.com>
9637
9638 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
9639 and ELF64_R_TYPE with ELFW(R_TYPE).
9640
eee2bc67
JM
96412012-05-08 Joseph Myers <joseph@codesourcery.com>
9642
7ea5391a
JM
9643 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
9644 (ulimit): Likewise.
9645
eee2bc67
JM
9646 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
9647 (settimeofday): Likewise.
9648
abb66a67
MF
96492012-05-08 Mike Frysinger <vapier@gentoo.org>
9650
9651 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
9652 a struct th_u2 inside the union, and move tu_block/tu_code into
9653 a new th_u3 union of tu_block/tu_code inside of that. Move
9654 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
9655 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
9656 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
9657 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
9658 (th_stuff): Change to th_u1.tu_stuff.
9659 (th_data): Define.
9660 (th_msg): Change to th_u1.th_u2.tu_data.
9661
7f18b530
DM
96622012-05-07 David S. Miller <davem@davemloft.net>
9663
05760585
DM
9664 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9665
7f18b530
DM
9666 [BZ #14074]
9667 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
9668 (SETUP_PIC_REG): Use it.
9669 (SETUP_PIC_REG_LEAF): Use it.
9670
495fd99f
JM
96712012-05-07 Joseph Myers <joseph@codesourcery.com>
9672
9673 [BZ #13885]
9674 [BZ #13923]
9675 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9676 USE_AS_EXPM1L.
9677 (EXPL_FINITE): Likewise.
9678 (FLDLOG): Likewise.
9679 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
9680 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
9681 e_expl.S.
9682 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9683 USE_AS_EXPM1L.
9684 (EXPL_FINITE): Likewise.
9685 (FLDLOG): Likewise.
9686 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
9687 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
9688 e_expl.S.
9689 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
9690 test of -max_value argument for long double.
9691 * sysdeps/i386/fpu/libm-test-ulps: Update.
9692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9693
6693d694
DM
96942012-05-06 David S. Miller <davem@davemloft.net>
9695
9696 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
9697 quad soft-float symbols whose references which are compiler
9698 generated.
9699 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9700
6c23e11c
JM
97012012-05-06 Joseph Myers <joseph@codesourcery.com>
9702
d8b82cad
JM
9703 [BZ #13884]
9704 [BZ #13914]
9705 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9706 USE_AS_EXP10L.
9707 (EXPL_FINITE): Likewise.
9708 (FLDLOG): Likewise.
9709 (c0): Likewise.
9710 (c1): Likewise.
9711 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
9712 Adjust comments for base varying.
9713 (__expl_finite): Change alias to EXPL_FINITE.
9714 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
9715 e_expl.S.
9716 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
9717 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
9718 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9719 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
9720 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9721 USE_AS_EXP10L.
9722 (EXPL_FINITE): Likewise.
9723 (FLDLOG): Likewise.
9724 (c0): Likewise.
9725 (c1): Likewise.
9726 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
9727 Adjust comments for base varying.
9728 (__expl_finite): Change alias to EXPL_FINITE.
9729 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
9730 tests for bugs.
9731 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9732
6c23e11c
JM
9733 [BZ #14064]
9734 * math/libm-test.inc (check_float_internal): Correct ulp
9735 calculation for subnormal expected results.
9736
29ba805c
AJ
97372012-05-06 Andreas Jaeger <aj@suse.de>
9738
9739 * Makeconfig (+math-flags): New, set to -frounding-math.
9740 (+cflags): Add +math-flags so that all of glibc gets compiled with
9741 it.
9742
9743 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
9744
7b17aeda
JM
97452012-05-05 Joseph Myers <joseph@codesourcery.com>
9746
5779f134
JM
9747 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
9748 Disable one test.
9749
41498f4d
JM
9750 [BZ #13787]
9751 [BZ #13922]
9752 [BZ #14036]
9753 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
9754 (__ieee754_expl): Allow for and saturate large arguments.
9755 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
9756 (u_threshold): Likewise.
9757 (__exp): Call __ieee754_exp before checking for overflow and
9758 underflow.
9759 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
9760 (u_threshold): Likewise.
9761 (__expf): Call __ieee754_expf before checking for overflow and
9762 underflow.
9763 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
9764 (u_threshold): Likewise.
9765 (__expl): Call __ieee754_expl before checking for overflow and
9766 underflow.
9767 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
9768 (__ieee754_expl): Allow for and saturate large arguments.
9769 * math/libm-test.inc (exp_test): Add another test. Do not allow
9770 missing overflow exception on overflow.
9771 (expm1_test): Do not allow missing overflow exception on overflow.
9772
6698b8bf
JM
9773 * sysdeps/i386/fpu/e_expl.c: Move to ...
9774 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
9775 rather than using inline asm.
9776 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
9777 * sysdeps/x86_64/fpu/e_expl.S: Copy from
9778 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
9779
7b17aeda
JM
9780 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
9781 (nice): Likewise.
9782 (poll): Likewise.
9783 (signal): Likewise.
9784 (time): Likewise.
9785 (times): Likewise.
9786
f7c85819
JM
97872012-05-04 Joseph Myers <joseph@codesourcery.com>
9788
9789 * sysdeps/unix/syscalls.list (adjtime): Add entry from
9790 sysdeps/unix/common/syscalls.list.
9791 (fchmod): Likewise.
9792 (fchown): Likewise.
9793 (ftruncate): Likewise.
9794 (getrusage): Likewise.
9795 (gettimeofday): Likewise.
9796 (setpgid): Likewise.
9797 (setregid): Likewise.
9798 (setreuid): Likewise.
9799 (sigaction): Likewise.
9800 (truncate): Likewise.
9801 (vhangup): Likewise.
9802 * sysdeps/unix/common/syscalls.list: Remove file.
9803 * sysdeps/unix/bsd/Implies: Don't include unix/common.
9804 * sysdeps/unix/sysv/linux/Implies: Likewise.
9805
336270d0
L
98062012-05-04 H.J. Lu <hongjiu.lu@intel.com>
9807
9808 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
9809 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
9810 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
9811 Moved to ...
9812 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
9813 Here.
9814 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
9815 to ...
9816 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
9817 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
9818 to ...
9819 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
9820 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
9821 to ...
9822 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
9823 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
9824 to ...
9825 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
9826 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
9827 to ...
9828 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
9829 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
9830 to ...
9831 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
9832 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
9833 to ...
9834 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
9835 Here.
9836 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
9837 to ...
9838 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
9839 Here.
9840 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
9841 to ...
9842 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
9843 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
9844 Moved to ...
9845 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
9846 Here.
9847 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
9848 to ...
9849 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
9850
d128e450
JM
98512012-05-04 Joseph Myers <joseph@codesourcery.com>
9852
fa8ee516
JM
9853 * sysdeps/unix/common/bits/dirent.h: Remove file.
9854 * sysdeps/unix/common/bits/fcntl.h: Likewise.
9855
d128e450
JM
9856 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
9857 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
9858 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
9859 * sysdeps/unix/bsd/isatty.c: Likewise.
9860 * sysdeps/unix/bsd/tcdrain.c: Likewise.
9861 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
9862 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
9863
ff8faaf0 98642012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 9865
62881be4 9866 [BZ #13563]
31dc8730
AZ
9867 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
9868 long double comparison inaccuracies.
9869 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9870 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9871
6fef930c
AS
98722012-05-04 Andreas Schwab <schwab@linux-m68k.org>
9873
9874 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
9875 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
9876
8f203e6c
JM
98772012-05-04 Joseph Myers <joseph@codesourcery.com>
9878
9879 [BZ #14049]
9880 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
9881 nonzero digits before rounding a hex value.
9882 * stdlib/tst-strtod.c (tests): Add another test.
9883
5197d9c2
AK
98842012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9885
9886 * sysdeps/s390/fpu/libm-test-ulps: Update.
9887
f0c1dedf
AJ
98882012-05-03 Andreas Jaeger <aj@suse.de>
9889
9890 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
9891 does not get optimized out.
9892 (malloc_opt_barrier): New.
9893
a65ef2ae 98942012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 9895 Roland McGrath <roland@hack.frob.com>
a65ef2ae 9896
2b942cb7 9897 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 9898 intermediate file deletion.
2b942cb7 9899 (generated): Add .symlist files.
a65ef2ae 9900
54b71e02
JM
99012012-05-03 Joseph Myers <joseph@codesourcery.com>
9902
9903 [BZ #13775]
9904 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
9905 Redirect under this condition.
9906 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
9907 [__USE_GNU] (__dprintf_chk): Not under this condition.
9908 [__USE_GNU] (__vdprintf_chk): Likewise.
9909 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
9910 under this condition.
9911 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
9912 [__USE_XOPEN2K8] (dprintf): Define under this condition.
9913 [__USE_XOPEN2K8] (vdprintf): Likewise.
9914 [__USE_GNU] (__dprintf_chk): Not under this condition.
9915 [__USE_GNU] (__vdprintf_chk): Likewise.
9916 [__USE_GNU] (dprintf): Likewise.
9917 [__USE_GNU] (vdprintf): Likewise.
9918
d3dfcc41
RM
99192012-05-03 Roland McGrath <roland@hack.frob.com>
9920
9921 * elf/Makefile (common-generated): Set this instead of generated for
9922 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
9923 $(all-built-dso)-derived lists.
9924
7ac30cc5
AJ
99252012-05-03 Andreas Jaeger <aj@suse.de>
9926
0c51e550
AJ
9927 * sysdeps/i386/fpu/libm-test-ulps: Update.
9928
7ac30cc5
AJ
9929 * FAQ: Removed.
9930 * FAQ.in: Likewise.
9931 * scripts/gen-FAQ.pl: Likewise.
9932 * manual/install.texi (Installation): Point to online location of
9933 FAQ.
9934 * Makefile (files-for-dist): Remove FAQ.
9935 (FAQ): Remove.
9936
d4c2917f
AM
99372012-05-02 Allan McRae <allan@archlinux.org>
9938
9939 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
9940 (LDFLAGS-reldepmod5.so): Likewise.
9941 (LDFLAGS-reldep6mod1.so): Likewise.
9942 (LDFLAGS-reldep6mod4.so): Likewise.
9943 (LDFLAGS-reldep8mod3.so): Likewise.
9944 (LDFLAGS-unload4mod1.so): Likewise.
9945 (LDFLAGS-unload4mod2.so): Likewise.
9946 (LDFLAGS-tst-initorder): Likewise.
9947 (LDFLAGS-tst-initordera2.so): Likewise.
9948 (LDFLAGS-tst-initordera3.so): Likewise.
9949 (LDFLAGS-tst-initordera4.so): Likewise.
9950 (LDFLAGS-tst-initorderb2.so): Likewise.
9951 (LDFLAGS-noload): Likewise.
9952 (LDFLAGS-next): Likewise.
9953 (LDFLAGS-order2mod1.so): Likewise.
9954 (LDFLAGS-order2mod2.so): Likewise.
9955 (LDFLAGS-tst-initorder2): Likewise.
9956 (LDFLAGS-tst-initorder2a.so): Likewise.
9957 (LDFLAGS-tst-initorder2b.so): Likewise.
9958 (LDFLAGS-tst-initorder2c.so): Likewise.
9959 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
9960
d77f993f
DM
99612012-05-02 David S. Miller <davem@davemloft.net>
9962
9963 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9964
171a70b4
PP
99652012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
9966
9967 [BZ #14055]
9968 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
9969
0be196ad
AJ
99702012-05-02 Andreas Jaeger <aj@suse.de>
9971
9972 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
9973 since we manipulate rounding mode.
9974 (CPPFLAGS-test-idouble.c): Likewise.
9975 (CPPFLAGS-test-ifloat.c): Likewise.
9976 (CFLAGS-test-ldouble.c): Likewise.
9977 (CFLAGS-test-double.c): Likewise.
9978 (CFLAGS-test-float.c): Likewise.
9979 (CFLAGS-test-misc.c): Likewise.
9980 (CFLAGS-test-test-fenv.c): Likewise.
9981
4f9d04aa
AZ
99822012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9983
2b942cb7
RM
9984 [BZ #2550]
9985 [BZ #2570]
9986 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
9987 comparisons to determine direction to adjust input.
4f9d04aa 9988
82a79e7d
RM
99892012-05-01 Roland McGrath <roland@hack.frob.com>
9990
f5a01ca9
RM
9991 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
9992 output to the target.
9993
90fe4186
RM
9994 * scripts/localplt.awk: New file.
9995 * elf/Makefile ($(objpfx)check-localplt): Target removed.
9996 (check-localplt-CFLAGS): Variable removed.
9997 ($(all-built-dso:=.jmprel)): New static pattern rule.
9998 (generated): Add those targets.
9999 (localplt-built-dso): New variable.
10000 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
10001
10002 * elf/check-localplt.c: File removed.
10003
82397ed6
RM
10004 * scripts/check-execstack.awk: New file.
10005 * elf/Makefile ($(objpfx)check-execstack): Target removed.
10006 (check-execstack-CFLAGS): Variable removed.
10007 ($(objpfx)check-execstack.h): Target removed.
10008 ($(objpfx)execstack-default): New target.
10009 (generated): Add that instead of check-execstack.h.
10010 ($(all-built-dso:=.phdr)): New static pattern rule.
10011 (generated): Add those targets.
10012 * elf/check-execstack.c: File removed.
10013
82a79e7d
RM
10014 * scripts/check-textrel.awk: New file.
10015 * elf/Makefile ($(objpfx)check-textrel): Target removed.
10016 (check-textrel-CFLAGS): Variable removed.
10017 (all-built-dso): Use := to define.o
10018 ($(all-built-dso:=.dyn)): New static pattern rule.
10019 (generated): Add those targets.
10020 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
10021 * config.make.in (READELF): New substituted variable.
10022 * elf/check-textrel.c: File removed.
10023
62fde54f 100242012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 10025
615605c9
JM
10026 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10027 allow.
10028 * conform/data/ctype.h-data [C99-based standards] (isblank):
10029 Expect function.
10030 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
10031 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
10032 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10033 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
10034 Specify type. Require positive value.
10035 (EILSEQ): Likewise.
10036 (ERANGE): Likewise.
10037 [ISO || POSIX] (EILSEQ): Do not expect.
10038 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
10039 Specify type. Require positive value.
10040 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
10041 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
10042 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
10043 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
10044 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
10045 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
10046 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
10047 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
10048 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
10049 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
10050 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
10051 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
10052 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
10053 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
10054 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
10055 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
10056 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
10057 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
10058 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
10059 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
10060 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
10061 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
10062 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
10063 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
10064 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
10065 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
10066 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
10067 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
10068 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
10069 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
10070 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
10071 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
10072 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
10073 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
10074 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
10075 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
10076 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
10077 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
10078 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
10079 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
10080 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
10081 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
10082 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
10083 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
10084 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
10085 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
10086 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
10087 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
10088 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
10089 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
10090 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
10091 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
10092 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
10093 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
10094 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
10095 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
10096 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
10097 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
10098 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
10099 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
10100 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
10101 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
10102 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
10103 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
10104 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
10105 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
10106 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
10107 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
10108 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
10109 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
10110 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
10111 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
10112 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
10113 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
10114 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
10115 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
10116 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
10117 Require >= 2.
10118 (FLT_ROUNDS): Expect as macro, not constant.
10119 (FLT_MANT_DIG): Use macro-int-constant.
10120 (DBL_MANT_DIG): Likewise.
10121 (LDBL_MANT_DIG): Likewise.
10122 (FLT_DIG): Likewise.
10123 (DBL_DIG): Likewise.
10124 (LDBL_DIG): Likewise.
10125 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
10126 (DBL_MIN_EXP): Likewise.
10127 (LDBL_MIN_EXP): Likewise.
10128 (FLT_MAX_EXP): Use macro-int-constant.
10129 (DBL_MAX_EXP): Likewise.
10130 (LDBL_MAX_EXP): Likewise.
10131 (FLT_MAX_10_EXP): Likewise.
10132 (DBL_MAX_10_EXP): Likewise.
10133 (LDBL_MAX_10_EXP): Likewise.
10134 (FLT_MAX): Use macro-constant.
10135 (DBL_MAX): Likewise.
10136 (LDBL_MAX): Likewise.
10137 (FLT_EPSILON): Use macro-constant. Give upper bound.
10138 (DBL_EPSILON): Likewise.
10139 (LDBL_EPSILON): Likewise.
10140 (FLT_MIN): Likewise.
10141 (DBL_MIN): Likewise.
10142 (LDBL_MIN): Likewise.
10143 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
10144 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
10145 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
10146 [ISO11] (FLT_HAS_SUBNORM): Likewise.
10147 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
10148 [ISO11] (DBL_DECIMAL_DIG): Likewise.
10149 [ISO11] (FLT_DECIMAL_DIG): Likewise.
10150 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
10151 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
10152 [ISO11] (FLT_TRUE_MIN): Likewise.
10153 [ISO11] (LDBL_TRUE_MIN): Likewise.
10154 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10155 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
10156 (SCHAR_MIN): Use macro-int-constant. Specify type.
10157 (SCHAR_MAX): Likewise.
10158 (UCHAR_MAX): Likewise.
10159 (CHAR_MIN): Likewise.
10160 (CHAR_MAX): Likewise.
10161 (MB_LEN_MAX): Use macro-int-constant.
10162 (SHRT_MIN): Use macro-int-constant. Specify type.
10163 (SHRT_MAX): Likewise.
10164 (USHRT_MAX): Likewise.
10165 (INT_MAX): Likewise.
10166 (INT_MIN): Use macro-int-constant. Specify type. Make upper
10167 bound negative.
10168 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
10169 bound with "U".
10170 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10171 bound with "L".
10172 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
10173 bound negative. Suffix upper bound with "L".
10174 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10175 bound with "UL".
10176 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
10177 Specify type.
10178 [C99-based standards] (LLONG_MAX): Likewise.
10179 [C99-based standards] (ULLONG_MAX): Likewise.
10180 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
10181 == 0.
10182 [ISO11] (max_align_t): Require type.
10183 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10184
c9140a62
JM
10185 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
10186 from $CFLAGS, without defining away __attribute__ calls.
10187 (checknamespace): Use $CFLAGS_namespace.
10188
9af0bf29
JM
10189 * conform/conformtest.pl (@keywords): Only include C99 keywords
10190 for standards based on C99 or C11.
10191
343222a2
JM
10192 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
10193 Disable tests.
10194 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
10195 UNIX98]: Likewise.
10196
661f8cf0
JM
10197 * conform/conformtest.pl: Handle "macro-int-constant" and test for
10198 usability of symbols in #if.
10199
ee74b9cb
JM
10200 * conform/conformtest.pl: If macro or constant types start
10201 "promoted:", expect the symbol to be of the following type
10202 promoted by the integer promotions.
62fde54f 10203
aafc49b3
JM
10204 * conform/conformtest.pl: Parse all "constant" and "macro" lines
10205 in one place. Also handle "macro-constant".
10206
fefdf574
JM
10207 * conform/conformtest.pl: Only accept expected macro values with
10208 "==". Parse all "macro" lines in one place.
10209 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
10210
f2d922fe
JM
10211 * conform/conformtest.pl: Handle braced types on "constant" lines
10212 instead of handling "typed-constant".
10213 * conform/data/signal.h-data: Use "constant" instead of
10214 "typed-constant".
10215
d22956c9
JM
10216 * conform/conformtest.pl: Handle "optional-" at start of lines in
10217 one place rather than duplicating several cases. Handle each
10218 format of "macro" line with initial "optional-".
10219
028e2e38
JM
10220 * conform/conformtest.pl: Only accept expected constant or
10221 optional-constant values with "==". Parse all "constant" lines in
10222 one place. Parse all "optional-constant" lines in one place.
10223 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
10224 * conform/data/fmtmsg.h-data: Likewise.
10225 * conform/data/netinet/in.h-data: Likewise.
10226 * conform/data/tar.h-data: Likewise.
10227 * conform/data/limits.h-data: Use "==" form on "constant" and
10228 "optional-constant" lines.
10229
1b8f2850
JM
10230 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
10231 Use -std=c99 for XOPEN2K.
10232 (@knownproblems): Remove.
10233 (newtoken): Don't check %isknown.
10234
a05a144b
JM
10235 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
10236 Do not expect macro.
10237 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
10238 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
10239 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
10240 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
10241 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
10242 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
10243 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
10244 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
10245 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
10246 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
10247 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
10248 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
10249 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
10250 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
10251 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
10252 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
10253 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
10254 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
10255 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
10256 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
10257 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
10258 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
10259 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
10260 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
10261 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
10262 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
10263 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
10264 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
10265 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
10266 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
10267 [XPG3] (acosh): Likewise.
10268 [XPG3] (asinh): Likewise.
10269 [XPG3] (atanh): Likewise.
10270 [XPG3] (cbrt): Likewise.
10271 [XPG3] (expm1): Likewise.
10272 [XPG3] (ilogb): Likewise.
10273 [XPG3] (log1p): Likewise.
10274 [XPG3] (logb): Likewise.
10275 [XPG3] (nextafter): Likewise.
10276 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
10277 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
10278 [XPG3] (remainder): Likewise.
10279 [XPG3] (rint): Likewise.
10280 [XPG3 || XPG4 || UNIX98] (round): Likewise.
10281 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
10282 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
10283 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
10284 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
10285 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
10286 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
10287 [UNIX98 || XOPEN2K] (scalb): Expect.
10288 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
10289 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
10290 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
10291 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
10292 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
10293 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
10294 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
10295 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
10296 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
10297 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
10298 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
10299 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
10300 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
10301 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
10302 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
10303 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
10304 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
10305 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
10306 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
10307 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
10308 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
10309 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
10310 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
10311 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
10312 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
10313 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
10314 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
10315 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
10316 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
10317 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
10318 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
10319 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
10320 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
10321 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
10322 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
10323 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
10324 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
10325 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
10326 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
10327 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
10328 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
10329 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
10330 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
10331 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
10332 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
10333 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
10334 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
10335 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
10336 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
10337 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
10338 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
10339 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
10340 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
10341 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
10342 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
10343 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
10344 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
10345 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
10346 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
10347 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
10348 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
10349 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
10350 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
10351 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
10352 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
10353 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
10354 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
10355 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
10356 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
10357 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
10358 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
10359 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
10360 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
10361 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
10362 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
10363 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
10364 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
10365 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
10366 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
10367 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
10368 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
10369 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
10370 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
10371 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
10372 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
10373 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
10374 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
10375 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
10376 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
10377 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
10378 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
10379 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
10380 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
10381 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
10382 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
10383 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
10384 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
10385 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
10386 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
10387 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
10388 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
10389 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
10390 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
10391 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
10392 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
10393 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
10394 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
10395 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
10396 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
10397 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
10398 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
10399 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
10400 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
10401 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
10402 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
10403 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
10404 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
10405 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
10406 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
10407 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
10408 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
10409 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
10410 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
10411 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
10412 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
10413 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
10414 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
10415 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
10416 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
10417 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
10418 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
10419 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
10420 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
10421 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
10422 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
10423 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
10424 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
10425
73c5ebe3
JM
10426 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
10427 _XOPEN_SOURCE_EXTENDED for XPG4.
10428
39c33b6c
JM
10429 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
10430
62fde54f
JM
10431 * Makeconfig (localtime): Remove variable.
10432 (inst_localtime-file): Likewise.
10433
0741d64c
AS
104342012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10435
10436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10437 Update.
10438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10439 Update.
10440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10441 Update.
10442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10443 Update.
10444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10445 Update.
10446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
10447 Update.
10448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10449 Update.
10450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
10451 Update.
10452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10453 Update.
10454
7cb029ee
JM
104552012-05-01 Joseph Myers <joseph@codesourcery.com>
10456
10457 [BZ #2550]
10458 [BZ #2570]
10459 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
10460 comparisons to determine direction to adjust input.
10461 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10462 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
10463 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
10464 Likewise.
10465 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
10466 Likewise.
10467 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10468 Likewise.
10469 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
10470 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10471 Likewise.
10472 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10473 Likewise.
10474 * math/libm-test.inc (nexttoward_test): Add more tests.
10475
412bd966
AS
104762012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10477
10478 [BZ #14040]
10479 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
10480 in version GLIBC_2.1, not GLIBC_2.0.
10481 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
10482 Likewise.
10483
9568c0c2
JM
104842012-04-30 Joseph Myers <joseph@codesourcery.com>
10485
adfbc8ac
JM
10486 [BZ #13942]
10487 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
10488 (1 - x) * (1 + x).
10489 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10490 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
10491 * math/libm-test.inc (acos_test): Add more tests.
10492 (asin_test): Likewise.
10493 * sysdeps/i386/fpu/libm-test-ulps: Update.
10494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10495
5ba3cc69
JM
10496 [BZ #14034]
10497 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
10498 of square root.
10499 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
10500 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10501 * math/libm-test.inc (acos_test_tonearest): New function.
10502 (acos_test_towardzero): Likewise.
10503 (acos_test_downward): Likewise.
10504 (acos_test_upward): Likewise.
10505 (asin_test_tonearest): Likewise.
10506 (asin_test_towardzero): Likewise.
10507 (asin_test_downward): Likewise.
10508 (asin_test_upward): Likewise.
10509 (main): Call the new functions.
10510 * sysdeps/i386/fpu/libm-test-ulps: Update.
10511 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10512
9568c0c2
JM
10513 [BZ #13884]
10514 [BZ #13924]
10515 * math/e_exp10.c: Include <float.h>.
10516 (__ieee754_exp10): Handle underflow here rather than multiplying
10517 large negative argument by M_LN10.
10518 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
10519 of __ieee754_expf.
10520 * math/e_exp10l.c: Include <float.h>.
10521 (__ieee754_exp10l): Handle underflow here rather than multiplying
10522 large negative argument by M_LN10l.
10523 * math/libm-test.inc (exp10_test): Add another test. Do not allow
10524 spurious overflow exception on underflow.
10525
5ac3ea17
MP
105262012-04-29 Marek Polacek <polacek@redhat.com>
10527
10528 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
10529 (__fortify_function): New macro.
10530 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
10531 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
10532 __extern_always_inline.
10533 * libio/bits/stdio2.h: Likewise.
10534 * libio/bits/stdio.h: Likewise.
10535 * string/string.h: Likewise.
10536 * string/bits/string3.h: Likewise.
10537 * include/stdio.h: Likewise.
10538 * stdlib/bits/stdlib.h: Likewise.
10539 * stdlib/stdlib.h: Likewise.
10540 * rt/bits/mqueue2.h: Likewise.
10541 * rt/mqueue.h: Likewise.
10542 * posix/bits/unistd.h: Likewise.
10543 * posix/unistd.h: Likewise.
10544 * io/bits/poll2.h: Likewise.
10545 * io/bits/fcntl2.h: Likewise.
10546 * io/fcntl.h: Likewise.
10547 * io/sys/poll.h: Likewise.
10548 * misc/bits/syslog.h: Likewise.
10549 * misc/bits/syslog-ldbl.h: Likewise.
10550 * misc/sys/syslog.h: Likewise.
10551 * socket/bits/socket2.h: Likewise.
10552 * socket/sys/socket.h: Likewise.
10553 * debug/tst-chk1.c: Likewise.
10554 * wcsmbs/bits/wchar2.h: Likewise.
10555 * wcsmbs/bits/wchar-ldbl.h: Likewise.
10556 * wcsmbs/wchar.h: Likewise.
10557
ecf0ebfb
AJ
105582012-04-29 Andreas Jaeger <aj@suse.de>
10559
10560 * Makerules (tests): Remove enable-check-abi protection.
10561 (check-abi-warn): Remove.
10562 (check-abi-%): Remove check-abi-warn usage.
10563
10564 * configure.in: Remove check-abi configure option.
10565 * configure: Regenerated.
10566 * config.make.in (enable-check-abi): Remove.
10567
6d5c57fa
AS
105682012-04-28 Andreas Schwab <schwab@linux-m68k.org>
10569
24c5d07e 10570 [BZ #14033]
ded5180a
AS
10571 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
10572 double functions to double *_finite functions.
10573
7e0d315d
AS
10574 [BZ #13941]
10575 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
10576 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
10577 LDBL_MIN_EXP.
10578 * stdio-common/Makefile (tests): Add tst-sprintf3.
10579 * stdio-common/tst-sprintf3.c: New file.
10580
6d5c57fa
AS
10581 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
10582 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
10583
0749ff8b
JM
105842012-04-28 Joseph Myers <joseph@codesourcery.com>
10585
10586 * conform/conformtest.pl: Remove duplicate typed-constant
10587 handling.
10588
8dbd5d7b
DM
105892012-04-28 David S. Miller <davem@davemloft.net>
10590
10591 * Makerules (%.abilist): Add vpath on sysdep_dirs.
10592 (check-abi-%): Remove AWK script prerequisite and explicit
10593 abilist directory.
10594 (check-abi): Rewrite to just diff the symlist with the abilist.
10595 (config-tls, config-abi-config): Delete, no longer used.
10596 (update-abi-%): Remove AWK script and explicit abilist directory.
10597 (update-abi): Rewrite to simply compare and conditionally copy the
10598 symlist and the sysdep abilist file. Remove update-abi-config
10599 checks.
10600 * abilist/ld.abilist: Remove.
10601 * abilist/libBrokenLocale.abilist: Remove.
10602 * abilist/libanl.abilist: Remove.
10603 * abilist/libcrypt.abilist: Remove.
10604 * abilist/libdl.abilist: Remove.
10605 * abilist/librt.abilist: Remove.
10606 * abilist/libthread_db.abilist: Remove.
10607 * abilist/libutil.abilist: Remove.
10608 * scripts/extract-abilist.awk: Remove.
10609 * scripts/merge-abilist.awk: Remove.
10610 * sysdeps/generic/libcidn.abilist: New file.
10611 * sysdeps/generic/libnss_compat.abilist: New file.
10612 * sysdeps/generic/libnss_db.abilist: New file.
10613 * sysdeps/generic/libnss_dns.abilist: New file.
10614 * sysdeps/generic/libnss_files.abilist: New file.
10615 * sysdeps/generic/libnss_hesiod.abilist: New file.
10616 * sysdeps/generic/libnss_nis.abilist: New file.
10617 * sysdeps/generic/libnss_nisplus.abilist: New file.
10618 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
10619 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
10620 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
10621 file.
10622 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
10623 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
10624 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
10625 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
10626 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
10627 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
10628 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
10629 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
10630 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
10631 file.
10632 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
10633 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
10634 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
10635 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
10636 file.
10637 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
10638 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
10639 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
10640 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
10641 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
10642 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
10643 file.
10644 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
10645 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
10646 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
10647 file.
10648 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
10649 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
10650 New file.
10651 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
10652 New file.
10653 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
10654 New file.
10655 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
10656 New file.
10657 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
10658 New file.
10659 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
10660 New file.
10661 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
10662 New file.
10663 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
10664 New file.
10665 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
10666 New file.
10667 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
10668 New file.
10669 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
10670 New file.
10671 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
10672 New file.
10673 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
10674 New file.
10675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
10676 file.
10677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
10678 New file.
10679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
10680 New file.
10681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
10682 file.
10683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
10684 New file.
10685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
10686 New file.
10687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
10688 file.
10689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
10690 New file.
10691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10692 New file.
10693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
10694 New file.
10695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
10696 New file.
10697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
10698 New file.
10699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
10700 New file.
10701 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
10702 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
10703 file.
10704 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
10705 New file.
10706 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
10707 file.
10708 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
10709 file.
10710 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
10711 file.
10712 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
10713 file.
10714 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
10715 file.
10716 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10717 New file.
10718 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
10719 file.
10720 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
10721 file.
10722 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
10723 New file.
10724 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
10725 file.
10726 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
10727 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
10728 file.
10729 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
10730 New file.
10731 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
10732 file.
10733 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
10734 file.
10735 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
10736 file.
10737 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
10738 file.
10739 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
10740 file.
10741 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10742 New file.
10743 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
10744 file.
10745 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
10746 file.
10747 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
10748 New file.
10749 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
10750 file.
10751 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
10752 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
10753 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
10754 file.
10755 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
10756 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
10757 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
10758 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
10759 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
10760 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
10761 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
10762 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
10763 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
10764 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
10765 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
10766 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
10767 file.
10768 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10769 New file.
10770 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
10771 file.
10772 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
10773 file.
10774 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
10775 file.
10776 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
10777 file.
10778 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
10779 file.
10780 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10781 New file.
10782 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10783 New file.
10784 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
10785 file.
10786 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10787 New file.
10788 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
10789 file.
10790 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
10791 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
10792 file.
10793 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10794 New file.
10795 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
10796 file.
10797 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
10798 file.
10799 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
10800 file.
10801 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
10802 file.
10803 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
10804 file.
10805 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10806 New file.
10807 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10808 New file.
10809 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
10810 file.
10811 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10812 New file.
10813 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
10814 file.
10815
41d73a1b
JM
108162012-04-28 Joseph Myers <joseph@codesourcery.com>
10817
10818 * conform/conformtest.pl: Fix typo in handling typed-constant from
10819 allow-header.
10820
28aeeda4
JM
108212012-04-27 Joseph Myers <joseph@codesourcery.com>
10822
adae8f5e
JM
10823 * README: Cut down references to pre-2.6 Linux kernels and
10824 Linuxthreads. Update lists of configurations in libc and ports
10825 and sort alphabetically. Say "or newer" with Linux kernel version
10826 requirements.
10827
28aeeda4
JM
10828 * config.h.in [IS_IN_build]: Allow compiling without optimization.
10829
a462cb63
RA
108302012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10831
10832 [BZ #887]
10833 * math/libm-test.inc (logb_test_downward): New test to expose
10834 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
10835 rounding mode.
10836
6ad3493e
JM
108372012-04-27 Joseph Myers <joseph@codesourcery.com>
10838
10839 [BZ #14027]
10840 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
10841 to be done.
10842 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
10843 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
10844
2ce4f015
JM
108452012-04-26 Joseph Myers <joseph@codesourcery.com>
10846
5aeb141a
JM
10847 * sysdeps/unix/i386/brk.S: Remove file.
10848 * sysdeps/unix/i386/dl-brk.S: Likewise.
10849 * sysdeps/unix/i386/pipe.S: Likewise.
10850 * sysdeps/unix/i386/sigreturn.S: Likewise.
10851 * sysdeps/unix/i386/syscall.S: Likewise.
10852 * sysdeps/unix/i386/vfork.S: Likewise.
10853 * sysdeps/unix/i386/wait.S: Likewise.
10854
7143acae
JM
10855 * sysdeps/unix/common/tcsendbrk.c: Move to ...
10856 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
10857
2ce4f015
JM
10858 * configure.in (arm*-none*): Do not allow without
10859 --enable-hacker-mode.
10860 (netbsd*): Remove case setting base_os.
10861 (386bsd*): Likewise.
10862 (freebsd*): Likewise.
10863 (bsdi*): Likewise.
10864 (osf*): Likewise.
10865 (sunos*): Likewise.
10866 (ultrix*): Likewise.
10867 (newsos*): Likewise.
10868 (dynix*): Likewise.
10869 (*bsd*): Likewise.
10870 (sysv*): Likewise.
10871 (isc*): Likewise.
10872 (esix*): Likewise.
10873 (sco*): Likewise.
10874 (minix*): Likewise.
10875 (irix4*): Likewise.
10876 (irix6*): Likewise.
10877 (solaris[2-9]*): Likewise.
10878 (none): Likewise.
10879 * configure: Regenerated.
10880
0ac229c8
AZ
108812012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10882
10883 [BZ #11521]
10884 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
10885 overflow or cancellation in calculating denominator.
10886 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
10887 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
10888 down expression to avoid unexpected rounding in newer GCCs.
10889 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
10890
33f244f4
DM
108912012-04-26 David S. Miller <davem@davemloft.net>
10892
10893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
10894 long-double compat symbols.
10895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
10899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
10900 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
10901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
10902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
10903 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
10904 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
10905 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
10906 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
10907 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10908
cfa1f3e8
DM
109092012-04-25 David S. Miller <davem@davemloft.net>
10910
10911 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
10912 HWCAP_* values only after the memory barriers have been defined.
10913 (atomic_full_barrier): Define.
10914 (atomic_read_barrier): Define.
10915 (atomic_write_barrier): Define.
10916
6e236b92
SP
109172012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10918
10919 * shlib-versions: Add libgcc_s version information.
10920 * sysdeps/generic/libgcc_s.h: Remove.
10921 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
10922 libgcc_s.h.
10923 * sysdeps/gnu/unwind-resume.c: Likewise.
10924 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
10925
aab39a09
DM
109262012-04-25 David S. Miller <davem@davemloft.net>
10927
10928 * sysdeps/unix/sparc/brk.S: Delete.
10929 * sysdeps/unix/sparc/dl-brk.S: Delete.
10930 * sysdeps/unix/sparc/pipe.S: Delete.
10931 * sysdeps/unix/sparc/sysdep.S: Delete.
10932 * sysdeps/unix/sparc/sysdep.h: Delete.
10933 * sysdeps/unix/sparc/vfork.S: Delete.
10934 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
10935 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
10936 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
10937 ret_ERRVAL, r0, r1, MOVE): Define.
10938 (JUMPTARGET): Remove.
10939 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
10940 sysdeps/unix/sparc/sysdep.h
10941 (ENTRY, END): Remove.
10942 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10943
a3cc4f48
JM
109442012-04-25 Joseph Myers <joseph@codesourcery.com>
10945
2ed8cda2
JM
10946 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
10947 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
10948 -DIS_IN_build.
10949
35d76d59
JM
10950 * timezone/README: Update upstream location and email address for
10951 tzcode and tzdata.
10952 * timezone/zdump.c: Update from tzcode 2012b.
10953 * timezone/zic.c: Likewise.
10954
a3cc4f48
JM
10955 * configure.in (libc_cv_as_needed): Remove test.
10956 * configure: Regenerated.
10957 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
10958 conditional definition.
10959 [$(have-as-needed) != yes] (no-as-needed): Likewise.
10960 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
10961 * config.make.in (have-as-needed): Remove variable.
10962
ceab42c3
SP
109632012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10964 Paul Pluzhnikov <ppluzhnikov@google.com>
10965
10966 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
10967 strings correctly.
10968
3ce2865f
CLT
109692012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
10970
10971 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
10972 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
10973 * sysdeps/sh/strlen.S: Likewise.
10974
f37e0d68
JM
109752012-04-24 Joseph Myers <joseph@codesourcery.com>
10976
ae186e9a
JM
10977 * sysdeps/unix/fork.S: Remove file.
10978 * sysdeps/unix/i386/fork.S: Likewise.
10979 * sysdeps/unix/sparc/fork.S: Likewise.
10980
b96914af
JM
10981 * sysdeps/unix/system.c: Remove file.
10982 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
10983
f37e0d68
JM
10984 * sysdeps/unix/getegid.S: Remove file.
10985 * sysdeps/unix/geteuid.S: Likewise.
10986
87ef29ca
RM
109872012-04-24 Roland McGrath <roland@hack.frob.com>
10988
83bcd236
RM
10989 * scripts/check-localplt.awk: New file.
10990 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
10991 of diff.
10992 * scripts/data/localplt-generic.data: Add a comment.
10993
87ef29ca
RM
10994 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
10995 NODE when __dir_mkfile failed.
10996 * sysdeps/mach/hurd/symlinkat.c: Likewise.
10997 Reported by Ludovic Courtès <ludo@gnu.org>.
10998
e5a6e567
AJ
109992012-04-24 Andreas Jaeger <aj@suse.de>
11000
11001 * Makerules (common-clean): Also remove gen-as-const-headers
11002 files.
11003
c1820385
JM
110042012-04-24 Joseph Myers <joseph@codesourcery.com>
11005
11006 * Makerules (native-compile): Do not change working directory for
11007 build. Use $(OUTPUT_OPTION) in command.
11008 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
11009
94e02fc4
AZ
110102012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11011
11012 [BZ #13886]
11013 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
11014 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
11015 * math/libm-test.inc (floor_test): Add more tests.
11016 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
11017
3a533ca3
JM
110182012-04-24 Joseph Myers <joseph@codesourcery.com>
11019
940ab4b3
JM
11020 * sysdeps/unix/getdents.c: Remove file.
11021 * sysdeps/unix/sysv/getdents.c: Likewise.
11022 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
11023
90e037bd
JM
11024 * sysdeps/unix/syscalls.list (madvise): Add syscall from
11025 sysdeps/unix/mman/syscalls.list.
11026 (mmap): Likewise.
11027 (mprotect): Likewise.
11028 (msync): Likewise.
11029 (munmap): Likewise.
11030 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
11031 * sysdeps/unix/mman/syscalls.list: Remove.
11032 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
11033
3a533ca3
JM
11034 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
11035 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
11036 * configure: Regenerated.
11037 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
11038 $(libgcc_s_suffix).
11039 * config.make.in (libgcc_s_suffix): Remove variable.
11040
1ad743de
JM
110412012-04-23 Joseph Myers <joseph@codesourcery.com>
11042
4ad451e2
JM
11043 * sysdeps/unix/sysv/gethostname.c: Move to ...
11044 * sysdeps/posix/gethostname.c: ... here.
11045
5e37ce39
JM
11046 * sysdeps/unix/execve.S: Remove file.
11047
1ad743de
JM
11048 * sysdeps/unix/_exit.S: Remove file.
11049
4e681b5b
AJ
110502012-04-23 Andreas Jaeger <aj@suse.de>
11051
11052 [BZ #13739]
11053 * manual/Makefile: Remove make dist support, there's no
11054 need for a stand-alone documentation tar ball.
11055 (TEXI2DVI): Define always, it's not in Makeconfig.
11056 (dist): Removed.
11057 (tar-it): Removed.
11058 (edition): Removed.
11059 (glibc-doc-$(edition).tar): Removed
11060 (%.Z): Removed.
11061 (%.gz): Removed.
11062 (%.uu): Removed.
11063 (ETAGS): Remove, it's in Makeconfig.
11064 (move-if-change): Remove, it's in Makeconfig.
11065
c0baea34
PE
110662013-04-23 Paul Eggert <eggert@cs.ucla.edu>
11067
11068 [BZ #13970]
11069 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
11070 (strtod, strtof, strtold, strtol, strtoul, strtoq)
11071 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
11072 (strtod_l, strtof_l, strtold_l): Remove __wur.
11073 It is not necessarily an error to ignore strtol's return value.
11074 One can reliably look at the stored endptr to decide whether
11075 the number had valid syntax.
11076
7c0616fa
AJ
110772012-04-21 Andreas Jaeger <aj@suse.de>
11078
803cb6b7 11079 [BZ #13739]
7c0616fa
AJ
11080 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
11081
b0fe253f
JM
110822012-04-21 Joseph Myers <joseph@codesourcery.com>
11083
11084 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
11085 * sysdeps/unix/sysv/Versions: Remove file.
11086
8280f22d
MT
110872012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
11088
11089 [BZ #13927]
11090 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11091
75ce411f 110922012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
11093
11094 [BZ #7064]
11095 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
11096 version from __vm86.
11097
097d59fa
JM
110982012-04-20 Joseph Myers <joseph@codesourcery.com>
11099
a90f3bcb
JM
11100 * sysdeps/unix/common/lxstat.c: Remove file.
11101 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
11102
edc7ea78
JM
11103 * sysdeps/unix/sysv/Makefile: Remove file.
11104
cb78c221
JM
11105 * sysdeps/unix/sysv/direct.h: Remove file.
11106
efa6a45f
JM
11107 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
11108 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
11109 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
11110 * sysdeps/unix/sysv/bits/signum.h: Likewise.
11111 * sysdeps/unix/sysv/bits/stat.h: Likewise.
11112 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
11113 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
11114
9c9f2d0c
JM
11115 * sysdeps/unix/sysv/setrlimit.c: Remove file.
11116
4541c83b
JM
11117 * sysdeps/unix/xmknod.c: Remove file.
11118 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
11119
f5d153a0
JM
11120 * sysdeps/unix/sysv/settimeofday.c: Remove file.
11121
aa746595
JM
11122 * sysdeps/unix/sysv/i386/time.S: Remove file.
11123
cce5905e
JM
11124 * sysdeps/unix/fxstat.c: Remove file.
11125 * sysdeps/unix/xstat.c: Likewise.
11126 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
11127
37fa3841
JM
11128 * sysdeps/unix/sysv/sigaction.c: Remove file.
11129
ff1962a3
JM
11130 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
11131 (sysdep_headers): Remove variable.
11132 [termio.h not in sysdep_headers] (generated): Likewise.
11133 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
11134 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
11135 * sysdeps/unix/sysv/tcdrain.c: Likewise.
11136 * sysdeps/unix/sysv/tcflow.c: Likewise.
11137 * sysdeps/unix/sysv/tcflush.c: Likewise.
11138 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
11139 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
11140 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
11141 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
11142 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
11143
e7740d31
JM
11144 * sysdeps/unix/siglist.c: Remove file.
11145
ee06f18b
JM
11146 * sysdeps/unix/getppid.S: Remove file.
11147
097d59fa
JM
11148 * sysdeps/unix/mkdir.c: Remove file.
11149 * sysdeps/unix/rmdir.c: Likewise.
11150
ff3d51ec
AS
111512012-04-19 Andreas Schwab <schwab@linux-m68k.org>
11152
11153 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
11154 ERR_MAX value.
11155 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
11156 errlist-compat value.
11157
50f81fd7
DM
111582012-04-18 David S. Miller <davem@davemloft.net>
11159
11160 * sysdeps/generic/memcopy.h (reg_char): Delete.
11161 * debug/strcat_chk.c: Use char, not reg_char.
11162 * debug/strcpy_chk.c: Likewise.
11163 * debug/strncat_chk.c: Likewise.
11164 * debug/strncpy_chk.c: Likewise.
11165 * string/memchr.c: Likewise.
11166 * string/memrchr.c: Likewise.
11167 * string/rawmemchr.c: Likewise.
11168 * string/strcat.c: Likewise.
11169 * string/strchr.c: Likewise.
11170 * string/strchrnul.c: Likewise.
11171 * string/strcmp.c: Likewise.
11172 * string/strcpy.c: Likewise.
11173 * string/strncat.c: Likewise.
11174 * string/strncmp.c: Likewise.
11175 * string/strncpy.c: Likewise.
11176
8ff41c46
WS
111772012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11178
11179 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
11180 __builtin_memcopy is called when src and dest ranges are known to not
11181 overlap.
11182
6b652f46
WS
111832012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11184
11185 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
11186 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
11187 fwd_align_merge macro call.
11188 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
11189 bwd_align_merge macro call.
11190 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11191
b282631e
WS
111922012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11193
11194 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
11195 bwd_align_merge macros.
11196 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
11197 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
11198 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11199
95aa737c
DM
112002012-04-18 David S. Miller <davem@davemloft.net>
11201
11202 * sysdeps/sparc/sparc64/memcopy.h: Delete.
11203
7a99a614
AJ
112042012-04-18 Andreas Jaeger <aj@suse.de>
11205
11206 [BZ# 6794]
11207 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
11208 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
11209 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11210
11211 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
11212 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
11213 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11214
11215 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
11216 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
11217 Adjust for changed ldbl-128 files.
11218
11219 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
11220 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
11221 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11222
e5270c23
DM
112232012-04-17 David S. Miller <davem@davemloft.net>
11224
11225 * sysdeps/sparc/sparc32/memcopy.h: Delete.
11226
fb5e92c9
AS
112272012-04-17 Andreas Schwab <schwab@linux-m68k.org>
11228
11229 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
11230 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
11231 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
11232 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
11233 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11234 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
11235
76da7265
AZ
112362012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11237
11238 [BZ #6794]
11239 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
11240 * math/libm-test.inc: Add ilogb errno and exception tests.
11241 * math/w_ilogb.c: New file: ilogb wrapper.
11242 * math/w_ilogbf.c: New file: ilogbf wrapper.
11243 * math/w_ilogbl.c: New file: ilogbl wrapper.
11244 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
11245 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
11246 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
11247 exception being thrown with 0.0 as argument.
11248 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
11249 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
11250 exception being thrown with 0.0 as argument.
11251 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
11252 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11253 exception being thrown with 0.0 as argument.
11254 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
11255 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11256 exception being thrown with 0.0 as argument.
11257 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
11258 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 11259 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
11260 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
11261 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
11262 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
11263 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
11264 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
11265 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
11266
0396e69d
PB
112672012-04-17 Petr Baudis <pasky@ucw.cz>
11268
11269 * include/sys/uio.h: Change __vector to __iovec to avoid clash
11270 with altivec.
11271
750b5926
MP
112722012-04-16 Marek Polacek <polacek@redhat.com>
11273
11274 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
11275
751728a1
MP
112762012-04-16 Marek Polacek <polacek@redhat.com>
11277
11278 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
11279 operands of fdivp instruction.
11280
34a27407
L
112812012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11282
11283 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
11284 * elf/tst-auditmod3b.c: Likewise.
11285 * elf/tst-auditmod4b.c: Likewise.
11286 * elf/tst-auditmod5b.c: Likewise.
11287 * elf/tst-auditmod6b.c: Likewise.
11288 * elf/tst-auditmod6c.c: Likewise.
11289 * elf/tst-auditmod7b.c: Likewise.
11290 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
11291 * sysdeps/x86_64/preconfigure.in: Likewise.
11292 * sysdeps/x86_64/preconfigure: Regenerated.
11293
7e73e17d
L
112942012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11295
11296 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
11297 __ILP32__.
11298
c7a6ab72
AB
112992012-04-13 Antoine Balestrat <merkil33@gmail.com>
11300
11301 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11302 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
11303
a9e8e0e0
CL
113042012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
11305
11306 [BZ #13973]
11307 * locale/iso-639.def: Fix gl language name. Spotted by
11308 Yaron Shahrabani.
11309
ec98af7d
RM
113102012-04-12 Roland McGrath <roland@hack.frob.com>
11311
11312 [BZ #2074]
11313 * libio/libio.h (__io_write_fn): Update comment.
11314
247c3ede
PB
113152012-04-12 Petr Baudis <pasky@ucw.cz>
11316
11317 [BZ #2074]
11318 * stdio.texi (Hook Functions): The user provided writer function
11319 is not allowed to return -1.
11320
55939d6d
DM
113212012-04-11 David S. Miller <davem@davemloft.net>
11322
11323 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11324
90020f5a
MF
113252012-04-11 Mike Frysinger <vapier@gentoo.org>
11326
11327 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
11328 Add a leading slash to rtkaio.
11329
288f9098
JM
113302012-04-11 Jim Meyering <meyering@redhat.com>
11331
90020f5a
MF
11332 [BZ #11959]
11333 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
11334 It is not necessarily an error to ignore fwrite's return
11335 value. One can reliably use ferror to test for errors after
11336 the fact.
288f9098 11337
4be2b570
L
113382012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11339
11340 * bits/types.h (__snseconds_t): New type.
11341 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
11342
11343 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
11344 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11345 (__SNSECONDS_T_TYPE): Likewise.
11346 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11347 (__SNSECONDS_T_TYPE): Likewise.
11348 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11349 (__SNSECONDS_T_TYPE): Likewise.
11350
288f9098 113512012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
11352
11353 [BZ #2636]
11354 * manual/time.texi (Processor Time): Return type of times is
11355 elapsed real time since an arbitrary point in the past.
11356 (CPU Time): Move CLK_TCK from here...
11357 (Processor Time): ...to here. Correct description.
11358 * manual/conf.texi (Constants for Sysconf): Correct description of
11359 _SC_CLK_TCK.
11360
d7dd4413
DM
113612012-04-10 David S. Miller <davem@davemloft.net>
11362
11363 [BZ #13967]
11364 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
11365 where the is a gap between DT_REL(A) and DT_JMPREL.
11366
b46068fc
L
113672012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11368
11369 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
11370 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11371 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11372
73d65cc3
SP
113732012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11374
11375 * elf/dl-support.c (_dl_inhibit_cache): New variable.
11376 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
11377 (dl_main): Handle --inhibit-cache.
11378 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
11379 _dl_inhibit_cache.
11380 * elf/dl-load.c (_dl_map_object): Use it.
11381 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
11382
bcc8d661
JM
113832012-04-09 Joseph Myers <joseph@codesourcery.com>
11384
8f9a2fae
JM
11385 [BZ #13872]
11386 * sysdeps/i386/fpu/e_powl.S (p78): New object.
11387 (__ieee754_powl): Saturate large exponents rather than testing for
11388 overflow of y*log2(x).
11389 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11390 * math/libm-test.inc (pow_test): Do not permit spurious overflow
11391 exceptions.
11392
bcc8d661
JM
11393 [BZ #11521]
11394 * math/s_ctan.c: Include <float.h>.
11395 (__ctan): Avoid internal overflow or cancellation in calculating
11396 denominator.
11397 * math/s_ctanf.c: Likewise.
11398 * math/s_ctanl.c: Likewise.
11399 * math/s_ctanh.c: Likewise.
11400 * math/s_ctanhf.c: Likewise.
11401 * math/s_ctanhl.c: Likewise.
11402 * math/libm-test.inc (ctan_test): Add more tests.
11403 (ctanh_test): Likewise.
11404 * sysdeps/i386/fpu/libm-test-ulps: Update.
11405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11406
823fbbb4
AJ
114072012-04-09 Andreas Jaeger <aj@suse.de>
11408
03879793
AJ
11409 [BZ #6894]
11410 * manual/filesys.texi (Directory Entries): Mention that d_namlen
11411 is an optional BSD extension.
11412
823fbbb4
AJ
11413 [BZ #10254]
11414 * manual/stdio.texi (Opening Streams): Document additional fopen
11415 parameters.
11416
8de131cb
RM
114172012-04-09 Roland McGrath <roland@hack.frob.com>
11418
11419 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
11420 %eax without telling the compiler.
11421
c0ed9d7d
CD
114222012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
11423
11424 [BZ # 13963]
11425 * manual/install.texi: Use sourceware.org.
11426
c483f6b4
JM
114272012-04-09 Joseph Myers <joseph@codesourcery.com>
11428
d7dd9453
JM
11429 [BZ #13873]
11430 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
11431 (__ieee754_pow): Generate overflow and underflow using huge*huge
11432 and tiny*tiny rather than just returning constant infinity or zero
11433 for large exponents.
11434 * math/libm-test.inc (pow_test): Require overflow exceptions for
11435 applicable cases of large exponents.
11436
c483f6b4
JM
11437 [BZ #706]
11438 * sysdeps/i386/fpu/e_pow.S (p10): New object.
11439 (__ieee754_pow): Use iterative multiplication algorithm only for
11440 integer exponents with absolute value below 1024. Check for odd
11441 integer exponents when using algorithm for real exponents.
11442 * math/libm-test.inc (pow_test): Add more tests.
11443 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11444
d2de7579
JM
114452012-04-08 Joseph Myers <joseph@codesourcery.com>
11446
11447 [BZ #13705]
11448 * math/libm-test.inc (exp_test): Do not allow overflow exception
11449 on underflow test.
11450
f77f1232
AJ
114512012-04-08 Aurelien Jarno <aurelien@aurel32.net>
11452
11453 [BZ #13705]
11454 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
11455 instead of __kernel_standard_f.
11456
3884932b
MF
114572012-04-08 Mike Frysinger <vapier@gentoo.org>
11458
11459 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
11460 * sysdeps/x86_64/memset_chk.S: Likewise.
11461
54472e9c
AJ
114622012-04-08 Andreas Jaeger <aj@suse.de>
11463
6ab0fbfc
AJ
11464 [BZ #10153]
11465 * manual/startup.texi (Environment Access): Describe return value
11466 for putenv and setenv.
11467
61efba8c
AJ
11468 [BZ #6895]
11469 * manual/filesys.texi (Directory Entries): Add description for
11470 DT_LNK.
11471
95c3f29a
AJ
11472 [BZ #6890]
11473 * manual/filesys.texi (Directory Entries): Clarify that it's file
11474 system not operating system in the description of DT_UNKNOWN.
11475
54472e9c
AJ
11476 [BZ #6578]
11477 * manual/syslog.texi (closelog): Fix reference, it's openlog.
11478
624254b1
SC
114792012-04-08 Stephen Compall <s11@member.fsf.org>
11480
11481 [BZ #6649]
11482 * manual/llio.texi (Opening and Closing Files): Add cross
11483 reference to explain mode argument.
11484
1e4920e0
MF
114852012-04-07 Mike Frysinger <vapier@gentoo.org>
11486
11487 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
11488 * sysdeps/x86_64/memset_chk.S: Likewise.
11489
5ed848f3
DM
114902012-04-07 David S. Miller <davem@davemloft.net>
11491
11492 * elf/elf.h (R_SPARC_WDISP10): Define.
11493 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
11494 R_SPARC_SIZE32.
11495 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
11496 R_SPARC_SIZE64 and R_SPARC_H34.
11497
96154cd8
CD
114982012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
11499
11500 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
11501 conditions and remove no longer applicable assertion.
11502
9904dc47
L
115032012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11504
11505 * bits/byteswap.h: Include <features.h>.
11506 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11507 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11508
f8887d0a
L
115092012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11510
11511 * bits/byteswap.h (__bswap_16): Removed.
11512 Include <bits/byteswap-16.h> to get __bswap_16.
11513 * sysdeps/i386/bits/byteswap.h: Likewise.
11514 * sysdeps/s390/bits/byteswap.h: Likewise.
11515 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11516 * bits/byteswap-16.h: New file.
11517 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11518 * sysdeps/s390/bits/byteswap-16.h: Likewise.
11519 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
11520 * string/Makefile (headers): Add bits/byteswap-16.h.
11521
62470f60
PP
115222012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11523
11524 [BZ #13895]
11525 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
11526 extra indirection.
11527 * nss/Makefile (tests-static, tests): Add tst-nss-static.
11528 * nss/tst-nss-static.c: New.
11529
4dad7bab
RM
115302012-04-06 Robert Millan <rmh@gnu.org>
11531
11532 [BZ #6486]
11533 * manual/llio.texi (File Position Primitive): lseek
11534 refers to WHENCE when it really means OFFSET.
11535
e9142a17
AJ
115362012-04-06 Andreas Jaeger <aj@suse.de>
11537
2c040eff
AJ
11538 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
11539 strncmp declarations.
11540
e9142a17
AJ
11541 * abilist/libc.abilist: Add __poll and __ppoll.
11542
ff9f1c5f
DM
115432012-04-05 David S. Miller <davem@davemloft.net>
11544
dcd2ae90
DM
11545 * scripts/check-local-headers.sh: Accept a host triplet in the
11546 path matched by the exclude regexp.
11547
993eb054
DM
11548 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
11549 definition.
11550 * sysdeps/powerpc/powerpc32/dl-machine.h
11551 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
11552 * sysdeps/s390/s390-32/dl-machine.h
11553 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11554 * sysdeps/sparc/sparc32/dl-machine.h
11555 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11556 * sysdeps/sparc/sparc64/dl-machine.h
11557 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11558
ff9f1c5f
DM
11559 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
11560 lazy binding.
48e2e132 11561 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
11562 undefined symbol errors.
11563
48e2e132 11564 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
11565 DT_NEEDED entries.
11566
e80d6f94
MM
115672012-04-05 Michael Matz <matz@suse.de>
11568
11569 [BZ #13592]
11570 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
11571
349fa79f
AJ
115722012-04-05 Andreas Jaeger <aj@suse.de>
11573
11574 [BZ #13908]
11575 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
11576 comment.
11577
f402708f
KK
115782012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11579
11580 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
11581 which ROUND is no valid rounding mode.
11582
2ecccfc9
KK
115832012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11584
11585 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
11586 read again.
11587 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
11588
8a53f50f
KK
115892012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11590
11591 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
11592 an exception using FPU order intentionally.
11593
115942012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11595
11596 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
11597 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
11598 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
11599 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
11600
d653abb7
SJ
116012012-04-05 Simon Josefsson <simon@josefsson.org>
11602
11603 [BZ #12340]
11604 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
11605 EINVAL when BUFLEN is too smal.
11606
c3b1bf7d
TS
116072012-04-05 Thomas Schwinge <thomas@codesourcery.com>
11608
11609 [BZ #13553]
11610 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
11611 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
11612
b1aa60f3
AJ
116132012-04-03 Andreas Jaeger <aj@suse.de>
11614
c3b1bf7d 11615 [BZ #13938]
67f60a26
AJ
11616 * manual/setjmp.texi (System V contexts): Fix sentence.
11617
b1aa60f3
AJ
11618 [BZ #13926]
11619 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
11620 New macro for this case.
11621 [!__GNUC__] (__bswap_64): New inline function for this case.
11622 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11623 * bits/byteswap.h: Likewise.
11624 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
11625 ull, guard with __GLIBC_HAVE_LONG_LONG.
11626
11627 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
11628 __GLIBC_HAVE_LONG_LONG.
11629
11630 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
11631 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
11632
39c59c35
TMQMF
116332012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11634
11635 [BZ #13691]
11636 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
11637 inptr and inend, rather than using last_ch.
11638
135ffda8
DM
116392012-04-02 David S. Miller <davem@davemloft.net>
11640
11641 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
11642 * stdio-common/printf-parse.h (read_int): Change return type to
11643 'int', return -1 on INT_MAX overflow.
11644 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
11645 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
11646 overflows INT_MAX. Check for overflow of in-format-string precision
11647 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
11648 SIZE_MAX not INT_MAX for integer overflow test.
11649 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
11650 skip the construct in the format string but do not record anything.
11651 * stdio-common/bug22.c: Adjust to test both width/prevision
11652 INT_MAX overflow as well as total length INT_MAX overflow. Check
11653 explicitly for proper errno values.
11654
228c019e
TS
116552012-04-02 Thomas Schwinge <thomas@codesourcery.com>
11656
302cadd3
TS
11657 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
11658 CHAR_MAX.
11659 * string/test-strcmp.c [! WIDE]: Likewise.
11660 * time/tst-mktime2.c: Likewise for INT_MAX.
11661 * string/test-string.h: #include <sys/param.h> for MIN.
11662
228c019e
TS
11663 * csu/init-first.c (__libc_init_first): Call __ctype_init.
11664 * sysdeps/i386/init-first.c (init): Likewise.
11665 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
11666 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
11667 * sysdeps/sh/init-first.c (init): Likewise.
11668
cfa633f5
UD
116692012-04-01 Ulrich Drepper <drepper@gmail.com>
11670
11671 * po/ru.po: Update from translation team.
d1635ef8 11672 * po/vi.po: Likewise.
cfa633f5 11673
6cd0a5ea
SP
116742012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11675
11676 * resolv/nss_dns/dns-host.c: Merge copyright years.
11677
4b43400f
LD
116782012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11679
11680 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
11681 Optimize memcpy with prefetch if
11682 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
11683 src, dst pointers have unequal 16 byte alignments.
11684
48c41d04
SP
116852012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11686
11687 [BZ #13928]
11688 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
11689 from a CNAME entry and return the minimum ttl for the query.
11690 (gaih_getanswer_slice): Likewise.
11691
b8dc394d
JL
116922012-03-30 Jeff Law <law@redhat.com>
11693
11694 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
11695 due to long keys.
11696 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
11697 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11698
2f5a5ed0
JL
11699 * resolv/nss_dns/dns-host.c: Update copyright year.
11700
1d39e359
UD
117012012-03-30 Ulrich Drepper <drepper@gmail.com>
11702
c030f70c 11703 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 11704 requests to save a system call. Fix check that all bytes are sent.
c030f70c 11705
1d39e359
UD
11706 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
11707 comments for sendmmsg.
11708
117092012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
11710
11711 [BZ #13691]
11712 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
11713 with only 1 character between 0x0041 and 0x01b0.
11714 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
11715 * wcsmbs/tst-mbsnrtowcs.c: New file.
11716
20fde227
DM
117172012-03-29 David S. Miller <davem@davemloft.net>
11718
11719 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
11720 small copies by hand.
11721
984a4237
JL
117222012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11723
11724 [BZ #13761]
11725 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
11726 _nss_compat_initgroups_dyn): Fall back to malloc/free
11727 for large group memberships.
11728
18c9d62b
DM
117292012-03-28 David S. Miller <davem@davemloft.net>
11730
88d85d4f
DM
11731 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
11732 that branches into memcpy.
11733 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
11734 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
11735 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11736 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
11737 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
11738 bits.
11739 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
11740 implementation too.
11741 * sysdeps/sparc/mempcpy.S: New file.
11742
e5aa83e1
DM
11743 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
11744 the IFUNC routine in the libc case.
11745 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11746
88570753
DM
11747 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
11748 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
11749 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
11750 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
11751 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
11752 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
11753 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
11754 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
11755
249d7567
DM
11756 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
11757 loop to 256 bytes instead of 64 bytes and fix test signedness.
11758
18c9d62b
DM
11759 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
11760 * sysdeps/sparc/sparc32/Makefile: rather than here...
11761 * sysdeps/sparc/sparc64/Makefile: and here.
11762
05f3d1f6
UD
117632012-03-28 Ulrich Drepper <drepper@gmail.com>
11764
11765 * malloc/mallocbug.c: Avoid warnings about unused variables.
11766
86ae07a8
JL
117672012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11768
11769 [BZ #13760]
11770 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
11771 in the right place. Discard and retry query if response is
11772 larger than input buffer size.
11773
41bf21a1
JM
117742012-03-28 Joseph Myers <joseph@codesourcery.com>
11775
d6270972
JM
11776 [BZ #369]
11777 [BZ #2678]
11778 [BZ #3866]
11779 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
11780 x for large integer exponent.
11781 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11782 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
11783 sign of result as needed afterwards.
11784 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11785 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
11786 result for underflowing pow the same as for overflow.
11787 (__kernel_standard_l): Handle powl overflow and underflow here
11788 rather than calling __kernel_standard.
11789 * math/libm-test.inc (pow_test): Add more tests.
11790
414fca03 11791 [BZ #3868]
41bf21a1
JM
11792 [BZ #13879]
11793 [BZ #13910]
11794 [BZ #13911]
11795 [BZ #13912]
11796 [BZ #13913]
11797 [BZ #13915]
11798 [BZ #13916]
11799 [BZ #13917]
11800 [BZ #13918]
11801 [BZ #13919]
11802 [BZ #13920]
11803 [BZ #13921]
11804 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
11805 * sysdeps/ieee754/k_standard.c: Include <float.h>.
11806 (__kernel_standard_l): New function.
11807 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
11808 __kernel_standard.
11809 * math/w_acosl.c (__acosl): Likewise.
11810 * math/w_asinl.c (__asinl): Likewise.
11811 * math/w_atan2l.c (__atan2l): Likewise.
11812 * math/w_atanhl.c (__atanhl): Likewise.
11813 * math/w_coshl.c (__coshl): Likewise.
11814 * math/w_exp10l.c (__exp10l): Likewise.
11815 * math/w_exp2l.c (__exp2l): Likewise.
11816 * math/w_fmodl.c (__fmodl): Likewise.
11817 * math/w_hypotl.c (__hypotl): Likewise.
11818 * math/w_j0l.c (__j0l, __y0l): Likewise.
11819 * math/w_j1l.c (__j1l, __y1l): Likewise.
11820 * math/w_jnl.c (__jnl, __ynl): Likewise.
11821 * math/w_lgammal.c (__lgammal): Likewise.
11822 * math/w_log10l.c (__log10l): Likewise.
11823 * math/w_log2l.c (__log2l): Likewise.
11824 * math/w_logl.c (__logl): Likewise.
11825 * math/w_powl.c (__powl): Likewise.
11826 * math/w_remainderl.c (__remainderl): Likewise.
11827 * math/w_scalbl.c (sysv_scalbl): Likewise.
11828 * math/w_sinhl.c (__sinhl): Likewise.
11829 * math/w_sqrtl.c (__sqrtl): Likewise.
11830 * math/w_tgammal.c (__tgammal): Likewise.
11831 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
11832 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
11833 * math/libm-test.inc (acos_test): Add more tests.
11834 (acosh_test): Likewise.
11835 (asin_test): Likewise.
11836 (atanh_test): Likewise.
11837 (exp_test): Likewise.
11838 (exp10_test): Likewise.
11839 (exp2_test): Likewise.
11840 (expm1_test): Likewise.
11841 (lgamma_test): Likewise.
11842 (log_test): Likewise.
11843 (log10_test): Likewise.
11844 (log1p_test): Likewise.
11845 (log2_test): Likewise.
11846 (pow_test): Do not allow some spurious overflow exceptions.
11847 (sqrt_test): Add more tests.
11848 (tgamma_test): Likewise.
11849 (y0_test): Likewise.
11850 (y1_test): Likewise.
11851 (yn_test): Likewise.
11852
dd62fda6
AB
118532012-03-27 Anton Blanchard <anton@samba.org>
11854
11855 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
11856 MAP_HUGETLB.
11857 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11858 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11859 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11860
1e3cdfda
AJ
118612012-03-27 David S. Miller <davem@davemloft.net>
11862
b855ab85
DM
11863 * conform/Makefile: Run run-conformtest.sh using $(BASH).
11864
1e3cdfda
AJ
11865 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
11866 have-as-vis3 check.
11867
118682012-03-27 Andreas Jaeger <aj@suse.de>
11869
11870 * sysdeps/x86_64/elf/configure.in: Moved to ...
11871 * sysdeps/x86_64/configure.in: ... here.
11872 * sysdeps/x86_64/elf/start.S: Moved to ...
11873 * sysdeps/x86_64/start.S: ... here.
11874 * sysdeps/x86_64/elf/configure: Delete.
11875
11876 * sysdeps/x86_64/configure.in: Merge contents from
11877 sysdeps/i386/configure.in (without i686 check).
11878
11879 * sysdeps/i386/elf/Versions: Merge into ...
11880 * sysdeps/i386/Versions: ... this.
11881 * sysdeps/i386/elf/Versions: Delete file.
11882 * sysdeps/i386/elf/start.S: Moved to ...
11883 * sysdeps/i386/start.S: ...here.
11884 * sysdeps/i386/elf/configure.in: Merge into...
11885 * sysdeps/i386/configure.in: ...here.
11886 * sysdeps/i386/elf/configure.in: Delete file.
11887 * sysdeps/i386/elf/configure: Delete file.
11888
11889 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
11890 * debug/backtracesyms.c: ... here.
11891 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
11892 * debug/backtracesymsfd.c: ... here.
11893 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
11894 * sysdeps/generic/ifunc-sel.h: ... here.
11895
11896 * sysdeps/unix/i386/start.c: Delete file.
11897 * sysdeps/unix/sparc/start.c: Delete file.
11898 * sysdeps/unix/start.c: Delete file.
11899
11900 * sysdeps/sh/elf/configure.in: Moved to ...
11901 * sysdeps/sh/configure.in: ... here.
11902 * sysdeps/sh/elf/start.S: Moved to ...
11903 * sysdeps/sh/start.S: ... here.
11904 * sysdeps/sh/elf/configure: Delete file.
11905
11906 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
11907 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
11908 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
11909 * sysdeps/powerpc/powerpc64/entry.h: ... here.
11910 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
11911 * sysdeps/powerpc/powerpc64/start.S: here.
11912 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
11913 * sysdeps/powerpc/powerpc64/Makefile: ... this.
11914 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
11915 * sysdeps/powerpc/powerpc64/configure.in: ... this.
11916 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
11917
11918 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
11919 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
11920 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
11921 * sysdeps/powerpc/powerpc32/start.S: ... here.
11922 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
11923 * sysdeps/powerpc/powerpc32/configure.in: ... this.
11924 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
11925
11926 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
11927 * sysdeps/powerpc/ifunc-sel.h: ... here.
11928 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
11929 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
11930
11931 * sysdeps/sparc/elf/configure.in: Moved to ...
11932 * sysdeps/sparc/configure.in: ... here.
11933 * sysdeps/sparc/elf/configure: Delete file.
11934 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
11935 * sysdeps/sparc/sparc32/start.S: ... here.
11936 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
11937 * sysdeps/sparc/sparc64/start.S: ... here.
11938 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
11939 * sysdeps/sparc/sparc32/Makefile: ... this.
11940 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
11941 * sysdeps/sparc/sparc64/Makefile: ... this.
11942
11943 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
11944 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
11945 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
11946 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
11947 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
11948 * sysdeps/s390/s390-32/setjmp.S: ... here.
11949 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
11950 * sysdeps/s390/s390-32/configure.in: ... here.
11951 * sysdeps/s390/s390-32/elf/configure: Delete file.
11952 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
11953 * sysdeps/s390/s390-32/start.S: ... here.
11954
11955 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
11956 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
11957 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
11958 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
11959 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
11960 * sysdeps/s390/s390-64/setjmp.S: ... here.
11961 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
11962 * sysdeps/s390/s390-64/configure.in: ... here
11963 * sysdeps/s390/s390-64/elf/configure: Delete file.
11964 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
11965 * sysdeps/s390/s390-64/start.S: ... here.
11966 * sysdeps/s390/s390-64/elf/configure: Delete.
11967
11968 * configure.in: Remove support for elf directories in sysdeps.
11969
11970 * configure: Regenerated.
11971 * sysdeps/i386/configure: Regenerated.
11972 * sysdeps/powerpc/powerpc32/configure: Regenerated.
11973 * sysdeps/powerpc/powerpc64/configure: Regenerated.
11974 * sysdeps/s390/s390-32/configure: Regenerated.
11975 * sysdeps/s390/s390-64/configure: Regenerated.
11976 * sysdeps/sh/configure: Regenerated.
11977 * sysdeps/sparc/configure: Regenerated.
11978 * sysdeps/x86_64/configure: Regenerated.
11979
a3f61311
AS
119802012-03-26 Andreas Schwab <schwab@linux-m68k.org>
11981
c876e002
AS
11982 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11983
a3f61311
AS
11984 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
11985 denormal result into account.
11986
ac4c54f0
RM
119872012-03-25 Roland McGrath <roland@hack.frob.com>
11988
11989 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
11990 Reported by Allan McRae <allan@archlinux.org>.
11991
6a9b9c02
JL
119922012-03-23 Jeff Law <law@redhat.com>
11993
11994 * nss/getnssent.c (__nss_getent): Fix typo.
11995
4c42a0c1
DM
119962012-03-23 David S. Miller <davem@davemloft.net>
11997
11998 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11999
1532c7ac
L
120002012-03-23 H.J. Lu <hongjiu.lu@intel.com>
12001
12002 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
12003 to pad to uint64_t for each field.
12004 (dl_tls_index): Replace unsigned long with uint64_t.
12005
3ff42526
PP
120062012-03-23 Daniel Jacobowitz <dmj@google.com>
12007 Paul Pluzhnikov <ppluzhnikov@google.com>
12008
12009 [BZ #6528]
12010 * grp/Makefile (otherlibs): Don't set it.
12011 * inet/Makefile (otherlibs): Likewise.
12012 * login/Makefile (otherlibs): Likewise.
12013 * nscd/Makefile (otherlibs): Likewise.
12014 * posix/Makefile (otherlibs): Likewise.
12015 * pwd/Makefile (otherlibs): Likewise.
12016 * rt/Makefile (otherlibs): Likewise.
12017 * sunrpc/Makefile (otherlibs): Likewise.
12018 * nss/Makefile (otherlibs): Likewise.
12019 Add libnss_files to routines and static-only-routines.
12020 ($(objpfx)getent): Remove rule.
12021 * resolv/Makefile: Add libnss_dns and libresolv to routines and
12022 static-only-routines.
12023
7c69cd14
JM
120242012-03-22 Joseph Myers <joseph@codesourcery.com>
12025
12026 [BZ #13892]
12027 * math/s_cexp.c: Include <float.h>.
12028 (__cexp): Handle exp result overflowing not necessarily
12029 overflowing both real and imaginary parts of result.
12030 * math/s_cexpf.c: Likewise.
12031 * math/s_cexpl.c: Likewise.
12032 * math/libm-test.inc (cexp_test): Add more tests.
12033 * sysdeps/i386/fpu/libm-test-ulps: Update.
12034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12035
81b035fe
L
120362012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12037
12038 * include/link.h (ELFW): New macro.
12039 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
12040 Replace ELF64_R_TYPE with ELFW(R_TYPE).
12041
1da7940c
L
120422012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12043
12044 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
12045 with uint64_t.
12046
b749dbb9
L
120472012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12048
12049 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
12050 declaration.
12051 (struct La_x32_retval): Likewise.
12052
2ff87f3f
L
120532012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12054
12055 * sysdeps/x86_64/preconfigure.in: New file.
12056 * sysdeps/x86_64/preconfigure: New generated file.
12057
c0df8e69
JM
120582012-03-22 Joseph Myers <joseph@codesourcery.com>
12059
48e44791
JM
12060 [BZ #13824]
12061 * math/e_exp2l.c: Include <float.h>.
12062 (__ieee754_exp2l): Handle overflow and underflow cases
12063 separately. Only pass fractional part of argument to
12064 __ieee754_expl.
12065 * math/libm-test.inc (exp2_test): Add more tests.
12066
c0df8e69
JM
12067 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
12068 negating x to take absolute value.
12069 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
12070 Likewise.
12071 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12072 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
12073 Likewise.
12074 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
12075 computing low part if x was negated.
12076 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12077
c8e43ba7
L
120782012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12079
12080 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
12081 la_x32_gnu_pltexit.
12082 (pltexit): Cast int_retval to ptrdiff_t.
12083 * elf/tst-auditmod3b.c: Likewise.
12084 * elf/tst-auditmod4b.c: Likewise.
12085 * elf/tst-auditmod5b.c: Likewise.
12086 * elf/tst-auditmod6b.c: Likewise.
12087 * elf/tst-auditmod6c.c: Likewise.
12088 * elf/tst-auditmod7b.c: Likewise.
12089
12090 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
12091 and x32_gnu_pltexit.
12092
12093 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
12094 __ELF_NATIVE_CLASS.
12095 (La_x32_regs): New macro.
12096 (La_x32_retval): Likewise.
12097 (la_x32_gnu_pltenter): New function prototype.
12098 (la_x32_gnu_pltexit): Likewise.
12099
7998fa78
AS
121002012-03-21 Andreas Schwab <schwab@linux-m68k.org>
12101
dcb33988
AS
12102 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
12103 exponent.
12104
233fc563
AS
12105 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12106
7998fa78
AS
12107 * configure.in (libc_cv_cc_nofma): Check for option to disable
12108 generation of FMA instructions.
12109 * configure: Regenerate.
12110 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
12111 * sysdeps/ieee754/dbl-64/Makefile: New file.
12112 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
12113 Remove brandred-fma4.
12114 (CFLAGS-brandred-fma4.c): Remove.
12115 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
12116 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
12117 define.
12118 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
12119 define.
12120
8e95c99a
L
121212012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12122
12123 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12124 LLONG_MAX != LONG_MAX.
12125 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12126 (_fitoa_word): Likewise.
12127 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
12128 LLONG_MAX != LONG_MAX.
12129 * stdio-common/_itowa.h: Include <_itoa.h>.
12130 (_itowa_word): Use _ITOA_WORD_TYPE on value.
12131 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
12132 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
12133 only if not defined.
12134 (_ITOA_WORD_TYPE): Likewise.
12135 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12136 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
12137
6f4db457
DM
121382012-03-21 David S. Miller <davem@davemloft.net>
12139
12140 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12141
7785fe5a
L
121422012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12143
12144 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
12145 of x86_64 when setting libc_cv_slibdir, libdir and
12146 libc_cv_localedir.
12147 * sysdeps/unix/sysv/linux/configure: Regenerated.
12148
4535cd55
JM
121492012-03-21 Joseph Myers <joseph@codesourcery.com>
12150
12151 * manual/lang.texi (Old Varargs): Remove section.
12152 (How Variadic): Update menu.
12153 (va_start): Do not mention varargs.h.
12154
17228132
TS
121552012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12156 Joseph Myers <joseph@codesourcery.com>
12157
12158 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
12159 link test.
12160 * configure: Regenerated.
12161
8149f976
TS
121622012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12163
05f3d1f6
UD
12164 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
12165 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
12166 conformtest.pl
8149f976 12167
1a4ac776
JM
121682012-03-21 Joseph Myers <joseph@codesourcery.com>
12169
be22ce65
JM
12170 * NOTES: Remove.
12171 * Makefile (files-for-dist): Remove NOTES.
12172 (NOTES): Remove rule.
12173 * README: Don't refer to NOTES.
12174 * manual/creature.texi: Don't include macros.texi.
12175 * manual/intro.texi (creature.texi): Remove comment referring to
12176 NOTES.
12177
40b601fb
JM
12178 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
12179 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
12180 * configure: Regenerated.
12181 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
12182 LIBC_TRY_CC_OPTION.
12183 (libc_cv_as_i686): Likewise.
12184 (libc_cv_cc_avx): Likewise.
12185 (libc_cv_cc_sse2avx): Likewise.
12186 (libc_cv_cc_fma4): Likewise.
12187 (libc_cv_cc_novzeroupper): Likewise.
12188 * sysdeps/i386/configure: Regenerated.
12189
1a4ac776
JM
12190 [BZ #13883]
12191 * sysdeps/i386/fpu/s_cexp.S: Remove.
12192 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12193 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12194 * math/libm-test.inc (cexp_test): Add more tests.
12195 * sysdeps/i386/fpu/libm-test-ulps: Update.
12196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12197
a458e7fe
AM
121982012-03-21 Allan McRae <allan@archlinux.org>
12199
12200 * timezone/Makefile: Do not install iso3166.tab and zone.tab
12201
0cb7efc5
JM
122022012-03-21 Joseph Myers <joseph@codesourcery.com>
12203
12204 [BZ #13871]
12205 * math/w_exp2.c: Do not include <float.h>.
12206 (o_threshold, u_threshold): Remove.
12207 (__exp2): Calculate result before checking finiteness and calling
12208 __kernel_standard.
12209 * math/w_exp2f.c: Likewise.
12210 * math/w_exp2l.c: Likewise.
12211 * math/libm-test.inc (exp2_test): Require overflow exception for
12212 1e6 input.
2460d3aa
JM
12213
12214 [BZ #3866]
12215 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
12216 range of signed 64-bit integers before using fistpll. Remove
12217 checks for whether integers fit in mantissa bits.
12218 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
12219 the range of signed 32-bit integers before using fistpl. Remove
12220 checks for whether integers fit in mantissa bits.
12221 * sysdeps/i386/fpu/e_powl.S (p64): New object.
12222 (__ieee754_powl): Test for y outside the range of signed 64-bit
12223 integers before using fistpll. Reduce 64-bit values to 63-bit
12224 ones as needed.
12225 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
12226 divide-by-zero is raised for zero to large negative powers.
12227 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
12228 (__ieee754_powl): Test for y outside the range of signed 64-bit
12229 integers before using fistpll. Reduce 64-bit values to 63-bit
12230 ones as needed.
12231 * math/libm-test.inc (pow_test): Add more tests.
12232
eb96ffb0
L
122332012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12234
12235 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
12236 <stdio-common/_itoa.h>.
12237 * debug/segfault.c: Likewise.
12238 * elf/dl-cache.c: Likewise.
12239 * elf/dl-minimal.c: Likewise.
12240 * elf/dl-misc.c: Likewise.
12241 * elf/dl-sysdep.c: Likewise.
12242 * elf/dl-version.c: Likewise.
12243 * elf/rtld.c: Likewise.
12244 * hurd/hurdsock.c: Likewise.
12245 * hurd/lookup-retry.c: Likewise.
12246 * malloc/malloc.c: Likewise.
12247 * malloc/mtrace.c: Likewise.
12248 * nscd/nscd_getgr_r.c: Likewise.
12249 * nscd/nscd_getpw_r.c: Likewise.
12250 * nscd/nscd_getserv_r.c: Likewise.
12251 * posix/getopt_init.c: Likewise.
12252 * posix/wordexp.c: Likewise.
12253 * stdio-common/_itoa.c: Likewise.
12254 * stdio-common/printf_fphex.c: Likewise.
12255 * stdio-common/vfprintf.c: Likewise.
12256 * string/_strerror.c: Likewise.
12257 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
12258 * sysdeps/i386/i686/hp-timing.h: Likewise.
12259 * sysdeps/mach/_strerror.c: Likewise.
12260 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
12261 * sysdeps/mach/hurd/sethostid.c: Likewise.
12262 * sysdeps/mach/hurd/xmknodat.c: Likewise.
12263 * sysdeps/mach/xpg-strerror.c: Likewise.
12264 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12265 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12266 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
12267 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
12268 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12269 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
12270 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
12271 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
12272 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
12273 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
12274 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
12275 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12276 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
12277 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12278 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12279 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
12280 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
12281 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
12282 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
12283 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12284 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
12285
12286 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
12287
12288 * stdio-common/_itoa.h: Moved to ...
12289 * sysdeps/generic/_itoa.h: Here.
12290
12291 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
12292
12293 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
12294 instead of "_itoa.h" and "_itowa.h".
12295 * stdio-common/vfprintf.: Likewise.
12296
d1af992d
L
122972012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12298
12299 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
12300 <bits/wordsize.h>.
12301 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
12302 (__signbit): Likwise.
12303 (llrintf): Likwise.
12304 (llrint): Likwise.
12305
114883e0
L
123062012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12307
12308 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
12309 __WORDSIZE != 64.
12310
c135cc1b
JM
123112012-03-20 Joseph Myers <joseph@codesourcery.com>
12312
12313 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
12314 OVERFLOW_EXCEPTION_OK.
12315 * math/libm-test.inc ("Philosophy"): Update comment about
12316 exception testing.
12317 (OVERFLOW_EXCEPTION): Define.
12318 (OVERFLOW_EXCEPTION_OK): Likewise.
12319 (INVALID_EXCEPTION_OK): Renumber.
12320 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12321 (IGNORE_ZERO_INF_SIGN): Likewise.
12322 (test_exceptions): Handle FE_OVERFLOW.
12323 (exp10_test): Expect overflow exceptions.
12324 (exp2_test): Likewise.
12325 (expm1_test): Likewise.
12326 (nextafter_test): Likewise.
12327 (pow_test): Likewise.
12328 (scalbn_test): Likewise.
12329 (scalbln_test): Likewise.
12330
95443d88
L
123312012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12332
12333 * sysdeps/x86_64/bits/atomic.h
12334 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
12335 64bit integer.
12336 (atomic_exchange_acq): Likewise.
12337 (__arch_exchange_and_add_body): Likewise.
12338 (__arch_add_body): Likewise.
12339 (atomic_add_negative): Likewise.
12340 (atomic_add_zero): Likewise.
12341
490df6c4
L
123422012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12343
c2722551 12344 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
12345 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
12346
5e52b189
L
123472012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12348
12349 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
12350 Check __x86_64__ instead of __WORDSIZE.
12351
a9879d4c
L
123522012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12353
12354 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
12355
5df98260
DM
123562012-03-19 David S. Miller <davem@davemloft.net>
12357
e1497744
DM
12358 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12359
5df98260
DM
12360 * sysdeps/sparc/fpu/fenv_private.h: New file.
12361 * sysdeps/sparc/fpu/math_private.h: Use it.
12362 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
12363 Remove.
12364 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
12365 (libc_feholdexcept_setroundl): Remove.
12366 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
12367 Remove.
12368 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
12369 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
12370
b4c35121
L
123712012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12372
12373 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
12374 int64_t instead of long int.
12375 (INSERT_WORDS64): Likwise.
12376
56965fd7
L
123772012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12378
12379 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
12380 _Unwind_GetCFA return to _Unwind_Ptr first.
12381
83d1aec8
JM
123822012-03-19 Joseph Myers <joseph@codesourcery.com>
12383
1897ad44
JM
12384 [BZ #13629]
12385 * math/s_clog.c: Include <float.h>.
12386 (__clog): Scale large or subnormal inputs.
12387 * math/s_clogf.c: Likewise.
12388 * math/s_clogl.c: Likewise.
12389 * math/s_clog10.c: Include <float.h>.
12390 (M_LOG10_2): Define.
12391 (__clog10): Scale large or subnormal inputs.
12392 * math/s_clog10f.c: Likewise.
12393 * math/s_clog10l.c: Likewise.
12394 * math/libm-test.inc (clog_test): Add more tests.
12395 (clog10_test): Likewise.
12396 * sysdeps/i386/fpu/libm-test-ulps: Update.
12397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12398
7726d6a9
JM
12399 [BZ #11451]
12400 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
12401 x and y.
12402 * math/libm-test.inc (atan2_test): Add another test.
12403
83d1aec8
JM
12404 * Makerules (common-objdir-compile): Remove.
12405 * sysdeps/unix/Makefile (config-generated): Do not add
12406 $(unix-generated) to variable.
12407 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
12408 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
12409 Remove rule.
12410 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
12411 Likewise.
12412 [generic bits/local_lim.h] (before-compile): Do not append to
12413 variable.
12414 [generic bits/local_lim.h] (common-generated): Likewise.
12415 [generic sys/param.h] (before-compile): Do not append to variable.
12416 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
12417 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
12418 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
12419 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
12420 include.
12421 [generic sys/param.h] (sys/param.h-includes): Remove variable.
12422 [generic sys/param.h] (sys/param.h-includes): Remove rule.
12423 [generic sys/param.h] ($(addprefix
12424 $(common-objpfx),$(sys/param.h-includes))): Likewise.
12425 [generic sys/param.h] (common-generated): Do not append to
12426 variable.
12427 [generic sys/param.h] (sysdep_headers): Likewise.
12428 [generic bits/errno.h] (before-compile): Do not append to
12429 variable.
12430 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
12431 rule.
12432 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
12433 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
12434 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
12435 [generic bits/errno.h] (common-generated): Do not append to
12436 variable.
12437 [generic bits/ioctls.h] (before-compile): Do not append to
12438 variable.
12439 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
12440 rule.
12441 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
12442 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
12443 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
12444 rule.
12445 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
12446 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
12447 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
12448 [generic bits/ioctls.h] (common-generated): Do not append to
12449 variable.
12450 [generic sys/syscall.h] (syscall.h): Remove variable.
12451 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
12452 rule.
12453 [generic sys/syscall.h] (before-compile): Do not append to
12454 variable.
12455 [generic sys/syscall.h] (common-generated): Likewise.
12456 * sysdeps/unix/errnos-tmpl.c: Remove file.
12457 * sysdeps/unix/errnos.awk: Likewise.
12458 * sysdeps/unix/ioctls-tmpl.c: Likewise.
12459 * sysdeps/unix/ioctls.awk: Likewise.
12460 * sysdeps/unix/mk-local_lim.c: Likewise.
12461 * sysdeps/unix/snarf-ioctls: Likewise.
12462
4851a949
RH
124632012-03-19 Richard Henderson <rth@twiddle.net>
12464
bd37f2ee
RH
12465 * sysdeps/i386/fpu/fenv_private.h: New file.
12466 * sysdeps/i386/fpu/math_private.h: Use it.
12467 (math_opt_barrier, math_force_eval): Remove.
12468 (libc_feholdexcept_setround_53bit): Remove.
12469 (libc_feupdateenv_53bit): Remove.
12470 * sysdeps/x86_64/fpu/math_private.h: Likewise.
12471 (math_opt_barrier, math_force_eval): Remove.
12472 (libc_feholdexcept): Remove.
12473 (libc_feholdexcept_setround): Remove.
12474 (libc_fetestexcept, libc_fesetenv): Remove.
12475 (libc_feupdateenv_test): Remove.
12476 (libc_feupdateenv, libc_feholdsetround): Remove.
12477 (libc_feresetround): Remove.
12478
d0adc922
RH
12479 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
12480 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
12481
0fe0f1f8
RH
12482 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
12483 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
12484 (libc_feupdateenv_testl): New.
12485 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
12486 (libc_feupdateenv_testf): New.
12487 (libc_feupdateenv): Use libc_feupdateenv_test.
12488 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
12489 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
12490
eb92c487
RH
12491 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
12492 (libc_feholdsetroundf, libc_feholdsetroundl): New.
12493 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
12494 (libc_feresetround_noex): New.
12495 (libc_feresetround_noexf): New.
12496 (libc_feresetround_noexl): New.
12497 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
12498 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
12499 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
12500 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
12501 SET_RESTORE_ROUND.
12502 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12503 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
12504 (__cos): Likewise.
12505 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
12506 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
12507 SET_RESTORE_ROUND_NOEX.
12508 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
12509 SET_RESTORE_ROUND_NOEXF.
12510 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
12511 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
12512 (libc_feholdsetroundf): New.
12513 (libc_feresetround, libc_feresetroundf): New.
12514
7d2e8012
RH
12515 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
12516 (libc_feholdexcept_setround_53bit): Convert from macro to function.
12517 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
12518
b4dabbb4
RH
12519 * sysdeps/generic/math_private.h: Include <fenv.h>.
12520 (default_libc_feholdexcept): New.
12521 (default_libc_feholdexcept_setround): New.
12522 (default_libc_fesetenv, default_libc_feupdateenv): New.
12523 (libc_feholdexcept): Only define if undefined.
12524 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
12525 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
12526 (libc_feholdexcept_setroundl): Likewise.
12527 (libc_feholdexcept_setround_53bit): Likewise.
12528 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
12529 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
12530 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
12531 (libc_feupdateenv_53bit): Likewise.
12532 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
12533 (libc_feholdexcept): Convert from macro to inline function.
12534 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
12535 (libc_fesetenv, libc_feupdateenv): Likewise.
12536
4851a949
RH
12537 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
12538 not previously defined.
12539 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
12540 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
12541 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
12542 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
12543 * sysdeps/ieee754/flt-32/math_private.h: New file.
12544 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
12545 math_private.h below SET_FLOAT_WORD.
12546 (__isnan, __isinf_ns, __finite): Remove.
12547 (__isnanf, __isinf_nsf, __finitef): Remove.
12548
e79d442e
AS
125492012-03-18 Andreas Schwab <schwab@linux-m68k.org>
12550
12551 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12552
90b80344
DM
125532012-03-17 David S. Miller <davem@davemloft.net>
12554
12555 [BZ #6471]
12556 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
12557 for 2.16.
12558
edc21804
DM
125592012-03-16 David S. Miller <davem@davemloft.net>
12560
77e927af
DM
12561 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
12562 warnings.
12563
374976dd
DM
12564 [BZ #6471]
12565 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
12566 properly.
12567 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
12568 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
12569 sysdep_routines when subdir is sysvipc.
12570 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
12571 __getshmlba helper.
12572
edc21804
DM
12573 * sysdeps/sparc/fpu/libm-test/ulps: Update.
12574
473c3ef3
L
125752012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12576
12577 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
12578 [__LP64__].
12579
eb0f39b6
L
125802012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12581
12582 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
12583 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
12584 (__lround): Renamed to ...
12585 (__llround): This. Replace long int with long long int.
12586 Define lround functions as aliases of llround functions.
12587 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
12588
6b6cd74b
L
125892012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12590
12591 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
12592 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
12593 adresses to uintptr_t. Replace "long int" and "unsigned long
12594 int" with "greg_t" on va_arg.
12595
f1a77b01
L
125962012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12597
12598 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
12599 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
12600
12601 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
12602 Move e_machine check before EI_CLASS check. Handle x32
12603 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
12604 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
12605 SKIP_EM_IA_64 and include
12606 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
12607
12608 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
12609 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
12610 (add_system_dir): New macro.
12611
12612 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
12613 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
12614
11b90b9f
JM
126152012-03-16 Joseph Myers <joseph@codesourcery.com>
12616
c36e1d23
JM
12617 [BZ #2551]
12618 [BZ #2552]
12619 [BZ #2553]
12620 [BZ #2554]
12621 [BZ #2562]
12622 [BZ #2563]
12623 [BZ #2565]
12624 [BZ #2566]
12625 [BZ #2576]
12626 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
12627 (y0): Likewise.
12628 * math/w_j0f.c (j0f): Likewise.
12629 (y0f): Likewise.
12630 * math/w_j0l.c (__j0l): Likewise.
12631 (__y0l): Likewise.
12632 * math/w_j1.c (j1): Likewise.
12633 (y1): Likewise.
12634 * math/w_j1f.c (j1f): Likewise.
12635 (y1f): Likewise.
12636 * math/w_j1l.c (__j1l): Likewise.
12637 (__y1l): Likewise.
12638 * math/w_jn.c (jn): Likewise.
12639 (yn): Likewise.
12640 * math/w_jnf.c (jnf): Likewise.
12641 (ynf): Likewise.
12642 * math/w_jnl.c (__jnl): Likewise.
12643 (__ynl): Likewise.
12644 * math/libm-test.inc (j0_test): Add more tests.
12645 (j1_test): Likewise.
12646 (jn_test): Likewise. Add trailing semicolon to existing test.
12647 (y0_test): Likewise.
12648 (y1_test): Likewise.
12649 * sysdeps/i386/fpu/libm-test-ulps: Update.
12650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12651
11b90b9f
JM
12652 [BZ #13851]
12653 [BZ #13854]
12654 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
12655 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
12656 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
12657 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
12658 (__tanl): Set errno for infinite argument.
12659 * sysdeps/i386/fpu/mptan.c: Remove.
12660 * sysdeps/i386/fpu/s_tan.S: Likewise.
12661 * sysdeps/i386/fpu/s_tanl.S: Likewise.
12662 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
12663 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
12664 * math/libm-test.inc (tan_test): Add more tests and enable more
12665 tests for double and long double.
12666 * sysdeps/i386/fpu/libm-test-ulps: Update.
12667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12668
6a1bd2a1
JK
126692012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12670
12671 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
12672 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
12673
10a803e0
RM
126742012-03-16 Roland McGrath <roland@hack.frob.com>
12675
12676 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
12677 * configure.in: Use it for both main tree and add-ons.
12678 * configure: Regenerated.
12679
f196c7f7
L
126802012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12681
12682 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
12683
8848d99d
JM
126842012-03-16 Joseph Myers <joseph@codesourcery.com>
12685
96cbe7f4
JM
12686 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
12687 in comment.
12688
8848d99d
JM
12689 [BZ #13851]
12690 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
12691 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
12692 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
12693 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
12694 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
12695 infinite argument.
12696 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
12697 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
12698 != 0 for prec == 2.
12699 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
12700 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
12701 * sysdeps/i386/fpu/s_cosl.S: Likewise.
12702 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
12703 * sysdeps/i386/fpu/s_sinl.S: Likewise.
12704 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
12705 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
12706 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
12707 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
12708 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
12709 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
12710 * math/libm-test.inc (cos_test): Add more tests and enable more
12711 tests for long double.
12712 (sin_test): Likewise.
12713 (sincos_test): Likewise.
12714 * sysdeps/i386/fpu/libm-test-ulps: Update.
12715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12716
dd7f4703
DM
127172012-03-16 David S. Miller <davem@davemloft.net>
12718
12719 * sysdeps/sparc/fpu/math_private.h: New file.
12720
006f1daa
DM
127212012-03-15 David S. Miller <davem@davemloft.net>
12722
c0c83bc8
DM
12723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
12724 file.
e6a62e18 12725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
12726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
12727 file.
e6a62e18
DM
12728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
12729 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
12730 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
12731 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
12732 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
12733 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
12734 sysdep routines.
12735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
12736
88cb87d9
DM
12737 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
12738 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
12739
006f1daa 12740 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
12741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
12742 sparc-ifunc.h
006f1daa 12743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
12744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
12745 Likewise.
12746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
12747 Likewise.
006f1daa
DM
12748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
12749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
12750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
12751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
12752 Likewise.
006f1daa
DM
12753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
12754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
12755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
12756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
12757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
12758 Likewise.
12759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
12760 Likewise.
006f1daa
DM
12761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
12762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
12763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
12764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
12765 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12766 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12767 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
12768 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
12769 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12770 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12771 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
12772 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
12773 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
12774 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
12775 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
12776 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
12777 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
12778 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
12779 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
12780 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
12781 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
12782 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
12783 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
12784 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
12785
11e0098e
AS
127862012-03-15 Andreas Schwab <schwab@linux-m68k.org>
12787
12788 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
12789 scaling.
12790 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12791
e85b09d0
AJ
127922012-03-15 Andreas Jaeger <aj@suse.de>
12793
12794 [BZ #13852]
12795 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
12796 ieee754/flt-32 implementation for sin, cos and sincos.
12797 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
12798 * sysdeps/i386/fpu/s_cosf.S: Likewise.
12799 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
12800 * sysdeps/i386/fpu/s_sinf.S: Likewise.
12801 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
12802 ieee754/flt-32 implementation for tan.
12803
12804 * math/libm-test.inc (cos_test): Enable some large input tests for
12805 float as well
12806 (sin_test): Likewise.
12807 (sincos_test): Likewise.
12808 (tan_test): Add tests for large input.
12809
12810 * sysdeps/i386/fpu/libm-test-ulps: Update.
12811
81c64153
AJ
128122012-03-15 Andreas Jaeger <aj@suse.de>
12813
12814 [BZ #13658]
12815 * math/libm-test.inc (cos_test): Add more test cases.
12816 (sin_test): Likewise.
12817 (sincos_test): Likewise.
12818
7bbfa5c6
AJ
128192012-03-15 Andreas Jaeger <aj@suse.de>
12820
12821 [BZ #13837]
12822 * math/libm-test.inc (cos_test): Add a test case for large input
12823 value.
12824 (sin_test): Likewise.
12825 (sincos_test): Likewise.
12826
128272012-03-15 Andreas Jaeger <aj@suse.de>,
12828 Joseph Myers <joseph@codesourcery.com>
12829
12830 [BZ #13658]
0671f479 12831 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
12832 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
12833 * sysdeps/i386/fpu/branred.c: Likewise.
12834 * sysdeps/i386/fpu/dosincos.c: Likewise.
12835 * sysdeps/i386/fpu/mpa.c: Likewise.
12836 * sysdeps/i386/fpu/s_cos.S: Likewise.
12837 * sysdeps/i386/fpu/s_sin.S: Likewise.
12838 * sysdeps/i386/fpu/s_sincos.S: Likewise.
12839 * sysdeps/i386/fpu/sincos32.c: Likewise.
12840
12841 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
12842 Define.
12843 (libc_feupdateenv_53bit): Define.
12844 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
12845 Define.
12846 (libc_feupdateenv_53bit): Define.
12847
12848 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
12849 53 bit (without extend i386 double precision).
12850
12851 * math/libm-test.inc (sincos_test): Add tests for large input.
12852 (sin): Likewise.
12853 (cos): Likewise.
12854
12855 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12856
9cad04ea
AS
128572012-03-15 Andreas Schwab <schwab@linux-m68k.org>
12858
12859 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12860
f7062b9a
DM
128612012-03-15 David S. Miller <davem@davemloft.net>
12862
12863 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
12864 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
12865 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
12866 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
12867 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
12868 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
12869 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
12870 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
12871 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
12872 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
12873 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
12874 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
12875 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
12876 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
12877 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
12878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
12879 file.
f7062b9a 12880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
12881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
12882 file.
f7062b9a 12883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
12884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
12885 file.
f7062b9a 12886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
12887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
12888 file.
f7062b9a
DM
12889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
12890 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
12891 fmin/fmax sysdep routines.
12892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
12893
7bd951ff
DM
128942012-03-14 David S. Miller <davem@davemloft.net>
12895
559398ab
DM
12896 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
12897 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
12898 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
12899 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
12900 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
12901 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
12902 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
12903 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
12904 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
12905 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
12906 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
12907 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
12908 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
12909 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
12910 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
12911 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
12912 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
12913 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
12914 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
12915 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
12916 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
12917 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
12918 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
12919 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
12920 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
12921 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
12922 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
12923 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
12924 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
12925 routines.
12926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
12927 file.
559398ab 12928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
12929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
12930 file.
559398ab 12931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
12932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
12933 file.
559398ab 12934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
12935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
12936 file.
559398ab 12937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
12938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
12939 file.
559398ab 12940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
12941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
12942 file.
12943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
12944 file.
12945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
12946 file.
12947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
12948 file.
12949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
12950 New file.
12951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
12952 file.
12953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
12954 file.
559398ab 12955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
12956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
12957 file.
559398ab 12958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
12959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
12960 file.
559398ab 12961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
12962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
12963 file.
559398ab 12964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
12965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
12966 VIS3 routines.
559398ab
DM
12967
12968 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
12969 New file.
12970
5a1c1e32
DM
12971 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12972
eae47a36
DM
12973 * sysdeps/sparc/configure.in: New file.
12974 * sysdeps/sparc/configure: Generate.
12975 * configure.in (libc_cv_sparc_as_vis3): Substitute.
12976 * configure: Regenerate.
12977 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
12978 * config.make.in (have-as-vis3): New.
12979 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
12980 available use -Av9d instead of -Av9a.
12981 * sysdeps/sparc/sparc64/Makefile: Likewise.
12982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
12983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
12984 New file.
12985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
12986 file.
12987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
12988 New file.
12989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
12990 file.
eae47a36
DM
12991 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
12992 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
12993 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
12994 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
12995 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
12996
c0c83bc8
DM
12997 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
12998 fzeros/fnegs to load 0x80000000 into a float register instead of
12999 using the stack.
7bd951ff
DM
13000 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
13001
bd951ccb
JM
130022012-03-14 Joseph Myers <joseph@codesourcery.com>
13003
13004 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13005 bits/syscall.h.
13006 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
13007 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
13008 ($(inst_includedir)/bits/syscall.h): Remove rule.
13009 ($(objpfx)bits/syscall.d): Include instead of
13010 $(objpfx)syscall-list.d.
13011 (generated): Change syscall-list.h and syscall-list.d to
13012 bits/syscall.h and bits/syscall.d.
13013
bb4e6db2
RM
130142012-03-14 Roland McGrath <roland@hack.frob.com>
13015
13016 [BZ #13846]
13017 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
13018
aa4a2ae1
JM
130192012-03-14 Joseph Myers <joseph@codesourcery.com>
13020
e456826d
JM
13021 [BZ #13841]
13022 * math/s_csqrt.c: Include <float.h>.
13023 (__csqrt): Scale large or subnormal inputs.
13024 * math/s_csqrtf.c: Likewise.
13025 * math/s_csqrtl.c: Likewise.
13026 * math/libm-test.inc (csqrt_test): Add more tests.
13027 * sysdeps/i386/fpu/libm-test-ulps: Update.
13028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13029
aa4a2ae1
JM
13030 [BZ #13840]
13031 * math/libm-test.inc (hypot_test): Add more tests.
13032
7c10fd35
DM
130332012-03-13 David S. Miller <davem@davemloft.net>
13034
13035 [BZ #13840]
13036 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
13037 double-precision for the calculation instead of scaling.
13038
f453b98b
JM
130392012-03-13 Joseph Myers <joseph@codesourcery.com>
13040
13041 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
13042 manipulate bits before adding and subtracting TWO52[sx].
13043 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
13044 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
13045 Likewise.
13046 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
13047
09a3453f
DM
130482012-03-13 David S. Miller <davem@davemloft.net>
13049
8e59da90
DM
13050 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
13051 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
13052 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
13053 rtld-global-offsets.h
13054 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13055
2a8ab7f2
DM
13056 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
13057 large parameters.
13058
10f62770
DM
13059 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
13060
5f0bdb18
DM
13061 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
13062 'err' in the ifdef scope in which it is actually used.
13063
09a3453f
DM
13064 * nss/nss_db/db-init.c: Include string.h
13065
b4b2eb5e
DM
130662012-03-12 David S. Miller <davem@davemloft.net>
13067
98bb2f1c
DM
13068 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13069 masking out of the most significant byte of random value used.
13070 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13071 Fix coding style in previous change.
13072
b4b2eb5e
DM
13073 * sysdeps/unix/sysv/linux/kernel-features.h
13074 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
13075 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
13076 expression.
13077 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
13078 later.
13079
6e226b09
DM
130802012-03-11 David S. Miller <davem@davemloft.net>
13081
a1bcbd40
DM
13082 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13083 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
13084 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
13085 for 'resultvar' otherwise things get truncated on 64-bit.
13086
cb9d6174
DM
13087 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13088 Fix masking out of the most significant byte of random value used.
13089
6e226b09
DM
13090 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13091
058c132d
AS
130922012-03-10 Andreas Schwab <schwab@linux-m68k.org>
13093
13094 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13095
2d2cd515
DM
130962012-03-09 David S. Miller <davem@davemloft.net>
13097
13098 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
13099 variables with appropriate CPP guards.
13100 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
13101 frame pointer, not the stack pointer. Correct layout comments. Fix test
13102 on resulting framesize and the management of the outregs buffer for pltexit.
13103 Preserve floating point return values across _dl_call_pltexit call.
13104 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
13105 framesize and the management of the outregs buffer for pltexit.
13106 Preserve floating point return values across _dl_call_pltexit
13107 call.
13108 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
13109 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
13110 (print_exit): Fix format string for return register value.
13111
9a07f9d0
JM
131122012-03-10 Joseph Myers <joseph@codesourcery.com>
13113
13114 * sunrpc/Makefile (others): Add rpcgen.
13115 ($(objpfx)rpcgen): Remove special build rule and dependency on
13116 libc.
13117 * sunrpc/rpcgen.c: New file.
13118
547b5e30
PE
131192012-03-09 Paul Eggert <eggert@cs.ucla.edu>
13120
c524201a
PE
13121 [BZ #13673]
13122 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
13123 * stdio-common/bug-vfprintf-nargs.c: Likewise.
13124 * sysdeps/i386/crti.S: Likewise.
13125 * sysdeps/i386/crtn.S: Likewise.
13126 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
13127 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
13128 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
13129 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
13130 * sysdeps/sh/crti.S: Likewise.
13131 * sysdeps/sh/crtn.S: Likewise.
13132 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13133
7b6235f2
PE
13134 [BZ #13673]
13135 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
13136 with URL.
13137 * locale/programs/locfile-kw.gperf: Likewise.
13138 * locale/programs/charmap-kw.h: Regenerated.
13139 * locale/programs/locfile-kw.h: Likewise.
13140
547b5e30
PE
13141 [BZ #13673]
13142 * intl/plural.y: Replace FSF snail mail address with URL.
13143 * intl/plural.c: Regenerated.
13144
5f0a5dae
RH
131452012-03-09 Richard Henderson <rth@twiddle.net>
13146
13147 * include/math_private.h: Remove file.
13148 * math/math_private.h: Move file ...
13149 * sysdeps/generic/math_private.h: ... here.
13150
b8c03620
RH
13151 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
13152 * sysdeps/powerpc/fpu/math_private.h: Likewise.
13153 * sysdeps/x86_64/fpu/math_private.h: Likewise.
13154
4e234f5d 13155 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
13156 and <math_private.h>.
13157 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13158 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13159 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13160 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13161 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13162 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
13163 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13164 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13165 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13166 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13167 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13168 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13169 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13170 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13171 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13172 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13173 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13174 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13175 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13176 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13177 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13178 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13179 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13180 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13181 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13182 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13183 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13184 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13185 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13186 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13187 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13188 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13189 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13190 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13191 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13192 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13193 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13194 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13195 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13196 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13197 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
13198 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13199 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13200 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13201 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13202 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13203 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13204 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13205 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13206 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13207 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13208 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13209 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13210 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13211 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13212 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13213 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13214 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13215 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13216 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
13217 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13218 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13219 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13220 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13221 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
13222 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13223 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13224 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13225 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
13226 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
13227 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13228 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13229 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13230 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13231 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
13232 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
13233 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
13234 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13235 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
13236 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13237 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13238 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13239 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13240 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13241 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13242 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
13243 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
13244 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
13245 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13246 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13247 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13248 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13249 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13250 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13251 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13252 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13253 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13254 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13255 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13256 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13257 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13258 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13259 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13260 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13261 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13262 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13263 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13264 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13265 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13266 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13267 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13268 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13269 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13270 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13271 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
13272 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13273 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13274 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13275 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13276 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13277 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13278 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13279 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13280 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
13281 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13282 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13283 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13284 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
13285 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13286 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13287 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13288 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13289 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13290 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13291 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13292 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13293 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13294 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13295 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
13296 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13297 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13298 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13299 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13300 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
13301 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
13302 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13303 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13304 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13305 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
13306 * sysdeps/ieee754/k_standard.c: Likewise.
13307 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13308 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13309 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13310 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13311 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13312 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13313 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13314 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13315 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13316 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13317 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13318 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13319 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13320 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13321 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13322 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13323 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13324 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13325 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13326 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
13327 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13328 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13329 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13330 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13331 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13332 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13333 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13334 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13335 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13336 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13337 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13338 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13339 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13340 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13341 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13342 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13343 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13344 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
13345 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
13346 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13347 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13348 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13349 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13350 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13351 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13352 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13353 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13354 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13355 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13356 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13357 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13358 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13359 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13360 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
13361 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13362 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13363 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
13364 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
13365 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13366 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13367 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13368 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13369 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13370 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13371 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13372 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13373 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13374 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13375 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13376 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13377 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13378 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13379 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13380 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13381 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13382 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13383 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
13384 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13385 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13386 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13387 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13388 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13389 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13390 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13391 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
13392 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13393 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13394 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
13395 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13396 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13397 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
13398 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13399 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
13400 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13401 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13402 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13403 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
13404 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
13405 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
13406 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
13407 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13408 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13409 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13410 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13411 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
13412 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13413 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13414 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
13415 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
13416 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13417 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13418 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13419 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13420 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13421 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13422 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13423 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13424 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13425 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13426 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13427 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13428 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13429 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13430 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13431 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13432 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
13433 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13434 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13435 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13436 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13437 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13438 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13439 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13440 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13441 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13442 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13443 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
13444 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13445 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13446 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13447 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13448 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13449 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13450 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13451 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13452 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13453 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13454 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13455 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13456 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
13457 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13458 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13459 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13460 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13461 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
13462 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
13463 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13464 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13465 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13466 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13467 * sysdeps/ieee754/s_lib_version.c: Likewise.
13468 * sysdeps/ieee754/s_matherr.c: Likewise.
13469 * sysdeps/ieee754/s_signgam.c: Likewise.
13470 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13471 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13472 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
13473 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
13474 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
13475 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13476 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
13477 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
13478 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
13479 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
13480 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13481 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
13482 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13483 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13484 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
13485 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13486 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13487 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13488 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13489 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13490 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 13491
1991fa03
JM
134922012-03-09 Joseph Myers <joseph@codesourcery.com>
13493
13494 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
13495 * sunrpc/rpc_main.c: Likewise.
13496 * sunrpc/rpc_svcout.c: Likewise.
13497
60d6f5a6
DM
134982012-03-09 David S. Miller <davem@davemloft.net>
13499
13500 * include/math_private.h: New file.
13501
4962050e
JM
135022012-03-09 Joseph Myers <joseph@codesourcery.com>
13503
02a6f887
JM
13504 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
13505 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
13506 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
13507 from <bits/socket_type.h>.
13508 (enum __socket_type): Don't define here.
13509 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
13510 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13511 bits/socket_type.h.
13512
c6e013c1
JM
13513 [BZ #13566]
13514 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
13515 checking __USE_GNU.
13516
4962050e
JM
13517 * Makerules ($(inst_includedir)/%.h): New rule.
13518 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
13519 (install-others): Remove variable setting.
13520 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
13521
38842f45
RH
135222012-03-08 Richard Henderson <rth@twiddle.net>
13523
67bb6da6
RH
13524 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
13525 from macro to inline function; merge with the
13526 !__LIBC_INTERNAL_MATH_INLINES version.
13527 (__ieee754_sqrtf): Likewise.
13528
15194b4b
RH
13529 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
13530 to inline function.
13531 (__rintf, __floor, __floorf): Likewise.
13532
64e21ede
RH
13533 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
13534 macro to inline function.
13535 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
13536
38842f45
RH
13537 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
13538 not <math/math_private.h>.
13539
c64bf5fe
DM
135402012-03-08 David S. Miller <davem@davemloft.net>
13541
13542 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
13543 copyright year.
13544 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
13545
82d86f28
TS
135462012-03-08 Thomas Schwinge <thomas@codesourcery.com>
13547
13548 * resolv/gai_misc.c (handle_requests): Fix struct timespec
13549 normalization.
13550 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
13551 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
13552
aea5d727
UD
135532012-03-08 Ulrich Drepper <drepper@gmail.com>
13554
13555 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
13556 be defined individually, they must be defined as a block. Define
13557 S for printing a string instead of hidint the different by using a
13558 macro for adding the 'l'.
13559 * stdio-common/tst-fphex-wide.c: Adjust.
13560
70bca0a3
MP
135612012-03-07 Marek Polacek <polacek@redhat.com>
13562
13563 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
13564
65b81130
MP
135652012-03-08 Marek Polacek <polacek@redhat.com>
13566
13567 [BZ #13806]
13568 * stdio-common/Makefile (tests): Add tst-fphex-wide.
13569 * stdio-common/tst-fphex.c: Define a few macros to make the
13570 test reusable. Use them.
13571 * stdio-common/tst-fphex-wide.c: New file.
13572
07037eeb
JM
135732012-03-08 Joseph Myers <joseph@codesourcery.com>
13574
a7a93d50
JM
13575 [BZ #6911]
13576 * manual/macros.texi (gnusystems): New macro.
13577 (nongnusystems): Likewise.
13578 (gnulinuxhurdsystems): Likewise.
13579 (gnuhurdsystems): Likewise..
13580 (gnulinuxsystems): Likewise.
13581 * manual/charset.texi: Use new macros or @theglibc{} to refer to
13582 variants of the GNU system, not "GNU system".
13583 * manual/conf.texi: Likewise.
13584 * manual/errno.texi: Likewise. Update example of errno macro
13585 expansion.
13586 * manual/filesys.texi: Likewise.
13587 (getumask): Document as specific to GNU/Hurd.
13588 * manual/install.texi: Likewise. Reword some references to
13589 GNU/Linux.
13590 * manual/intro.texi: Likewise.
13591 * manual/io.texi: Likewise.
13592 (File Name Portability): Detail which constraints are inapplicable
13593 to all GNU systems and which are only inapplicable to GNU/Hurd.
13594 * manual/job.texi: Likewise.
13595 * manual/llio.texi: Likewise.
13596 (O_NOCTTY): Document as present on GNU/Linux.
13597 * manual/maint.texi: Likewise.
13598 * manual/memory.texi: Likewise.
13599 * manual/pattern.texi: Likewise.
13600 * manual/pipe.texi: Likewise.
13601 * manual/process.texi: Likewise.
13602 * manual/resource.texi: Likewise.
13603 (RUSAGE_CHILDREN): Remove statement about specifying a particular
13604 child on GNU/Hurd.
13605 * manual/setjmp.texi: Likewise.
13606 * manual/signal.texi: Likewise.
13607 * manual/startup.texi: Likewise.
13608 * manual/stdio.texi: Likewise.
13609 * manual/terminal.texi: Likewise.
13610 (ONLCR): Document as POSIX.
13611 (OXTABS): Document availability on GNU/Linux as XTABS.
13612 (ONOEOT): Document availability separately from other bits.
13613 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
13614 * manual/time.texi: Likewise.
13615 * manual/users.texi: Likewise.
13616 * INSTALL: Regenerated.
13617 * sysdeps/gnu/errlist.c: Regenerated.
13618
07037eeb
JM
13619 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
13620 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
13621 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
13622 puts.
13623 * configure: Regenerated.
13624
d1d3431a
JM
136252012-03-07 Joseph Myers <joseph@codesourcery.com>
13626
af6a1e37
JM
13627 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
13628 default includes instead of AC_HEADER_CHECK.
13629 * sysdeps/i386/configure: Regenerated.
13630
d1d3431a
JM
13631 [BZ #10716]
13632 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
13633 * math/s_cacoshf.c (__cacoshf): Likewise.
13634 * math/s_cacoshl.c (__cacoshl): Likewise.
13635 * math/s_casinh.c (__casinh): Set signs of result from argument.
13636 * math/s_casinhf.c (__casinhf): Likewise.
13637 * math/s_casinhl.c (__casinhl): Likewise.
13638 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
13639 (casinh_test): Add more tests.
13640 * sysdeps/i386/fpu/libm-test-ulps: Update.
13641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13642
482ff4da
UD
136432012-03-07 Ulrich Drepper <drepper@gmail.com>
13644
872fda05
UD
13645 * po/zh_TW.po: Update from translation team.
13646
a4300c7a
UD
13647 * login/Makefile (distribute): Remove variable.
13648 * catgets/Makefile: Likewise.
13649 * mach/Makefile: Likewise.
13650 * malloc/Makefile: Likewise.
13651 * misc/Makefile: Likewise.
13652 * iconv/Makefile: Likewise.
13653 * nscd/Makefile: Likewise.
13654 * hurd/Makefile: Likewise.
13655 * manual/Makefile: Likewise.
13656 * locale/Makefile: Likewise.
13657 * intl/Makefile: Likewise.
13658 * conform/Makefile: Likewise.
13659 * nss/Makefile: Likewise.
13660 * time/Makefile: Likewise.
13661 * soft-fp/Makefile: Likewise.
13662 * dirent/Makefile: Likewise.
13663 * gmon/Makefile: Likewise.
13664 * po/Makefile: Likewise.
13665 * rt/Makefile: Likewise.
13666 * socket/Makefile: Likewise.
13667 * math/Makefile: Likewise.
13668 * signal/Makefile: Likewise.
13669 * debug/Makefile: Likewise.
13670 * elf/Makefile: Likewise.
13671 * timezone/Makefile: Likewise.
13672 * stdlib/Makefile: Likewise.
13673 * iconvdata/Makefile: Likewise.
13674 * sunrpc/Makefile: Likewise.
13675 * io/Makefile: Likewise.
13676 * argp/Makefile: Likewise.
13677 * inet/Makefile: Likewise.
13678 * hesiod/Makefile: Likewise.
13679 * grp/Makefile: Likewise.
13680 * csu/Makefile: Likewise.
13681 * wctype/Makefile: Likewise.
13682 * crypt/Makefile: Likewise.
13683 * libio/Makefile: Likewise.
13684 * string/Makefile: Likewise.
13685 * nis/Makefile: Likewise.
13686 * resolv/Makefile: Likewise.
13687 * stdio-common/Makefile: Likewise.
13688 * wcsmbs/Makefile: Likewise.
13689 * dlfcn/Makefile: Likewise.
13690 * posix/Makefile: Likewise.
13691
3b7c4e74 13692 [BZ #6959]
482ff4da
UD
13693 * timezone/Makefile: Don't install timezone files, just the programs
13694 and scripts.
13695
f72ed77d
UD
136962012-03-06 Ulrich Drepper <drepper@gmail.com>
13697
a000466f
UD
13698 * nss/databases.def: Add missing gshadow entry.
13699
f72ed77d
UD
13700 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
13701
a53b7a4e
MP
137022012-03-06 Marek Polacek <polacek@redhat.com>
13703
13704 [BZ #13726]
13705 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
13706 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13707 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
13708 * stdio-common/tst-long-dbl-fphex.c: New file.
13709
e9258400
DM
137102012-03-06 David S. Miller <davem@davemloft.net>
13711
13712 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13713 (set_obp_int): New function.
13714 (get_obp_int): New function.
13715 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
13716 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
13717 Avoid unused variable warnings on 'val' and use builtin_expect.
13718 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
13719 __builtin_expect.
e9258400
DM
13720 (INLINE_CLONE_SYSCALL): Likewise.
13721
3bd2c723
DM
137222012-03-05 David S. Miller <davem@davemloft.net>
13723
13724 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13725
bbb78d03
AS
137262012-03-05 Andreas Schwab <schwab@linux-m68k.org>
13727
884c5db4
AS
13728 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13729
bbb78d03
AS
13730 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
13731 only for |x| >= 40.
13732 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13733
1c9f702a 137342012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
13735
13736 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
13737 Replace gettimeofday with __vdso_gettimeofday.
13738
7be16f82
RM
13739 * sysdeps/unix/sysv/linux/x86_64/init-first.c
13740 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
13741 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
13742
13743 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
13744 time with __vdso_time.
13745
ed58a00f
JM
137462012-03-05 Joseph Myers <joseph@codesourcery.com>
13747
13748 * manual/lang.texi (size_t): Note types to which size_t may be
13749 equivalent with the GNU C Library, but do not describe when
13750 differences between them are significant.
13751
30ee4ced
AJ
137522012-03-05 Andreas Jaeger <aj@suse.de>
13753
13754 * sysdeps/i386/fpu/libm-test-ulps: Update.
13755
b7cd39e8
JM
137562012-03-05 Joseph Myers <joseph@codesourcery.com>
13757
13758 [BZ #3976]
13759 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
13760 (__ieee754_pow): Save and restore rounding mode and use
13761 round-to-nearest for main computations.
13762 * math/libm-test.inc (pow_test_tonearest): New function.
13763 (pow_test_towardzero): Likewise.
13764 (pow_test_downward): Likewise.
13765 (pow_test_upward): Likewise.
13766 (main): Call the new functions.
13767 * sysdeps/i386/fpu/libm-test-ulps: Update.
13768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
13769
13770 [BZ #3976]
13771 * math/libm-test.inc (cosh_test_tonearest): New function.
13772 (cosh_test_towardzero): Likewise.
13773 (cosh_test_downward): Likewise.
13774 (cosh_test_upward): Likewise.
13775 (sinh_test_tonearest): Likewise.
13776 (sinh_test_towardzero): Likewise.
13777 (sinh_test_downward): Likewise.
13778 (sinh_test_upward): Likewise.
13779 (main): Call the new functions.
13780 * sysdeps/i386/fpu/libm-test-ulps: Update.
13781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13782
6c6a98c9
TV
137832012-03-05 Tom de Vries <tom@codesourcery.com>
13784
13785 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
13786 default stack guard is set in last bytes.
13787 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
13788
21bb2d2e 137892012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 13790
21bb2d2e 13791 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 13792
21bb2d2e
AJ
13793 [BZ #13656]
13794 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
13795 possibly allocate from heap instead of stack.
13796 * stdio-common/bug-vfprintf-nargs.c: New file.
13797 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 13798
c6922934
AS
137992012-03-03 Andreas Schwab <schwab@linux-m68k.org>
13800
13801 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13802
bc957d53
MP
138032012-03-03 Marek Polacek <polacek@redhat.com>
13804
13805 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
13806 * math/math_private.h: Likewise.
13807 * stdlib/tst-strtod.c: Likewise.
13808 * sysdeps/i386/i486/bits/atomic.h: Likewise.
13809 * sysdeps/x86_64/bits/atomic.h: Likewise.
13810
6358490d
DM
138112012-03-02 David S. Miller <davem@davemloft.net>
13812
13813 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
13814 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
13815 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
13816 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
13817 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
13818 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
13819 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
13820 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
13821
01ae168d
RM
138222012-03-02 Roland McGrath <roland@hack.frob.com>
13823
d9a17c07
RM
13824 [BZ #13792]
13825 * manual/examples/README: New file, says the example source files
13826 can be used under GPL>=2.
13827 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
13828 line containing just "*/".
13829 * manual/examples/add.c: Add copyright header (GPL>=2).
13830 * manual/examples/argp-ex1.c: Likewise.
13831 * manual/examples/argp-ex2.c: Likewise.
13832 * manual/examples/argp-ex3.c: Likewise.
13833 * manual/examples/argp-ex4.c: Likewise.
13834 * manual/examples/atexit.c: Likewise.
13835 * manual/examples/db.c: Likewise.
13836 * manual/examples/dir.c: Likewise.
13837 * manual/examples/dir2.c: Likewise.
13838 * manual/examples/execinfo.c: Likewise.
13839 * manual/examples/filecli.c: Likewise.
13840 * manual/examples/filesrv.c: Likewise.
13841 * manual/examples/fmtmsgexpl.c: Likewise.
13842 * manual/examples/genpass.c: Likewise.
13843 * manual/examples/inetcli.c: Likewise.
13844 * manual/examples/inetsrv.c: Likewise.
13845 * manual/examples/isockad.c: Likewise.
13846 * manual/examples/longopt.c: Likewise.
13847 * manual/examples/memopen.c: Likewise.
13848 * manual/examples/memstrm.c: Likewise.
13849 * manual/examples/mkfsock.c: Likewise.
13850 * manual/examples/mkisock.c: Likewise.
13851 * manual/examples/mygetpass.c: Likewise.
13852 * manual/examples/pipe.c: Likewise.
13853 * manual/examples/popen.c: Likewise.
13854 * manual/examples/rprintf.c: Likewise.
13855 * manual/examples/search.c: Likewise.
13856 * manual/examples/select.c: Likewise.
13857 * manual/examples/setjmp.c: Likewise.
13858 * manual/examples/sigh1.c: Likewise.
13859 * manual/examples/sigusr.c: Likewise.
13860 * manual/examples/stpcpy.c: Likewise.
13861 * manual/examples/strdupa.c: Likewise.
13862 * manual/examples/strftim.c: Likewise.
13863 * manual/examples/strncat.c: Likewise.
13864 * manual/examples/subopt.c: Likewise.
13865 * manual/examples/swapcontext.c: Likewise.
13866 * manual/examples/termios.c: Likewise.
13867 * manual/examples/testopt.c: Likewise.
13868 * manual/examples/testpass.c: Likewise.
13869 * manual/examples/timeval_subtract.c: Likewise.
13870
01ae168d
RM
13871 [BZ #13792]
13872 * manual/time.texi (Elapsed Time): Move timeval_subtract example
13873 function to ...
13874 * manual/timeval_subtract.c.texi: ... here, new file.
13875
49efa33d
DM
138762012-03-02 David S. Miller <davem@davemloft.net>
13877
13878 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
13879
28afd92d
JM
138802012-03-02 Joseph Myers <joseph@codesourcery.com>
13881
804360ed
JM
13882 [BZ #3976]
13883 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
13884 (__sin): Save and restore rounding mode and use round-to-nearest
13885 for all computations.
13886 (__cos): Save and restore rounding mode and use round-to-nearest
13887 for all computations.
13888 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
13889 <fenv.h>.
13890 (tan): Save and restore rounding mode and use round-to-nearest for
13891 all computations.
13892 * math/libm-test.inc (cos_test_tonearest): New function.
13893 (cos_test_towardzero): Likewise.
13894 (cos_test_downward): Likewise.
13895 (cos_test_upward): Likewise.
13896 (sin_test_tonearest): Likewise.
13897 (sin_test_towardzero): Likewise.
13898 (sin_test_downward): Likewise.
13899 (sin_test_upward): Likewise.
13900 (tan_test_tonearest): Likewise.
13901 (tan_test_towardzero): Likewise.
13902 (tan_test_downward): Likewise.
13903 (tan_test_upward): Likewise.
13904 (main): Call the new functions.
13905 * sysdeps/i386/fpu/libm-test-ulps: Update.
13906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13907
a6d06d7b
JM
13908 [BZ #10135]
13909 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
13910 small n, then large n, before computing and testing k+n.
13911 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
13912 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
13913 Likewise.
13914 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
13915 Likewise.
13916 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
13917 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
13918 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
13919 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
13920 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13921 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13922 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
13923 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
13924 * math/libm-test.inc (scalbn_test): Add more tests.
13925 (scalbln_test): Likewise.
13926
07e12bb3
JM
13927 * manual/filesys.texi (mode_t): Describe constraints on size and
13928 signedness, not exact equivalence to a particular type.
13929 (ino_t): Likewise.
13930 (ino64_t): Likewise.
13931 (dev_t): Likewise.
13932 (nlink_t): Likewise.
13933 (blkcnt_t): Likewise.
13934 (blkcnt64_t): Likewise.
13935 * manual/llio.texi (off_t): Likewise.
13936
28afd92d
JM
13937 [BZ #3976]
13938 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
13939 (__ieee754_exp): Save and restore rounding mode and use
13940 round-to-nearest for all computations.
13941 * math/libm-test.inc (exp_test_tonearest): New function.
13942 (exp_test_towardzero): Likewise.
13943 (exp_test_downward): Likewise.
13944 (exp_test_upward): Likewise.
13945 (main): Call the new functions.
13946 * sysdeps/i386/fpu/libm-test-ulps: Update.
13947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13948
b1eeb65d
CD
139492012-03-01 Chris Demetriou <cgd@google.com>
13950
13951 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
13952 have predictable order.
13953
53362a4b
DM
139542012-03-01 David S. Miller <davem@davemloft.net>
13955
3c969083
DM
13956 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
13957
759707de
DM
13958 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
13959 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
13960 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
13961 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
13962
dfdb8ff2
DM
13963 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
13964 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
13965 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
13966 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
13967 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
13968 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
13969 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
13970 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
13971 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
13972
ead89f96
DM
13973 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13974
7f66bd07
DM
13975 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
13976 * sysdeps/sparc/fpu/libm-test-ulps: to here.
13977 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
13978
53362a4b
DM
13979 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
13980 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13981 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
13982 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
13983 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
13984 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
13985 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
13986 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13987 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
13988 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
13989 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
13990 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
13991 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13992 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
13993 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13994 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13995 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
13996 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
13997 * sysdeps/sparc/elf/configure: Regenerated.
13998
7b1902cb
JM
139992012-03-01 Joseph Myers <joseph@codesourcery.com>
14000
bec039bc
JM
14001 * configure.in (AS, LD): Require binutils 2.20 or later.
14002 * configure: Regenerated.
14003 * manual/install.texi (Tools for Compilation): Give binutils 2.20
14004 as required minimum version.
14005 * INSTALL: Regenerated.
14006
7b1902cb
JM
14007 [BZ #2541]
14008 [BZ #4108]
14009 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
14010 before squaring exponent.
14011 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
14012 bottom long double and 27 bits of top long double before squaring
14013 exponent.
14014 * math/libm-test.inc (erfc_test): Add more tests.
14015 * sysdeps/i386/fpu/libm-test-ulps: Update.
14016 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14018
f775c276
KT
140192012-03-01 Kai Tietz <ktietz@redhat.com>
14020
14021 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
14022 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
14023 containing bit-fields.
14024 * soft-fp/extended.h (_FP_UNION_E): Likewise.
14025 * soft-fp/single.h (_FP_UNION_S): Likewise.
14026 * soft-fp/double.h (_FP_UNION_D): Likewise.
14027
5b8a4d4a
JM
140282012-02-29 Joseph Myers <joseph@codesourcery.com>
14029
0bab47b6
JM
14030 [BZ #13786]
14031 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
14032 not include ../strcmp.S.
14033 [USE_AS_STRNCASECMP_L]: Likewise.
14034 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
14035 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
14036 * sysdeps/i386/i686/multiarch/strncase_l-c.c
14037 (__strncasecmp_l_ia32): Define as alias to
14038 __strncasecmp_l_nonascii.
14039
0fcad3e2
JM
14040 [BZ #5794]
14041 * math/libm-test.inc (expm1_test): Add test for bug 5794.
14042 * sysdeps/i386/fpu/libm-test-ulps: Update.
14043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14044
5b8a4d4a
JM
14045 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
14046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14047
8fdceb2e
JL
140482012-02-29 Jeff Law <law@redhat.com>
14049
14050 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
14051 out of bounds read.
14052
1f393a11
MP
140532012-02-29 Marek Polacek <polacek@redhat.com>
14054
14055 [BZ #13706]
14056 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
14057 * elf/Makefile: Add rules to run tst-unused-dep.out.
14058
8847f037
DM
140592012-02-28 David S. Miller <davem@davemloft.net>
14060
14061 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
14062 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
14063 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
14064 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
14065 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
14066 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
14067
169d7f11
JM
140682012-02-29 Joseph Myers <joseph@codesourcery.com>
14069
14070 * math/libm-test.inc (llround_test): Move one test from
14071 lround_test. Use TEST_f_L in moved test.
14072 (lround_test): Move misplaced test to llround_test. Add testcase
14073 from bug 2561.
14074
39adf059
UD
140752012-02-28 Ulrich Drepper <drepper@gmail.com>
14076
14077 * sysdeps/x86_64/fpu/e_expf.S: New file.
14078 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
14079
71b5d1c5
SB
140802012-02-28 Stanislav Brabec <sbrabec@suse.cz>
14081
14082 [BZ #13637]
14083 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
14084 of remain_len that may cause incomplete multi-byte character and
14085 false match.
14086 * posix/bug-regex33.c: New file.
14087 * posix/Makefile (tests): Add bug-regex33.
14088
1f77f049
JM
140892012-02-28 Joseph Myers <joseph@codesourcery.com>
14090
14091 * manual/macros.texi: New file.
14092 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
14093 * manual/libc.texinfo: Include macros.texi.
14094 * manual/creatute.texi: Likewise.
14095 * manual/install.texi: Likewise.
14096 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
14097 @glibcadj{} in references to the GNU C Library.
14098 * manual/charset.texi: Likewise.
14099 * manual/conf.texi: Likewise.
14100 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
14101 when not using those macros.
14102 * manual/creature.texi: Likewise.
14103 * manual/crypt.texi: Likewise.
14104 * manual/errno.texi: Likewise.
14105 * manual/filesys.texi: Likewise.
14106 * manual/header.texi: Likewise.
14107 * manual/install.texi: Likewise.
14108 * manual/intro.texi: Likewise.
14109 * manual/io.texi: Likewise.
14110 * manual/job.texi: Likewise.
14111 * manual/lang.texi: Likewise.
14112 * manual/libc.texiinfo: Likewise.
14113 * manual/llio.texi: Likewise.
14114 * manual/locale.texi: Likewise.
14115 * manual/maint.texi: Likewise.
14116 * manual/math.texi: Likewise.
14117 * manual/memory.texi: Likewise.
14118 * manual/message.texi: Likewise.
14119 * manual/nss.texi: Likewise.
14120 * manual/pattern.texi: Likewise.
14121 * manual/process.texi: Likewise.
14122 * manual/resource.texi: Likewise.
14123 * manual/search.texi: Likewise.
14124 * manual/setjmp.texi: Likewise.
14125 * manual/signal.texi: Likewise.
14126 * manual/socket.texi: Likewise.
14127 * manual/startup.texi: Likewise.
14128 * manual/stdio.texi: Likewise.
14129 * manual/string.texi: Likewise.
14130 * manual/sysinfo.texi: Likewise.
14131 * manual/syslog.texi: Likewise.
14132 * manual/terminal.texi: Likewise.
14133 * manual/time.texi: Likewise.
14134 * manual/users.texi: Likewise.
14135 * INSTALL: Regenerated.
14136 * NOTES: Regenerated.
d40c5d54 14137 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 14138
450bf206
AS
141392012-02-28 Andreas Schwab <schwab@linux-m68k.org>
14140
14141 * include/dirent.h: Include <dirstream.h> before
14142 <dirent/dirent.h>.
14143
741a235b
DM
141442012-02-28 David S. Miller <davem@davemloft.net>
14145
14146 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
14147 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
14148 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
14149 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
14150
d6b5aa58
DM
141512012-02-27 David S. Miller <davem@davemloft.net>
14152
1aff59a3
DM
14153 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
14154 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
14155 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
14156 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
14157
d6b5aa58
DM
14158 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
14159 frame pointer instead of stack pointer relative arg slot.
14160 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14161 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14162 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14163
433f48bf
CD
141642012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
14165
14166 [BZ #3992]
14167 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
14168
d674b76d
DM
141692012-02-27 David S. Miller <davem@davemloft.net>
14170
14171 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
14172 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14173 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14174 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
14175 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14176 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14177 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
14178 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
14179
0e7727f7
JM
141802012-02-27 Joseph Myers <joseph@codesourcery.com>
14181
14182 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
14183 later. Allow versions 5-9.
43be4ca2 14184 * configure: Regenerated.
0e7727f7
JM
14185 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
14186 required minimum version and 4.6 as recommended version. Do not
14187 mention bugs in GCC 2.7 and 2.8.
43be4ca2 14188 * INSTALL: Regenerated.
0e7727f7 14189
a78bc654
DM
141902012-02-27 David S. Miller <davem@davemloft.net>
14191
428d5830
DM
14192 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
14193 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
14194 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
14195 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
14196 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
14197 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
14198 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
14199 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
14200
a78bc654
DM
14201 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
14202 manipulate bits before adding and subtracting TWO112[sx].
14203 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14204
4579f81c
RM
142052012-02-27 Roland McGrath <roland@hack.frob.com>
14206
36c8acb4
RM
14207 [BZ #13775]
14208 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
14209 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
14210 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
14211 being in POSIX, because they are in 1003.1-2008.
14212
84ad622b
RM
14213 * rt/tst-aio.c: Include <fcntl.h>.
14214 * rt/tst-aio7.c: Likewise.
14215 * rt/tst-aio64.c: Likewise.
14216
4579f81c
RM
14217 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
14218
abd923db
JM
142192012-02-27 Joseph Myers <joseph@codesourcery.com>
14220
14221 * manual/install.texi (--with-headers): Describe headers as
14222 interface headers, not private headers.
14223 (Specific advice for GNU/Linux systems): Describe use of headers
14224 from "make headers_install", not private headers from older
14225 kernels.
43be4ca2 14226 * INSTALL: Regenerated.
abd923db
JM
14227 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
14228 Change to 2.6.19.
14229 * sysdeps/unix/sysv/linux/configure: Regenerated.
14230
6664049b
JM
14231 * manual/llio.texi (fclean): Remove documentation.
14232
bb8b6697
JM
14233 * manual/Makefile (libc-texi-generated): New variable. Include
14234 version.texi.
14235 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
14236 $(libc-texi-generated), not duplicated list of files.
14237 (version.texi, stamp-version): New rules.
14238 (realclean): Remove $(libc-texi-generated), not individual files
14239 from that list. Do not remove dir-add.texinfo.
14240 * manual/libc.texinfo: Comment out uses of edition numbers and
14241 references to printed manual. Remove last-updated dates.
14242 (EDITION): Comment out.
14243 (ISBN): Likewise.
14244 (VERSION, UPDATED): Remove.
14245 (version.texi): Include.
14246
12e5c3b9
AS
142472012-02-27 Andreas Schwab <schwab@linux-m68k.org>
14248
14249 * sysdeps/posix/spawni.c: Include <signal.h>.
14250 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
14251 * sysdeps/pthread/aio_fsync.c: Likewise.
14252
4efeffc1 142532012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 14254
ba63ba08
UD
14255 * conform/Makefile (tests): Run only when not cross-compiling and
14256 when fast-check is not defined.
14257
d94a4670
UD
14258 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
14259 * conform/data/limits.h-data: Fixes for POSIX2008.
14260 * conform/run-conformtest.sh: Run all tests.
14261 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
14262 headers.
14263 * include/bits/dlfcn.h: Likewise.
14264 * include/langinfo.h: Likewise.
14265 * include/monetary.h: Likewise.
14266 * include/sys/poll.h: Likewise.
14267
14268 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
14269 for __USE_GNU.
14270 * posix/spawn.h: Define __need_sigset_t.
14271 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
14272 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
14273 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
14274 to get sigevent_t only.
14275 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
14276 only for __USE_GNU.
14277 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14278 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14279 process_vm_writev only for __USE_GNU.
14280 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
14281
14282 * conform/Makefile: For now ignore errors from run-conformtest.
14283 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
14284 POSIX to avoid namespace pollution. Don't prepend headers.
14285 * conform/data/aio.h-data: Fixes for POSIX testing.
14286 * conform/data/fcntl.h-data: Likewise.
14287 * conform/data/glob.h-data: Likewise.
14288 * conform/data/grp.h-data: Likewise.
14289 * conform/data/pthread.h-data: Likewise.
14290 * conform/data/pwd.h-data: Likewise.
14291 * conform/data/signal.h-data: Likewise.
14292 * conform/data/spawn.h-data: Likewise.
14293 * conform/data/stdio.h-data: Likewise.
14294 * conform/data/stdlib.h-data: Likewise.
14295 * conform/data/stropts.h-data: Likewise.
14296 * conform/data/sys/mman.h-data: Likewise.
14297 * conform/data/sys/stat.h-data: Likewise.
14298 * conform/data/sys/types.h-data: Likewise.
14299 * conform/data/sys/wait.h-data: Likewise.
14300 * conform/data/time.h-data: Likewise.
14301 * conform/data/unistd.h-data: Likewise.
14302 * conform/data/utime.h-data: Likewise.
14303
14304 * io/sys/stat.h: fchmod was always in POSIX.
14305 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
14306 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
14307 * rt/aio.h: Define __need_timespec before including <time.h>.
14308 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
14309 struct. Add forward declaration of pthread_attr_t and use it in
14310 sigevent.
14311 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14312 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14313 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
14314 always remove CLK_TCK definition.
14315
c20105c3
AS
143162012-02-26 Andreas Schwab <schwab@linux-m68k.org>
14317
14318 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
14319
7a270350
UD
143202012-02-25 Ulrich Drepper <drepper@gmail.com>
14321
31341567
UD
14322 * conform/run-conformtest.sh: New file.
14323 * conform/Makefile: Run run-conformtest for tests.
14324 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
14325 support.
14326
14327 * conform/data/uchar.h-data: New file.
14328 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
14329 * conform/data/arpa/inet.h-data: Likewise.
14330 * conform/data/assert.h-data: Likewise.
14331 * conform/data/complex.h-data: Likewise.
14332 * conform/data/cpio.h-data: Likewise.
14333 * conform/data/ctype.h-data: Likewise.
14334 * conform/data/dirent.h-data: Likewise.
14335 * conform/data/dlfcn.h-data: Likewise.
14336 * conform/data/errno.h-data: Likewise.
14337 * conform/data/fcntl.h-data: Likewise.
14338 * conform/data/float.h-data: Likewise.
14339 * conform/data/fmtmsg.h-data: Likewise.
14340 * conform/data/fnmatch.h-data: Likewise.
14341 * conform/data/ftw.h-data: Likewise.
14342 * conform/data/glob.h-data: Likewise.
14343 * conform/data/grp.h-data: Likewise.
14344 * conform/data/iconv.h-data: Likewise.
14345 * conform/data/inttypes.h-data: Likewise.
14346 * conform/data/langinfo.h-data: Likewise.
14347 * conform/data/libgen.h-data: Likewise.
14348 * conform/data/limits.h-data: Likewise.
14349 * conform/data/locale.h-data: Likewise.
14350 * conform/data/math.h-data: Likewise.
14351 * conform/data/monetary.h-data: Likewise.
14352 * conform/data/mqueue.h-data: Likewise.
14353 * conform/data/ndbm.h-data: Likewise.
14354 * conform/data/net/if.h-data: Likewise.
14355 * conform/data/netdb.h-data: Likewise.
14356 * conform/data/netinet/in.h-data: Likewise.
14357 * conform/data/nl_types.h-data: Likewise.
14358 * conform/data/poll.h-data: Likewise.
14359 * conform/data/pthread.h-data: Likewise.
14360 * conform/data/pwd.h-data: Likewise.
14361 * conform/data/regex.h-data: Likewise.
14362 * conform/data/sched.h-data: Likewise.
14363 * conform/data/search.h-data: Likewise.
14364 * conform/data/semaphore.h-data: Likewise.
14365 * conform/data/setjmp.h-data: Likewise.
14366 * conform/data/signal.h-data: Likewise.
14367 * conform/data/spawn.h-data: Likewise.
14368 * conform/data/stdarg.h-data: Likewise.
14369 * conform/data/stdio.h-data: Likewise.
14370 * conform/data/stdlib.h-data: Likewise.
14371 * conform/data/string.h-data: Likewise.
14372 * conform/data/strings.h-data: Likewise.
14373 * conform/data/stropts.h-data: Likewise.
14374 * conform/data/sys/ipc.h-data: Likewise.
14375 * conform/data/sys/mman.h-data: Likewise.
14376 * conform/data/sys/msg.h-data: Likewise.
14377 * conform/data/sys/resource.h-data: Likewise.
14378 * conform/data/sys/select.h-data: Likewise.
14379 * conform/data/sys/sem.h-data: Likewise.
14380 * conform/data/sys/shm.h-data: Likewise.
14381 * conform/data/sys/socket.h-data: Likewise.
14382 * conform/data/sys/stat.h-data: Likewise.
14383 * conform/data/sys/statvfs.h-data: Likewise.
14384 * conform/data/sys/time.h-data: Likewise.
14385 * conform/data/sys/timeb.h-data: Likewise.
14386 * conform/data/sys/times.h-data: Likewise.
14387 * conform/data/sys/types.h-data: Likewise.
14388 * conform/data/sys/uio.h-data: Likewise.
14389 * conform/data/sys/un.h-data: Likewise.
14390 * conform/data/sys/utsname.h-data: Likewise.
14391 * conform/data/sys/wait.h-data: Likewise.
14392 * conform/data/syslog.h-data: Likewise.
14393 * conform/data/tar.h-data: Likewise.
14394 * conform/data/termios.h-data: Likewise.
14395 * conform/data/utime.h-data: Likewise.
14396 * conform/data/utmpx.h-data: Likewise.
14397 * conform/data/varargs.h-data: Likewise.
14398 * conform/data/wchar.h-data: Likewise.
14399 * conform/data/wctype.h-data: Likewise.
14400 * conform/data/wordexp.h-data: Likewise.
14401
14402 * include/stropts.h: New file.
14403 * include/uchar.h: New file.
14404 * include/aio.h: Changes to allow conformtest.pl to use the headers.
14405 * include/assert.h: Likewise.
14406 * include/ctype.h: Likewise.
14407 * include/dirent.h: Likewise.
14408 * include/dlfcn.h: Likewise.
14409 * include/fcntl.h: Likewise.
14410 * include/fnmatch.h: Likewise.
14411 * include/glob.h: Likewise.
14412 * include/grp.h: Likewise.
14413 * include/libio.h: Likewise.
14414 * include/locale.h: Likewise.
14415 * include/math.h: Likewise.
14416 * include/net/if.h: Likewise.
14417 * include/netdb.h: Likewise.
14418 * include/netinet/in.h: Likewise.
14419 * include/pthread.h: Likewise.
14420 * include/pwd.h: Likewise.
14421 * include/regex.h: Likewise.
14422 * include/sched.h: Likewise.
14423 * include/search.h: Likewise.
14424 * include/setjmp.h: Likewise.
14425 * include/signal.h: Likewise.
14426 * include/stdio.h: Likewise.
14427 * include/stdlib.h: Likewise.
14428 * include/string.h: Likewise.
14429 * include/sys/cdefs.h: Likewise.
14430 * include/sys/mman.h: Likewise.
14431 * include/sys/msg.h: Likewise.
14432 * include/sys/resource.h: Likewise.
14433 * include/sys/select.h: Likewise.
14434 * include/sys/socket.h: Likewise.
14435 * include/sys/stat.h: Likewise.
14436 * include/sys/statvfs.h: Likewise.
14437 * include/sys/time.h: Likewise.
14438 * include/sys/times.h: Likewise.
14439 * include/sys/uio.h: Likewise.
14440 * include/sys/utsname.h: Likewise.
14441 * include/sys/wait.h: Likewise.
14442 * include/termios.h: Likewise.
14443 * include/time.h: Likewise.
14444 * include/ulimit.h: Likewise.
14445 * include/unistd.h: Likewise.
14446 * include/utime.h: Likewise.
14447 * include/wchar.h: Likewise.
14448 * include/wctype.h: Likewise.
14449 * include/wordexp.h: Likewise.
14450
14451 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
14452
7a270350
UD
14453 * time/time.h: TIME_UTC must be a macro.
14454 Make timespec_get available for ISO C11 only as well.
14455
7724defc
UD
144562012-02-24 Ulrich Drepper <drepper@gmail.com>
14457
14458 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
14459 Reported by Peng Haitao <penght@cn.fujitsu.com>.
14460
6b1d1d46
JM
144612012-02-24 Joseph Myers <joseph@codesourcery.com>
14462
14463 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 14464
0f8bbd69
JM
144652012-02-24 Joseph Myers <joseph@codesourcery.com>
14466
14467 * manual/texinfo.tex: Update to version 2012-01-19.16.
14468
66ab80bc
JM
144692012-02-24 Joseph Myers <joseph@codesourcery.com>
14470
14471 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
14472
74981cc5
RM
144732012-02-24 Roland McGrath <roland@hack.frob.com>
14474
ee968201
RM
14475 [BZ #13738]
14476 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
14477 * manual/fdl-1.3.texi: New file.
14478 * manual/fdl-1.1.texi: File removed.
14479
74981cc5
RM
14480 [BZ #13738]
14481 * manual/libc.texinfo (FDL_VERSION): New @set.
14482 Use it for mention of FDL in cover text.
14483 (Documentation License): Use it in @include file name.
14484
7bb764bc
JM
144852012-02-22 Joseph Myers <joseph@codesourcery.com>
14486 Roland McGrath <roland@hack.frob.com>
14487
14488 [BZ #5461]
14489 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
14490 not LONG_LONG_MAX and LONG_LONG_MIN.
14491 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
14492 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
14493 name.
14494 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
14495
6cbeae47
JM
144962012-02-22 Joseph Myers <joseph@codesourcery.com>
14497
14498 [BZ #2547]
14499 [BZ #11365]
14500 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
14501 manipulate bits before adding and subtracting TWO23[sx].
14502 * math/libm-test.inc (nearbyint_test): Add more tests.
14503
fe45ce09
JM
145042012-02-22 Joseph Myers <joseph@codesourcery.com>
14505
14506 [BZ #2548]
14507 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
14508 bits before adding and subtracting TWO23[sx].
14509 * math/libm-test.inc (rint_test): Add more tests.
14510 (rint_test_tonearest): Likewise.
14511 (rint_test_towardzero): Likewise.
14512 (rint_test_downward): Likewise.
14513 (rint_test_upward: Likewise.
14514
ff3b3d82
JM
145152012-02-22 Joseph Myers <joseph@codesourcery.com>
14516
14517 [BZ #10110]
14518 * include/stdc-predef.h: New file. Extracted from features.h.
14519 * include/features.h: Include stdc-predef.h.
14520 * Makefile (headers): Add stdc-predef.h.
14521 * CONFORMANCE (Compiler limitations): Update.
14522
ef0aab35
JM
145232012-02-22 Joseph Myers <joseph@codesourcery.com>
14524
14525 * manual/libc.texinfo (VERSION, UPDATED): Revert.
14526
58639409
DM
145272012-02-21 David S. Miller <davem@davemloft.net>
14528
14529 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
14530 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14531
c0e70b25
DM
145322012-02-20 David S. Miller <davem@davemloft.net>
14533
14534 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
14535 using a normal save/restore sequence, rather than allocating a
14536 dummy stack frame just to store a frame pointer and restore.
14537 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14538
fb06851d
JM
145392012-02-21 Joseph Myers <joseph@codesourcery.com>
14540
14541 * manual/install.texi: Fix stray word in line-wrapped comment.
14542
7a8b71c3
DM
145432012-02-20 David S. Miller <davem@davemloft.net>
14544
d510c123
DM
14545 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
14546 both binutils and gcc support GOTDATA.
14547
0722d7c2
DM
14548 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
14549 "rd %pc" in the PIC register setup sequences.
14550
3d2b3019
DM
14551 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
14552 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
14553 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14554 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
14555 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14556 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
14557 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14558 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14559 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
14560 (SYSCALL_ERROR_HANDLER): Likewise.
14561 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14562 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14563 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
14564 (SYSCALL_ERROR_HANDLER): Likewise.
14565
c80098a9
DM
14566 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
14567 (HAVE_GCC_GOTDATA): New.
14568 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
14569 relocation support in both binutils and gcc.
14570 * sysdeps/sparc/elf/configure: Regenerate.
14571
3a2545a0
DM
14572 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
14573 * sysdeps/sparc/sparc32/elf/configure: Delete.
14574 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
14575 * sysdeps/sparc/sparc64/elf/configure: Delete.
14576 * sysdeps/sparc/elf/configure.in: New file.
14577 * sysdeps/sparc/elf/configure: Generate.
14578
7a8b71c3
DM
14579 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
14580 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
14581 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14582 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
14583 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
14584
f1e86fca
JM
145852012-02-21 Joseph Myers <joseph@codesourcery.com>
14586
14587 * manual/install.texi: Do not mention specific glibc version
14588 numbers.
14589 * manual/libc.texinfo (VERSION, UPDATED): Update.
14590 (@copying): Use @copyright{} and range of years.
14591
0e7dfaef
JM
145922012-02-21 Joseph Myers <joseph@codesourcery.com>
14593
14594 [BZ #13695]
14595 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
14596 [crti.S not in sysdirs] (generated): Do not append.
14597 [crti.S not in sysdirs] (omit-deps): Likewise.
14598 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
14599 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
14600 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
14601 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
14602 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
14603 Likewise.
14604 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
14605 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
14606 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
14607 * csu/defs.awk: Remove file.
14608 * sysdeps/generic/initfini.c: Likewise.
14609 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
14610 variable.
14611 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
14612 Likewise.
14613
599af3ca
JM
146142012-02-20 Joseph Myers <joseph@codesourcery.com>
14615
14616 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
14617 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
14618 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
14619 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
14620 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14621 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
14622 <bits/epoll.h>.
14623 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
14624 (__EPOLL_PACKED): Define to empty if not defined by
14625 <bits/epoll.h>.
14626 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
14627 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14628 bits/epoll.h.
14629
0e499750
JM
146302012-02-20 Joseph Myers <joseph@codesourcery.com>
14631
14632 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
14633 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
14634 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
14635 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
14636 <bits/timerfd.h>.
14637 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
14638 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14639 bits/timerfd.h.
14640
5ad91f6e
JM
146412012-02-20 Joseph Myers <joseph@codesourcery.com>
14642
14643 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
14644 in C locale.
14645 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14646 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14647 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
14648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14649
06b99b02
AJ
146502012-02-20 Aurelien Jarno <aurelien@aurel32.net>
14651
14652 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14653 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14654
7638c0fd
AS
146552012-02-19 Andreas Schwab <schwab@linux-m68k.org>
14656
14657 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
14658 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
14659 defined.
14660 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
14661 Likewise.
14662 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
14663 entry for 2.16.
14664
92221550
AJ
146652012-02-19 Aurelien Jarno <aurelien@aurel32.net>
14666
14667 * math/w_acos.c: Use non-signaling floating-point comparisons.
14668 * math/w_acosf.c: Likewise.
14669 * math/w_acosh.c: Likewise.
14670 * math/w_acoshf.c: Likewise.
14671 * math/w_acoshl.c: Likewise.
14672 * math/w_acosl.c: Likewise.
14673 * math/w_asin.c: Likewise.
14674 * math/w_asinf.c: Likewise.
14675 * math/w_asinl.c: Likewise.
14676 * math/w_atanh.c: Likewise.
14677 * math/w_atanhf.c: Likewise.
14678 * math/w_atanhl.c: Likewise.
14679 * math/w_exp2.c: Likewise.
14680 * math/w_exp2f.c: Likewise.
14681 * math/w_exp2l.c: Likewise.
14682 * math/w_j0.c: Likewise.
14683 * math/w_j0f.c: Likewise.
14684 * math/w_j0l.c: Likewise.
14685 * math/w_j1.c: Likewise.
14686 * math/w_j1f.c: Likewise.
14687 * math/w_j1l.c: Likewise.
14688 * math/w_jn.c: Likewise.
14689 * math/w_jnf.c: Likewise.
14690 * math/w_log.c: Likewise.
14691 * math/w_log10.c: Likewise.
14692 * math/w_log10f.c: Likewise.
14693 * math/w_log10l.c: Likewise.
14694 * math/w_log2.c: Likewise.
14695 * math/w_log2f.c: Likewise.
14696 * math/w_log2l.c: Likewise.
14697 * math/w_logf.c: Likewise.
14698 * math/w_logl.c: Likewise.
14699 * math/w_sqrt.c: Likewise.
14700 * math/w_sqrtf.c: Likewise.
14701 * math/w_sqrtl.c: Likewise.
14702 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14703 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
14704 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14705 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14706 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14707
ebaf36eb
JM
147082012-02-19 Joseph Myers <joseph@codesourcery.com>
14709
14710 [BZ #9739]
14711 * manual/string.texi (strnlen): Use correct parameter name in
14712 equivalent expression.
14713
71c254a6
JM
147142012-02-19 Joseph Myers <joseph@codesourcery.com>
14715
14716 [BZ #11174]
14717 * manual/users.texi (seteuid): Consistently use neweuid for
14718 argument name.
14719
16d2c631
JM
147202012-02-19 Joseph Myers <joseph@codesourcery.com>
14721
14722 [BZ #13704]
14723 * manual/nss.texi (Services in the NSS configuration): Correct
14724 list of services in example configuration file.
14725
cd837b09
NB
147262012-02-19 Nick Bowler <nbowler@draconx.ca>
14727
14728 [BZ #11322]
14729 * manual/arith.texi: Remove statements about negative zero
14730 behaving identically to zero.
14731
02c4bbad
JM
147322012-02-18 Joseph Myers <joseph@codesourcery.com>
14733
14734 [BZ #5993]
14735 * manual/install.texi: Do not document upgrading from libc5.
14736
366842e7
JM
147372012-02-18 Joseph Myers <joseph@codesourcery.com>
14738
14739 [BZ #4596]
14740 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
14741
dd54084d
DM
147422012-02-18 David S. Miller <davem@davemloft.net>
14743
14744 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
14745 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
14746 %o7 across the call.
14747 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
14748 instead.
14749 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
14750 SETUP_PIC_REG_LEAF.
14751 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14752 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
14753 * sysdeps/sparc/crtn.S: Likewise.
14754
2bcc53a3
UD
147552012-02-17 Ulrich Drepper <drepper@gmail.com>
14756
14757 * aout/Makefile: Remove.
14758
09c093b5
RK
147592012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
14760
14761 [BZ #13058]
14762 * manual/examples/argp-ex1.c (main): Format definition in GNU
14763 style.
14764 * manual/examples/argp-ex2.c (main): Likewise.
14765 * manual/examples/argp-ex3.c (main): Likewise.
14766 * manual/examples/argp-ex4.c (main): Likewise.
14767 * manual/examples/longopt.c (main): Use new-style prototype
14768 definition.
14769 * manual/examples/strncat.c (main): Specify return type and use
14770 (void) for arguments.
14771 * manual/examples/subopt.c (main): Use char **argv argument.
14772
2ee633a2
JM
147732012-02-17 Joseph Myers <joseph@codesourcery.com>
14774
14775 [BZ #5077]
14776 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
14777 rounding modes.
14778
0520adde
FB
147792012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
14780
14781 [BZ #6907]
14782 * manual/string.texi (strchr): Change when strchrnul is
14783 recommended.
14784
3f4081cd
DGM
147852012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
14786
14787 [BZ #174]
14788 * manual/locale.texi (setlocale): Document LOCPATH.
14789
d1b10e78
JM
147902012-02-17 Joseph Myers <joseph@codesourcery.com>
14791
14792 [BZ #10210]
14793 * manual/process.texi (execle): Move @dots{} before last argument.
14794
79c6869c
PB
147952012-02-17 Paul Bolle <pebolle@tiscali.nl>
14796
14797 [BZ #12047]
14798 * manual/charset.texi (Generic Charset Conversion): Fix typo
14799 (LC_TYPE -> LC_CTYPE).
14800
cc6e48bc
NB
148012012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
14802
14803 [BZ #5805]
14804 * manual/arith.texi (scalbn): Use @var{} on parameter names.
14805 (scalbnf): Likewise.
14806 (scalbnl): Likewise.
14807 (scalbln): Likewise.
14808 (scalblnf): Likewise.
14809 (scalblnl): Likewise.
14810 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
14811 (vwarnx): Likewise.
14812 (verr): Likewise.
14813 (verrx): Likewise.
14814 * manual/filesys.texi (telldir): Use braces around return type.
14815 * manual/llio.texi (mmap): Add space after comma.
14816 (mmap64): Likewise.
14817 * manual/math.texi (jn): Use @var{} on parameter names.
14818 (jnf): Likewise.
14819 (jnl): Likewise.
14820 (yn): Likewise.
14821 (ynf): Likewise.
14822 (ynl): Likewise.
14823 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
14824 line.
14825 * manual/resource.texi (ulimit): Use @dots{} instead of literal
14826 "...".
14827 (sched_get_priority_min): Remove semicolon on @deftypefun line.
14828 (sched_get_priority_max): Likewise.
14829 * manual/signal.texi (sigvec): Add space after comma.
14830 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
14831 names.
14832 (if_indextoname): Likewise.
14833 (if_freenameindex): Likewise.
14834 (sendto): Use ',' instead of '.' in prototype.
14835 * manual/startup.texi (syscall): Use @dots{} instead of literal
14836 "...".
14837 * manual/stdio.texi (__fpending): Separate initial words of
14838 paragraph from @deftypefun line.
14839 * manual/syslog.texi (syslog): Use @dots{} instead of literal
14840 "...".
14841 (vsyslog): Use @var{} on parameter names.
14842 * manual/terminal.texi (stty): Use @var{} on parameter names.
14843 * manual/users.texi (getutmp): Use @var{} on parameter names.
14844 (getutmpx): Likewise.
14845
5b23062f
JM
148462012-02-17 Joseph Myers <joseph@codesourcery.com>
14847
14848 [BZ #6884]
14849 * manual/stdio.texi (fopen): Fix typos in description of
14850 ",ccs=STRING".
14851
8dee4833
AJ
148522012-02-17 Aurelien Jarno <aurelien@aurel32.net>
14853
14854 [BZ #4026]
14855 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
14856 get clock_id definition.
14857
9078ce93
TS
148582012-02-17 Thomas Schwinge <thomas@schwinge.name>
14859
14860 [BZ #4822]
14861 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
14862 (madvise): Cast every argument to void on its own.
14863
3835c55f
JM
148642012-02-17 Joseph Myers <joseph@codesourcery.com>
14865
14866 [BZ #9902]
14867 * manual/startup.texi (Exit Status): Fix typo.
14868
35c47e37
JM
148692012-02-17 Joseph Myers <joseph@codesourcery.com>
14870
14871 [BZ #10140]
14872 * manual/examples/argp-ex1.c: Include <stdlib.h>.
14873 * manual/examples/argp-ex2.c: Likewise.
14874 * manual/examples/argp-ex3.c: Likewise.
14875
e3b69ca7
RH
148762012-02-16 Richard Henderson <rth@redhat.com>
14877
14878 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
14879 * sysdeps/s390/s390-32/initfini.c: Remove.
14880 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
14881 * sysdeps/s390/s390-64/initfini.c: Remove.
14882
df83af67
KK
148832012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14884
14885 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
14886 compiler output for sysdeps/generic/initfini.c.
14887 * sysdeps/sh/elf/initfini.c: Remove file.
14888
f63f3380
DM
148892012-02-16 David S. Miller <davem@davemloft.net>
14890
fb59b3a4
DM
14891 [BZ #11494]
14892 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
14893
f63f3380
DM
14894 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
14895 * sysdeps/sparc/crti.S: New file.
14896 * sysdeps/sparc/crtn.S: New file.
14897 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
14898 * sysdeps/sparc/sparc64/Makefile: Likewise.
14899
df6a4a4a
MF
149002012-02-15 Mike Frysinger <vapier@gentoo.org>
14901
6dd8f3dc 14902 [BZ #3335]
df6a4a4a
MF
14903 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
14904
1cac7236
RM
149052012-02-15 Roland McGrath <roland@hack.frob.com>
14906
d2c736f8
RM
14907 [BZ #4822]
14908 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
14909
1cac7236
RM
14910 * mach/devstream.c (cookie_io_functions_t): Macro removed.
14911 (write, read, close): Likewise.
14912 Patch by Aurelien Jarno <aurelien@aurel32.net>.
14913
8e475601
JM
149142012-02-15 Joseph Myers <joseph@codesourcery.com>
14915
14916 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
14917 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
14918 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
14919 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
14920 <bits/signalfd.h>.
14921 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
14922 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14923 bits/signalfd.h.
14924
ed656b40
MP
149252012-02-14 Marek Polacek <polacek@redhat.com>
14926
14927 * sysdeps/x86_64/crti.S: New file.
14928 * sysdeps/x86_64/crtn.S: New file.
14929 * sysdeps/x86_64/elf/initfini.c: Remove file.
14930
2a979d3a
JM
149312012-02-13 Joseph Myers <joseph@codesourcery.com>
14932
14933 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
14934 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
14935 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
14936 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
14937 <bits/inotify.h>.
14938 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
14939 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14940 bits/inotify.h.
14941
2a418ac3
JM
149422012-02-13 Joseph Myers <joseph@codesourcery.com>
14943
14944 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
14945 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
14946 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
14947 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
14948 <bits/eventfd.h>.
14949 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
14950 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14951 bits/eventfd.h.
14952
fb779be7
TS
149532012-02-10 Thomas Schwinge <thomas@codesourcery.com>
14954
e19e83c5
RM
14955 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
14956 __feraiseexcept instead of feraiseexcept.
7c35ffed 14957
fb779be7
TS
14958 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
14959 nanosleep invocations.
14960 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
14961 strings, and add error checking for a nanosleep invocations.
14962
59ba27a6
PE
149632012-02-09 Paul Eggert <eggert@cs.ucla.edu>
14964
14965 Replace FSF snail mail address with URLs, as per GNU coding standards.
14966 Most of the snail mail addresses were wrong anyway, and omitting
14967 them makes the source code easier to maintain. Almost all of the
14968 changes are to license notices and to locale LC_IDENTIFICATION
14969 addresses, except for this one:
14970 * manual/libc.texinfo: In "Published by", give the FSF's URL,
14971 not its snail mail address.
14972
57b957eb
RH
149732012-02-09 Richard Henderson <rth@twiddle.net>
14974
af850b1c
RH
14975 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
14976 of kernel-features.h.
14977
57b957eb
RH
14978 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
14979
6b73181a
MP
149802012-02-08 Marek Polacek <polacek@redhat.com>
14981
14982 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
14983 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
14984 * sysdeps/gnu/_G_config.h: Likewise.
14985 * sysdeps/generic/_G_config.h: Likewise.
14986
26ecc33a
AS
149872012-02-08 Andreas Schwab <schwab@linux-m68k.org>
14988
6c6dbc63
AS
14989 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
14990 tests.
14991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14992
e216c012
AS
14993 * sysdeps/powerpc/powerpc32/crti.S: New file.
14994 * sysdeps/powerpc/powerpc32/crtn.S: New file.
14995 * sysdeps/powerpc/powerpc64/crti.S: New file.
14996 * sysdeps/powerpc/powerpc64/crtn.S: New file.
14997
26ecc33a
AS
14998 * Makeconfig (have-initfini): Don't set.
14999 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
15000 * configure.in (nopic_initfini): Don't substitute.
15001 * config.h.in (HAVE_INITFINI): Don't #undef.
15002 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
15003 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
15004
3add8e13
JM
150052012-02-08 Joseph Myers <joseph@codesourcery.com>
15006
15007 Support crti.S and crtn.S provided directly by architectures.
15008 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
15009 [crti.S in sysdirs] (omit-deps): Likewise.
15010 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
15011 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
15012 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
15013 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
15014 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
15015 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
15016 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
15017 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
15018 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
15019 compiler output for sysdeps/generic/initfini.c.
15020 * sysdeps/i386/elf/Makefile: Remove file.
15021 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
15022
a22f12b4
MP
150232012-02-07 Marek Polacek <polacek@redhat.com>
15024
15025 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
15026 * sysdeps/gnu/_G_config.h: Likewise.
15027 * sysdeps/mach/hurd/_G_config.h: Likewise.
15028
148cf100
MP
150292012-02-07 Marek Polacek <polacek@redhat.com>
15030
15031 * math/Makefile (tests): Add tst-CMPLX2.
15032 * math/tst-CMPLX2.c: New file.
15033
cfdc0dd7
AS
150342012-02-07 Andreas Schwab <schwab@linux-m68k.org>
15035
84ba42c4
AS
15036 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15037
cfdc0dd7
AS
15038 * math/libm-test.inc (jn_test): Add missing L suffix.
15039
622c86f4
MP
150402012-02-06 Marek Polacek <polacek@redhat.com>
15041
15042 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
15043 * sysdeps/i386/fpu/e_powf.S: Likewise.
15044 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15045 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15046 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15047 * sysdeps/i386/fpu/e_pow.S: Likewise.
15048 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15049 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15050 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15051 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15052 * sysdeps/i386/fpu/e_log2.S: Likewise.
15053 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15054 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15055 * sysdeps/i386/fpu/e_powl.S: Likewise.
15056 * sysdeps/i386/fpu/s_log1p.S: Likewise.
15057 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15058 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15059 * sysdeps/i386/fpu/e_logl.S: Likewise.
15060 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15061 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
15062 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15063 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15064 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15065 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15066 * sysdeps/i386/fpu/e_log.S: Likewise.
15067 * sysdeps/i386/fpu/s_cexp.S: Likewise.
15068 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15069 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
15070 * sysdeps/i386/fpu/e_logf.S: Likewise.
15071 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15072 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15073 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
15074 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15075 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15076 * sysdeps/i386/fpu/e_log10.S: Likewise.
15077 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15078 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15079 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15080 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15081 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15082 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15083 * sysdeps/i386/asm-syntax.h: Likewise.
15084 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15085 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15086 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15087 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
15088 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
15089 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15090 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15091 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15092 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15093 * sysdeps/powerpc/sysdep.h: Likewise.
15094 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
15095 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15096
d4a54ac6
JM
150972012-02-06 Joseph Myers <joseph@codesourcery.com>
15098
15099 [BZ #411]
15100 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
15101
314054ea
JM
151022012-02-06 Joseph Myers <joseph@codesourcery.com>
15103
15104 * sysdeps/i386/sysdep.h: Include <features.h>.
15105 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
15106 version.
15107
d8e0ca50
JM
151082012-02-05 Joseph Myers <joseph@codesourcery.com>
15109
15110 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
15111 Define.
15112 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
15113 LOAD_PIC_REG_STR.
15114
b1da7dd9
JM
151152012-02-03 Joseph Myers <joseph@codesourcery.com>
15116
15117 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
15118 (SETUP_PIC_REG): Use GET_PC_THUNK.
15119 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
15120 macro.
15121
9a1d9254
JM
151222012-02-03 Joseph Myers <joseph@codesourcery.com>
15123
15124 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
15125 for non-PIC compilation.
15126 (SETUP_PIC_REG): Add .p2align directive.
15127 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
15128 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
15129 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15130 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15131 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15132 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15133 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
15134 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15135 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15136 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15137 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15138 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15139 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15140 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15141 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15142 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15143 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15144 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15145 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15146 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15147 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15148 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15149 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15150 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15151 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15152 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15153 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15154 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15155 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15156 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15157 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15158 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15159 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15160 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15161 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15162 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15163 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15164 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15165 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15166 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15167 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15168
65dc3b75
JM
151692012-02-03 Joseph Myers <joseph@codesourcery.com>
15170
15171 * math/tst-CMPLX.c: Include <stdio.h>.
15172
d55bf177
JM
151732012-01-31 Joseph Myers <joseph@codesourcery.com>
15174
15175 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
15176 float.
15177 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15178 * sysdeps/sparc/bits/mathdef.h: Likewise.
15179
69db4f8f
MP
151802012-01-31 Marek Polacek <polacek@redhat.com>
15181
15182 * libio/libio.h: Don't define _PARAMS.
15183 * locale/programs/config.h: Don't define PARAMS.
15184 * stdlib/strtol_l.c: Likewise.
15185 (__strtol_l): Remove PARAMS from the prototype.
15186
41b81892
UD
151872012-01-31 Ulrich Drepper <drepper@gmail.com>
15188
3b49edc0
UD
15189 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
15190 names. Just use the correct names. Remove unnecessary wrapper
15191 functions.
15192 * malloc/arena.c: Likewise.
15193 * malloc/hooks.c: Likewise.
15194
41b81892
UD
15195 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
15196 ARENA_TEST says not to. Simplify test for creation of a new arena.
15197 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
15198
27a25b6e
UD
151992012-01-30 Ulrich Drepper <drepper@gmail.com>
15200
15201 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
15202 into tail calls.
15203 (update_get_addr): New function.
15204 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
15205 GET_ADDR_MODULE parameter.
15206
c8a89e7d
JM
152072012-01-30 Joseph Myers <joseph@codesourcery.com>
15208
15209 * crypt/cert.c: Remove __STDC__ conditionals.
15210 * crypt/crypt-entry.c: Likewise.
15211 * crypt/crypt_util.c: Likewise.
15212 * libio/filedoalloc.c: Likewise.
15213 * libio/fileops.c: Likewise.
15214 * libio/genops.c: Likewise.
15215 * libio/iofclose.c: Likewise.
15216 * libio/iofdopen.c: Likewise.
15217 * libio/iofopen.c: Likewise.
15218 * libio/iofopen64.c: Likewise.
15219 * libio/iogetdelim.c: Likewise.
15220 * libio/iopopen.c: Likewise.
15221 * libio/obprintf.c: Likewise.
15222 * libio/oldfileops.c: Likewise.
15223 * libio/oldiofclose.c: Likewise.
15224 * libio/oldiofdopen.c: Likewise.
15225 * libio/oldiofopen.c: Likewise.
15226 * libio/oldiopopen.c: Likewise.
15227 * libio/wfiledoalloc.c: Likewise.
15228 * libio/wgenops.c: Likewise.
15229 * locale/programs/xmalloc.c: Likewise.
15230 * misc/syslog.c: Likewise.
15231 * stdio-common/xbug.c: Likewise.
15232 * string/memchr.c: Likewise.
15233 * string/memcmp.c: Likewise.
15234 * string/memrchr.c: Likewise.
15235 * string/rawmemchr.c: Likewise.
15236 * sysdeps/posix/getcwd.c: Likewise.
15237 * time/strftime_l.c: Likewise.
15238
3b100462
JM
152392012-01-30 Joseph Myers <joseph@codesourcery.com>
15240
15241 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
15242 * config.make.in (config-cflags-sse2avx): Define.
15243 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
15244 Fix typo.
15245
607998af
CM
152462012-01-29 Chris Metcalf <cmetcalf@tilera.com>
15247
15248 * scripts/config.guess: Update from upstream config git repository.
15249 * scripts/config.sub: Likewise.
15250
3601428f
CM
152512012-01-28 Chris Metcalf <cmetcalf@tilera.com>
15252
3ac8b282
CM
15253 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
15254 (EM_NUM): Update.
15255 (R_TILEPRO_*, R_TILEGX_*): New macros.
15256
e034841e
CM
15257 * scripts/firstversions.awk: Fix bug in version range handling.
15258
540d7568
CM
15259 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
15260
3601428f
CM
15261 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
15262
463de862
CM
15263 * include/sys/epoll.h: New file.
15264 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
15265 libc_hidden_def.
15266
73139a76
UD
152672012-01-28 Ulrich Drepper <drepper@gmail.com>
15268
96bc5b45
UD
15269 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
15270 Avoid unnecessary __WORDSIZE == 64 test.
15271 (fmaxf): Use VEX format if possible.
15272 (fmax): Likewise.
15273 (fminf): Likewise.
15274 (fmin): Likewise.
15275
56f6f6a2
UD
15276 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
15277 * math/math_private.h: Remove libc_fegetround* and
15278 libc_fesetround*.
15279 * sysdeps/i386/configure.in: Check for -msse2avx.
15280 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
15281 also if SSE2AVX is defined.
15282 Remove libc_fegetround* and libc_fesetround*.
15283 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
15284 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
15285 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
15286 of HAS_YMM_USABLE.
15287 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15288 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15289 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15290 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15291 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15292
73139a76
UD
15293 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
15294
d73f93a4
AZ
152952012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15296
15297 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
15298 size is not set.
15299 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15300
6ee65ed6
UD
153012012-01-27 Ulrich Drepper <drepper@gmail.com>
15302
15303 [BZ #13618]
15304 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
15305 relocation.
15306 * Makeconfig (libm): Define.
15307 * elf/Makefile: Add rules to build and run tst-relsort1.
15308 * elf/tst-relsort1.c: New file.
15309 * elf/tst-relsort1mod1.c: New file.
15310 * elf/tst-relsort1mod2.c: New file.
15311
8db21882
JM
153122012-01-27 Joseph Myers <joseph@codesourcery.com>
15313
15314 * math/s_ldexp.c: Remove __STDC__ conditionals.
15315 * math/s_ldexpf.c: Likewise.
15316 * math/s_ldexpl.c: Likewise.
15317 * math/s_nextafter.c: Likewise.
15318 * math/s_nexttowardf.c: Likewise.
15319 * math/s_significand.c: Likewise.
15320 * math/s_significandf.c: Likewise.
15321 * math/s_significandl.c: Likewise.
15322 * math/w_jnl.c: Likewise.
15323 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
15324 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15325 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15326 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15327 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15328 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15329 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
15330 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15331 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15332 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15333 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15334 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15335 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15336 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15337 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15338 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15339 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15340 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15341 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15342 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15343 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15344 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15345 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15346 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15347 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15348 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15349 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15350 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15351 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
15352 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15353 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15354 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
15355 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15356 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
15357 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
15358 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15359 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15360 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
15361 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
15362 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15363 * sysdeps/ieee754/k_standard.c: Likewise.
15364 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15365 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15366 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15367 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15368 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15369 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15370 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15371 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15372 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15373 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15374 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15375 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
15376 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15377 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15378 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15379 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15380 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15381 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15382 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15383 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15384 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15385 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15386 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15387 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15388 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15389 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15390 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15391 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15392 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15393 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15394 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15395 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
15396 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15397 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
15398 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15399 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
15400 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
15401 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15402 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
15403 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
15404 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
15405 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
15406 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
15407 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
15408 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15409 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15410 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15411 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15412 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15413 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
15414 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
15415 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15416 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15417 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
15418 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15419 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
15420 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
15421 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15422 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15423 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15424 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15425 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15426 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15427 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15428 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15429 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15430 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15431 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15432 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15433 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15434 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15435 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15436 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15437 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15438 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15439 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15440 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15441 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15442 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15443 * sysdeps/ieee754/s_matherr.c: Likewise.
15444 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15445 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15446 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15447 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15448
965a54a4
JM
154492012-01-26 Joseph Myers <joseph@codesourcery.com>
15450
15451 * crypt/md5.h: Remove __STDC__ conditionals.
15452 * libio/libioP.h: Likewise.
15453 * locale/programs/config.h: Likewise.
15454 * sysdeps/generic/sysdep.h: Likewise.
15455 * sysdeps/i386/asm-syntax.h: Likewise.
15456 * sysdeps/s390/asm-syntax.h: Likewise.
15457 * sysdeps/unix/sysdep.h: Likewise.
15458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15460
7071ad79
JM
154612012-01-26 Joseph Myers <joseph@codesourcery.com>
15462
15463 * libio/libio.h: Remove __STDC__ conditionals.
15464 * malloc/obstack.h: Likewise.
15465 * math/complex.h: Likewise.
15466 * math/math.h: Likewise.
15467 * sysdeps/generic/_G_config.h: Likewise.
15468 * sysdeps/gnu/_G_config.h: Likewise.
15469 * sysdeps/mach/hurd/_G_config.h: Likewise.
15470 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15471 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15472 * sysdeps/sparc/bits/mathdef.h: Likewise.
15473
afc5ed09
UD
154742012-01-26 Ulrich Drepper <drepper@gmail.com>
15475
15476 [BZ #13583]
15477 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 15478 Clean up HAS_* macros.
afc5ed09 15479 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
15480 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
15481 possible.
15482 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
15483 HAS_AVX.
15484 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15485 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15486 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15487 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15488 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 15489
bdb6de1d
JM
154902012-01-25 Joseph Myers <joseph@codesourcery.com>
15491
15492 * elf/tst-unique3.cc (gets): Remove declaration.
15493 * elf/tst-unique3lib.cc (gets): Likewise.
15494 * elf/tst-unique3lib2.cc (gets): Likewise.
15495 * elf/tst-unique4.cc (gets): Likewise.
15496
b15549e6
UD
154972012-01-24 Ulrich Drepper <drepper@gmail.com>
15498
15499 * include/stdio.h: Add C++ protection. Add gets declarations and
15500 definitions.
15501 * debug/tst-chk1.c: Don't declare gets here.
15502 * stdio-common/tst-gets.c: Likewise.
15503
a037381f
JM
155042012-01-24 Joseph Myers <joseph@codesourcery.com>
15505
15506 * posix/glob: Remove directory.
15507
f1d4aa75
JM
155082012-01-24 Joseph Myers <joseph@codesourcery.com>
15509
15510 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
15511
81c0c964
PT
155122012-01-22 Pino Toscano <toscano.pino@tiscali.it>
15513
15514 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
15515 of the non-standard EPFNOSUPPORT.
15516
0ea698ae
ST
155172011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
15518
15519 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
15520 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
15521 ANYWHERE set to 1 only on KERN_NO_SPACE error.
15522
d220b117
UD
155232012-01-21 Ulrich Drepper <drepper@gmail.com>
15524
15525 * wcsmbs/uchar.h: Test __STDC_VERSION__.
15526
3e1aa84e
UD
155272012-01-20 Ulrich Drepper <drepper@gmail.com>
15528
15529 * nscd/aicache.c (addhstaiX): Do not cache negative results of
15530 transient errors.
15531 * nscd/grpcache.c (cache_addgr): Likewise.
15532 * nscd/hstcache.c (cache_addhst): Likewise.
15533 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15534 * nscd/pwdcache.c (cache_addpw): Likewise.
15535 * nscd/servicescache.c (cache_addserv): Likewise.
15536
400aa020
UD
155372012-01-16 Ulrich Drepper <drepper@gmail.com>
15538
d77e7869
UD
15539 * malloc/malloc.c: Various cleanups.
15540 * malloc/hooks.c: Likewise.
15541
400aa020
UD
15542 * stdlib/Makefile (tests): Add bug-fmtmsg1.
15543 * stdlib/bug-fmtmsg1.c: New file.
15544
15545 * stdlib/fmtmsg.c (init): Add missing unlock.
15546 Patch by Peng Haitao <penght@cn.fujitsu.com>.
15547
e0a309cf
MP
155482012-01-12 Marek Polacek <polacek@redhat.com>
15549
15550 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
15551 and _GNU_SOURCE.
15552
929d11c7
WS
155532012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15554
15555 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
15556 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
15557 macro to ensure uniqueness of label name.
15558 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
15559 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
15560
41d0e869
UD
155612012-01-11 Ulrich Drepper <drepper@gmail.com>
15562
0cc5ed3b
UD
15563 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
15564
41d0e869
UD
15565 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
15566 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
15567 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15568 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
15569
a47a831a
UD
155702012-01-10 Ulrich Drepper <drepper@gmail.com>
15571
daa891c0
UD
15572 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
15573
15574 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
15575 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
15576 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
15577
e58ef0f2
UD
15578 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
15579
a47a831a 15580 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
15581 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
15582 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 15583 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
15584
15585 * math/bits/math-finite.h: Add ldexp support.
15586
a0bfc9c7
MP
155872012-01-10 Marek Polacek <polacek@redhat.com>
15588
15589 * locale/programs/localedef.h (show_archive_content): Add noreturn
15590 attribute.
15591
d6e97a1d
UD
155922012-01-09 Ulrich Drepper <drepper@gmail.com>
15593
15594 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
15595
d5835c26
UD
155962012-01-08 Ulrich Drepper <drepper@gmail.com>
15597
e5f484c6
UD
15598 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
15599
d5835c26
UD
15600 * io/Makefile (headers): Add bits/poll2.h.
15601
d1f741e9
WS
156022011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
15603
15604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
15605 typo #include statement.
15606
ec09c1c4
UD
156072012-01-08 Ulrich Drepper <drepper@gmail.com>
15608
15609 * include/sys/cdefs.h: Define __attribute_alloc_size.
15610 * catgets/gencat.c: Add alloc_size attribute and apply consistently
15611 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
15612 * elf/pldd.c: Likewise.
15613 * iconv/iconv_charmap.c: Likewise.
15614 * iconv/iconvconfig.c: Likewise.
15615 * iconv/strtab.c: Likewise.
15616 * locale/programs/locale.c: Likewise.
15617 * locale/programs/localedef.h: Likewise.
15618 * locale/programs/simple-hash.c: Likewise.
15619 * nscd/nscd.h: Likewise.
15620 * nss/makedb.c: Likewise.
15621 * sysdeps/generic/ldconfig.h: Likewise.
15622 * locale/programs/localedef.c: Remove xmalloc prototype.
15623 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
15624
20b38e03
PP
156252012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15626
15627 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
15628 appropriate.
15629
a0da5fe1
UD
156302012-01-08 Ulrich Drepper <drepper@gmail.com>
15631
1d5a644a 15632 * math/Makefile (tests): Add tst-CMPLX.
669704fd 15633 * math/tst-CMPLX.c: New file.
1d5a644a 15634
8784a6db
UD
15635 * math/complex.h (CMPLXL): Fix typo.
15636
d9a216c0
UD
15637 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
15638 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
15639 GLIBC_2.16.
15640 * debug/tst-chk1.c: Add poll and ppoll tests.
15641 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
15642 * include/sys/poll.h: Add hidden proto for ppoll.
15643 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
15644 * sysdeps/mach/hurd/ppoll.c: Likewise.
15645 * io/ppoll.c: Likewise.
15646 * debug/poll_chk.c: New file.
15647 * debug/ppoll_chk.c: New file.
15648 * include/bits/poll2.h: New file.
15649 * io/bits/poll2.h: New file.
15650
ac097f5c
UD
15651 [BZ #1350]
15652 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
15653
2119dcfa
UD
15654 * configure.in: static is always set to yes. Remove.
15655 * config.make.in: Don't set build-static.
15656 * Makeconfig: Remove use of build-static.
15657 * dlfcn/Makefile: Likewise.
15658 * elf/Makefile: Likewise.
15659 * math/Makefile: Likewise.
15660 * misc/Makefile: Likewise.
15661 * nptl/Makefile: Likewise.
15662 * sysdeps/mach/hurd/Makefile: Likewise.
15663
121766a9
UD
15664 * configure.in: PWD_P is not used anymore.
15665 * config.make.in: Remove PWD_P entry.
15666
51a1d39c 15667 * configure.in: Remove last remnants of RANLIB.
8720d066 15668 No need to check for signed size_t anymore.
215f4bdc
UD
15669 Don't set libc_commonpagesize and libc_relro_required here for Alpha
15670 and IA-64.
3857022a 15671 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
15672 * aclocal.m4: Likewise.
15673
d3ed7225
UD
15674 * wcsmbs/mbrtoc16.c: Implement using towc function.
15675 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
15676 * wcsmbs/wcsmbsload.c: Likewise.
15677 * iconv/gconv_simple.c: Likewise.
15678 * iconv/gconv_int.h: Likewise.
15679 * iconv/gconv_builtin.h: Likewise.
15680 * iconv/iconv_prog.c: Remove CHAR16 handling.
15681
15682 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
15683
15684 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
15685
a0da5fe1
UD
15686 * configure.in: Remove --with-elf and --enable-bounded options.
15687 Dont set base_machine for ia64. More non-ELF conditions removed.
15688 Remove testing and setting of leading underscore information.
15689 * config.make.in (build-bounded): Set to no.
15690 * config.h.in: Remove NO_UNDERSCORES entry.
15691 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
15692 them.
15693 * csu/start.c: Remove !NO_UNDERSCORE code.
15694 * locale/localeinfo.h: Likewise.
15695 * sysdeps/generic/machine-gmon.h: Likewise.
15696 * sysdeps/generic/sysdep.h: Likewise.
15697 * sysdeps/i386/sysdep.h: Likewise.
15698 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
15699 * sysdeps/mach/sysdep.h: Likewise.
15700 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15701 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15702 * sysdeps/sh/sysdep.h: Likewise.
15703 * sysdeps/sparc/sparc32/alloca.S: Likewise.
15704 * sysdeps/unix/i386/sysdep.S: Likewise.
15705 * sysdeps/unix/sparc/start.c: Likewise.
15706 * sysdeps/unix/sparc/sysdep.S: Likewise.
15707 * sysdeps/unix/sparc/sysdep.h: Likewise.
15708 * sysdeps/unix/start.c: Likewise.
15709 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15710 * sysdeps/x86_64/sysdep.h: Likewise.
15711
df78418a
UD
157122012-01-07 Ulrich Drepper <drepper@gmail.com>
15713
a784e502
UD
15714 [BZ #13553]
15715 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
15716 for non-gcc.
15717 * argp/argp-fmtstream.h: Use const instead __const.
15718 * argp/argp.h: Likewise.
15719 * assert/assert.h: Likewise.
15720 * bits/fenv.h: Likewise.
15721 * bits/sched.h: Likewise.
15722 * bits/sigset.h: Likewise.
15723 * bits/sigthread.h: Likewise.
15724 * catgets/nl_types.h: Likewise.
15725 * conform/data/pthread.h-data: Likewise.
15726 * crypt/crypt-private.h: Likewise.
15727 * crypt/crypt.h: Likewise.
15728 * crypt/crypt_util.c: Likewise.
15729 * ctype/ctype.h: Likewise.
15730 * debug/execinfo.h: Likewise.
15731 * debug/mbsnrtowcs_chk.c: Likewise.
15732 * debug/mbsrtowcs_chk.c: Likewise.
15733 * debug/wcsnrtombs_chk.c: Likewise.
15734 * debug/wcsrtombs_chk.c: Likewise.
15735 * debug/wcstombs_chk.c: Likewise.
15736 * dirent/dirent.h: Likewise.
15737 * dlfcn/dlfcn.h: Likewise.
15738 * elf/neededtest4.c: Likewise.
15739 * grp/grp.h: Likewise.
15740 * gshadow/gshadow.h: Likewise.
15741 * iconv/gconv.h: Likewise.
15742 * iconv/gconv_int.h: Likewise.
15743 * iconv/gconv_simple.c: Likewise.
15744 * iconv/iconv.h: Likewise.
15745 * iconv/loop.c: Likewise.
15746 * iconv/skeleton.c: Likewise.
15747 * include/aio.h: Likewise.
15748 * include/aliases.h: Likewise.
15749 * include/argz.h: Likewise.
15750 * include/arpa/inet.h: Likewise.
15751 * include/assert.h: Likewise.
15752 * include/dirent.h: Likewise.
15753 * include/dlfcn.h: Likewise.
15754 * include/execinfo.h: Likewise.
15755 * include/fcntl.h: Likewise.
15756 * include/fenv.h: Likewise.
15757 * include/glob.h: Likewise.
15758 * include/grp.h: Likewise.
15759 * include/libintl.h: Likewise.
15760 * include/mntent.h: Likewise.
15761 * include/netdb.h: Likewise.
15762 * include/pwd.h: Likewise.
15763 * include/rpc/netdb.h: Likewise.
15764 * include/sched.h: Likewise.
15765 * include/search.h: Likewise.
15766 * include/shadow.h: Likewise.
15767 * include/signal.h: Likewise.
15768 * include/stdio.h: Likewise.
15769 * include/stdlib.h: Likewise.
15770 * include/string.h: Likewise.
15771 * include/sys/socket.h: Likewise.
15772 * include/sys/stat.h: Likewise.
15773 * include/sys/statfs.h: Likewise.
15774 * include/sys/statvfs.h: Likewise.
15775 * include/sys/syslog.h: Likewise.
15776 * include/sys/time.h: Likewise.
15777 * include/sys/uio.h: Likewise.
15778 * include/time.h: Likewise.
15779 * include/unistd.h: Likewise.
15780 * include/utmp.h: Likewise.
15781 * include/wchar.h: Likewise.
15782 * include/wctype.h: Likewise.
15783 * inet/aliases.h: Likewise.
15784 * inet/arpa/inet.h: Likewise.
15785 * inet/netinet/ether.h: Likewise.
15786 * inet/netinet/in.h: Likewise.
15787 * intl/libintl.h: Likewise.
15788 * io/bits/fcntl2.h: Likewise.
15789 * io/fcntl.h: Likewise.
15790 * io/ftw.h: Likewise.
15791 * io/sys/poll.h: Likewise.
15792 * io/sys/stat.h: Likewise.
15793 * io/sys/statfs.h: Likewise.
15794 * io/sys/statvfs.h: Likewise.
15795 * io/utime.h: Likewise.
15796 * libio/bits/stdio.h: Likewise.
15797 * libio/bits/stdio2.h: Likewise.
15798 * libio/libio.h: Likewise.
15799 * libio/libioP.h: Likewise.
15800 * libio/stdio.h: Likewise.
15801 * locale/lc-ctype.c: Likewise.
15802 * locale/locale.h: Likewise.
15803 * login/utmp.h: Likewise.
15804 * malloc/arena.c: Likewise.
15805 * malloc/malloc.c: Likewise.
15806 * malloc/malloc.h: Likewise.
15807 * malloc/mcheck.c: Likewise.
15808 * malloc/mtrace.c: Likewise.
15809 * math/bits/mathcalls.h: Likewise.
15810 * math/fenv.h: Likewise.
15811 * math/math_private.h: Likewise.
15812 * misc/bits/error.h: Likewise.
15813 * misc/bits/syslog.h: Likewise.
15814 * misc/err.h: Likewise.
15815 * misc/error.h: Likewise.
15816 * misc/fstab.h: Likewise.
15817 * misc/mntent.h: Likewise.
15818 * misc/regexp.h: Likewise.
15819 * misc/search.h: Likewise.
15820 * misc/sgtty.h: Likewise.
15821 * misc/sys/mman.h: Likewise.
15822 * misc/sys/syslog.h: Likewise.
15823 * misc/sys/uio.h: Likewise.
15824 * misc/sys/xattr.h: Likewise.
15825 * misc/ttyent.h: Likewise.
15826 * nis/rpcsvc/ypclnt.h: Likewise.
15827 * nss/nss.h: Likewise.
15828 * posix/bits/unistd.h: Likewise.
15829 * posix/fnmatch.h: Likewise.
15830 * posix/glob.h: Likewise.
15831 * posix/sched.h: Likewise.
15832 * posix/spawn.h: Likewise.
15833 * posix/sys/wait.h: Likewise.
15834 * posix/unistd.h: Likewise.
15835 * posix/wordexp.h: Likewise.
15836 * pwd/pwd.h: Likewise.
15837 * resolv/netdb.h: Likewise.
15838 * resource/sys/resource.h: Likewise.
15839 * rt/aio.h: Likewise.
15840 * rt/bits/mqueue2.h: Likewise.
15841 * rt/mqueue.h: Likewise.
15842 * shadow/shadow.h: Likewise.
15843 * signal/signal.h: Likewise.
15844 * socket/send.c: Likewise.
15845 * socket/sendto.c: Likewise.
15846 * socket/sys/socket.h: Likewise.
15847 * stdio-common/printf.h: Likewise.
15848 * stdlib/bits/stdlib.h: Likewise.
15849 * stdlib/fmtmsg.h: Likewise.
15850 * stdlib/monetary.h: Likewise.
15851 * stdlib/stdlib.h: Likewise.
15852 * stdlib/ucontext.h: Likewise.
15853 * streams/stropts.h: Likewise.
15854 * string/argz.h: Likewise.
15855 * string/bits/string2.h: Likewise.
15856 * string/string.h: Likewise.
15857 * string/strings.h: Likewise.
15858 * sunrpc/rpc/auth.h: Likewise.
15859 * sunrpc/rpc/auth_des.h: Likewise.
15860 * sunrpc/rpc/clnt.h: Likewise.
15861 * sunrpc/rpc/netdb.h: Likewise.
15862 * sunrpc/rpc/pmap_clnt.h: Likewise.
15863 * sunrpc/rpc/xdr.h: Likewise.
15864 * sysdeps/generic/inttypes.h: Likewise.
15865 * sysdeps/generic/net/if.h: Likewise.
15866 * sysdeps/generic/sys/swap.h: Likewise.
15867 * sysdeps/gnu/net/if.h: Likewise.
15868 * sysdeps/gnu/utmpx.h: Likewise.
15869 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
15870 * sysdeps/i386/i486/bits/string.h: Likewise.
15871 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
15872 * sysdeps/s390/bits/string.h: Likewise.
15873 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
15874 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
15875 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
15876 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
15877 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
15878 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
15879 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
15880 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
15881 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
15882 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
15883 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
15884 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15885 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
15886 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15887 * sysdeps/unix/sysv/linux/readv.c: Likewise.
15888 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
15889 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
15890 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15891 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15892 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15893 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
15894 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
15895 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
15896 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
15897 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
15898 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
15899 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
15900 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15901 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
15902 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
15903 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
15904 * sysvipc/sys/ipc.h: Likewise.
15905 * sysvipc/sys/msg.h: Likewise.
15906 * sysvipc/sys/sem.h: Likewise.
15907 * sysvipc/sys/shm.h: Likewise.
15908 * termios/termios.h: Likewise.
15909 * time/sys/time.h: Likewise.
15910 * time/time.h: Likewise.
15911 * wcsmbs/bits/wchar2.h: Likewise.
15912 * wcsmbs/uchar.h: Likewise.
15913 * wcsmbs/wchar.h: Likewise.
15914 * wctype/wctype.h: Likewise.
15915
0269750c
UD
15916 [BZ #13551]
15917 * Makeconfig: Remove all but ELF support including AIX support.
15918 * Makerules: Likewise.
15919 * config.h.in: Likewise.
15920 * config.make.in: Likewise.
15921 * configure: Likewise.
15922 * configure.in: Likewise.
15923 * csu/Makefile: Likewise.
15924 * csu/version.c: Likewise.
15925 * debug/Makefile: Likewise.
15926 * dlfcn/Makefile: Likewise.
15927 * elf/Makefile: Likewise.
15928 * extra-lib.mk: Likewise.
15929 * iconv/Makefile: Likewise.
15930 * include/libc-symbols.h: Likewise.
15931 * include/shlib-compat.h: Likewise.
15932 * resolv/Makefile: Likewise.
15933 * resolv/res_libc.c: Likewise.
15934 * rt/Makefile: Likewise.
15935 * sysdeps/i386/asm-syntax.h: Likewise.
15936 * sysdeps/i386/sysdep.h: Likewise.
15937 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
15938 * sysdeps/mach/sysdep.h: Likewise.
15939 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
15940 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
15941 * sysdeps/s390/asm-syntax.h: Likewise.
15942 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15943 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15944 * sysdeps/sh/sysdep.h: Likewise.
15945 * sysdeps/unix/sparc/sysdep.h: Likewise.
15946 * sysdeps/wordsize-32/divdi3.c: Likewise.
15947 * sysdeps/x86_64/sysdep.h: Likewise.
15948
00bbd29b
UD
15949 * argp/Versions: Remove _argp_unlock_xxx.
15950
15951 [BZ #13559]
15952 * abilist/ld.abilist: Update. Adjust for removal of tls option.
15953 * abilist/libBrokenLocale.abilist: Likewise.
15954 * abilist/libanl.abilist: Likewise.
15955 * abilist/libc.abilist: Likewise.
15956 * abilist/libcrypt.abilist: Likewise.
15957 * abilist/libdl.abilist: Likewise.
15958 * abilist/libm.abilist: Likewise.
15959 * abilist/libnsl.abilist: Likewise.
15960 * abilist/libpthread.abilist: Likewise.
15961 * abilist/libresolv.abilist: Likewise.
15962 * abilist/librt.abilist: Likewise.
15963 * abilist/libthread_db.abilist: Likewise.
15964 * abilist/libutil.abilist: Likewise.
15965 * abilist/libnss_db.abilist: New file.
15966
15967 * scripts/abilist.awk: Add support for indirect functions.
15968
a2693a0e
UD
15969 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
15970
3f05895f
UD
15971 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
15972
ecb6fb48
UD
15973 * shlib-versions: Remove entries for ports architectures.
15974
664f8cb9
UD
15975 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
15976 files in ports.
15977 * elf/stackguard-macros.h: Remove support for IA-64.
15978 * elf/tst-auditmod1.c: Likewise.
15979 * sysdeps/generic/ldsodefs.h: Likewise.
15980
7ae81d88
UD
15981 * sysdeps/unix/sysv/linux/configure.in: Ports should define
15982 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
15983 configure files.
15984
bdeba135
UD
15985 [BZ #13552]
15986 * configure.in: Remove --enable-omitfp support.
15987 * FAQ.in: Adjust.
15988 * config.make.in: Likewise.
15989 * Makeconfig: Likewise.
15990 * manual/install.texi: Likewise.
15991
d75a0a62
UD
15992 In case anyone cares, the IA-64 architecture could move to ports.
15993 * sysdeps/ia64/*: Removed.
15994 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 15995 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 15996
dcc9756b
UD
15997 [BZ #13555]
15998 * configure.in: Remove entries for unsupported architectures.
15999
d3761ebc 16000 [BZ #13533]
9954432e
UD
16001 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
16002 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
16003 routines.
16004 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
16005 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
16006 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
16007 fall back to using wcrtomb.
16008 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
16009 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
16010 renaming.
16011 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
16012 * wcsmbs/tst-c16c32-1.c: New file.
16013
16014 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
16015 local variable.
16016
c3a87236
UD
16017 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
16018
28926a1b
UD
16019 * elf/tst-unique3.cc: Add explicit declaration of gets.
16020 * elf/tst-unique3lib.cc: Likewise.
16021 * elf/tst-unique3lib2.cc: Likewise.
16022 * elf/tst-unique4.cc: Likewise.
16023
df78418a
UD
16024 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
16025
8ecd6b2a
JM
160262012-01-06 Joseph Myers <joseph@codesourcery.com>
16027
16028 [BZ #13566]
16029 * assert/assert.h (static_assert): Don't define for C++.
16030 * libio/stdio.h (gets): Do declare for C++ <= C++11.
16031 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
16032
9f115170
UD
160332012-01-03 Ulrich Drepper <drepper@gmail.com>
16034
5e0d0300
UD
16035 * iconv/loop.c (single loop): Fix assertion in storing of
16036 remaining bytes.
16037
9f115170
UD
16038 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
16039
81fb02b0
UD
160402012-01-01 Ulrich Drepper <drepper@gmail.com>
16041
16042 * posix/getconf.c: Update copyright year.
16043 * nss/getent.c: Likewise.
a316c1f6 16044 * nss/makedb.c: Likewise.
81fb02b0
UD
16045 * iconv/iconvconfig.c: Likewise.
16046 * iconv/iconv_prog.c: Likewise.
16047 * elf/ldconfig.c: Likewise.
a316c1f6
UD
16048 * elf/pldd.c: Likewise.
16049 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
16050 * catgets/gencat.c: Likewise.
16051 * csu/version.c: Likewise.
16052 * elf/ldd.bash.in: Likewise.
16053 * elf/sprof.c (print_version): Likewise.
16054 * locale/programs/locale.c: Likewise.
16055 * locale/programs/localedef.c: Likewise.
a316c1f6 16056 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
16057 * nscd/nscd.c (print_version): Likewise.
16058 * debug/xtrace.sh: Likewise.
16059 * malloc/memusage.sh: Likewise.
16060 * malloc/mtrace.pl: Likewise.
16061 * debug/catchsegv.sh: Likewise.
16062
2ba92745
JJ
160632011-12-30 Jakub Jelinek <jakub@redhat.com>
16064
16065 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
16066 pure attribute.
16067
dadebdae
UD
160682011-12-24 Ulrich Drepper <drepper@gmail.com>
16069
d3761ebc 16070 [BZ #13533]
db6af3eb
UD
16071 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
16072 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
16073 transformations.
16074 * iconv/gconv_int.h: Likewise.
16075 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
16076 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
16077 from libc for GLIBC_2.16.
16078 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
16079 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
16080 * wcsmbs/uchar.h: Really define mbstate_t.
16081 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
16082 * wcsmbs/c16rtomb.c: New file.
16083 * wcsmbs/mbrtoc16.c: New file.
16084 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
16085 for C/POSIX locale.
16086 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
16087 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
16088
dadebdae
UD
16089 * wcsmbs/wchar.h: Add missing __restrict.
16090
67371b56
UD
160912011-12-23 Ulrich Drepper <drepper@gmail.com>
16092
74033a25
UD
16093 [BZ #13532]
16094 * time/Makefile (routines): Add timespec_get.
16095 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
16096 * time/time.h: Define TIME_UTC and declare timespec_get. Define
16097 timespec for ISO C11.
16098 * time/timespec_get.c: New file.
16099 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
16100 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
16101
380d7e87
UD
16102 [BZ #13531]
16103 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
16104 * stdlib/stdlib.h: Declare aligned_alloc.
16105 * Versions.def: Add GLIBC_2.16 for libc.
16106 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
16107
4e9e7a35
UD
16108 [BZ 13527]
16109 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
16110 ISO C11.
16111
380d7e87 16112 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
16113 code.
16114
03a71829
UD
16115 [BZ #13528]
16116 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
16117
839e283e
UD
16118 [BZ #13529]
16119 * assert/assert.h (static_assert): Define.
16120
ce5294e2 16121 * version.h: Update for 2.16 development version.
90fa7312 16122
8d44e150 16123 [BZ #13526]
d7809905
UD
16124 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
16125 _ISOC11_SOURCE.
16126
c0da14cd
UD
16127 * version.h (RELEASE): Bump for 2.15 release.
16128 * include/features.h (__GLIBC_MINOR__): Bump to 15.
16129
530a3249
MP
16130 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
16131 Patch by Marek Polacek <mpolacek@redhat.com>.
16132
67371b56
UD
16133 * bits/byteswap.h: Protect long long constants with __extension__.
16134 * sysdeps/i386/bits/byteswap.h: Likewise.
16135 * sysdeps/ia64/bits/byteswap.h: Likewise.
16136 * sysdeps/s390/bits/byteswap.h: Likewise.
16137 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16138
15db4de1
LD
161392011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16140
16141 [BZ #13540]
bbe315ea
LD
16142 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
16143 destination buffer.
15db4de1
LD
16144 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
16145
2b2596b1
MP
161462011-12-23 Marek Polacek <polacek@redhat.com>
16147
16148 * elf/dl-addr.c (determine_info): Add inline keyword.
16149 * elf/tst-auditmod4b.c (check_avx): Likewise.
16150 * elf/tst-auditmod6b.c (check_avx): Likewise.
16151 * elf/tst-auditmod6c.c (check_avx): Likewise.
16152 * elf/tst-auditmod7b.c (check_avx): Likewise.
16153
70c6c246
UD
161542011-12-23 Ulrich Drepper <drepper@gmail.com>
16155
16156 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
16157 !__SSE_MATH__.
16158
c044cf14
LD
161592011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16160
15db4de1 16161 [BZ #13540]
c044cf14
LD
16162 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
16163 processing for last bytes.
16164
6b13d9d9
BH
161652011-08-06 Bruno Haible <bruno@clisp.org>
16166
d455f537
BH
16167 [BZ #13061]
16168 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
16169 U+0385, not to U+1FEE.
16170
6b13d9d9
BH
16171 [BZ #13062]
16172 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
16173 entry for U+00A5 U+0301.
16174
db910efd
UD
161752011-12-22 Ulrich Drepper <drepper@gmail.com>
16176
27deeafc
UD
16177 [BZ #13166]
16178 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
16179 buffer for the output is too small.
16180
aed9d171
UD
16181 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
16182 optimization.
16183
db910efd
UD
16184 [BZ #13185]
16185 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
16186 SSE flags if possible.
16187
2bd779ae
LD
161882011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16189
e7f9dac3 16190 [BZ #13540]
2bd779ae
LD
16191 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
16192 processing for last bytes.
16193
154bfc16
JM
161942011-12-22 Joseph Myers <joseph@codesourcery.com>
16195
16196 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
16197 (syscall-list-default-options, syscall-list-default-condition)
16198 (syscall-list-includes): Define.
16199 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
16200 list of ABIs and options and #if conditions for each ABI. Do not
16201 handle common syscalls between ABIs specially.
16202 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
16203 Remove.
16204 (syscall-list-variants, syscall-list-32bit-options)
16205 (syscall-list-32bit-condition, syscall-list-64bit-options)
16206 (syscall-list-64bit-condition): Define.
16207 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
16208 (syscall-list-variants, syscall-list-32bit-options)
16209 (syscall-list-32bit-condition, syscall-list-64bit-options)
16210 (syscall-list-64bit-condition): Define.
16211 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
16212 Remove.
16213 (syscall-list-variants, syscall-list-32bit-options)
16214 (syscall-list-32bit-condition, syscall-list-64bit-options)
16215 (syscall-list-64bit-condition): Define.
16216 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
16217 Remove.
16218 (syscall-list-variants, syscall-list-32bit-options)
16219 (syscall-list-32bit-condition, syscall-list-64bit-options)
16220 (syscall-list-64bit-condition): Define.
16221
21eaf3a5
UD
162222011-12-22 Ulrich Drepper <drepper@gmail.com>
16223
16c6f992
UD
16224 * locale/iso-639.def: Add brx entry.
16225
41043168
UD
16226 [BZ #13328]
16227 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
16228 Proposed by Mariusz_Cukr <marcukr@op.pl>.
16229
21eaf3a5
UD
16230 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
16231 __feraiseexcept_renamed.
16232
e3a851a2
UD
162332011-12-21 Ulrich Drepper <drepper@gmail.com>
16234
4920765e
UD
16235 [BZ #13538]
16236 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
16237 EPOLLET with unsigned values.
16238 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16239 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16240
e3a851a2
UD
16241 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
16242 to large cancellation.
16243 * math/s_cacoshf.c: Likewise.
16244 * math/s_cacoshl.c: Likewise.
16245
b27e24b8
RK
162462011-11-18 Richard B. Kreckel <kreckel@ginac.de>
16247
16248 [BZ #13305]
aebefeee 16249 [BZ #12786]
b27e24b8
RK
16250 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
16251 * math/s_cacoshf.c: Likewise.
16252 * math/s_cacoshl.c: Likewise.
16253
ee190f67
UD
162542011-12-21 Ulrich Drepper <drepper@gmail.com>
16255
16256 [BZ #13439]
16257 * iconv/gconv.h: Define __GCONV_SWAP.
16258 * iconvdata/unicode.c: The swap bit must be stored in __flags.
16259 * iconvdata/utf-16.c: Likewise.
16260 * iconvdata/utf-32.c: Likewise.
16261
707f25df
AS
162622011-12-21 Andreas Schwab <schwab@linux-m68k.org>
16263
16264 [BZ #13524]
16265 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
16266 numerator after shifting it by one limb.
16267
d2daaa1e
RÁE
162682011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
16269
16270 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
16271 under [__USE_EXTERN_INLINES].
16272
a4647e72
UD
162732011-12-17 Ulrich Drepper <drepper@gmail.com>
16274
16275 [BZ #13446]
16276 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
16277
f0b264f1
AZ
162782011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16279
16280 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
16281 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
16282 optimized code.
16283 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
16284 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
16285 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
16286 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
16287 for strncasecmp/strncasecmp_l compilation.
16288 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
16289 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
16290
8ef4f244
MP
162912011-12-08 Marek Polacek <mpolacek@redhat.com>
16292
16293 [BZ #13484]
16294 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
16295 of __asm__.
16296
97ac2654
UD
162972011-12-17 Ulrich Drepper <drepper@gmail.com>
16298
16299 [BZ #13506]
16300 * time/tzfile.c (__tzfile_read): Check values from file header.
16301
91d2a845
WS
163022011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
16303
16304 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
16305 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
16306 * powerpc/powerpc32/dl-start.S: Likewise.
16307 * powerpc/powerpc32/elf/start.S: Likewise.
16308 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16309 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
16310 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
16311 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
16312 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16313 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
16314 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
16315 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16316 * powerpc/powerpc32/fpu/s_round.S: Likewise.
16317 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16318 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16319 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16320 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
16321 * powerpc/powerpc32/memset.S: Likewise.
16322 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16323 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16324 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16325 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16326 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16327 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16328 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16329 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16330 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
16331 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
16332 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
16333 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16334 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16335
a1267ba1
AZ
163362011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16337
16338 * math/libm-test.inc: Added more nearbyint tests.
16339 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
16340 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
16341 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
16342 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
16343
ad8ac1bd
RL
163442011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
16345
16346 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
16347 FD_CLOEXEC.
16348
1d3e4b61
UD
163492011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16350
16351 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
16352 Add wcscpy-ssse3 wcscpy-c.
16353 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
16354 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
16355 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
16356 * sysdeps/x86_64/wcschr.S: New file.
16357 * sysdeps/x86_64/wcsrchr.S: New file.
16358 * string/test-strcmp.c: Remove checking of wcscmp function for
16359 wrong alignments.
16360 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
16361 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
16362 wcsrchr-sse2 wcsrchr-c.
16363 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
16364 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
16365 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
16366 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
16367 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
16368 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
16369 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
16370 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
16371 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
16372 * wcsmbc/wcschr.c (WCSCHR): New macro.
16373
5b330a2d
UD
163742011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16375
16376 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
16377 * wcsmbs/test-wcsrchr.c: New file.
16378 * string/test-strrchr.c: Add wcsrchr support.
16379 (WIDE): New macro.
16380 * wcsmbs/test-wcscpy.c: New file.
16381 * string/test-strcpy.c: Add wcscpy support.
16382 (WIDE): New macro.
26428b7c 16383
f039c043
UD
163842011-12-10 Ulrich Drepper <drepper@gmail.com>
16385
16386 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
16387 the inner loop.
16388
850fb039
AS
163892011-12-06 Andreas Schwab <schwab@linux-m68k.org>
16390
16391 [BZ #13472]
16392 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
16393
4efbd5cb
UD
163942011-12-04 Ulrich Drepper <drepper@gmail.com>
16395
52ff5dd0 16396 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 16397 Minor optimizations.
52ff5dd0 16398
4efbd5cb
UD
16399 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
16400 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
16401 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
16402
8a426e12
UD
164032011-12-03 Ulrich Drepper <drepper@gmail.com>
16404
aff2453d
UD
16405 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
16406 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
16407 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
16408 for gcc to avoid warnings.
16409 * inet/Makefile (tests): Add tst-checks.
16410 * inet/tst-checks.c: New file.
16411
16412 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
16413 warning.
16414
16415 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
16416 __wmemcmp_sse2.
16417
16418 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
16419 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
16420
8a426e12
UD
16421 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
16422
9bea3473
UD
164232011-12-02 Ulrich Drepper <drepper@gmail.com>
16424
3a965496
UD
16425 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
16426 problem.
16427
9bea3473
UD
16428 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
16429
f101631b
UD
164302011-11-29 Joseph Myers <joseph@codesourcery.com>
16431
16432 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
16433 conditional on GCC version.
16434 (__arch_compare_and_exchange_val_8_acq)
16435 (__arch_compare_and_exchange_val_16_acq)
16436 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
16437 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
16438 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
16439
a98275aa
UD
164402011-12-02 Joseph Myers <joseph@codesourcery.com>
16441
16442 * sysdeps/sh/backtrace.c: New file.
16443
d4cc29a2
AS
164442011-12-02 Andreas Schwab <schwab@redhat.com>
16445
16446 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
16447 parenthesis.
16448
6257af2d
AS
164492011-12-01 Andreas Schwab <schwab@redhat.com>
16450
16451 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
16452 falling back to utime.
16453
b5f44c1a
AS
164542011-11-30 Andreas Schwab <schwab@redhat.com>
16455
16456 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
16457 expectations for float.
16458
f3a6cc0a
AS
164592011-11-29 Andreas Schwab <schwab@redhat.com>
16460
16461 * locale/weight.h (findidx): Add parameter len.
16462 * locale/weightwc.h (findidx): Likewise.
16463 * posix/fnmatch_loop.c (FCT): Adjust caller.
16464 * posix/regcomp.c (build_equiv_class): Likewise.
16465 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
16466 * posix/regexec.c (check_node_accept_bytes): Likewise.
16467 * string/strcoll_l.c (STRCOLL): Likewise.
16468 * string/strxfrm_l.c (STRXFRM): Likewise.
16469
9d65ea3a
UD
164702011-11-17 Ulrich Drepper <drepper@gmail.com>
16471
16472 * Makefile.in: Remove CVSOPT handling.
16473 * configure.in: Remove use of AC_REVISION.
16474 * iconvdata/Makefile (distribute): No need to filter out CVS.
16475 * scripts/list-sources.sh: Remove CVS, subversion and monotone
16476 handling.
16477
5583a086
AS
164782011-11-16 Andreas Schwab <schwab@redhat.com>
16479
16480 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
16481 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
16482 [USE_AS_STRNCASECMP_L]: Likewise.
16483 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
16484 NO_TLS_DIRECT_SEG_REFS.
16485 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
16486 Fix argument offsets for non-PIC.
16487 [USE_AS_STRNCASECMP_L]: Likewise.
16488 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
16489 NO_TLS_DIRECT_SEG_REFS.
16490
d62a8200
UD
164912011-11-15 Ulrich Drepper <drepper@gmail.com>
16492
9d65ea3a 16493 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
16494 O_CLOEXEC.
16495 * locale/loadlocale.c (_nl_load_locale): Likewise.
16496
09f93bd3
AS
164972011-11-15 Andreas Schwab <schwab@redhat.com>
16498
446514f9
AS
16499 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
16500 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
16501 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
16502 (SYSCALL_GETTIME): Set errno on error.
16503
09f93bd3
AS
16504 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
16505 count references to noai6ai_cached.
16506
312be3f9
UD
165072011-11-15 Ulrich Drepper <drepper@gmail.com>
16508
16509 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
16510
16511 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
16512 FD_CLOEXEC for /proc/self/maps.
16513
16514 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
16515 FD_CLOEXEC for /proc/meminfo.
16516
16517 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
16518 gai.conf.
16519
16520 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
16521 FD_CLOEXEC for given file.
16522
16523 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
16524
16525 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
16526 FD_CLOEXEC for /etc/hosts.
16527 (_gethtent): Likewise.
16528
16529 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
16530
16531 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
16532 cancellation and set FD_CLOEXEC for /etc/netgroup.
16533
16534 * nss/nss_files/files-key.c (search): Don't allow cancellation when
16535 reading /etc/publickey.
16536
16537 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
16538 allow cancellation when reading /etc/group.
16539
16540 * nss/nss_files/files-alias.c (internal_setent): Don't allow
16541 cancellation.
16542 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
16543
16544 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
16545 when using data file.
16546
16547 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
16548
16549 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
16550 (write_nis_obj): Use "c" and "e" in fopen.
16551
16552 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
16553
16554 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
16555
16556 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
16557
16558 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
16559
16560 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
16561 locale.alias.
16562
16563 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
16564
16565 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
16566
16567 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
16568
16569 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
16570 file parsing and set FD_CLOEXEC.
16571
82af0fa8
UD
165722011-11-14 Ulrich Drepper <drepper@gmail.com>
16573
16574 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
16575
a5fb313c
AS
165762011-11-14 Andreas Schwab <schwab@redhat.com>
16577
16578 * malloc/arena.c (arena_get2): Don't call reused_arena when
16579 _int_new_arena failed.
16580
6abf3465
UD
165812011-11-14 Ulrich Drepper <drepper@gmail.com>
16582
16583 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
16584 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
16585 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
16586 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16587 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16588 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
16589 to compile strcasecmp and strncasecmp.
16590 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
16591 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
16592
16593 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
16594
76e3966e
UD
165952011-11-13 Ulrich Drepper <drepper@gmail.com>
16596
16597 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
16598 locale-defines.sym to gen-as-const-headers.
16599 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
16600 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
16601 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
16602 to compile strcasecmp and strncasecmp.
16603 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
16604 strcasecmp_l and strncasecmp_l.
16605 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
16606 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
16607 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
16608 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
16609 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
16610 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
16611 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
16612 * sysdeps/i386/i686/multiarch/strncase.S: New file.
16613 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
16614 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
16615 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
16616
ab26144e
UD
166172011-11-12 Ulrich Drepper <drepper@gmail.com>
16618
7edb22ef
UD
16619 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
16620 result of SYSDEP_GETTIME_CPU to retval.
16621 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
16622 parameter list to macro. Remove trailing semicolon. Adjust users.
16623
9694fc44
UD
16624 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
16625 variable.
16626
8ad89ef8
UD
16627 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
16628 mantissa words.
16629 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16630
0c822ef9
UD
16631 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
16632 from unused variable.
16633
874e0564
UD
16634 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
16635 DWARF definitions.
16636 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
16637 for assembling.
16638
3a2edc79
UD
16639 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
16640 over namespaces.
16641
f3c2577f
UD
16642 * sunrpc/rpc_prot.c (rejected): Fix case value.
16643
294ce126
UD
16644 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
16645 unsigned long long int to avoid warnings in shift.
16646
5e2b63c6
UD
16647 * posix/regex_internal.c (re_string_reconstruct): Actually use result
16648 of use of trans.
16649 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
16650 variable tmp.
16651
e7f4b08e
UD
16652 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
16653 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
16654 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
16655
ab26144e
UD
16656 * nis/nis_table.c (nis_list): Use variable of correct type for
16657 result of __follow_path call.
16658
8a6d5255
AZ
166592011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16660
16661 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
16662 of math functions ceil, trunc, floor, round, and sqrt, when
16663 avaliable on the platform.
16664 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
16665 name clash.
16666 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16667 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
16668 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
16669
aaddc98c
MP
166702011-10-30 Marek Polacek <mpolacek@redhat.com>
16671
16672 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
16673 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
16674
95b7042b
RM
166752011-11-11 Roland McGrath <roland@hack.frob.com>
16676
16677 * include/unistd.h: Fix __readlink return type.
16678 Reported by Chris Metcalf <cmetcalf@tilera.com>.
16679
57769839
UD
166802011-11-11 Ulrich Drepper <drepper@gmail.com>
16681
16682 * stdlib/ucontext.h: Undo last change for makecontext.
16683
edc5984d
AS
166842011-11-11 Andreas Schwab <schwab@redhat.com>
16685
98591e58
AS
16686 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
16687
edc5984d
AS
16688 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
16689 * setjmp/setjmp.h: Mark functions as non-leaf.
16690 * setjmp/bits/setjmp2.h: Likewise.
16691 * stdlib/ucontext.h: Likewise.
16692
77cdc054
AS
166932011-11-10 Andreas Schwab <schwab@redhat.com>
16694
16695 * malloc/arena.c (_int_new_arena): Don't increment narenas.
16696 (reused_arena): Don't check arena limit.
16697 (arena_get2): Atomically check arena limit.
16698
fe72eebd
UD
166992011-11-08 Ulrich Drepper <drepper@gmail.com>
16700
5f078c32
UD
16701 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
16702 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
16703
fe72eebd
UD
16704 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
16705 instructions.
16706
ae1bc2fa
AS
167072011-11-07 Andreas Schwab <schwab@redhat.com>
16708
7583a88d
AS
16709 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
16710 handler when locking.
16711
ae1bc2fa
AS
16712 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16713 Fix size of allocated buffer.
16714
10fb0bfa
AS
167152011-11-04 Andreas Schwab <schwab@redhat.com>
16716
998832a4
AS
16717 [BZ #10103]
16718 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
16719 declarations for long double functions.
16720 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
16721
10fb0bfa
AS
16722 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
16723
3d7ba52b
AS
167242011-11-03 Andreas Schwab <schwab@redhat.com>
16725
a9ae54a1
AS
16726 * nscd/nscd.c (main): Don't start AVC thread until credentials are
16727 installed.
16728
3d7ba52b
AS
16729 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
16730 is disabled.
16731
bc8db248
ST
167322011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16733
16734 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
16735
45b96dd6
AS
167362011-11-01 Andreas Schwab <schwab@linux-m68k.org>
16737
647776f6
AS
16738 * include/alloca.h (stackinfo_alloca_round): Define.
16739 (extend_alloca): Use it.
16740 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
16741 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
16742 here.
16743
d91a8b93
AS
16744 * scripts/check-local-headers.sh: Ignore libaudit.h.
16745
45b96dd6
AS
16746 * nscd/Makefile (extra-objs): Make recursively expanded.
16747
432d41ce
UD
167482011-11-01 Ulrich Drepper <drepper@gmail.com>
16749
34372fc6
UD
16750 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
16751 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16752
fadb59f8
UD
16753 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
16754 * posix/tst-rfc3484-2.c: Likewise.
16755 * posix/tst-rfc3484-3.c: Likewise.
16756
78239589
UD
16757 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
16758 process_vm_writev.
16759 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
16760 process_vm_writev.
16761 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
16762 process_vm_writev from libc using GLIBC_2.15 version.
16763
432d41ce
UD
16764 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
16765
02f9c6cf
PP
167662011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
16767
16768 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
16769 stack usage.
16770
3a2c0242
UD
167712011-10-31 Ulrich Drepper <drepper@gmail.com>
16772
f4ec4833
UD
16773 [BZ #13367]
16774 * nss/getent.c (initgroups_keys): Show error message in case no group
16775 names are given.
16776
3a2c0242
UD
16777 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
16778 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
16779 __bump_nl_timestamp.
16780 * nscd/connections (nscd_init): When host database is served open
16781 netlink socket and request notification about configuration changes.
16782 (main_loop_poll): Track netlink file descriptor and bump timestamp
16783 in case data becomes available.
16784 (main_loop_epoll): Likewise.
16785 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
16786 (database_pers_head): Add extra_data fileds.
16787 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
16788 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
16789 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
16790 Adjust caller.
16791 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
16792 in6ai data, call __free_in6ai.
16793 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
16794 Add -DHAVE_NETLINK.
16795 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
16796 interface information. Reuse previous data if netlink timestamp
16797 is not changed.
16798 (__bump_nl_timestamp): New function.
16799 (__free_in6ai): New function.
16800
636064eb
UD
168012011-10-30 Ulrich Drepper <drepper@gmail.com>
16802
16803 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
16804 close_not_cancel_no_status here.
16805 (__check_pf): Reorganize code a bit to not call close twice if OOM.
16806
9beb2334
UD
168072011-10-29 Ulrich Drepper <drepper@gmail.com>
16808
6ef76f3b
UD
16809 [BZ #13276]
16810 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
16811 return value.
16812
0ffc4f3e 16813 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
16814 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
16815 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
16816
cb95113e
UD
168172011-07-03 Andreas Jaeger <aj@suse.de>
16818
16819 [BZ #10709]
16820 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
16821 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
16822 * math/libm-test.inc (sin_test): Add test case.
16823
a1b560ff
UD
168242011-10-29 Ulrich Drepper <drepper@gmail.com>
16825
c9aaface
UD
16826 [BZ #13337]
16827 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
16828 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16829
d272e7f1
UD
16830 * elf/chroot_canon.c (chroot_canon): Cleanups.
16831
1bc33071
UD
16832 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
16833
1760874d
TJ
16834 [BZ #13335]
16835 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
16836 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16837
51d91b18
UD
16838 * string/test-strchr.c: Make usable for strchrnul testing.
16839 * string/test-strchrnul.c: New file.
16840 * string/Makefile (strop-tests): Add strchrnul.
16841
a1b560ff 16842 * po/it.po: Update from translation team.
b611fb81 16843 * po/es.po: Likewise.
a1b560ff 16844
a5b81e1f
UD
168452011-10-28 Ulrich Drepper <drepper@gmail.com>
16846
fd52bc6d
UD
16847 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
16848 the three constants needed as parameters. Drop the others.
16849 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
16850 __m128i_strloadu_tolower.
52e4b9eb
UD
16851 Create and initialize variable zero and use it in all the places
16852 where _mm_setzero_si128 was used.
fd52bc6d 16853
a5b81e1f
UD
16854 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
16855 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
16856 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
16857 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
16858 anymore.
16859 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
16860 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
16861 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
16862 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
16863 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
16864 __mpranred, __mptan.
16865 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
16866 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
16867 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
16868 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
16869 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
16870 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
16871 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
16872 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
16873 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
16874
b4343346
AS
168752011-10-28 Andreas Schwab <schwab@redhat.com>
16876
0c92d8a8
AS
16877 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
16878 redefine if SHARED.
16879 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
16880
b4343346
AS
16881 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
16882 wide char related routines to wcsmbs subdir.
16883
3871f58f
AS
168842011-10-27 Andreas Schwab <schwab@redhat.com>
16885
16886 [BZ #13344]
16887 * misc/sys/cdefs.h (__THROWNL): Define.
16888 * posix/unistd.h: Use __THREADNL instead of __THREAD
16889 for memory synchronization functions.
16890
94d44d9f
RM
168912011-10-26 Roland McGrath <roland@hack.frob.com>
16892
21b64b15 16893 [BZ #13349]
94d44d9f
RM
16894 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
16895 doesn't exist.
16896 * manual/stdio.texi (Obstack Streams): Node removed.
16897
f6ce9294
AS
168982011-10-26 Andreas Schwab <schwab@redhat.com>
16899
80479147
AS
16900 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
16901 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16902 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16903
f6ce9294
AS
16904 * math/math_private.h (math_force_eval): Allow non-addressable
16905 arguments.
16906 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
16907
618280a1
UD
169082011-10-25 Ulrich Drepper <drepper@gmail.com>
16909
e0016b11
UD
16910 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
16911 file is not needed.
16912
16913 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
16914 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
16915 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16916 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16917 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16918 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16919 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16920 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
16921 Add AVX variants.
16922 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
16923 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
16924 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
16925 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
16926 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
16927 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
16928 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
16929 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
16930 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
16931 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
16932 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
16933 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
16934 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
16935 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
16936 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
16937 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
16938 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
16939 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
16940 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
16941
16942 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
16943 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
16944
618280a1
UD
16945 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
16946 place. Use VEX encoding when compiling for AVX.
16947
37822576
AS
169482011-10-25 Andreas Schwab <schwab@redhat.com>
16949
1f1e1947
AS
16950 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
16951 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16952
37822576
AS
16953 * string/test-strchr.c (do_test): Don't generate NUL bytes.
16954
31ea014d
UD
169552011-10-25 Ulrich Drepper <drepper@gmail.com>
16956
d7826aa1 16957 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 16958 useless if() expression.
d7826aa1
UD
16959 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16960 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16961 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16962 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16963 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16964 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16965 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16966 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16967 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16968 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16969 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16970 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16971 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16972 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16973 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16974 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16975 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16976 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16977 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
16978
31ea014d
UD
16979 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
16980
16437fec
AS
169812011-10-25 Andreas Schwab <schwab@redhat.com>
16982
16983 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
16984 condition.
16985 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16986
31d3cc00
UD
169872011-10-25 Ulrich Drepper <drepper@gmail.com>
16988
16989 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
16990 .text section. Avoid duplicate constants.
16991 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16992 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16993 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16994 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16995 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16996 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16997 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16998 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16999 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17000 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
17001 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17002 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17003 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
17004 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
17005 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
17006 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
17007 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
17008 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17009 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17010 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17011 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17012 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17013 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17014 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
17015 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
17016 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
17017 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
17018 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
17019 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
17020 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17021 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
17022 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17023 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17024 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
17025 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
17026 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17027 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17028 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
17029 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
17030 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
17031 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
17032 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
17033 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
17034 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17035 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17036
58985aa9
UD
170372011-10-24 Ulrich Drepper <drepper@gmail.com>
17038
202c9deb
UD
17039 * sysdeps/x86_64/dla.h: Move to ...
17040 * sysdeps/x86_64/fpu/dla.h: ...here.
17041 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
17042 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 17043
af968f62
UD
17044 * config.make.in: Add have-mfma4 entry.
17045 * configure.in: Substitute libc_cv_cc_fma4.
17046 * math/Makefile (dbl-only-routines): Add sincostab.
17047 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
17048 Use __sincostab not sincos.
17049 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
17050 name is a macro.
17051 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17052 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17053 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17054 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
17055 using __copysign.
17056 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
17057 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
17058 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
17059 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
17060 and __inv.
17061 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
17062 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
17063 __copysign.
17064 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
17065 define aliases when function name is a macro.
17066 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
17067 sysdeps/ieee754/dbl-64/sincos.tbl.
17068 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
17069 fma4-enabled routines.
17070 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
17071 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
17072 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
17073 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
17074 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
17075 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
17076 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
17077 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
17078 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
17079 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
17080 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
17081 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
17082 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
17083 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
17084 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
17085 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
17086 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
17087 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
17088 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
17089 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
17090 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
17091 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
17092 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
17093 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
17094 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
17095 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
17096 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
17097 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
17098 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
17099 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
17100
58985aa9
UD
17101 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
17102 rename.
17103 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17104 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17105 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17106 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17107 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17108 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17109 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17110 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17111
a201fbcf
AS
171122011-10-24 Andreas Schwab <schwab@redhat.com>
17113
17114 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
17115
fc2ee42a
LD
171162011-10-23 Ulrich Drepper <drepper@gmail.com>
17117
bb3129bd
UD
17118 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
17119
0275fff8
UD
17120 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
17121 prediction.
17122 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
17123
2fa2ae85
UD
17124 * string/strnlen.c: Don't define STRNLEN, reverse logic.
17125 Remove unused variable magic_bits.
17126 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
17127
fc2ee42a
LD
17128 * string/strnlen.c: Define and use STRNLEN macro.
17129 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
17130 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
17131 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
17132 * wcsmbs/wcslen.c: Define and use WCSLEN.
17133 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
17134 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
17135 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
17136 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
17137 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
17138 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
17139 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17140
ce7dd29f
LD
171412011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17142
17143 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17144 strnlen-sse2-no-bsf.
17145 Rename strlen-no-bsf to strlen-sse2-no-bsf.
17146 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
17147 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
17148 Add strnlen support.
17149 (USE_AS_STRNLEN): New macro.
17150 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
17151 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
17152 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
17153 * sysdeps/x86_64/wcslen.S: New file.
17154
979c70a3
MZ
171552011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
17156
17157 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17158 XMM-moves are used for copying on small sizes.
17159
2d09f82f
LD
171602011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17161
17162 * wcsmbs/Makefile (strop-tests): Add wcschr.
17163 * wcsmbs/test-wcschr.c: New file.
17164 * string/test-strchr.c: Update.
17165 Add wcschr support.
17166 (WIDE): New macro.
17167
619fccca
LD
171682011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17169
2d09f82f 17170 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
17171 * wcsmbs/test-wcslen.c: New file.
17172 * string/test-strlen.c: Update.
17173 Add wcslen support.
17174 (WIDE): New macro.
17175
09f699ea
UD
171762011-10-23 Ulrich Drepper <drepper@gmail.com>
17177
17178 * po/it.po: Update from translation team.
17179
95584d3b
LD
171802011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17181
17182 * sysdeps/x86_64/wcscmp.S: Update.
17183 Fix wrong comparison semantics.
17184 wcscmp shall use signed comparison not unsigned.
17185 Don't use substraction to avoid overflow bug.
17186 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
17187 * wcsmbc/wcscmp.c: Likewise.
17188 * string/test-strcmp.c: Likewise.
17189 Add new tests to check cases with negative values.
17190
c8b3296b
UD
171912011-10-23 Ulrich Drepper <drepper@gmail.com>
17192
17193 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
17194 * sysdeps/x86_64/dla.h: ...here. New file.
17195 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
17196 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17197 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17198 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17199 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17200 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17201 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17202 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17203 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17204
246ad57a
AS
172052011-10-23 Andreas Schwab <schwab@linux-m68k.org>
17206
17207 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
17208 __ynl_finite aliases.
17209
a1a87169
UD
172102011-10-22 Ulrich Drepper <drepper@gmail.com>
17211
0d355eb7
UD
17212 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17213
a1a87169
UD
17214 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
17215 define DLA_FMA.
17216 [DLA_FMA] (EMULV): Use DLA_FMA.
17217 [DLA_FMA] (MUL12): Use EMULV.
17218 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
17219 that are not needed.
17220 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17221 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17222 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17223 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17224 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17225 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17226 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17227
ee2aafe0
AS
172282011-10-22 Andreas Schwab <schwab@linux-m68k.org>
17229
17230 * math/s_nan.c: Undef __nan.
17231 * math/s_nanf.c: Undef __nanf.
17232 * math/s_nanl.c: Undef __nanl.
17233 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
17234 "math_private.h".
17235
bc62c2fb
UD
172362011-10-22 Ulrich Drepper <drepper@gmail.com>
17237
77425c63
UD
17238 * math/s_catan.c: Add branch predictions.
17239 * math/s_catanf.c: Likewise.
17240 * math/s_catanh.c: Likewise.
17241 * math/s_catanhf.c: Likewise.
17242 * math/s_catanhl.c: Likewise.
17243 * math/s_catanl.c: Likewise.
17244 * math/s_cexp.c: Likewise.
17245 * math/s_cexpf.c: Likewise.
17246 * math/s_cexpl.c: Likewise.
17247 * math/s_clog.c: Likewise.
17248 * math/s_clog10.c: Likewise.
17249 * math/s_clog10f.c: Likewise.
17250 * math/s_clog10l.c: Likewise.
17251 * math/s_clogf.c: Likewise.
17252 * math/s_clogl.c: Likewise.
17253 * math/s_csqrt.c: Likewise.
17254 * math/s_csqrtf.c: Likewise.
17255 * math/s_csqrtl.c: Likewise.
17256 * math/s_ctanf.c: Likewise.
17257 * math/s_ctanh.c: Likewise.
17258 * math/s_ctanhf.c: Likewise.
17259 * math/s_ctanhl.c: Likewise.
17260 * math/s_ctanl.c: Likewise.
17261
bc62c2fb
UD
17262 * math/math_private.h: Define __nan, __nanf, __nanl.
17263 * math/s_cacosh.c: Include <math_private.h>.
17264 * math/s_cacoshl.c: Likewise.
17265 * math/s_casinh.c: Likewise.
17266 * math/s_casinhf.c: Likewise.
17267 * math/s_casinhl.c: Likewise.
17268 * math/s_ccos.c: Rely entire on ccosh.
17269 * math/s_ccosf.c: Rely entire on ccoshf.
17270 * math/s_ccosl.c: Rely entirely on ccoshl.
17271 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
17272 Remove tests for FE_INVALID.
17273 * math/s_ccoshf.c: Likewise.
17274 * math/s_ccoshl.c: Likewise.
17275 * math/s_csin.c: Likewise.
17276 * math/s_csinf.c: Likewise.
17277 * math/s_csinh.c Likewise.
17278 * math/s_csinhf.c: Likewise.
17279 * math/s_csinhl.c: Likewise.
17280 * math/s_csinl.c: Likewise.
17281 * math/s_ctan.c: Likewise.
17282 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
17283 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
17284 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
17285
8ec250a4
UD
172862011-10-21 Ulrich Drepper <drepper@gmail.com>
17287
c196fed8
UD
17288 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
17289 compilation problems.
17290
8ec250a4
UD
17291 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
17292 __builtin_expect.
17293
8d4f46c6
UD
172942011-10-20 Ulrich Drepper <drepper@gmail.com>
17295
ed72b654
UD
17296 * sysdeps/i386/configure.in: Test for -mfma4 option.
17297 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
17298 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
17299 COMMON_CPUID_INDEX_80000001.
17300 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
17301 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
17302 use it if FMA3 is not supported.
17303 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
17304
8d4f46c6
UD
17305 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
17306 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17307
d45c60c2
AS
173082011-10-20 Andreas Schwab <schwab@redhat.com>
17309
17310 [BZ #12892]
17311 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
17312 it would create a cycle with a link time dependency.
17313
d9a4d2ab
UD
173142011-10-19 Ulrich Drepper <drepper@gmail.com>
17315
855d1560
UD
17316 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
17317 instruction.
17318 * string/Makefile (strop-tests): Add rawmemchr.
17319 * string/test-rawmemchr.c: New file.
17320
d9a4d2ab
UD
17321 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
17322 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
17323 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
17324 when compiling str{,n}casecmp and when AVX is available. Hook up
17325 new optimized code in initializers.
17326
8f3b1ffe
AS
173272011-10-19 Andreas Schwab <schwab@redhat.com>
17328
17329 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
17330 __feraiseexcept instead of feraiseexcept.
17331
d38f1dba
UD
173322011-10-18 Ulrich Drepper <drepper@gmail.com>
17333
d9a8d0ab
UD
17334 * math/math_private.h: Define defaults for libc_fetestexcept and
17335 libc_feupdateenv.
17336 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
17337 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
17338 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17339 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17340 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17341 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17342 libc_fetestexcept and libc_feupdateenv.
17343
4855e3dd
UD
17344 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
17345 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
17346 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
17347 * sysdeps/x86_64/fpu/math_private.h: Define special version of
17348 libc_feholdexcept_setround.
17349
581d30e3
UD
17350 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
17351 Add s_nearbyint-c and s_nearbyintf-c.
17352 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
17353 nearbyintf inlines.
17354 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
17355 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
17356 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
17357 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
17358
d38f1dba
UD
17359 * math/math_private.h: Define defaults for libc_fegetround,
17360 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
17361 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
17362 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
17363 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
17364 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
17365 standard functions.
17366 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17367 Remove comments and hacks for old compiler versions.
17368 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17369 libc_fegetround, libc_fesetround, libc_feholdexcept, and
17370 libc_feholdexceptl.
17371
caa6c9d8
AS
173722011-10-18 Andreas Schwab <schwab@redhat.com>
17373
17374 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
17375 (__feraiseexcept_renamed): Add __NTH.
17376 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
17377 namespace violations.
17378
97c066e6
UD
173792011-10-17 Ulrich Drepper <drepper@gmail.com>
17380
99ce7b04
UD
17381 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
17382
1004d182
UD
17383 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
17384
228a984d
UD
17385 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
17386 recently added interfaces.
17387 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
17388
c8553a6a
UD
17389 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
17390 about macro parameter expansion.
17391
ed22dcf6
UD
17392 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
17393 __NO_MATH_INLINES is defined. Cleanups.
17394
17395 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
17396 and __floorf is target has SSE4.1.
17397 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
17398 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
17399 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
17400 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
17401
b171c137
UD
17402 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
17403 name.
17404 (floorf): Likewise.
17405
97c066e6
UD
17406 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
17407
629f62ef
AS
174082011-10-17 Andreas Schwab <schwab@redhat.com>
17409
49a43d80
AS
17410 * misc/sys/cdefs.h: Fix last change.
17411
629f62ef
AS
17412 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
17413 database lookup.
17414
e453f6cd
UD
174152011-10-16 Ulrich Drepper <drepper@gmail.com>
17416
aa78043a
UD
17417 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
17418
ad0f5cad
UD
17419 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
17420 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17421 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17422 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17423 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17424 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17425 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17426 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17427 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17428 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
17429 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
17430 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
17431 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
17432 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
17433 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
17434 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
17435 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
17436 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
17437 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
17438 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
17439 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
17440 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
17441
17442 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
17443 ceil, ceilf, floor, floorf.
17444
17445 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
17446 Perform IRELATIVE relocations last.
17447
e453f6cd
UD
17448 * elf/do-rel.h: Add another parameter nrelative, replacing the
17449 local variable with the same name. Change name of the function
17450 to end in Rel or Rela (uppercase).
17451 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
17452 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
17453 elf_dynamic_do_##reloc function.
17454
fd5bdc09
UD
174552011-10-15 Ulrich Drepper <drepper@gmail.com>
17456
79b195b5
UD
17457 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
17458 is sufficient, at least on modern CPUs.
17459
d4a28569
UD
17460 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
17461
b61099b5
UD
17462 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
17463 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
17464
bcf01e6d
UD
17465 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
17466 __expl_finite.
17467 * math/bits/math-finite.h: Add entries for exp.
17468 * math/e_expl.c: Add __*_finite alias.
17469 * sysdeps/i386/fpu/e_exp.S: Likewise.
17470 * sysdeps/i386/fpu/e_expf.S: Likewise.
17471 * sysdeps/i386/fpu/e_expl.c: Likewise.
17472 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17473 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17474 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17475 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17476 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
17477 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17478 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17479
ba1a0d59
UD
17480 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
17481 is sufficient, at least on modern CPUs.
17482
fd5bdc09
UD
17483 * ctype/ctype-info.c (__ctype_init): Define.
17484 * include/ctype.h (__ctype_init): Declare.
17485 (__ctype_b_loc): The variable is always initialized.
17486 (__ctype_toupper_loc): Likewise.
17487 (__ctype_tolower_loc): Likewise.
17488 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
17489 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
17490
7872cfb0
AS
174912011-10-15 Andreas Schwab <schwab@linux-m68k.org>
17492
b468825a
AS
17493 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
17494
7872cfb0
AS
17495 * configure.in: Also look in $cxxmachine/include for C++ system
17496 headers.
17497
be13f7bf
LD
174982011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17499
17500 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
17501 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
17502 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
17503 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
17504 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
17505 (USE_AS_WMEMCMP): New macro.
17506 Fixing indents.
17507 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
17508 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
17509 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
17510 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
17511 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17512 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
17513 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
17514 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
17515 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
17516 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
17517 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
17518 (USE_AS_WMEMCMP): New macro.
17519 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
17520 * sysdeps/string/test-memcmp.c: Update.
17521 Fix simple_wmemcmp.
17522 Add new tests.
17523 * wcsmbs/wmemcmp.c: Update.
17524 (WMEMCMP): New macro.
17525 Fix overflow bug.
17526
556a2007
AJ
175272011-10-12 Andreas Jaeger <aj@suse.de>
17528
17529 [BZ #13268]
17530 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
17531
538faaa7
UD
175322011-10-15 Ulrich Drepper <drepper@gmail.com>
17533
ab6737ff
UD
17534 * libio/iofwide.c (do_length): Avoid warning.
17535
538faaa7
UD
17536 * ctype/ctype.h (__isctype_f): Add missing __THROW.
17537
396a21b1
UD
175382011-10-14 Ulrich Drepper <drepper@gmail.com>
17539
cdf2901f
UD
17540 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
17541
38ad40ce
UD
17542 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
17543 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
17544 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
17545 * sysdeps/i386/i686/fpu/e_log.S: New file.
17546 * sysdeps/i386/i686/fpu/e_logf.S: New file.
17547 * sysdeps/i386/i686/fpu/e_logl.S: New file.
17548
396a21b1
UD
17549 * ctype/ctype.h: Add support for inlined isXXX functions when
17550 compiling C++ code.
17551
6b1f68c9
AS
175522011-10-14 Andreas Schwab <schwab@redhat.com>
17553
349290c0
AS
17554 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17555
6b1f68c9
AS
17556 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
17557
f2282d42
RM
175582011-10-13 Roland McGrath <roland@hack.frob.com>
17559
17560 [BZ #13291]
17561 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
17562
5298ffa8
AS
175632011-10-13 Andreas Schwab <schwab@redhat.com>
17564
714fad23
AS
17565 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
17566 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
17567 feraiseexcept.
17568
81dcc7fb
AS
17569 * sysdeps/x86_64/memrchr.S: Check for zero size.
17570
5298ffa8
AS
17571 * string/stratcliff.c: Add memrchr tests.
17572
951fbcec
LD
175732011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17574
17575 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17576 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
17577 rawmemchr-sse2 rawmemchr-sse2-bsf.
17578 * sysdeps/i386/i686/multiarch/memchr.S: New file.
17579 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
17580 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
17581 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
17582 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
17583 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
17584 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
17585 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
17586 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
17587 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
17588 * string/memrchr.c (MEMRCHR): New macro.
17589
0ac5ae23
UD
175902011-10-12 Ulrich Drepper <drepper@gmail.com>
17591
17592 Add integration with gcc's -ffinite-math-only and optimize wrapper
17593 functions in libm.
17594 * Versions.def: Define GLIBC_2.15 version for libm.
17595 * math/Makefile (headers): Add bits/math-finite.h.
17596 * math/bits/math-finite.h: New file.
17597 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
17598 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
17599 * math/e_acoshl.c: Add __*_finite alias.
17600 * math/e_acosl.c: Likewise.
17601 * math/e_asinl.c: Likewise.
17602 * math/e_atan2l.c: Likewise.
17603 * math/e_atanhl.c: Likewise.
17604 * math/e_coshl.c: Likewise.
17605 * math/e_exp10.c: Likewise.
17606 * math/e_exp10f.c: Likewise.
17607 * math/e_exp10l.c: Likewise.
17608 * math/e_exp2l.c: Likewise.
17609 * math/e_fmodl.c: Likewise.
17610 * math/e_gammal_r.c: Likewise.
17611 * math/e_hypotl.c: Likewise.
17612 * math/e_j0l.c: Likewise.
17613 * math/e_j1l.c: Likewise.
17614 * math/e_jnl.c: Likewise.
17615 * math/e_lgammal_r.c: Likewise.
17616 * math/e_log10l.c: Likewise.
17617 * math/e_log2l.c: Likewise.
17618 * math/e_logl.c: Likewise.
17619 * math/e_powl.c: Likewise.
17620 * math/e_sinhl.c: Likewise.
17621 * math/e_sqrtl.c: Likewise.
17622 * math/e_scalb.c: Completely rewritten and optimized.
17623 * math/e_scalbf.c: Likewise.
17624 * math/e_scalbl.c: Likewise.
17625 * math/w_acos.c: Likewise.
17626 * math/w_acosf.c: Likewise.
17627 * math/w_acosl.c: Likewise.
17628 * math/w_acosh.c: Likewise.
17629 * math/w_acoshf.c: Likewise.
17630 * math/w_acoshl.c: Likewise.
17631 * math/w_asin.c: Likewise.
17632 * math/w_asinf.c: Likewise.
17633 * math/w_asinl.c: Likewise.
17634 * math/w_atan2.c: Likewise.
17635 * math/w_atan2f.c: Likewise.
17636 * math/w_atan2l.c: Likewise.
17637 * math/w_atanh.c: Likewise.
17638 * math/w_atanhf.c: Likewise.
17639 * math/w_atanhl.c: Likewise.
17640 * math/w_exp10.c: Likewise.
17641 * math/w_exp10f.c: Likewise.
17642 * math/w_exp10l.c: Likewise.
17643 * math/w_fmod.c: Likewise.
17644 * math/w_fmodf.c: Likewise.
17645 * math/w_fmodl.c: Likewise.
17646 * math/w_j0.c: Likewise.
17647 * math/w_j0f.c: Likewise.
17648 * math/w_j0l.c: Likewise.
17649 * math/w_j1.c: Likewise.
17650 * math/w_j1f.c: Likewise.
17651 * math/w_j1l.c: Likewise.
17652 * math/w_jn.c: Likewise.
17653 * math/w_jnf.c: Likewise.
17654 * math/w_log.c: Likewise.
17655 * math/w_logf.c: Likewise.
17656 * math/w_logl.c: Likewise.
17657 * math/w_log10.c: Likewise.
17658 * math/w_log10f.c: Likewise.
17659 * math/w_log10l.c: Likewise.
17660 * math/w_log2.c: Likewise.
17661 * math/w_log2f.c: Likewise.
17662 * math/w_log2l.c: Likewise.
17663 * math/w_pow.c: Likewise.
17664 * math/w_powf.c: Likewise.
17665 * math/w_powl.c: Likewise.
17666 * math/w_remainder.c: Likewise.
17667 * math/w_remainderf.c: Likewise.
17668 * math/w_remainderl.c: Likewise.
17669 * math/w_scalb.c: Likewise.
17670 * math/w_scalbf.c: Likewise.
17671 * math/w_scalbl.c: Likewise.
17672 * math/w_sqrt.c: Likewise.
17673 * math/w_sqrtf.c: Likewise.
17674 * math/w_sqrtl.c: Likewise.
17675 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
17676 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
17677 used.
17678 * math/math_private.h: Declare __kernel_standard_f.
17679 * math/w_cosh.c: Remove cruft and optimize a bit.
17680 * math/w_coshf.c: Likewise.
17681 * math/w_coshl.c: Likewise.
17682 * math/w_exp2.c: Likewise.
17683 * math/w_exp2f.c: Likewise.
17684 * math/w_exp2l.c: Likewise.
17685 * math/w_hypot.c: Likewise.
17686 * math/w_hypotf.c: Likewise.
17687 * math/w_hypotl.c: Likewise.
17688 * math/w_lgamma.c: Likewise.
17689 * math/w_lgamma_r.c: Likewise.
17690 * math/w_lgammaf.c: Likewise.
17691 * math/w_lgammaf_r.c: Likewise.
17692 * math/w_lgammal.c: Likewise.
17693 * math/w_lgammal_r.c: Likewise.
17694 * math/w_sinh.c: Likewise.
17695 * math/w_sinhf.c: Likewise.
17696 * math/w_sinhl.c: Likewise.
17697 * math/w_tgamma.c: Likewise.
17698 * math/w_tgammaf.c: Likewise.
17699 * math/w_tgammal.c: Likewise.
17700 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17701 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17702 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
17703 Minor optimizations. Pretty printing. Remove cruft.
17704 * sysdeps/i386/fpu/e_acosf.S: Likewise.
17705 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17706 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17707 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17708 * sysdeps/i386/fpu/e_acosl.c: Likewise.
17709 * sysdeps/i386/fpu/e_asin.S: Likewise.
17710 * sysdeps/i386/fpu/e_asinf.S: Likewise.
17711 * sysdeps/i386/fpu/e_atan2.S: Likewise.
17712 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
17713 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
17714 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17715 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17716 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17717 * sysdeps/i386/fpu/e_exp10.S: Likewise.
17718 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
17719 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
17720 * sysdeps/i386/fpu/e_exp2.S: Likewise.
17721 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
17722 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
17723 * sysdeps/i386/fpu/e_fmod.S: Likewise.
17724 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
17725 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
17726 * sysdeps/i386/fpu/e_hypot.S: Likewise.
17727 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
17728 * sysdeps/i386/fpu/e_log.S: Likewise.
17729 * sysdeps/i386/fpu/e_log10.S: Likewise.
17730 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17731 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17732 * sysdeps/i386/fpu/e_log2.S: Likewise.
17733 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17734 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17735 * sysdeps/i386/fpu/e_logf.S: Likewise.
17736 * sysdeps/i386/fpu/e_logl.S: Likewise.
17737 * sysdeps/i386/fpu/e_pow.S: Likewise.
17738 * sysdeps/i386/fpu/e_powf.S: Likewise.
17739 * sysdeps/i386/fpu/e_powl.S: Likewise.
17740 * sysdeps/i386/fpu/e_remainder.S: Likewise.
17741 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
17742 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
17743 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17744 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17745 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17746 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
17747 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
17748 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
17749 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17750 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17751 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17752 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17753 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17754 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17755 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17756 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17757 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17758 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17759 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17760 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17761 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17762 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17763 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17764 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17765 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17766 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17767 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17768 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17769 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17770 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17771 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17772 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17773 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17774 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17775 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17776 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17777 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17778 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17779 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17780 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17781 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17782 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17783 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17784 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17785 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17786 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17787 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17788 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17789 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17790 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17791 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17792 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17793 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17794 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17795 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17796 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17797 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17798 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17799 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17800 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17801 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17802 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17803 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17804 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17805 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17806 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17807 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17808 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17809 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17810 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
17811 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17812 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17813 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
17814 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17815 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
17816 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
17817 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
17818 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17819 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
17820 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
17821 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
17822 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17823 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
17824 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17825 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
17826 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
17827 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17828 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
17829 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17830 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
17831 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
17832 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17833 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17834 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17835 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17836 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
17837 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17838 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17839 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17840 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17841 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17842 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17843 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17844 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17845 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17846 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
17847 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
17848 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
17849 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
17850 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
17851 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
17852 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
17853 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17854 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17855 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17856 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17857 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
17858 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17859 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
17860 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
17861 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
17862 (__isnanf): Likewise.
17863 (__isinf_ns): Likewise.
17864 (__isinf_nsf): Likewise.
17865 (__finite): Likewise.
17866 (__finitef): Likewise.
17867 (__ieee754_sqrt): Define as macro.
17868 (__ieee754_sqrtf): Define as macro.
17869 (__ieee754_sqrtl): Define as macro.
17870 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
17871 inlined copy.
17872 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
17873 __FINITE_MATH_ONLY__ consistent.
17874 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
17875
12cc2fcd
AS
178762011-10-10 Andreas Schwab <schwab@linux-m68k.org>
17877
a843a204
AS
17878 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
17879 of rawmemchr.
17880
12cc2fcd
AS
17881 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
17882
c853acd5
UD
178832011-10-09 Ulrich Drepper <drepper@gmail.com>
17884
17885 * po/ja.po: Update from translation team.
17886
c658d255
RM
178872011-10-08 Roland McGrath <roland@hack.frob.com>
17888
110946e4
RM
17889 * locale/programs/locarchive.c (prepare_address_space): New function.
17890 (create_archive, enlarge_archive, open_archive): Use it.
17891
50604220
RM
17892 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
17893 inside [SHARED], where it is used.
17894
c658d255
RM
17895 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
17896
17897 * nss/getent.c (netgroup_keys): Remove unused variable.
17898 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
17899
6a621eb7
UD
179002011-10-08 Ulrich Drepper <drepper@gmail.com>
17901
7edb55ce
UD
17902 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
17903 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
17904 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
17905 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
17906 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
17907 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
17908 * math/Makefile (libm-calls): Add s_isinf_ns.
17909 * math/divtc3.c: Use __isinf_nsl instead of isinf.
17910 * math/multc3.c: Likewise.
17911 * math/s_casin.c: Likewise.
17912 * math/s_casinf.c: Likewise.
17913 * math/s_casinl.c: Likewise.
17914 * math/s_ccos.c: Likewise.
17915 * math/s_ccosf.c: Likewise.
17916 * math/s_ccosl.c: Likewise.
17917 * math/s_ctan.c: Likewise.
17918 * math/s_ctanf.c: Likewise.
17919 * math/s_ctanh.c: Likewise.
17920 * math/s_ctanhf.c: Likewise.
17921 * math/s_ctanhl.c: Likewise.
17922 * math/s_ctanl.c: Likewise.
17923 * math/w_fmod.c: Likewise.
17924 * math/w_fmodf.c: Likewise.
17925 * math/w_fmodl.c: Likewise.
17926 * math/w_remainder.c: Likewise.
17927 * math/w_remainderf.c: Likewise.
17928 * math/w_remainderl.c: Likewise.
17929 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
17930 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
17931 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
17932 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
17933 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
17934 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
17935 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
17936 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
17937
187da0ae
UD
17938 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
17939 of the number.
17940 * stdio-common/printf_fphex.c: Likewise.
17941 * stdio-common/printf_size.c: Likewise.
17942
9277c064
UD
17943 * math/e_exp10.c: Include math_private.h using <...> not "...".
17944 * math/e_exp10f.c: Likewise.
17945 * math/e_exp10l.c: Likewise.
17946 * math/e_exp2l.c: Likewise.
17947 * math/e_j0l.c: Likewise.
17948 * math/e_j1l.c: Likewise.
17949 * math/e_jnl.c: Likewise.
17950 * math/e_lgammal_r.c: Likewise.
17951 * math/e_rem_pio2l.c: Likewise.
17952 * math/e_scalb.c: Likewise.
17953 * math/e_scalbf.c: Likewise.
17954 * math/e_scalbl.c: Likewise.
17955 * math/k_cosl.c: Likewise.
17956 * math/k_sinl.c: Likewise.
17957 * math/k_tanl.c: Likewise.
17958 * math/s_cacoshf.c: Likewise.
17959 * math/s_catan.c: Likewise.
17960 * math/s_catanf.c: Likewise.
17961 * math/s_catanh.c: Likewise.
17962 * math/s_catanhf.c: Likewise.
17963 * math/s_catanhl.c: Likewise.
17964 * math/s_catanl.c: Likewise.
17965 * math/s_ccosh.c: Likewise.
17966 * math/s_ccoshf.c: Likewise.
17967 * math/s_ccoshl.c: Likewise.
17968 * math/s_cexp.c: Likewise.
17969 * math/s_cexpf.c: Likewise.
17970 * math/s_cexpl.c: Likewise.
17971 * math/s_clog.c: Likewise.
17972 * math/s_clog10.c: Likewise.
17973 * math/s_clog10f.c: Likewise.
17974 * math/s_clog10l.c: Likewise.
17975 * math/s_clogf.c: Likewise.
17976 * math/s_clogl.c: Likewise.
17977 * math/s_csin.c: Likewise.
17978 * math/s_csinf.c: Likewise.
17979 * math/s_csinh.c: Likewise.
17980 * math/s_csinhf.c: Likewise.
17981 * math/s_csinhl.c: Likewise.
17982 * math/s_csinl.c: Likewise.
17983 * math/s_csqrt.c: Likewise.
17984 * math/s_csqrtf.c: Likewise.
17985 * math/s_csqrtl.c: Likewise.
17986 * math/s_ctan.c: Likewise.
17987 * math/s_ctanf.c: Likewise.
17988 * math/s_ctanh.c: Likewise.
17989 * math/s_ctanhf.c: Likewise.
17990 * math/s_ctanhl.c: Likewise.
17991 * math/s_ctanl.c: Likewise.
17992 * math/s_ldexp.c: Likewise.
17993 * math/s_ldexpf.c: Likewise.
17994 * math/s_ldexpl.c: Likewise.
17995 * math/s_significand.c: Likewise.
17996 * math/s_significandf.c: Likewise.
17997 * math/s_significandl.c: Likewise.
17998 * math/w_acos.c: Likewise.
17999 * math/w_acosf.c: Likewise.
18000 * math/w_acosh.c: Likewise.
18001 * math/w_acoshf.c: Likewise.
18002 * math/w_acoshl.c: Likewise.
18003 * math/w_acosl.c: Likewise.
18004 * math/w_asin.c: Likewise.
18005 * math/w_asinf.c: Likewise.
18006 * math/w_asinl.c: Likewise.
18007 * math/w_atan2.c: Likewise.
18008 * math/w_atan2f.c: Likewise.
18009 * math/w_atan2l.c: Likewise.
18010 * math/w_atanh.c: Likewise.
18011 * math/w_atanhf.c: Likewise.
18012 * math/w_atanhl.c: Likewise.
18013 * math/w_cosh.c: Likewise.
18014 * math/w_coshf.c: Likewise.
18015 * math/w_coshl.c: Likewise.
18016 * math/w_dremf.c: Likewise.
18017 * math/w_exp10.c: Likewise.
18018 * math/w_exp10f.c: Likewise.
18019 * math/w_exp10l.c: Likewise.
18020 * math/w_exp2.c: Likewise.
18021 * math/w_exp2f.c: Likewise.
18022 * math/w_fmod.c: Likewise.
18023 * math/w_fmodf.c: Likewise.
18024 * math/w_fmodl.c: Likewise.
18025 * math/w_hypot.c: Likewise.
18026 * math/w_hypotf.c: Likewise.
18027 * math/w_hypotl.c: Likewise.
18028 * math/w_j0.c: Likewise.
18029 * math/w_j0f.c: Likewise.
18030 * math/w_j0l.c: Likewise.
18031 * math/w_j1.c: Likewise.
18032 * math/w_j1f.c: Likewise.
18033 * math/w_j1l.c: Likewise.
18034 * math/w_jn.c: Likewise.
18035 * math/w_jnf.c: Likewise.
18036 * math/w_jnl.c: Likewise.
18037 * math/w_lgamma.c: Likewise.
18038 * math/w_lgamma_r.c: Likewise.
18039 * math/w_lgammaf.c: Likewise.
18040 * math/w_lgammaf_r.c: Likewise.
18041 * math/w_lgammal.c: Likewise.
18042 * math/w_lgammal_r.c: Likewise.
18043 * math/w_log.c: Likewise.
18044 * math/w_log10.c: Likewise.
18045 * math/w_log10f.c: Likewise.
18046 * math/w_log10l.c: Likewise.
18047 * math/w_log2.c: Likewise.
18048 * math/w_log2f.c: Likewise.
18049 * math/w_log2l.c: Likewise.
18050 * math/w_logf.c: Likewise.
18051 * math/w_logl.c: Likewise.
18052 * math/w_pow.c: Likewise.
18053 * math/w_powf.c: Likewise.
18054 * math/w_powl.c: Likewise.
18055 * math/w_remainder.c: Likewise.
18056 * math/w_remainderf.c: Likewise.
18057 * math/w_remainderl.c: Likewise.
18058 * math/w_scalb.c: Likewise.
18059 * math/w_scalbf.c: Likewise.
18060 * math/w_scalbl.c: Likewise.
18061 * math/w_sinh.c: Likewise.
18062 * math/w_sinhf.c: Likewise.
18063 * math/w_sinhl.c: Likewise.
18064 * math/w_sqrt.c: Likewise.
18065 * math/w_sqrtf.c: Likewise.
18066 * math/w_sqrtl.c: Likewise.
18067 * math/w_tgamma.c: Likewise.
18068 * math/w_tgammaf.c: Likewise.
18069 * math/w_tgammal.c: Likewise.
18070
6a621eb7
UD
18071 * po/ja.po: Update from translation team.
18072
bf582445
AJ
180732011-09-29 Andreas Jaeger <aj@suse.de>
18074
f9efbf3a
AJ
18075 [BZ #13179]
18076 * sunrpc/netname.c (netname2host): Fix logic.
18077
bf582445
AJ
18078 [BZ #6779]
18079 [BZ #6783]
18080 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
18081 correctly.
18082 * math/w_remainder.c (__remainder): Likewise.
18083 * math/w_remainderf.c (__remainderf): Likewise.
18084 * math/libm-test.inc (remainder_test): Add test cases.
18085
48693bea
AK
180862011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18087
18088 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
18089 sdiv_qrnnd.
18090
42622229
LD
180912011-10-07 Ulrich Drepper <drepper@gmail.com>
18092
18093 * string/test-memcmp.c: Avoid unncessary #defines.
18094 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18095
093ecf92
LD
180962011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18097
18098 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
18099 Use new sse2 version for core i3 - i7 as it's faster
18100 than sse42 version.
18101 (bit_Prefer_PMINUB_for_stringop): New.
18102 * sysdeps/x86_64/rawmemchr.S: Update.
18103 Replace with faster SSE2 version.
18104 * sysdeps/x86_64/memrchr.S: New file.
18105 * sysdeps/x86_64/memchr.S: Update.
18106 Replace with faster SSE2 version.
18107
fde56e5c
MP
181082011-09-12 Marek Polacek <mpolacek@redhat.com>
18109
18110 * elf/dl-load.c (lose): Add cast to avoid warning.
18111
21fd49a9
UD
181122011-10-07 Ulrich Drepper <drepper@gmail.com>
18113
5a06e643
UD
18114 * po/ca.po: Update from translation team.
18115
684ae515
UD
18116 * inet/getnetgrent_r.c: Hook up nscd.
18117 * nscd/Makefile (routines): Add nscd_netgroup.
18118 (nscd-modules): Add netgroupcache.
18119 (CFLAGS-netgroupcache.c): Define.
18120 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
18121 (cache_search): Add const to second parameter.
18122 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
18123 INNETGR.
18124 (dbs): Add netgrdb entry.
18125 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
18126 (verify_persistent_db): Handle netgrdb.
18127 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
18128 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
18129 GETFDNETGR.
18130 (netgroup_response_header): Define.
18131 (innetgroup_response_header): Define.
18132 (datahead): Add netgroup_response_header and innetgroup_response_header
18133 elements.
18134 * nscd/nscd.conf: Add entries for netgroup cache.
18135 * nscd/nscd.h (dbtype): Add netgrdb.
18136 (_PATH_NSCD_NETGROUP_DB): Define.
18137 (netgroup_iov_disabled): Declare.
18138 (xmalloc, xcalloc, xrealloc): Move declarations here.
18139 (cache_search): Adjust prototype.
18140 Add netgroup-related prototypes.
18141 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
18142 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
18143 (__nscd_innetgr): Declare.
18144 * nscd/selinux.c (perms): Use access_vector_t as element type and
18145 add netgroup-related initializers.
18146 * nscd/netgroupcache.c: New file.
18147 * nscd/nscd_netgroup.c: New file.
18148 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
18149 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
18150 For four parameters use innetgr.
18151 * nss/nss_files/files-init.c: Add definition and callback for netgr.
18152 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
18153 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
18154 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
18155
21fd49a9
UD
18156 * nscd/connections.c (register_traced_file): Don't register file
18157 for disabled databases.
18158
054c0457
UD
181592011-10-06 Ulrich Drepper <drepper@gmail.com>
18160
32b63198
UD
18161 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
18162
054c0457
UD
18163 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
18164 from tree and freeing node.
18165
64031225
JO
181662011-09-25 Jiri Olsa <jolsa@redhat.com>
18167
18168 * nss/nsswitch.c (__nss_database_lookup): Handle
18169 nss_parse_service_list out of memory case.
18170
0490345c
JO
181712011-09-15 Jiri Olsa <jolsa@redhat.com>
18172
18173 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
18174 out of memory case.
18175
3a62d00d
AS
181762011-10-04 Andreas Schwab <schwab@redhat.com>
18177
18178 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
18179 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
18180 pass it down.
18181 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
18182 elf_machine_rela, elf_machine_lazy_rel.
18183 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
18184 (ELF_DYNAMIC_DO_REL): Likewise.
18185 (ELF_DYNAMIC_DO_RELA): Likewise.
18186 (ELF_DYNAMIC_RELOCATE): Likewise.
18187 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
18188 to ELF_DYNAMIC_DO_REL.
18189 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
18190 (dl_main): In trace mode always set __RTLD_NOIFUNC.
18191 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
18192 elf_machine_rela.
18193 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
18194 skip_ifunc, don't call ifunc function if non-zero.
18195 (elf_machine_rela): Likewise.
18196 (elf_machine_lazy_rel): Likewise.
18197 (elf_machine_lazy_rela): Likewise.
18198 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
18199 (elf_machine_lazy_rel): Likewise.
18200 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
18201 Likewise.
18202 (elf_machine_lazy_rel): Likewise.
18203 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18204 Likewise.
18205 (elf_machine_lazy_rel): Likewise.
18206 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
18207 (elf_machine_lazy_rel): Likewise.
18208 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
18209 (elf_machine_lazy_rel): Likewise.
18210 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18211 (elf_machine_lazy_rel): Likewise.
18212 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
18213 (elf_machine_lazy_rel): Likewise.
18214 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
18215 (elf_machine_lazy_rel): Likewise.
18216 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18217 (elf_machine_lazy_rel): Likewise.
18218
68577918
UD
182192011-09-28 Ulrich Drepper <drepper@gmail.com>
18220
18221 * nss/nss_files/files-init.c (_nss_files_init): Use static
18222 initialization for all the *_traced_file variables.
18223
68822d74
AS
182242011-09-28 Andreas Schwab <schwab@redhat.com>
18225
18226 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18227
2056100b
RM
182282011-09-27 Roland McGrath <roland@hack.frob.com>
18229
18230 [BZ #13226]
18231 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
18232
32c76b63
AS
182332011-09-27 Andreas Schwab <schwab@redhat.com>
18234
18235 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18236 Reread the line before reparsing it.
18237
bf972c9d
AS
182382011-09-26 Andreas Schwab <schwab@redhat.com>
18239
18240 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
18241
e057a1b5
JM
182422011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
18243 Maxim Kuvyrkov <maxim@codesourcery.com>
18244 Joseph Myers <joseph@codesourcery.com>
18245
18246 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
18247 if needed for __stack_chk_guard.
18248
bc7e1c36
RM
182492011-09-19 Roland McGrath <roland@hack.frob.com>
18250
ecb1482f
RM
18251 * sysdeps/posix/spawni.c (script_execute): Always define it.
18252 It will be optimized away if unused.
18253 (maybe_script_execute): New function.
18254 (__spawni): Call it.
18255
bc7e1c36
RM
18256 * Makerules: Don't include tls.make.
18257 (config-tls): Always set to thread.
18258 * tls.make.c: File removed.
18259
1c3b002b
MF
182602011-09-19 Mike Frysinger <vapier@gentoo.org>
18261
18262 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
18263 * config.make.in (CPPFLAGS-config): New substituted variable.
18264
2840865d
UD
182652011-09-15 Ulrich Drepper <drepper@gmail.com>
18266
88738eb6
UD
18267 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
18268
cbf645a6 18269 [BZ #13192]
2840865d
UD
18270 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
18271 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
18272
b402e91a
RM
182732011-09-15 Roland McGrath <roland@hack.frob.com>
18274
18275 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
18276 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
18277 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18278 (CALL_FAIL): Likewise.
18279 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
18280 (CALL_FAIL): Macro removed.
18281 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
18282
4c1a1f71
UD
182832011-09-15 Ulrich Drepper <drepper@gmail.com>
18284
18285 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
18286 for __FINITE_MATH_ONLY__ == 1.
18287
edc121be
AS
182882011-09-15 Andreas Schwab <schwab@redhat.com>
18289
18290 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
18291 __ieee754_sqrt instead of sqrt.
18292 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
18293 __ieee754_sqrtf instead of sqrtf.
18294 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
18295 __floorf instead of floorf.
18296 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
18297 __floorf, __truncf instead of floorf, truncf.
18298
cd205654
UD
182992011-09-14 Ulrich Drepper <drepper@gmail.com>
18300
ee4d0315
UD
18301 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
18302
cd205654
UD
18303 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
18304 __extern_always_inline.
18305 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
18306 32-bit.
18307
48b67d71
AS
183082011-09-14 Andreas Schwab <schwab@redhat.com>
18309
18310 * elf/rtld.c (dl_main): Also relocate in dependency order when
18311 doing symbol dependency testing.
18312
1ae12c75
AS
183132011-09-13 Andreas Schwab <schwab@linux-m68k.org>
18314
18315 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18316 Always define `refsym'.
18317
995a80df
AS
183182011-09-13 Andreas Schwab <schwab@redhat.com>
18319
e529793b
AS
18320 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
18321 (__FD_ELT): Renamed from __FDELT.
18322 * misc/bits/select2.h (__FD_ELT): Likewise.
18323 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
18324 __FD_MASK instead of __FDELT, __FDMASK.
18325 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18326 Likewise.
18327 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18328 Likewise.
18329
52d4fef8
AS
18330 * elf/Makefile (gen-ldd): Fix pattern.
18331
995a80df
AS
18332 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
18333 (init_tls): Likewise.
18334
8682f8b0
UD
183352011-09-12 Ulrich Drepper <drepper@gmail.com>
18336
18337 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
18338
de82006d
AS
183392011-09-12 Andreas Schwab <schwab@redhat.com>
18340
a7c8e6a1
AS
18341 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
18342 `struct cmsghdr *' instead of `void *'.
18343 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
18344 Likewise.
18345
0f31fe77
AS
183462011-09-11 Andreas Schwab <schwab@linux-m68k.org>
18347
18348 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
18349 if non-absolute.
18350 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
18351 ldd_rewrite_script.
0f31fe77 18352
32b4c839
UD
183532011-09-11 Ulrich Drepper <drepper@gmail.com>
18354
83cd1420
UD
18355 * configure.in: Remove --with-tls option.
18356 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
18357 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
18358 out in case it is missing.
18359 * sysdeps/ia64/elf/configure.in: Likewise.
18360 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
18361 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
18362 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
18363 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
18364 * sysdeps/sh/elf/configure.in: Likewise.
18365 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
18366 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18367 * sysdeps/x86_64/elf/configure.in: Likewise.
18368 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
18369 * sysdeps/mach/hurd/tls.h: Likewise.
18370
633f745d
UD
18371 [BZ #13067]
18372 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
18373
f318beb8
UD
18374 [BZ #13090]
18375 * configure.in: Fix use of AC_INIT.
18376
32b4c839
UD
18377 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
18378
3ce1f295
UD
183792011-09-10 Ulrich Drepper <drepper@gmail.com>
18380
bb016596
UD
18381 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
18382 __set_errno.
8e58439c
UD
18383 * malloc/hooks.c: Likewise.
18384
aebae053 18385 [BZ #11929]
02d46fc4
UD
18386 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
18387 variables statically.
18388 (narenas): Initialize.
18389 (list_lock): Initialize.
bb016596
UD
18390 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
18391 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
18392 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
18393 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
18394 Add initializers to main_arena and mp_.
18395 (malloc_state): Remove pagesize member. Change all users to use
18396 GLRO(dl_pagesize).
18397
18398 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
18399 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
18400 is always initialized.
18401
22a89187
UD
18402 * malloc/malloc.c: Removed unused configurations and dead code.
18403 * malloc/arena.c: Likewise.
18404 * malloc/hooks.c: Likewise.
02d46fc4 18405 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 18406
d063d164
UD
18407 * include/tls.h: Removed. USE___THREAD must always be defined.
18408 * bits/libc-tsd.h: Don't handle !USE___THREAD.
18409 * elf/dl-libc.c: Likewise.
18410 * elf/dl-tsd.c: Likewise.
18411 * include/errno.h: Likewise.
18412 * include/netdb.h: Likewise.
18413 * include/resolv.h: Likewise.
18414 * inet/herrno-loc.c: Likewise.
18415 * inet/herrno.c: Likewise.
18416 * malloc/arena.c: Likewise.
18417 * malloc/hooks.c: Likewise.
18418 * malloc/malloc.c: Likewise.
18419 * resolv/res-state.c: Likewise.
18420 * resolv/res_libc.c: Likewise.
18421 * sysdeps/i386/dl-machine.h: Likewise.
18422 * sysdeps/ia64/dl-machine.h: Likewise.
18423 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
18424 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18425 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
18426 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18427 * sysdeps/sh/dl-machine.h: Likewise.
18428 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18429 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18430 * sysdeps/unix/i386/sysdep.S: Likewise.
18431 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18432 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
18433 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
18434 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18435 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
18436 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18437 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18438 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18439 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18440 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18441 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18442 * sysdeps/x86_64/dl-machine.h: Likewise.
18443 * tls.make.c: Likewise.
18444
3ce1f295
UD
18445 * configure.in: Remove --with-__thread option. Make tests for
18446 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
18447 tls_model attribute fail if no support is available. Remove
18448 USE_IN_LIBIO.
18449 * Makeconfig: Adjust for dropped configure option. All features are
18450 now mandatory.
18451 * Makerules: Likewise.
18452 * Versions.def: Likewise.
18453 * argp/argp-fmtstream.c: Likewise.
18454 * argp/argp-fmtstream.h: Likewise.
18455 * argp/argp-help.c: Likewise.
18456 * assert/assert.c: Likewise.
18457 * config.h.in: Likewise.
18458 * config.make.in: Likewise.
18459 * configure: Likewise.
18460 * configure.in: Likewise.
18461 * csu/Versions: Likewise.
18462 * csu/init.c: Likewise.
18463 * elf/tst-audit2.c: Likewise.
18464 * elf/tst-tls10.c: Likewise.
18465 * elf/tst-tls10.h: Likewise.
18466 * elf/tst-tls11.c: Likewise.
18467 * elf/tst-tls12.c: Likewise.
18468 * elf/tst-tls14.c: Likewise.
18469 * elf/tst-tlsmod11.c: Likewise.
18470 * elf/tst-tlsmod12.c: Likewise.
18471 * elf/tst-tlsmod13.c: Likewise.
18472 * elf/tst-tlsmod13a.c: Likewise.
18473 * elf/tst-tlsmod14a.c: Likewise.
18474 * elf/tst-tlsmod15b.c: Likewise.
18475 * elf/tst-tlsmod16a.c: Likewise.
18476 * elf/tst-tlsmod16b.c: Likewise.
18477 * elf/tst-tlsmod7.c: Likewise.
18478 * elf/tst-tlsmod8.c: Likewise.
18479 * elf/tst-tlsmod9.c: Likewise.
18480 * gmon/gmon.c: Likewise.
18481 * grp/fgetgrent_r.c: Likewise.
18482 * grp/putgrent.c: Likewise.
18483 * hurd/fopenport.c: Likewise.
18484 * include/libc-symbols.h: Likewise.
18485 * include/tls.h: Likewise.
18486 * intl/gettextP.h: Likewise.
18487 * intl/loadinfo.h: Likewise.
18488 * locale/global-locale.c: Likewise.
18489 * locale/localeinfo.h: Likewise.
18490 * mach/devstream.c: Likewise.
18491 * malloc/arena.c: Likewise.
18492 * malloc/set-freeres.c: Likewise.
18493 * misc/err.c: Likewise.
18494 * misc/getttyent.c: Likewise.
18495 * misc/mntent_r.c: Likewise.
18496 * posix/getopt.c: Likewise.
18497 * posix/wordexp.c: Likewise.
18498 * pwd/fgetpwent_r.c: Likewise.
18499 * resolv/Versions: Likewise.
18500 * resolv/res_hconf.c: Likewise.
18501 * shadow/fgetspent_r.c: Likewise.
18502 * shadow/putspent.c: Likewise.
18503 * stdio-common/printf_fphex.c: Likewise.
18504 * stdio-common/tmpfile.c: Likewise.
18505 * stdlib/abort.c: Likewise.
18506 * stdlib/fmtmsg.c: Likewise.
18507 * sunrpc/auth_unix.c: Likewise.
18508 * sunrpc/clnt_perr.c: Likewise.
18509 * sunrpc/clnt_tcp.c: Likewise.
18510 * sunrpc/clnt_udp.c: Likewise.
18511 * sunrpc/clnt_unix.c: Likewise.
18512 * sunrpc/openchild.c: Likewise.
18513 * sunrpc/svc_simple.c: Likewise.
18514 * sunrpc/svc_tcp.c: Likewise.
18515 * sunrpc/svc_udp.c: Likewise.
18516 * sunrpc/svc_unix.c: Likewise.
18517 * sunrpc/xdr.c: Likewise.
18518 * sunrpc/xdr_array.c: Likewise.
18519 * sunrpc/xdr_rec.c: Likewise.
18520 * sunrpc/xdr_ref.c: Likewise.
18521 * sunrpc/xdr_stdio.c: Likewise.
18522
1248c1c4
PB
185232011-09-09 Ulrich Drepper <drepper@gmail.com>
18524
18525 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18526
185272011-07-03 Andreas Jaeger <aj@suse.de>
18528
18529 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
18530 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
18531 regenerate with gen-libm-tests.pl.
18532
185332010-05-12 Petr Baudis <pasky@suse.cz>
18534
18535 [BZ #11589]
18536 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
18537 around j0() zero points by switching to j1().
18538 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18539 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18540 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18541 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18542
f22e1074
UD
185432011-09-09 Ulrich Drepper <drepper@gmail.com>
18544
f19009c1
UD
18545 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
18546 instead of 0.
18547 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
18548 instead of 0. .
18549 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18550 Patch in part by Pavel Roskin <proski@gnu.org>.
18551
3f8cc204
UD
18552 [BZ #13138]
18553 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
18554 realloc.
18555 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
18556 Free memory block if necessary.
18557
f22e1074
UD
18558 [BZ #12847]
18559 * libio/genops.c (INTDEF): For string streams the _lock pointer can
18560 be NULL. Don't lock in this case.
18561
0a2349f9
RM
185622011-09-09 Roland McGrath <roland@hack.frob.com>
18563
18564 * elf/elf.h (ELFOSABI_GNU): New macro.
18565 (ELFOSABI_LINUX): Define to that.
18566
f3cdd467
DZ
185672011-07-29 Denis Zaitceff <zaitceff@gmail.com>
18568
18569 * string/strncat.c (strncat): Undef the symbol in case it has been
18570 defined in bits/string.h.
18571
74718d13
UD
185722011-09-09 Ulrich Drepper <drepper@gmail.com>
18573
633e9e0f
UD
18574 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
18575
0a2349f9 18576 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
18577 link map.
18578
f9924780
AJ
185792011-08-17 Andreas Jaeger <aj@suse.de>
18580
18581 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
18582
7f5517aa
PP
185832011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
18584 Ian Lance Taylor <iant@google.com>
18585
18586 * math/libm-test.inc (lround_test): New testcase.
18587 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
18588
762011fe
UD
185892011-09-08 Ulrich Drepper <drepper@gmail.com>
18590
92963737
UD
18591 * Makefile: Remove support for automatic cvs check-ins.
18592 * Makerules: Likewise.
18593 * config.make.in: Likewise.
18594 * configure.in: Likewise.
18595 * intl/Makefile: Likewise.
18596 * locale/Makefile: Likewise.
18597 * po/Makefile: Likewise.
18598 * posix/Makefile: Likewise.
18599 * sysdeps/gnu/Makefile: Likewise.
18600 * sysdeps/mach/hurd/Makefile: Likewise.
18601 * sysdeps/sparc/sparc32/Makefile: Likewise.
18602
b0727fd8
JS
18603 [BZ #13118]
18604 * posix/Makefile (bug-regex32-ENV): Define.
18605 Patch by John Stanley <jpsinthemix@verizon.net>.
18606
a0f33f99
UD
18607 * misc/Makefile (headers): Add bits/select2.h.
18608 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
18609 * misc/bits/select2.h: New file.
18610 * include/bits/select2.h: New file.
18611 * debug/Makefile (routines): Add fdelt_chk.
18612 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
18613 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
18614 FD_ISSET.
18615 * debug/fdelt_chk.c: New file.
18616
762011fe
UD
18617 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
18618 * wcsmbs/test-wmemcmp.c: Likewise.
18619 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 18620 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
18621
186222011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18623
18624 * string/Makefile (strop-tests): Add memcmp.
18625 * string/test-wmemcmp.c: New file.
18626 * string/test-memcmp.c: Add wmemcmp support.
18627
7f513ec8
RM
186282011-09-08 Roland McGrath <roland@hack.frob.com>
18629
0442afb4
RM
18630 [BZ #13153]
18631 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
18632 2011-07-19 change.
18633
7f513ec8
RM
18634 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
18635 garbage value in a __mach_port_mod_refs call in the cases of the
18636 task-self and thread-self ports.
18637
a12b2239
ST
186382011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18639
18640 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
18641
610f9ab4
AS
186422011-09-08 Andreas Schwab <schwab@redhat.com>
18643
7f513ec8 18644 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 18645
48882a1a
LD
186462011-09-07 Ulrich Drepper <drepper@gmail.com>
18647
b49865be
UD
18648 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
18649
fdc86bc9
UD
18650 * elf/dl-libc.c (dlerror_run): Pass back error code from
18651 dl_catch_error.
18652
c966526a
UD
18653 [BZ #13123]
18654 * elf/dl-load.c (lose): Free l_origin if it is valid.
18655
48882a1a
LD
18656 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
18657 names.
18658 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
18659 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18660 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18661 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18662 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
18663 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
18664
77a2a8b4
AZ
186652011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18666
18667 * sysdeps/powerpc/fpu/e_hypot.c: New file.
18668 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
18669 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
18670 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
18671 * sysdeps/powerpc/fpu/k_cosf.c: New file.
18672 * sysdeps/powerpc/fpu/k_sinf.c: New file.
18673 * sysdeps/powerpc/fpu/s_cosf.c: New file.
18674 * sysdeps/powerpc/fpu/s_sinf.c: New file.
18675 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
18676 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
18677
24f579d8
AM
186782011-08-15 Alan Modra <amodra@gmail.com>
18679
18680 [BZ #13092]
18681 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
18682 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
18683 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
18684 ppc_mcount to static-only-routines.
18685 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
18686 __mcount_internal.
18687 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
18688 __mcount_internal with usual JUMPTARGET. Remove useless nop.
18689
3d4837df
UD
186902011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
18691
18692 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
18693 for finite and infinity parameters.
18694
22700377
WS
186952011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
18696
18697 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
18698 and add nop instructions for throughput optimization.
18699 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18700
5025581e
WS
187012011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
18702
18703 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
18704 aligned copy for power7 with vector-scalar instructions.
18705 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18706
08a300c9
L
187072011-07-24 H.J. Lu <hongjiu.lu@intel.com>
18708
18709 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
18710 AVX check.
18711
59178ef9
AS
187122011-09-07 Andreas Schwab <schwab@redhat.com>
18713
18714 [BZ #13144]
18715 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
18716 last change.
18717
e38ba7ab
UD
187182011-09-07 Ulrich Drepper <drepper@gmail.com>
18719
18720 * sysdeps/unix/sysv/linux/x86_64/init-first.c
18721 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
18722 syscall wrapper around clock_gettime in __vdso_clock_gettime.
18723 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
18724 clock_gettime.
18725
d53a73ac
UD
187262011-09-06 Ulrich Drepper <drepper@gmail.com>
18727
fc8bffcc
UD
18728 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
18729 Forgot to demangle the pointer.
18730
ceaa0c5d
UD
18731 * sysdeps/i386/sysdep.h: Define atom_text_section.
18732 * sysdeps/x86_64/sysdep.h: Likewise.
18733 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
18734 section with atom_text_section.
18735 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18736 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18737 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
18738 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
18739 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
18740
a77d3c17
UD
18741 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
18742 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
18743 already be defined. Change to take two parameters and don't assign
18744 result to variable. Adjust all users.
18745 Define INTERNAL_GETTIME if not already defined.
18746 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
18747 call.
18748 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
18749 HAVE_CLOCK_GETTIME_VSYSCALL.
18750 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
18751
d53a73ac
UD
18752 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
18753 gettimeofday vsyscall, just use time.
18754
a8f84144
AS
187552011-09-06 Andreas Schwab <schwab@redhat.com>
18756
18757 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
18758 <errno.h>.
18759
ef606249
UD
187602011-09-06 Ulrich Drepper <drepper@gmail.com>
18761
18762 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
18763 syscall on x86-64.
18764 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
18765 syscall.
18766 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
18767 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
18768 syscall if possible.
18769
6585cb60
UD
187702011-09-05 Ulrich Drepper <drepper@gmail.com>
18771
18772 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
18773 e_ident. Don't pass to find_mapsXX.
18774 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
18775
a5f524e4
LD
187762011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18777
18778 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18779 strchr-sse2-no-bsf strrchr-sse2-no-bsf
18780 * sysdeps/x86_64/multiarch/strchr.S: Update.
18781 Check bit_slow_BSF bit.
18782 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18783 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
18784 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
18785
554881ef
UD
187862011-09-05 Ulrich Drepper <drepper@gmail.com>
18787
d96de963
UD
18788 [BZ #13134]
18789 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
18790 before glibc 2.15.
18791 (tryshell): Define.
18792 (__spawni): Change last parameter to be flag. Test
18793 SPAWN_XFLAGS_USE_PATH flag to use path or not.
18794 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
18795 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
18796 * posix/spawni.c: Likewise.
18797 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
18798 * posix/spawnp.c: Likewise. Change normal version to use
18799 SPAWN_XFLAGS_USE_PATH.
18800 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
18801 SPAWN_XFLAGS_TRY_SHELL.
18802
d48e5868
UD
18803 [BZ #13150]
18804 * posix/glob.h: Remove gcc 1.x support.
18805
554881ef
UD
18806 [BZ #13068]
18807 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
18808
693fb948
LD
188092011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18810
18811 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18812 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
18813 strrchr-sse2-bsf
18814 * sysdeps/i386/i686/multiarch/strchr.S: New file.
18815 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
18816 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
18817 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
18818 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
18819 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
18820
1b48c537
UD
188212011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18822
49d42c37
UD
18823 * sysdeps/x86_64/wcscmp.S: New file.
18824
1b48c537
UD
18825 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
18826 wcscmp-c wcscmp-sse2
18827 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
18828 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
18829 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
18830 * wcsmbs/wcscmp.c: Allow renaming.
18831
15c95c5d
DM
188322011-09-05 David S. Miller <davem@davemloft.net>
18833
18834 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
18835 stack slot, rather than the struct return pointer slot.
18836 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
18837 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
18838 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
18839 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
18840
2f0ad8f3
UD
188412011-09-05 Ulrich Drepper <drepper@gmail.com>
18842
d88ae418
UD
18843 * po/ja.po: Update from translation team.
18844
2f0ad8f3
UD
18845 [BZ #13144]
18846 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
18847 kernel in 64-bit binaries.
18848
5f4318d1
DM
188492011-09-01 David S. Miller <davem@davemloft.net>
18850
18851 * elf/elf.h (HWCAP_SPARC_*): Move to..
18852 * sysdeps/sparc/sysdep.h: this new file and add new values.
18853 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
18854 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
18855 _DL_HWCAP_COUNT to 24.
18856 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
18857 entries.
18858 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
18859 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
18860 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
18861 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
18862 instead of magic constants.
18863 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18864
3ba57516
DM
188652011-08-31 David S. Miller <davem@davemloft.net>
18866
18867 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
18868 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
18869 Reimplement to do errno handling inline.
18870 (SYSCALL_ERROR_HANDLER): New macro.
18871 (__SYSCALL_STRING): Do not do errno handling in asm.
18872 (__CLONE_SYSCALL_STRING): Delete.
18873 (__INTERNAL_SYSCALL_STRING): Delete.
18874 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
18875 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
18876 (PSEUDO): Reimplement to do errno handling inline.
18877 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
18878 (SYSCALL_ERROR_HANDLER): New macro.
18879 (__SYSCALL_STRING): Do not do errno handling in asm.
18880 (__CLONE_SYSCALL_STRING): Delete.
18881 (__INTERNAL_SYSCALL_STRING): Delete.
18882 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
18883 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
18884 i386.
18885 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
18886 (inline_syscall*): Add 'err' argument.
18887 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
18888 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
18889 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
18890 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
18891
18892 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
18893 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18894
2bc17433
AS
188952011-08-30 Andreas Schwab <schwab@redhat.com>
18896
18897 * elf/rtld.c (dl_main): Relocate objects in dependency order.
18898
fbeb5f4d
JO
188992011-08-29 Jiri Olsa <jolsa@redhat.com>
18900
18901 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
18902 directive.
18903
ad69cc26
DM
189042011-08-24 David S. Miller <davem@davemloft.net>
18905
18906 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
18907
39dd69df
AS
189082011-08-24 Andreas Schwab <schwab@redhat.com>
18909
18910 * elf/Makefile: Add rules to build and run unload8 test.
18911 * elf/unload8.c: New file.
18912 * elf/unload8mod1.c: New file.
18913 * elf/unload8mod1x.c: New file.
18914 * elf/unload8mod2.c: New file.
18915 * elf/unload8mod3.c: New file.
18916
18917 * elf/dl-close.c (_dl_close_worker): Reset private search list if
18918 it wasn't used.
18919
2c0b250a
DM
189202011-08-23 David S. Miller <davem@davemloft.net>
18921
18922 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
18923 subtract stack bias.
18924 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
18925 %sp not %fp in calculations.
18926 (_JMPBUF_UNWINDS_ADJ): Likewise.
18927
22044b48
DM
18928 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
18929 (aio_suspend): Call it to force an exception region around the
18930 AIO_MISC_WAIT() invocation.
18931
2cae4995
AS
189322011-08-23 Andreas Schwab <schwab@redhat.com>
18933
18934 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
18935 backslash.
18936
873a772e
AJ
189372011-07-04 Aurelien Jarno <aurelien@aurel32.net>
18938
18939 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
18940 protection macro.
18941 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
18942 and <dl-machine.h>.
18943 (Elf64_FuncDesc): Remove.
18944
25ad0df1
DM
189452011-08-22 David S. Miller <davem@davemloft.net>
18946
18947 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
18948 sigaltstack check, add missing cfi directives.
18949 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
18950 missing cfi directives, and sigaltstack handling.
18951
e888bcbe
AS
189522011-08-16 Andreas Schwab <schwab@redhat.com>
18953
18954 [BZ #11724]
18955 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
18956 object is seen twice.
18957 * elf/dl-fini.c (_dl_sort_fini): Likewise.
18958
18959 * elf/Makefile (distribute): Add tst-initorder2.c.
18960 (tests): Add tst-initorder2.
18961 (modules-names): Add tst-initorder2a tst-initorder2b
18962 tst-initorder2c tst-initorder2d. Add rules to build them.
18963 ($(objpfx)tst-initorder2.out): New rule.
18964 * elf/tst-initorder2.c: New file.
18965 * elf/tst-initorder2.exp: New file.
18966
87162f46
AS
189672011-08-22 Andreas Schwab <schwab@redhat.com>
18968
70538b7f
AS
18969 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
18970
f55ffe58
AS
18971 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
18972 dependencies back to end of function.
18973
87162f46
AS
18974 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18975 $(elfobjdir)/ld.so.
18976
91b392a4
UD
189772011-08-21 Ulrich Drepper <drepper@gmail.com>
18978
18979 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
18980 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
18981 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
18982 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
18983 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
18984 of __vdso_gettimeofday.
18985 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
18986 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
18987 attribute_hidden.
18988 (_libc_vdso_platform_setup): Remove initialization of
18989 __vdso_gettimeofday and __vdso_time.
18990
5c43483f
UD
189912011-08-20 Ulrich Drepper <drepper@gmail.com>
18992
775a77e7
UD
18993 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
18994 and fgetc_unlocked.
18995 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
18996 getc_unlocked.
89f447ed 18997
49c74ba9
UD
18998 * elf/dl-open.c (add_to_global): Report additions to the global scope
18999 for LD_DEBUG=scopes.
19000 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 19001 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 19002
5c43483f
UD
19003 [BZ #13114]
19004 * stdio-common/Makefile (tests): Add bug24.
19005 * stdio-common/bug24.c: New file.
19006
a101b025
AJ
190072011-08-19 Andreas Jaeger <aj@suse.de>
19008
19009 [BZ #13114]
19010 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
19011 non-existant file when using close-on-exec mode.
19012
c88f1766
UD
190132011-08-20 Ulrich Drepper <drepper@gmail.com>
19014
0276a718
UD
19015 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
19016 the very first instruction.
19017
c88f1766
UD
19018 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
19019 the CFI state in the end.
19020 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
19021 inclusion of dl-trampoline.h.
19022 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
19023
51ccffa0
AS
190242011-08-19 Andreas Schwab <schwab@redhat.com>
19025
94d7165f
AS
19026 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
19027 expectations for long double.
19028
51ccffa0
AS
19029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
19030 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
19031
fd708658 190322011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
19033
19034 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
19035 artificual limit depends upon the system page size.
19036
44f0a71e
UD
190372011-08-17 Ulrich Drepper <drepper@gmail.com>
19038
19039 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
19040 * resolv/Makefile: Define CFLAGS-libresolv.
19041
8de79a24
AS
190422011-08-17 Andreas Schwab <schwab@redhat.com>
19043
19044 * nss/makedb.c (compute_tables): Make variables used in nested
19045 function static.
19046
27724598
UD
190472011-08-17 Ulrich Drepper <drepper@gmail.com>
19048
c5305d88
UD
19049 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
19050 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
19051 if buffer was too small.
19052
27724598
UD
19053 * elf/pldd.c (main): Attach to all threads in the process.
19054 Rewrite /proc handling to use *at functions.
19055
076fe015
UD
190562011-08-16 Ulrich Drepper <drepper@gmail.com>
19057
174baab3
UD
19058 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
19059 specifies first scope to show.
19060 (dl_open_worker): Update callers. Move printing scope of new
19061 object to before the relocation.
44f0a71e 19062 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
19063 * sysdeps/generic/ldsodefs.h: Update declaration.
19064
076fe015
UD
19065 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
19066 string for the scope number.
19067
a60df2c3
UD
190682011-08-14 Ulrich Drepper <drepper@gmail.com>
19069
19070 * nscd/servicescache.c (cache_addserv): Make sure written is always
19071 initialized.
19072
5e4287d1
RM
190732011-08-14 Roland McGrath <roland@hack.frob.com>
19074
85ae0589
RM
19075 * sysdeps/i386/i486/bits/atomic.h
19076 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
19077 statement expression, so as to suppress "set but not used" warning.
19078 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
19079
69f63097
RM
19080 * string/strncat.c (STRNCAT): Use prototype definition.
19081
675456ef
RM
19082 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
19083 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
19084 -Iprograms here.
19085 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
19086 (localedef-modules): Add localedef.
19087 (locale-modules): Add locale.
19088
5e4287d1
RM
19089 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
19090 * elf/rtld.c (dl_main): Invert order of assignment in last change,
19091 to avoid a warning.
19092
9c96ff23
DM
190932011-08-14 David S. Miller <davem@davemloft.net>
19094
19095 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
19096 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
19097
f9ddf089
UD
190982011-08-13 Ulrich Drepper <drepper@gmail.com>
19099
44f0a71e 19100 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
19101 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
19102 * elf/rtld.c (dl_main): Set l_name of vDSO.
19103 Call _dl_show_scope when DL_DEBUG_SCOPES.
19104 (process_dl_debug): Recognize scopes flag and also set it for all.
19105 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
19106 Declare _dl_show_scope.
19107
1dc27704
UD
19108 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
19109 (do_dlopen): Pass caller_dlopen to dl_open.
19110 (__libc_dlopen_mode): Initialize caller_dlopen.
19111
f9ddf089
UD
19112 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
19113 of libc. Make tolower call locale-independent. Optimize a bit by
19114 using isdigit instead of isalnum.
19115 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
19116
9ac533d3
UD
191172011-08-12 Ulrich Drepper <drepper@gmail.com>
19118
19119 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
19120 was a dependency or dynamically loaded.
19121
89edf2e9
UD
191222011-08-11 Ulrich Drepper <drepper@gmail.com>
19123
8e999d29
UD
19124 * intl/l10nflist.c: Allow architecture-specific pop function.
19125 * sysdeps/x86_64/l10nflist.c: New file.
19126
89edf2e9
UD
19127 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
19128 classification.
19129
14d96785
AS
191302011-08-10 Andreas Schwab <schwab@redhat.com>
19131
19132 * include/dirent.h: Add libc_hidden_proto for scandirat and
19133 scandirat64. Don't declare __scandirat64.
19134 * dirent/scandirat.c: Add libc_hidden_def.
19135 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
19136 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
19137
6761ac04
DM
191382011-08-10 David S. Miller <davem@davemloft.net>
19139
19140 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
19141 enum.
19142 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19143 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19144 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19145
c55fbd1e
UD
191462011-08-09 Ulrich Drepper <drepper@gmail.com>
19147
19148 * Versions.def [libc]: Add GLIBC_2.15.
19149 * dirent/Makefile (routines): Add scandirat and scandirat64.
19150 * dirent/Versions [libc]: Export scandirat and scandirat64 for
19151 GLIBC_2.15.
19152 * dirent/dirent.h: Declare scandirat and scandirat64.
19153 * dirent/scandirat.c: New file.
19154 * dirent/scandirat64.c: New file.
19155 * sysdeps/wordsize-64/scandirat.c: New file.
19156 * sysdeps/wordsize-64/scandirat64.c: New file.
19157 * dirent/opendir.c: Define opendirat.
19158 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
19159 using scandirat.
19160 * dirent/scandir64.c: Adjust for scandir.c change.
19161 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
19162 __scandirat64, and __scandir_cancel_handler.
19163 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
19164 additional parameter and use openat instead of open (outside of ld.so).
19165 Add new __opendir as wrapper around __opendirat.
19166 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
19167 here without requiring old scandirat implementation.
19168
879165f2
UD
191692011-08-08 Ulrich Drepper <drepper@gmail.com>
19170
19171 * dirent/scandir.c (cancel_handler): Renamed to
19172 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
19173 defined. Adjust users.
19174 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
19175 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
19176
cb7e923b
UD
191772011-08-04 Ulrich Drepper <drepper@gmail.com>
19178
16292edd
UD
19179 * string/test-string.h (IMPL): Use __STRING to expand name and then
19180 stringify it.
19181
cb7e923b
UD
19182 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
19183 of cleanups.
19184
cff82933
LD
191852011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19186
19187 * string/Makefile: Update.
19188 (strop-tests): Append strncat.
19189 * string/test-wcscmp.c: New file.
19190 New comprehensive test for wcscmp.
19191 * string/test-strcmp.c: Update.
19192 (WIDE): New define.
19193
9be9bfcc
AS
191942011-07-22 Andreas Schwab <schwab@redhat.com>
19195
19196 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
19197 line.
19198
2e96f1c7
AS
191992011-07-26 Andreas Schwab <schwab@redhat.com>
19200
19201 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19202 encoding to ACE if AI_IDN.
19203
85188888
JJ
192042011-08-01 Jakub Jelinek <jakub@redhat.com>
19205
19206 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
19207 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
19208
5fa16e9b
LD
192092011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19210
19211 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
19212 Fix overflow bug in strncat.
19213 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
19214
19215 * string/test-strncat.c: Update.
19216 Add new tests for checking overflow bugs.
19217
192182011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19219
19220 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19221 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
19222 * sysdeps/i386/i686/multiarch/strcat.S: New file.
19223 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
19224 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
19225 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
19226 * sysdeps/i386/i686/multiarch/strncat.S: New file.
19227 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
19228 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
19229
19230 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
19231 (USE_AS_STRCAT): Define.
19232 Add strcat and strncat support.
19233 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19234
8c1a459f
AS
192352011-07-25 Andreas Schwab <schwab@redhat.com>
19236
19237 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
19238 __n bigger than INT_MAX+1.
19239 (__strncmp_g): Likewise.
19240
bba33c28
UD
192412011-07-23 Ulrich Drepper <drepper@gmail.com>
19242
798be72d
UD
19243 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
19244 * libio/stido.h: Likewise.
19245
8accd4dc
UD
19246 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
19247 (AF_NFC): Define.
19248 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
19249 (AF_NFC): Define.
19250
cbff0d96
UD
19251 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
19252 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19253 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19254 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19255 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19256
9191c04a
UD
19257 [BZ #13021]
19258 * scripts/test-installation.pl: Don't expect libnss_test1 to be
19259 installed.
19260
bba33c28
UD
19261 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
19262 typo.
19263 (_dl_x86_64_save_sse): Likewise.
19264
90f139dd
UD
192652011-07-22 Ulrich Drepper <drepper@gmail.com>
19266
1aae088a
UD
19267 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
19268 OSXSAVE.
19269 (_dl_x86_64_save_sse): Likewise.
19270
8e2045f5
UD
19271 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
19272
90f139dd
UD
19273 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
19274
1d002f25
AS
192752011-07-21 Andreas Schwab <schwab@redhat.com>
19276
19277 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
19278 change.
19279 (_dl_x86_64_save_sse): Use correct AVX check.
19280
21137f89
UD
192812011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19282
19283 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
19284 bug in strncpy/strncat.
19285 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
19286
a65c0b7a
UD
192872011-07-21 Ulrich Drepper <drepper@gmail.com>
19288
19289 * string/tester.c (test_strcat): Add tests for different alignments
19290 of source and destination.
19291 (test_strncat): Likewise.
19292
6986b98a
UD
192932011-07-20 Ulrich Drepper <drepper@gmail.com>
19294
90bb2039
UD
19295 [BZ #12852]
19296 * posix/glob.c (glob): Check passed in values before using them in
19297 expressions to avoid some overflows.
19298 (glob_in_dir): Likewise.
19299
5644ef54
UD
19300 [BZ #13007]
19301 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
19302 check for AVX enablement so that we don't crash with old kernels and
19303 new hardware.
19304 * elf/tst-audit4.c: Add same checks here.
19305 * elf/tst-audit6.c: Likewise.
19306
19307 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 19308
bfc9dc9b
AS
193092011-07-09 Andreas Schwab <schwab@linux-m68k.org>
19310
19311 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
19312
702e64bb
UD
193132011-07-20 Ulrich Drepper <drepper@gmail.com>
19314
19315 * po/cs.po: Update from translation team.
19316 * po/bg.po: Likewise.
19317
295e904f
MP
193182011-07-12 Marek Polacek <mpolacek@redhat.com>
19319
19320 * misc/sys/cdefs.h: Add support for const attribute.
19321 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
19322 to gnu_dev_{major,minor,makedev} functions.
19323
3ff94596
MP
193242011-07-20 Marek Polacek <mpolacek@redhat.com>
19325
19326 * intl/dcigettext.c (get_output_charset): Add missing bracket.
19327
28b59fca
AS
193282011-07-20 Andreas Schwab <schwab@redhat.com>
19329
19330 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
19331 strlen results.
19332
19df733e
AK
193332011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19334
19335 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
19336 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
19337 register in order to avoid conflicts with the soft frame pointer
19338 being held in r11 when necessary.
19339 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19340 (INTERNAL_VSYSCALL_NCS): Likewise.
19341
c8835729
MP
193422011-07-14 Marek Polacek <mpolacek@redhat.com>
19343
19344 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
19345 * elf/dl-fini.c (_dl_fini): Adjust caller.
19346 * elf/dl-close.c (_dl_close_worker): Likewise.
19347 * sysdeps/generic/ldsodefs.h: Adjust declaration.
19348
b902330c
MP
193492011-07-15 Marek Polacek <mpolacek@redhat.com>
19350
8991e135
MP
19351 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
19352 "aux_cache->nlibs < 0".
19353
b902330c
MP
19354 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
19355 in the reload-count case.
19356
99710781
LD
193572011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19358
19359 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19360 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
19361 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
19362 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
19363 * sysdeps/x86_64/multiarch/strcat.S: New file.
19364 * sysdeps/x86_64/multiarch/strncat.S: New file.
19365 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
19366 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
19367 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
19368 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
19369 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
19370 (USE_AS_STRCAT): Define.
19371 Add strcat and strncat support.
19372 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19373 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19374 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
19375 * string/strncat.c: Update.
19376 (USE_AS_STRNCAT): Define.
19377 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19378 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
19379 and i7.
19380 * sysdeps/x86_64/multiarch/init-arch.h
19381 (bit_Prefer_PMINUB_for_stringop): New.
19382 (index_Prefer_PMINUB_for_stringop): Likewise.
19383 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
19384 bit_Prefer_PMINUB_for_stringop.
19385
7dc6bd90
UD
193862011-07-19 Ulrich Drepper <drepper@gmail.com>
19387
19388 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
19389 buffer64.
19390 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
19391 of casting of buffer.
19392 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
19393 buffer32 and buffer64.
19394 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
19395 writes instead of casting of buffer.
19396 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
19397 buffer32.
19398 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
19399 casting of buffer.
19400
e0e72284
AS
194012011-07-19 Andreas Schwab <schwab@redhat.com>
19402
19403 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
19404
feb1eb0b
UD
194052011-07-19 Ulrich Drepper <drepper@gmail.com>
19406
19407 * nscd/nscd.c (termination_handler): Don't do anything for a database
19408 if it has not yet been initialized.
19409
298711ff
UD
194102011-07-18 Ulrich Drepper <drepper@gmail.com>
19411
19412 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19413
194142011-07-15 Marek Polacek <mpolacek@redhat.com>
19415
19416 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19417
f9d68389
UD
194182011-07-18 Ulrich Drepper <drepper@gmail.com>
19419
19420 * po/nl.po: Update from translation team.
19421 * po/sv.po: Likewise.
19422
db290cf5
RM
194232011-07-16 Roland McGrath <roland@hack.frob.com>
19424
19425 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
19426 now disallowed by GCC.
5c550700 19427
fd5e21c7
RM
19428 * configure.in (use-default-link): Default to yes if a test -shared
19429 link meets our qualifications.
19430 * configure: Regenerated.
19431
5c550700
RM
19432 * config.make.in (output-format): New variable.
19433 * configure.in: Check for ld --print-output-format support.
19434 * configure: Regenerated.
19435 * Makerules ($(common-objpfx)format.lds)
19436 [$(output-format) != unknown]: Just use $(output-format),
19437 instead of the linker-script munging.
19438
9fa2c032
RM
194392011-07-14 Roland McGrath <roland@hack.frob.com>
19440
a6928d51
RM
19441 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
19442 of $(common-objpfx)shlib.lds.
19443 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
19444
661607b3
RM
19445 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
19446 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
19447
9fa2c032
RM
19448 * configure.in (-z relro check): Adjust test code to add a large
19449 writable data section after it.
19450 * configure: Regenerated.
19451
defe9061
RM
194522011-07-11 Roland McGrath <roland@hack.frob.com>
19453
19454 * configure.in (-z relro check): Fix test code to make the variable
19455 truly const.
19456 * configure: Regenerated.
19457
319b9ad4
UD
194582011-07-11 Ulrich Drepper <drepper@gmail.com>
19459
19460 * nscd/nscd.h (struct traced_file): Define.
19461 (struct database_dyn): Remove inotify_descr, reset_res, and filename
19462 elements. Add traced_files.
19463 (inotify_fd): Declare.
19464 (register_traced_file): Declare.
19465 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
19466 (inotify_fd): Export.
19467 (resolv_conf_descr): Remove.
19468 (nscd_init): Move inotify descriptor creation to main.
19469 Don't register files for notification here.
19470 (register_traced_file): New function.
19471 (invalidate_cache): Don't use reset_res to determine whether to call
19472 res_init, go through the list of registered files.
19473 (main_loop_poll): The inotify descriptors are now stored in the
19474 structures for the traced files.
19475 (main_loop_epoll): Likewise
19476 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
19477 to __nss_disable_nscd.
19478 * nscd/cache.c (prune_cache): There is no single inotify descriptor
19479 for a database anymore. Check the records for all the registered
19480 files instead.
19481 * nss/Makefile (libnss_files-routines): Add files-init.
19482 (libnss_db-routines): Add db-init.
19483 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
19484 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
19485 * nss/nss_db/db-init.c: New file.
19486 * nss/nss_files/files-init.c: New file.
19487 * nss/nsswitch.c (nss_load_library): New function. Broken out of
19488 __nss_lookup_function.
19489 (__nss_lookup_function): Call nss_load_library.
19490 (nss_load_all_libraries): New function.
19491 (__nss_disable_nscd): Take parameter with callback function for files
19492 to register. Set is_nscd. Load all the DSOs for the NSS modules
19493 used for the cached services.
19494 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
19495 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
19496 options for features to all the files in nscd.
19497
19498 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
19499
23bee3e8
RM
195002011-07-10 Roland McGrath <roland@hack.frob.com>
19501
19502 * csu/elf-init.c (__libc_csu_init): Comment typo.
19503
46a5b7f0
UD
195042011-07-09 Ulrich Drepper <drepper@gmail.com>
19505
19506 * po/pl.po: Update from translation team.
19507 * po/ja.po: Likewise.
19508 * po/ru.po: Likewise.
19509 * po/ko.po: Likewise.
19510 * po/fr.po: Likewise.
19511
d30cf5bb
RM
195122011-07-09 Roland McGrath <roland@hack.frob.com>
19513
113ddea4
RM
19514 * configure.in (.ctors/.dtors header and trailer check):
19515 Use an empirical test on a built program.
19516 * configure: Regenerated.
19517
574920b4
RM
19518 * configure.in (-z relro check): Use an empirical test on a built DSO.
19519 Detect, but do not require, on ia64.
19520 * configure: Regenerated.
19521
d30cf5bb
RM
19522 * configure.in (READELF): Find it with AC_CHECK_TOOL.
19523 Update tests that use readelf to use $READELF instead.
19524 * configure: Regenerated.
19525
8538fdb3
UD
195262011-07-08 Ulrich Drepper <drepper@gmail.com>
19527
19528 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
19529 if the result is not used.
19530
04d08991
AJ
195312011-07-05 Andreas Jaeger <aj@suse.de>
19532
19533 [BZ#9696]
19534 * stdlib/tst-strtod.c: Add testcase.
19535
de283087
AD
195362011-07-07 Ulrich Drepper <drepper@gmail.com>
19537
4e5f31c8 19538 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 19539 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
19540 The latter has a higher limit. Take additional parameter to pass to
19541 the new function.
19542 (__pathconf): Pass file to __statfs_link_max.
19543 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
19544 __statfs_link_max.
19545 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
19546 __statfs_link_max.
19547
de283087
AD
19548 [BZ #12868]
19549 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
19550 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19551 Handle Lustre.
19552 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
19553 (__statfs_filesize_max): Likewise.
19554 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
19555
c75fa153
AJ
195562011-07-05 Andreas Jaeger <aj@suse.de>
19557
19558 * resolv/res_comp.c (dn_skipname): Remove unused variable.
19559
1a544854
UD
195602011-07-06 Marek Polacek <mpolacek@redhat.com>
19561
19562 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
19563 `status' variable.
19564 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
19565 Likewise.
19566
6f0eec67
UD
195672011-07-04 H.J. Lu <hongjiu.lu@intel.com>
19568
19569 * Makefile (strop-tests): Add strncat.
19570 * string/test-strncat.c: New file.
19571
aae30307
UD
195722011-06-30 Marek Polacek <mpolacek@redhat.com>
19573
19574 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
19575
c0cfb5eb
UD
195762011-06-21 Andreas Jaeger <aj@suse.de>
19577
19578 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
19579 Copy rule from iconvdata/Makefile.
19580
01636b21
UD
195812011-07-06 Ulrich Drepper <drepper@gmail.com>
19582
19583 [BZ #12922]
19584 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
19585 but no long options are defined, just return 'W'.
19586
9895c8bc
UD
195872011-06-22 Marek Polacek <mpolacek@redhat.com>
19588
19589 [BZ #9696]
19590 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
19591
5d4cf042
UD
195922011-07-06 Ulrich Drepper <drepper@gmail.com>
19593
19594 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
19595 netgroups to read.
960e5535 19596 (innetgr): Likewise.
5d4cf042 19597
751eb97e
RM
195982011-07-05 Roland McGrath <roland@hack.frob.com>
19599
19600 * config.make.in (install_root): Default to $(DESTDIR).
19601
f15f1e45
UD
196022011-07-05 Ulrich Drepper <drepper@gmail.com>
19603
19604 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
19605
4e34ac6a
RM
196062011-07-02 Roland McGrath <roland@hack.frob.com>
19607
5e9b6af4
RM
19608 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
19609
84f9ea0f
RM
19610 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
19611 containing directory rather than embedding absolute directory names.
19612
ea5ee9f7
RM
19613 * scripts/check-local-headers.sh: Rewritten using awk.
19614 Match by word, not by line. Print error messages for matches.
19615 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
19616
1b74661a
RM
19617 * Makerules [shlib-lds-flags empty]:
19618 ($(common-objpfx)libc_pic.opts): New target.
19619 ($(common-objpfx)libc_pic.os.clean): New target.
19620 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
19621
19622 * config.make.in (OBJCOPY): New variable.
19623 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
19624 * configure: Regenerated.
19625
f781ef40
RM
19626 * config.make.in (use-default-link): New variable.
19627 * configure.in (use_default_link): Grok --with-default-link to set it.
19628 * configure: Regenerated.
19629 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
19630 (shlib-lds, shlib-lds-flags): Define to empty.
19631
2d4fa81e
RM
19632 * Makerules (shlib-lds): New variable.
19633 (shlib-lds-flags): New variable.
19634 (build-shlib, build-moduile, build-module-asneeded): Use it.
19635 ($(common-objpfx)libc.so): Use $(shlib-lds).
19636 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
19637 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
19638
31fffa6b
RM
19639 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
19640 DT_FLAGS/DT_FLAGS_1 with zero flags.
19641
4e34ac6a
RM
19642 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
19643 linker script munging.
19644
fcfc776b
UD
196452011-07-02 Ulrich Drepper <drepper@gmail.com>
19646
19647 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
19648 as 128-bit value.
19649 * crypt/sha512.c (sha512_process_block): Perform total addition using
19650 128-bit if possible.
19651 (__sha512_finish_ctx): Likewise.
19652 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
19653 as 64-bit value.
19654 * crypt/sha256.c (SWAP64): Define.
19655 (sha256_process_block): Perform total addition using 64-bit if
19656 possible.
19657 (__sha256_finish_ctx): Likewise.
19658
99231d9a
UD
196592011-07-01 Ulrich Drepper <drepper@gmail.com>
19660
19661 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
19662 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19663 * nscd/hstcache.c (cache_addhst): Likewise.
19664 * nscd/grpcache.c (cache_addgr): Likewise.
19665 * nscd/aicache.c (addhstaiX): Likewise
19666 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
19667
445b4a53
TK
196682011-07-01 Thorsten Kukuk <kukuk@suse.de>
19669
19670 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
19671 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19672 * nscd/hstcache.c (cache_addhst): Likewise.
19673 * nscd/grpcache.c (cache_addgr): Likewise.
19674 * nscd/aicache.c (addhstaiX): Likewise
19675
6d4d8e8e
AS
196762011-07-01 Andreas Schwab <schwab@redhat.com>
19677
19678 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
19679 domain only when needed.
19680
89f654c5
AS
196812011-06-30 Andreas Schwab <schwab@redhat.com>
19682
19683 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
19684 is always restored.
19685
cf3b23ff
UD
196862011-06-29 Ulrich Drepper <drepper@gmail.com>
19687
19688 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
19689 are re-adding the entry.
19690 * nscd/servicescache.c (cache_addserv): Likewise.
19691
751626f9
AJ
196922011-06-30 Aurelien Jarno <aurelien@aurel32.net>
19693
19694 * sysdeps/generic/dl-irel.h: fix protection against multiple
19695 inclusions.
19696 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
19697
9113ea1f
UD
196982011-06-28 Ulrich Drepper <drepper@gmail.com>
19699
5c0b8d90
UD
19700 [BZ #12935]
19701 * malloc/memusage.sh: Fix quoting in message.
19702 * debug/xtrace.sh: Likewise.
19703
9113ea1f
UD
19704 * configure.in: Remove support for --experimental-malloc option, make
19705 it the default.
19706 * config.make.in: Likewise.
19707 * malloc/Makefile: Likewise.
19708
a4172181
AS
197092011-06-27 Andreas Schwab <schwab@redhat.com>
19710
19711 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
19712 two-byte characters.
19713
78a7eee7
RM
197142011-06-27 Roland McGrath <roland@hack.frob.com>
19715
62bede13
RM
19716 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
19717 AC_CACHE_CHECK invocation.
19718 * configure: Regenerated.
19719
78a7eee7
RM
19720 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
19721
5ce33a62
UD
197222011-06-27 Ulrich Drepper <drepper@gmail.com>
19723
034807a9
UD
19724 [BZ #12350]
19725 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
19726 bit from old_res_options.
19727
4902da17
UD
19728 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
19729
5ce33a62
UD
19730 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
19731 value type for setfct.
19732
c2344f56
L
197332011-06-23 H.J. Lu <hongjiu.lu@intel.com>
19734
19735 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19736 __gettimeofday instead of gettimeofday.
19737
68468076
UD
197382011-06-26 Ulrich Drepper <drepper@gmail.com>
19739
19740 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
19741
acb0d739
L
197422011-06-24 H.J. Lu <hongjiu.lu@intel.com>
19743
19744 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
19745
19746 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
19747 info.
19748
8912479f
L
197492011-06-22 H.J. Lu <hongjiu.lu@intel.com>
19750
19751 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19752 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19753 strcpy-sse2-unaligned strncpy-sse2-unaligned
19754 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
19755 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
19756 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
19757 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
19758 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
19759 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
19760 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
19761 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
19762 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
19763 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
19764 (STRCPY): Support SSE2 and SSSE3 versions.
19765
d5495a11
UD
197662011-06-24 Ulrich Drepper <drepper@gmail.com>
19767
19768 [BZ #12874]
19769 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
19770 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
19771 kernels which artificially limit size of requests.
19772
0b1cbaae
L
197732011-06-22 H.J. Lu <hongjiu.lu@intel.com>
19774
19775 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19776 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19777 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
19778 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
19779 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
19780 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
19781 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
19782 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
19783 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
19784 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
19785 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
19786 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
19787 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
19788 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
19789 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
19790 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19791 Enable unaligned load optimization for Intel Core i3, i5 and i7
19792 processors.
19793 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
19794 Define.
19795 (index_Fast_Unaligned_Load): Define.
19796 (HAS_FAST_UNALIGNED_LOAD): Define.
19797
07f494a0
MP
197982011-06-23 Marek Polacek <mpolacek@redhat.com>
19799
19800 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
19801
fa3fc0fe
UD
198022011-06-22 Ulrich Drepper <drepper@gmail.com>
19803
19804 [BZ #12907]
19805 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
19806 until it is clear that the information is realy needed.
19807 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
19808
e12df166
AS
198092011-06-22 Andreas Schwab <schwab@redhat.com>
19810
19811 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
19812
852eb34d
UD
198132011-06-22 Ulrich Drepper <drepper@gmail.com>
19814
84e2a551
UD
19815 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19816 /sys/devices/system/cpu/online if it is usable.
19817
852eb34d
UD
19818 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
19819 reading the information from the /proc filesystem to once a second.
19820
6e502e19
UD
198212011-06-21 Andreas Jaeger <aj@suse.de>
19822
19823 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
19824 NULL after inclusion of kernel headers.
19825
75d39ff2
UD
198262011-06-21 Ulrich Drepper <drepper@gmail.com>
19827
51f9aa6a
UD
19828 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
19829 calls to internal_setent.
19830
c0244a9d
UD
19831 [BZ #12885]
19832 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
19833 addresses using gethostbyname4_r ignore IPv4 addresses.
19834
c5e3c2ae
UD
19835 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
19836 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
19837
75d39ff2
UD
19838 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
19839
42675c6f
DM
198402011-06-20 David S. Miller <davem@davemloft.net>
19841
19842 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
19843 inclusions.
19844 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
19845
19846 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
19847 (elf_irel): Use it.
19848 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
19849 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
19850 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
19851 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
19852 * sysdeps/x86_64/dl-irel.h: Likewise.
19853
19854 * elf/dl-runtime.c: Use elf_ifunc_invoke.
19855 * elf/dl-sym.c: Likewise.
19856
57912a71
UD
198572011-06-15 Ulrich Drepper <drepper@gmail.com>
19858
19859 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
19860 need to dereference resplen2.
19861
ee22793d
AS
198622011-06-14 Andreas Schwab <schwab@redhat.com>
19863
19864 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
19865
a9e836b0
UD
198662011-06-15 Ulrich Drepper <drepper@gmail.com>
19867
77fb9117
UD
19868 * Makeconfig: Define vardbdir and inst_vardbdir.
19869 * nss/Makefile: Add rules to install db-Makefile.
19870
40c1b22c
UD
19871 * nss/nss_db/db-XXX.c: Cleanup.
19872
9f2da732
UD
19873 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
19874 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
19875 GLIBC_PRIVATE.
19876 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
19877 * nss/makedb.c: Implement -g option to specify that value strings
19878 are generated and should not be added to table iterated over for
19879 get*ent calls.
19880 * nss/nss_db/db-initgroups.c: New file.
19881
82e9a1f7
UD
19882 * nss/getent.c: Add support for initgroups lookups through getgrouplist
19883 interface.
19884
c41af17e
UD
19885 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
19886 (internal_getgrouplist): Adjust to name change.
19887 Update use_initgroups_entry if this is not the first call.
19888 * nss/databases.def: Add initgroups entry.
19889
a9e836b0
UD
19890 * nss/makedb.c (compute_tables): Check result of multiple hash table
19891 sizes to minimize maximum chain length.
19892
2666d441
UD
198932011-06-14 Ulrich Drepper <drepper@gmail.com>
19894
19895 * Versions.def: Add entry for libnss_db.
19896 * shlib-versions: Likewise.
19897 * nss/Makefile: Add rules to build libnss_db.
19898 * nss/Versions: Add libnss_db information. Organize libnss_files
19899 entries better.
19900 * nss/db-Makefile: Add gshadow support. Change rules for the new
19901 makedb progra. Some minor improvements to generate smaller files.
19902 * nss/nss_db/nss_db.h: Move NSS database header data structures to
19903 here from...
19904 * nss/makedb.c: ...here.
19905 Improve database format to be smaller and require less memory at
19906 runtime.
19907 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
19908 db anymore.
19909 * nss/nss_db/db-netgrp.c: Likewise.
19910 * nss/nss_db/db-open.c: Likewise.
19911 * nss/nss_files/flies-XXX.x: Adjust comments.
19912 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
19913 * nss/nss_files/files-grp.c: Likewise.
19914 * nss/nss_files/files-hosts.c: Likewise.
19915 * nss/nss_files/files-network.c: Likewise.
19916 * nss/nss_files/files-proto.c: Likewise.
19917 * nss/nss_files/files-pwd.c: Likewise.
19918 * nss/nss_files/files-rpc.c: Likewise.
19919 * nss/nss_files/files-service.c: Likewise.
19920 * nss/nss_files/files-sgrp.c: Likewise.
19921 * nss/nss_files/files-spwd.c: Likewise.
19922 * nss/nss_db/db-alias.c: Removed.
19923 * nss/nss_db/dummy-db.h: Removed.
19924
9ee76b5a
UD
199252011-06-02 Ulrich Drepper <drepper@gmail.com>
19926
19927 * nss/makedb.c: Rewritten to not use database library.
19928 * nss/Makefile: Update to build new makedb program.
19929
c71ca1f8
AJ
199302011-06-14 Andreas Jaeger <aj@suse.de>
19931
19932 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
19933 memset declaration.
19934
3154bfb8
UD
199352011-06-10 Andreas Schwab <schwab@redhat.com>
19936
19937 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
19938 tmpbuf.
19939
b350afab
RM
199402011-06-10 Roland McGrath <roland@hack.frob.com>
19941
decd4e50
RM
19942 * Makerules (shlib.lds): Fail if the linker script comes out empty.
19943 * elf/Makefile ($(objpfx)ld.so): Likewise.
19944
5615eaf2
RM
19945 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
19946 Don't list ld.so twice in dependencies.
19947
19948 * posix/bug-regex31.c: Include <stdlib.h>.
19949
19950 * nscd/hstcache.c (cache_addhst): Remove unused variable.
19951
19952 * nis/nss_compat/compat-spwd.c
19953 (getspent_next_nss_netgr): Remove unused variable.
19954 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
19955
19956 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
19957 nonmembers" output to use the right array.
19958
19959 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
19960
19961 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
19962
19963 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
19964 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
19965 * catgets/gencat.c (read_input_file): Likewise.
19966 * locale/programs/locarchive.c (enlarge_archive): Likewise.
19967
19968 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
19969 variable definition inside #if's controlling its use.
19970
19971 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
19972
19973 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
19974
19975 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
19976
19977 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
19978 unreachable code.
19979
19980 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
19981
b68e08db
RM
19982 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
19983 * configure: Regenerated.
19984
b350afab
RM
19985 * Makerules: Revert last change.
19986 * elf/Makefile: Likewise.
19987
28368601
RM
199882011-06-09 Roland McGrath <roland@hack.frob.com>
19989
19990 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
19991 * elf/Makefile ($(objpfx)librtld.os): Likewise.
19992 (reloc-link): Likewise.
19993
11988f8f
UD
199942011-06-09 Ulrich Drepper <drepper@gmail.com>
19995
19996 * elf/Makefile: Add rules to build pldd.
19997 * elf/pldd.c: New file.
19998 * elf/pldd-xx.c: New file.
19999
e80fab37
UD
200002011-06-07 Ulrich Drepper <drepper@gmail.com>
20001
20002 * version.h: Update for 2.15 development version.
20003
9b849836
DM
200042011-06-07 David S. Miller <davem@davemloft.net>
20005
20006 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
20007 ifuncs.
20008 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
20009 elf_machine_lazy_rel): Likewise.
20010 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
20011 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
20012 elf_machine_lazy_rel): Likewise.
20013 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
20014 dl_hwcap via passed in argument.
20015 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
20016 Likewise.
20017
5a31b283
AK
200182011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20019
20020 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
20021
069e52f8
RM
200222011-06-06 Roland McGrath <roland@hack.frob.com>
20023
20024 [BZ #12849]
20025 * manual/fdl-1.1.texi: New file, verbatim from:
20026 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
20027 * manual/lgpl-2.1.texi: New file, verbatim from:
20028 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
20029 * manual/Makefile (licenses): New variable, list those new file names.
20030 (texis): Use it.
20031 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
20032
20033 * manual/fdl.texi: File removed.
20034 * manual/lesser.texi: File removed.
20035 * manual/libc.texinfo (Copying, Documentation License):
20036 Use new @include file names, put @appendix directive before @include.
20037
f16846a5
JJ
200382011-06-04 Jakub Jelinek <jakub@redhat.com>
20039
20040 [BZ #12841]
20041 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
20042 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
20043 (mq_open): Add __NTH.
20044
3d29045b
L
200452011-06-02 H.J. Lu <hongjiu.lu@intel.com>
20046
20047 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20048 Assume Intel Core i3/i5/i7 processor if AVX is available.
20049
8c297311
UD
200502011-05-31 Ulrich Drepper <drepper@gmail.com>
20051
20052 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20053 typo.
20054
c8fc0c91
UD
200552011-05-31 Andreas Schwab <schwab@redhat.com>
20056
20057 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
20058 memory. Use alloca_account. Fix memory leak when retrying.
20059
5b27a807
UD
200602011-05-31 Ulrich Drepper <drepper@gmail.com>
20061
356f8bc6
UD
20062 * version.h (RELEASE): Bump for 2.14 release.
20063 * include/features.h (__GLIBC_MINOR__): Bump to 14.
20064
5b27a807
UD
20065 * config.make.in (RANLIB): Remove entry.
20066
01f16ab0
UD
200672011-05-30 Ulrich Drepper <drepper@gmail.com>
20068
41fce8bd
UD
20069 * po/Makefile (po-sed-cmd): Add ksh to extensions.
20070 (libc.pot): Work around missing support for .ksh extension in xgettext.
20071
4769ae77
UD
20072 [BZ #12684]
20073 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
20074 if both request failed.
20075 (send_dg): In case of server errors clear resplen or *resplen2.
20076
6b1e7d19
UD
20077 [BZ #12454]
20078 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
20079 when there are multiple maps.
20080 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
20081 (_dl_fini): Remove test here.
20082
01f16ab0
UD
20083 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
20084
b1ebd700
UD
200852011-05-29 Ulrich Drepper <drepper@gmail.com>
20086
7ae22829
UD
20087 [BZ #12350]
20088 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
20089 bit from old_res_options.
20090 (gaih_inet): Likewise.
20091
553149f6 20092 [BZ #11099]
18a84741 20093 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
20094 as signed.
20095
652ffab1
UD
20096 * resolv/res_init.c (res_setoptions): Make the code more compact.
20097
16985fd0
UD
20098 [BZ #11558]
20099 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
20100 set RES_USEVC.
20101
0464f746
UD
20102 [BZ #11634]
20103 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
20104
7d17596c
UD
20105 * malloc/malloc.h: Mark malloc hook variables as deprecated.
20106
cf6bbbd7
UD
20107 [BZ #11781]
20108 * malloc/malloc.h: Declare malloc hook variables as volatile.
20109
13f1ab36
UD
20110 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
20111 in last patch.
20112
b1ebd700
UD
20113 [BZ #11799]
20114 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 20115 raise in the comment.
80e2212d
UD
20116 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20117 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20118 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 20119
ce67228d
UD
201202011-05-28 Ulrich Drepper <drepper@gmail.com>
20121
8887a920
UD
20122 [BZ #12811]
20123 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
20124 grow the buffers more if it already has to be sufficient.
20125 (build_wcs_upper_buffer): Likewise.
20126 * posix/regexec.c (check_matching): Likewise.
20127 (clean_state_log_if_needed): Likewise.
20128 (extend_buffers): Don't enlarge buffers beyond size of the input
20129 buffer.
20130 Patches mostly by Emil Wojak <emil@wojak.eu>.
20131 * posix/bug-regex32.c: New file.
20132 * posix/Makefile (tests): Add bug-regex32.
20133
4f031072
UD
20134 * locale/findlocale.c (_nl_find_locale): Return right away if
20135 _nl_explode_name failed.
20136 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
20137
d0478f0c
UD
20138 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
20139
de81b246
UD
20140 * debug/xtrace.sh: Unify messages.
20141 * malloc/memusage.sh: Likewise.
20142
c738465a
UD
20143 [BZ #12813]
20144 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
20145 time symbol from vDSO. Substitute with vsyscall if not available.
20146 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
20147 __vdso_time.
20148
f1f929d7
UD
20149 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
20150 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
20151 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
20152 Add sendmmsg and internal_sendmmsg.
20153 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
20154 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
20155 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
20156
ce67228d
UD
20157 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
20158 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
20159 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
20160
e57420c6
UD
201612011-05-27 Ulrich Drepper <drepper@gmail.com>
20162
a8509ca5
UD
20163 [BZ #12813]
20164 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
20165 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
20166 available.
20167 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
20168 __vdso_getcpu.
20169
e57420c6
UD
20170 [BZ #12814]
20171 * iconvdata/Makefile (tests): Add bug-iconv9.
20172 * iconvdata/bug-iconv9.c: New file.
20173
4d07db15
AS
201742011-05-27 Andreas Schwab <schwab@redhat.com>
20175
20176 [BZ #12814]
20177 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
20178
ea486f69
JJ
201792011-05-25 Jakub Jelinek <jakub@redhat.com>
20180
20181 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20182 (struct user_regs_struct): Change intcs field back to cs.
20183
6f038433
UD
201842011-05-25 Ulrich Drepper <drepper@gmail.com>
20185
20186 * po/ja.po: Update from translation team.
20187
67f86a25
UD
201882011-05-23 Ulrich Drepper <drepper@gmail.com>
20189
20190 [BZ #12795]
20191 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
20192 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
20193
def7fbd6
AS
201942011-05-20 Andreas Schwab <schwab@redhat.com>
20195
20196 * stdlib/longlong.h: Update from GCC.
20197
f50ef8f1
AS
201982011-05-23 Andreas Schwab <schwab@redhat.com>
20199
20200 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
20201 parameter name.
20202 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
20203 Add parameter name.
20204 (__sysconf): Pass it down.
20205
de7ce8f1
UD
202062011-05-22 Ulrich Drepper <drepper@gmail.com>
20207
f2962a71
UD
20208 [BZ #12671]
20209 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
20210 some situations.
20211 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
20212 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
20213 add in in __libc_use_alloca calls. Adjust callers.
20214 (glob): Use malloc in some situations.
20215
de7ce8f1
UD
20216 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
20217 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
20218 pltexit.
20219
aec84f53
UD
202202011-05-21 Ulrich Drepper <drepper@gmail.com>
20221
05bb4a68
UD
20222 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
20223 and CLOCK_BOOTTIME_ALARM.
20224
7ea72f99
UD
20225 [BZ #12782]
20226 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
20227 is returned.
20228
7e4afad5
UD
20229 * string/_strerror.c (__strerror_r): Print negative errors as signed
20230 numbers.
20231
8e211fec
UD
20232 [BZ #12777]
20233 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
20234 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
20235 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
20236
f7d82dc9
UD
20237 * configure.in: Fix typo in redirection and correct removal of test
20238 files in two cases.
20239
cc9e536d
UD
20240 [BZ #12788]
20241 * locale/setlocale.c (new_composite_name): Fix test to check for
20242 identical name of all categories.
20243
aec84f53
UD
20244 [BZ #12792]
20245 * libio/filedoalloc.c (local_isatty): New function.
20246 (_IO_file_doallocate): Use local_isatty.
20247 * stdio-common/perror.c (perror): In case a new stream is used
20248 forward the stream error.
20249 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
20250 error flag.
20251
78e64fdc
RT
202522011-05-20 Ulrich Drepper <drepper@gmail.com>
20253
34a9094f
UD
20254 [BZ #11869]
20255 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
20256 alloca.
20257 * include/alloca.h (extend_alloca_account): Define.
20258
78e64fdc
RT
20259 [BZ #11857]
20260 * posix/regex.h: Fix comments with documentation of user-accessible
20261 fields after compilation and describe correct free'ing of pattern
20262 after re_compile_pattern.
20263 Patch by Reuben Thomas <rrt@sc3d.org>.
20264
457bddfc
RA
202652011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
20266
20267 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
20268 and -mno-altivec to prevent the compiler from using Altivec and/or
20269 VSX instructions when the corresponding registers are not available.
20270
a4527b51
AS
202712011-05-19 Andreas Schwab <schwab@redhat.com>
20272
20273 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
20274
ed690b2f
UD
202752011-05-19 Ulrich Drepper <drepper@gmail.com>
20276
20277 * libio/freopen.c (freopen): Use __dup2, not dup2.
20278 * libio/freopen64.c (freopen64): Likewise.
20279
8db73634
L
202802011-05-17 H.J. Lu <hongjiu.lu@intel.com>
20281
20282 [BZ #12775]
20283 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
20284 * math/Makefile (tests): Add test-powl.
20285 (CFLAGS-test-powl.c): Define.
20286 * math/test-powl.c: New file.
20287
0a197a9d
L
202882011-05-16 H.J. Lu <hongjiu.lu@intel.com>
20289
20290 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
20291
ee30c380
UD
202922011-05-17 Ulrich Drepper <drepper@gmail.com>
20293
20294 [BZ #11837]
20295 * iconvdata/gb18030.c: Update to GB18020-2005.
20296
6ce75379
UD
202972011-05-16 Ulrich Drepper <drepper@gmail.com>
20298
a4b89fd8
AR
20299 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
20300 RE_SYNTAX_POSIX_AWK): Update to match recent development.
20301 Patch by Aharon Robbins <arnold@skeeve.com>.
20302
ea389b12
UD
20303 [BZ #11892]
20304 * stdlib/putenv.c (putenv): Don't always create copy of the variable
20305 on the stack.
20306
68a3f91f
UD
20307 [BZ #11895]
20308 * misc/pselect.c (__pselect): Handle timeout value errors hidden
20309 through underflows.
20310
15cc7dd1
UD
20311 [BZ #12766]
20312 * misc/error.c (error_at_line): Ensure file_name and old_file_name
20313 point to strings before performing equality test for error_one_per_line
20314 mode.
20315
f3799213
UD
20316 [BZ #11697]
20317 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
20318
d79a9c94
UD
20319 [BZ #11820]
20320 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20321 (struct user_fpregs_struct): Avoid __uint*_t types.
20322
56e5eb46
UD
20323 [BZ #6420]
20324 * malloc/mtrace.c (tr_where): Add additional parameter to point to
20325 symbol info. Use it instead of calling _dl_addr locally.
20326 (lock_and_info): New function.
20327 (tr_freehook): Call lock_and_info and pass symbol info as additional
20328 parameter to tr_where.
20329 (tr_mallochook): Likewise.
20330 (tr_reallochook): Likewise.
20331 (tr_memalignhook): Likewise.
20332
6ce75379
UD
20333 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
20334 used and couldn't be at all thread-safe.
20335
f8a3b5bf
UD
203362011-05-15 Ulrich Drepper <drepper@gmail.com>
20337
94b7cc37
UD
20338 * libio/freopen.c (freopen): Don't close old file descriptor
20339 before the new one is opened. Instead dup the new file descriptor
20340 to the old one after the new stream is created.
20341 * libio/freopen64.c (freopen64): Likewise.
20342 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
20343 * libio/fileops.c (_IO_new_file_close_it): Handle new
20344 _IO_FLAGS2_NOCLOSE flag.
20345 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
20346 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
20347 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
20348 _IO_FLAGS2_NOCLOSE flag.
20349 * include/unistd.h: Add hidden_proto for dup3.
20350 Define __have_dup3.
20351 * io/dup3.c: Define hidden symbol.
20352 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
20353
bd25564e
UD
20354 [BZ #7101]
20355 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
20356 when an incomplete long option is used.
20357 * posix/tst-getopt_long1.c: New file.
20358 * posix/Makefile (tests): Add tst-getopt_long1.
20359
c84cfef4
UD
20360 [BZ #10138]
20361 * scripts/config.guess: Update from autoconf-2.68.
20362 * scripts/config.sub: Likewise.
20363
3b85df27
UD
20364 [BZ #10157]
20365 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
20366 tests into ...
20367 (has_cpuclock): ...this. New function.
20368 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
20369 macro here based on has_cpuclock code.
20370
15a856b1
UD
20371 [BZ #10149]
20372 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20373 First byte (not low byte) is now always NUL.
20374 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
20375
05f399e6
UD
20376 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20377 Use non-cancelable interfaces.
20378
10a52685 20379 [BZ #9809]
94ecc67d
UD
20380 * locale/iso-639.def: Add entry for Sorani.
20381
f8a3b5bf
UD
20382 [BZ #11901]
20383 * include/stdlib.h: Move include protection to the right place.
20384 Define abort_msg_s. Declare __abort_msg with it.
20385 * stdlib/abort.c (__abort_msg): Adjust type.
20386 * assert/assert.c (__assert_fail_base): New function. Majority
20387 of code from __assert_fail. Allocate memory for __abort_msg with
20388 mmap.
20389 (__assert_fail): Now call __assert_fail_base.
20390 * assert/assert-perr.c: Remove bulk of implementation. Use
20391 __assert_fail_base.
20392 * include/assert.hL Declare __assert_fail_base.
20393 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
20394 mmap.
20395 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
20396
1af4e298
UD
203972011-05-14 Ulrich Drepper <drepper@gmail.com>
20398
f8a3b5bf 20399 [BZ #11952]
d26dfc60
MG
20400 [BZ #12453]
20401 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
20402 until all modules are registered in the DTV.
20403 * elf/Makefile: Add rules to build and run tst-tls19.
20404 * elf/tst-tls19.c: New file.
20405 * elf/tst-tls19mod1.c: New file.
20406 * elf/tst-tls19mod2.c: New file.
20407 * elf/tst-tls19mod3.c: New file.
20408 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
20409
2fc54d6f
UD
20410 [BZ #12083]
20411 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
20412 correctly.
20413
98d76b46
UD
20414 [BZ #12601]
20415 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
20416 two-byte sequence errors.
20417 * iconvdata/Makefile (tests): Add bug-iconv8.
20418 * iconvdata/bug-iconv8.c: New file.
20419
da3c19ef
UD
20420 [BZ #12626]
20421 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
20422 buf2 definition.
20423
ca408c15
UD
20424 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
20425
d6f67f7d
UD
20426 [BZ #12432]
20427 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
20428 (dummy_getcfa): New function.
20429 (init): Get _Unwind_GetCFA address, use dummy if not found.
20430 (backtrace_helper): In recursion check, also check whether CFA changes.
20431 (__backtrace): Completely initialize arg.
20432
1af4e298 20433 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
20434 storing incomplete byte sequence in state object. Avoid testing for
20435 guaranteed too small input if we know there is enough data available.
1af4e298 20436
da62f81b
AS
204372011-05-11 Andreas Schwab <schwab@redhat.com>
20438
20439 * Makeconfig (+link-pie): Indent.
20440 * Rules (binaries-pie): Define if $(have-fpie) and
20441 $(build-shared).
20442 (binaries-shared): Also filter out $(binaries-pie).
20443 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
20444 * nscd/Makefile (others-pie): Add nscd.
20445 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
20446 ($(objpfx)nscd): Remove command override.
20447 * login/Makefile (others-pie): Add pt_chown.
20448 ($(objpfx)pt_chown): Remove command override.
20449 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
20450 remove command overrides.
20451
fcabc0f8
UD
204522011-05-13 Ulrich Drepper <drepper@gmail.com>
20453
20030ae6
UD
20454 * libio/tst_putwc.c: Fix error messages.
20455
fcabc0f8
UD
20456 [BZ #12724]
20457 * libio/fileops.c (_IO_new_file_close_it): Always flush when
20458 currently writing and seek to current position when not.
20459 * libio/Makefile (tests): Add bug-fclose1.
20460 * libio/bug-fclose1.c: New file.
20461
320a5dc0
PB
204622011-05-12 Ulrich Drepper <drepper@gmail.com>
20463
20464 [BZ #12511]
20465 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
20466 don't set DF_1_NODELETE here.
20467 (do_lookup_x): When entering new entry test for copy relocation
20468 and if necessary set DF_1_NODELETE flag.
20469 * elf/tst-unique4.cc: New file.
20470 * elf/tst-unique4.h: New file.
20471 * elf/tst-unique4lib.cc: New file.
20472 * elf/Makefile: Add rules to build and run tst-unique4.
20473 Patch by Piotr Bury <pbury@goahead.com>.
20474
22836f52
UD
204752011-05-11 Ulrich Drepper <drepper@gmail.com>
20476
f574184a
UD
20477 [BZ #12052]
20478 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
20479
e1fb097f
UD
20480 [BZ #12625]
20481 * misc/mntent_r.c (addmntent): Flush the stream after the output
20482
22836f52
UD
20483 [BZ #12393]
20484 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
20485 (is_trusted_path_normalize): Skip initial colon. Append slash
20486 to empty buffer. Duplicate is_trusted_path code but allow
20487 constructed patch to be prefix.
20488 (is_dst): Allow $ORIGIN followed by /.
20489 (_dl_dst_substitute): Correct clearing of check_for_trusted.
20490 Correct testing of result of is_trusted_path_normalize
20491 (decompose_rpath): Fix warning.
20492
7b3b0b2a
UD
204932011-05-10 Ulrich Drepper <drepper@gmail.com>
20494
20495 [BZ #11257]
20496 * grp/initgroups.c (internal_getgrouplist): When we found the service
20497 list through the initgroups entry in nsswitch.conf do not always
20498 continue on a successful lookup. Don't always use the
eac80ce2 20499 __nss_group_database value if it is set.
7b3b0b2a
UD
20500 * nss/nsswitch.conf (initgroups): Change action for successful db
20501 lookup to continue for compatibility.
20502
2a81eaa5
UD
205032011-05-09 Ulrich Drepper <drepper@gmail.com>
20504
be97a69e
UD
20505 [BZ #11532]
20506 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
20507 and CP774 modules.
20508 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
20509 and CP774 modules.
20510 * iconvdata/tst-tables.sh: Likewise.
20511 * iconvdata/cp770.c: New file.
20512 * iconvdata/cp771.c: New file.
20513 * iconvdata/cp772.c: New file.
20514 * iconvdata/cp773.c: New file.
20515 * iconvdata/cp774.c: New file.
20516 * iconvdata/testdata/CP770: New file.
20517 * iconvdata/testdata/CP770..UTF8: New file.
20518 * iconvdata/testdata/CP771: New file.
20519 * iconvdata/testdata/CP771..UTF8: New file.
20520 * iconvdata/testdata/CP772: New file.
20521 * iconvdata/testdata/CP772..UTF8: New file.
20522 * iconvdata/testdata/CP773: New file.
20523 * iconvdata/testdata/CP773..UTF8: New file.
20524 * iconvdata/testdata/CP774: New file.
20525 * iconvdata/testdata/CP774..UTF8: New file.
20526
20527 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
20528 END CHARMAP line.
20529 * iconvdata/gen-8bit-gap.sh: Likewise.
20530 * iconvdata/gen-8bit.sh: Likewise.
20531
c1e9e399
UD
20532 * locale/iso-639.def: Add ary entry.
20533
24c55fb3 20534 [BZ #11258]
96b4b1b0
UD
20535 * locale/C-translit.h.in: Add U20A1 transliteration.
20536
bdc2f971
KB
20537 [BZ #12178]
20538 * locale/iso-639.def: Add wae entry.
20539 Patch by Kevin Bortis <bortis@translate-wae.ch>.
20540
2952b117
UD
20541 [BZ #12545]
20542 * locale/programs/localedef.c (construct_output_path): Use ssize_t
20543 for n.
20544
2a81eaa5
UD
20545 [BZ #12711]
20546 * locale/C-translit.h.in: Add entry for U20B9.
20547 Patch by pravin.d.s@gmail.com.
20548
28377d1b
UD
205492011-05-08 Ulrich Drepper <drepper@gmail.com>
20550
7fb90fb8
UD
20551 [BZ #12713]
20552 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
20553 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
20554 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
20555 in rtld. Use *stat64.
7fb90fb8 20556 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 20557 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 20558 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
20559 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
20560 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
20561 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
20562 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
20563 __fstatat64 macros.
7fb90fb8
UD
20564 * include/dirent.h: Add libc_hidden_proto for rewinddir.
20565 * dirent/rewinddir.c: Add libc_hidden_def.
20566 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 20567 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 20568
28377d1b
UD
20569 * include/dirent.h (__alloc_dir): Add flags parameter.
20570 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
20571 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
20572 __alloc_dir.
20573 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
20574 from fdopendir if O_CLOEXEC is already set.
20575
66bdbaa4
AM
205762011-03-15 Alan Modra <amodra@gmail.com>
20577
20578 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
20579 l_tls_firstbyte_offset non-zero. Save padding offset in
20580 l_tls_firstbyte_offset for later use.
20581 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
20582 freeing static tls block.
20583
95721191
JN
205842011-03-05 Jonathan Nieder <jrnieder@gmail.com>
20585
20586 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
20587 where #ifdef was intended. The intent is to prevent ARG_MAX from
20588 being defined by the kernel headers.
20589
f87dfb1f
UD
205902011-05-07 Ulrich Drepper <drepper@gmail.com>
20591
20592 [BZ #12734]
20593 * resolv/resolv.h: Define RES_NOTLDQUERY.
20594 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
20595 no-tld-query and set RES_NOTLDQUERY.
20596 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
20597 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
20598 modern BIND to search name as TLD unless forbidden.
20599
47c3cd7a
UD
206002011-05-07 Petr Baudis <pasky@suse.cz>
20601 Ulrich Drepper <drepper@gmail.com>
20602
20603 [BZ #12393]
20604 * elf/dl-load.c (fillin_rpath): Move trusted path check...
20605 (is_trusted_path): ...to here.
c1e9ea35 20606 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 20607 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 20608 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 20609
8a35c912
PP
206102011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20611
20612 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
20613 __BEGIN/__END_DECLS.
20614
acd41f47
UD
206152011-05-06 Ulrich Drepper <drepper@gmail.com>
20616
20617 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
20618 NSS_STATUS_NOTFOUND if no record was found.
20619
597df647
AS
206202011-05-05 Andreas Schwab <schwab@redhat.com>
20621
20622 * sunrpc/Makefile (headers): Add rpc/netdb.h.
20623 (headers-not-in-tirpc): Remove rpc/netdb.h
20624 * resolv/netdb.h: Revert last change.
20625
b9af1301
PP
206262011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20627
20628 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
20629 circular dependency between libgcc.a and libc.a.
20630
4e34d5f5
AS
206312011-05-05 Andreas Schwab <schwab@redhat.com>
20632
20633 * resolv/netdb.h: Don't include <rpc/netdb.h>.
20634 * nis/Makefile: Don't install rpcsvc/*.
20635 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
20636 instead of <rpc/types.h>.
20637 (MAXHOSTNAMELEN): Define.
20638
00ee369c
AS
206392011-05-03 Andreas Schwab <schwab@redhat.com>
20640
20641 * elf/ldconfig.c (add_dir): Don't crash on empty path.
20642
0b592a30
MB
206432011-04-28 Maciej Babinski <mbabinski@google.com>
20644
20645 [BZ #12714]
20646 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
20647 gethostbyname4_r when IPv6 results are possible.
20648
6e04cbbe
UD
206492011-05-02 Ulrich Drepper <drepper@gmail.com>
20650
20651 [BZ #12723]
20652 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
20653 _PC_PIPE_BUF handling.
20654
e4ecafe0
BH
206552011-04-30 Bruno Haible <bruno@clisp.org>
20656
20657 [BZ #12717]
20658 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
20659 * resolv/netdb.h (getnameinfo): Change type of flags parameter
20660 to 'int'.
20661 * inet/getnameinfo.c (getnameinfo): Likewise.
20662
125ee683
UD
206632011-04-29 Ulrich Drepper <drepper@gmail.com>
20664
20665 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
20666 to groups setting in database lookup.
20667 * nss/nsswitch.conf: Add initgroups entry.
20668
b722481a
EB
206692011-04-22 Ulrich Drepper <drepper@gmail.com>
20670
20671 [BZ #12685]
20672 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
20673 mode string.
20674 Patch by Eric Blake <eblake@redhat.com>.
20675
4df46dbd
L
206762011-04-20 H.J. Lu <hongjiu.lu@intel.com>
20677
20678 * sunrpc/Makefile (need-export-routines): Add svc_run.
20679 (routines): Remove svc_run.
20680 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
20681 * sunrpc/clnt_perr.c (clnt_perrno): Export.
20682 * sunrpc/svc_run.c (svc_run): Likewise.
20683 * sunrpc/svc_udp.c (svcudp_create): Likewise.
20684
e84142d2
UD
206852011-04-21 Ulrich Drepper <drepper@gmail.com>
20686
20687 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
20688 problem in reallocation in last patch.
20689
877175d8
UD
206902011-04-20 Ulrich Drepper <drepper@gmail.com>
20691
20692 * sunrpc/Makefile: Move inclusion of Rules.
20693
ab8eed78
UD
206942011-04-19 Ulrich Drepper <drepper@gmail.com>
20695
20696 * nss/nss_files/files-initgroups.c: New file.
20697 * nss/Makefile (libnss_files-routines): Add files-initgroups.
20698 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
20699 _nss_files_initgroups_dyn.
20700
e3d8f584
RS
207012011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
20702
20703 * elf/elf.h (R_ARM_IRELATIVE): Define.
20704
af190f45
UD
207052011-04-19 Ulrich Drepper <drepper@gmail.com>
20706
20707 * po/ru.po: Update from translation team.
20708
53cf59ef
UD
207092011-04-17 Ulrich Drepper <drepper@gmail.com>
20710
20711 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
20712 dependencies.
20713
4c559bcd
MF
207142011-02-06 Mike Frysinger <vapier@gentoo.org>
20715
20716 [BZ #12653]
20717 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
20718 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
20719 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20720 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20721 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20722
4420675c
AS
207232011-03-28 Andreas Schwab <schwab@linux-m68k.org>
20724
20725 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
20726 differing bytes.
20727 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20728 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20729 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20730
75ea32ab
UD
207312011-04-17 Ulrich Drepper <drepper@gmail.com>
20732
20733 [BZ #12420]
20734 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
20735 storing it.
20736 * stdlib/bug-getcontext.c: New file.
20737 * stdlib/Makefile: Add rules to build and run bug-getcontext.
20738
27390476
AK
207392011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20740
20741 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
20742 instructions into .machine "z9-109".
20743 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
20744 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
20745
10442705
AK
207462011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20747
20748 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
20749 between environment variables and auxiliary vector.
20750
7b57bfe5
UD
207512011-04-16 Ulrich Drepper <drepper@gmail.com>
20752
20753 * Makefile: Add rules to build linkobj/libc.so.
20754 * include/libc-symbols.h: Define libc_hidden_nolink.
20755 * include/rpc/auth.h: Mark functions which are to be hidden.
20756 * include/rpc/auth_des.h: Likewise.
20757 * include/rpc/auth_unix.h: Likewise.
20758 * include/rpc/clnt.h: Likewise.
20759 * include/rpc/des_crypt.h: Likewise.
20760 * include/rpc/key_prot.h: Likewise.
20761 * include/rpc/pmap_clnt.h: Likewise.
20762 * include/rpc/pmap_prot.h: Likewise.
20763 * include/rpc/pmap_rmt.h: Likewise.
20764 * include/rpc/rpc_msg.h: Likewise.
20765 * include/rpc/svc.h: Likewise.
20766 * include/rpc/svc_auth.h: Likewise.
20767 * include/rpc/xdr.h: Likewise.
20768 * nis/Makefile: Link all DSOs against linkobj/libc.so.
20769 * nss/Makefile: Likewise.
20770 * sunrpc/Makefile: Don't install headers. Build library with normal
20771 entry points. Don't build rpcinfo. Link RPC tests appropriately.
20772 * sunrpc/auth_des.c: Hide exported symbols by default, export some
20773 for the compat linking library. Remove use of INTDEF/INTUSE.
20774 * sunrpc/auth_none.c: Likewise.
20775 * sunrpc/auth_unix.c: Likewise.
20776 * sunrpc/authdes_prot.c: Likewise.
20777 * sunrpc/authuxprot.c: Likewise.
20778 * sunrpc/clnt_gen.c: Likewise.
20779 * sunrpc/clnt_perr.c: Likewise.
20780 * sunrpc/clnt_raw.c: Likewise.
20781 * sunrpc/clnt_simp.c: Likewise.
20782 * sunrpc/clnt_tcp.c: Likewise.
20783 * sunrpc/clnt_udp.c: Likewise.
20784 * sunrpc/clnt_unix.c: Likewise.
20785 * sunrpc/des_crypt.c: Likewise.
20786 * sunrpc/des_soft.c: Likewise.
20787 * sunrpc/get_myaddr.c: Likewise.
20788 * sunrpc/key_call.c: Likewise.
20789 * sunrpc/key_prot.c: Likewise.
20790 * sunrpc/netname.c: Likewise.
20791 * sunrpc/pm_getmaps.c: Likewise.
20792 * sunrpc/pm_getport.c: Likewise.
20793 * sunrpc/pmap_clnt.c: Likewise.
20794 * sunrpc/pmap_prot.c: Likewise.
20795 * sunrpc/pmap_prot2.c: Likewise.
20796 * sunrpc/pmap_rmt.c: Likewise.
20797 * sunrpc/publickey.c: Likewise.
20798 * sunrpc/rpc_cmsg.c: Likewise.
20799 * sunrpc/rpc_common.c: Likewise.
20800 * sunrpc/rpc_dtable.c: Likewise.
20801 * sunrpc/rpc_prot.c: Likewise.
20802 * sunrpc/rpc_thread.c: Likewise.
20803 * sunrpc/rtime.c: Likewise.
20804 * sunrpc/svc.c: Likewise.
20805 * sunrpc/svc_auth.c: Likewise.
20806 * sunrpc/svc_authux.c: Likewise.
20807 * sunrpc/svc_raw.c: Likewise.
20808 * sunrpc/svc_run.c: Likewise.
20809 * sunrpc/svc_simple.c: Likewise.
20810 * sunrpc/svc_tcp.c: Likewise.
20811 * sunrpc/svc_udp.c: Likewise.
20812 * sunrpc/svc_unix.c: Likewise.
20813 * sunrpc/svcauth_des.c: Likewise.
20814 * sunrpc/xcrypt.c: Likewise.
20815 * sunrpc/xdr.c: Likewise.
20816 * sunrpc/xdr_array.c: Likewise.
20817 * sunrpc/xdr_float.c: Likewise.
20818 * sunrpc/xdr_intXX_t.c: Likewise.
20819 * sunrpc/xdr_mem.c: Likewise.
20820 * sunrpc/xdr_rec.c: Likewise.
20821 * sunrpc/xdr_ref.c: Likewise.
20822 * sunrpc/xdr_sizeof.c: Likewise.
20823 * sunrpc/xdr_stdio.c: Likewise.
20824
e6c61494
UD
208252011-04-10 Ulrich Drepper <drepper@gmail.com>
20826
20827 [BZ #12650]
20828 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
20829 * sysdeps/ia64/dl-tls.h: Likewise.
20830 * sysdeps/powerpc/dl-tls.h: Likewise.
20831 * sysdeps/s390/dl-tls.h: Likewise.
20832 * sysdeps/sh/dl-tls.h: Likewise.
20833 * sysdeps/sparc/dl-tls.h: Likewise.
20834 * sysdeps/x86_64/dl-tls.h: Likewise.
20835 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
20836
34fe483e
AS
208372011-03-14 Andreas Schwab <schwab@redhat.com>
20838
20839 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
20840 rpath element also skip the following colon.
20841 (expand_dynamic_string_token): Add is_path parameter and pass
20842 down to DL_DST_REQUIRED and _dl_dst_substitute.
20843 (decompose_rpath): Call expand_dynamic_string_token with
20844 non-zero is_path. Ignore empty rpaths.
20845 (_dl_map_object_from_fd): Call expand_dynamic_string_token
20846 with zero is_path.
20847
f12a32e6
AS
208482011-04-08 Andreas Schwab <schwab@linux-m68k.org>
20849
20850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
20851 Make cancelable.
20852
38a7d692
UD
208532011-04-09 Ulrich Drepper <drepper@gmail.com>
20854
20855 [BZ #12655]
20856 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
20857 Patch by Filipe David Manana <fdmanana@apache.org>.
20858
e451d22b
AS
208592011-04-07 Andreas Schwab <schwab@redhat.com>
20860
20861 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
20862 Maintain aligned stack.
20863 (CHECK_RSP): Remove unused macro.
20864
dedc7c7b
UD
208652011-04-03 Ulrich Drepper <drepper@gmail.com>
20866
20867 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
20868 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
20869
94521213
UD
208702011-04-02 Ulrich Drepper <drepper@gmail.com>
20871
20872 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
20873
8cb700c0 20874 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 20875
0354e355
L
208762011-03-26 H.J. Lu <hongjiu.lu@intel.com>
20877
20878 [BZ #12518]
20879 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
20880 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
20881 * sysdeps/x86_64/memmove.c: New file.
20882 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
20883 (memcpy): Renamed to ...
20884 (__new_memcpy): This.
20885 (memcpy): Provide GLIBC_2_14 memcpy.
20886 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
20887 (memcpy): Provide GLIBC_2_2_5 memcpy.
20888
8593482f
UD
208892011-04-01 Ulrich Drepper <drepper@gmail.com>
20890
20891 [BZ #12631]
20892 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
20893
81a5726b
AS
208942011-03-30 Andreas Schwab <schwab@redhat.com>
20895
20896 * misc/syncfs.c: New file.
20897 * misc/Makefile (routines): Add syncfs.
20898 * posix/unistd.h: Declare syncfs.
20899 * sysdeps/unix/syscalls.list: Add syncfs.
20900
00e5419f
AS
209012011-04-01 Andreas Schwab <schwab@redhat.com>
20902
20903 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
20904 open_by_handle_at.
20905 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
20906 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20907 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20908 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20909 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20910 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
20911 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20912
748876bf
UD
209132011-04-01 Ulrich Drepper <drepper@gmail.com>
20914
658e451d
UD
20915 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
20916 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20917 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
20918 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20919 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20920 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20921 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20922
748876bf
UD
20923 * io/Makefile: Compile fallocate.c, fallocate64.c, and
20924 sync_file_range.c with -fexceptions.
20925 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
20926 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
20927 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
20928 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
20929 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
20930 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
20931 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
20932 sync_file_range as cancellation point
20933 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
20934 now a wrapper around __call_sync_file_range with cancellation handling.
20935 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
20936 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
20937 function name to __call_sync_file_range.
20938 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
20939 Add call_sync_file_range.
748876bf 20940
6e63d5e1
AS
209412011-04-01 Andreas Schwab <schwab@redhat.com>
20942
20943 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 20944 bits/timex.h.
6e63d5e1 20945
46998f74
UD
209462011-04-01 Ulrich Drepper <drepper@gmail.com>
20947
4c1423ed
UD
20948 * iconv/iconv.h: Fix typo in comment.
20949 * io/fcntl.h: Likewise.
20950 * libio/stdio.h: Likewise.
20951 * posix/spawn.h: Likewise.
20952 * posix/unistd.h: Likewise.
20953 * stdlib/stdlib.h: Likewise.
20954 * time/time.h: Likewise.
20955 * wcsmbs/wchar.h: Likewise.
20956
158648c0
UD
20957 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
20958 open_by_handle): Add.
20959 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
20960 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
20961 Augment a few comments.
20962 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20963 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20964 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20965 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20966 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20967 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
20968 open_by_handle.
20969
46998f74
UD
20970 * io/fcntl.h (AT_EMPTY_PATH): Define.
20971
83fe108b
UD
209722011-03-30 Ulrich Drepper <drepper@gmail.com>
20973
20974 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
20975 * sysdeps/unix/sysv/linux/bits/time.h: New file.
20976 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
20977 to...
20978 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
20979 * Versions.def: Add GLIBC_2.14.
20980 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
20981 Export.
83fe108b 20982
bb242059
UD
209832011-03-22 Ulrich Drepper <drepper@gmail.com>
20984
20985 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
20986 round counter.
20987 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
20988
c97a1282
L
209892011-03-20 H.J. Lu <hongjiu.lu@intel.com>
20990
20991 [BZ #12597]
20992 * string/test-strncmp.c (do_page_test): New function.
20993 (check2): Likewise.
20994 (test_main): Call check2.
20995 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
20996
2a115601
UD
209972011-03-20 Ulrich Drepper <drepper@gmail.com>
20998
20999 [BZ #12587]
21000 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
21001 Handle cache information in CPU leaf 4.
21002 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21003
8126d904
UD
210042011-03-18 Ulrich Drepper <drepper@gmail.com>
21005
042c49c6 21006 [BZ #12583]
8126d904
UD
21007 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
21008 character representation.
21009 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
21010
ccfe366e
RA
210112011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
21012
21013 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
21014 END(__isnan) to END(__isnanf) to match function entry point/label
21015 EALIGN(__isnanf,...).
21016
c6e13027
JJ
210172011-03-10 Jakub Jelinek <jakub@redhat.com>
21018
21019 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
21020
33f85a3f
UD
210212011-03-10 Ulrich Drepper <drepper@gmail.com>
21022
028478fa
UD
21023 [BZ #12510]
21024 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
21025 copy from the symbol referenced in the relocation to initialize the
21026 used variable.
21027 Patch by Piotr Bury <pbury@goahead.com>.
21028 * elf/Makefile: Add rules to build and tst-unique3.
21029 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
21030 * elf/tst-unique3.cc: New file.
21031 * elf/tst-unique3.h: New file.
21032 * elf/tst-unique3lib.cc: New file.
21033 * elf/tst-unique3lib2.cc: New file.
21034
33f85a3f
UD
21035 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
21036
03592fc7
MF
210372011-03-10 Mike Frysinger <vapier@gentoo.org>
21038
21039 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
21040 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
21041 to _start.
03592fc7 21042
6a5ee102
UD
210432011-03-06 Ulrich Drepper <drepper@gmail.com>
21044
21045 * elf/dl-load.c (_dl_map_object): If we are looking for the first
21046 to-be-loaded object along a path to loader is ld.so.
21047
7e4ba49c
HJ
210482011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21049 Ulrich Drepper <drepper@gmail.com>
21050
21051 * sysdeps/x86_64/memset.S: After aligning destination, code
21052 branches to different locations depending on the value of
21053 misalignment, when multiarch is enabled. Fix this.
21054
210552011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21056
21057 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
21058 Set _x86_64_preferred_memory_instruction for AMD processsors.
21059 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21060 Set bit_Prefer_SSE_for_memop for AMD processors.
21061
13a804de
UD
210622011-03-04 Ulrich Drepper <drepper@gmail.com>
21063
21064 * libio/fmemopen.c (fmemopen): Optimize a bit.
21065
9d25c392
AS
210662011-03-03 Andreas Schwab <schwab@redhat.com>
21067
21068 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
21069
a5543c6a
RM
210702011-03-03 Roland McGrath <roland@redhat.com>
21071
21072 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
21073
012d35f7
DM
210742011-02-28 Aurelien Jarno <aurelien@aurel32.net>
21075
7e4ba49c 21076 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
21077 __bzero_ultra1 instead of __memset_ultra1.
21078
4bff6e01
AS
210792011-02-23 Andreas Schwab <schwab@redhat.com>
21080 Ulrich Drepper <drepper@gmail.com>
21081
21082 [BZ #12509]
21083 * include/link.h (struct link_map): Add l_orig_initfini.
21084 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
21085 returning unsuccessfully.
21086 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
21087 close of a file loaded at startup, restore the original l_initfini
21088 list.
21089 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
21090 list, store the pointer.
21091 * elf/Makefile ($(objpfx)noload-mem): New rule.
21092 (noload-ENV): Define.
21093 (tests): Add $(objpfx)noload-mem.
21094 * elf/noload.c: Include <memcheck.h>.
21095 (main): Call mtrace. Close all opened handles.
21096
f2092faf
AS
210972011-02-17 Andreas Schwab <schwab@redhat.com>
21098
21099 [BZ #12454]
21100 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
21101 dependencies are missing.
21102
6c8a2e88
ST
211032011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
21104
f2092faf 21105 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
21106 Hurd needs munmap.
21107 * sysdeps/mach/hurd/ifreq.h: New file.
21108
84a42118
PB
211092011-01-27 Petr Baudis <pasky@suse.cz>
21110 Ulrich Drepper <drepper@gmail.com>
21111
071f805e 21112 [BZ 12445]#
84a42118
PB
21113 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
21114 to extend_alloca().
21115 * stdio-common/bug23.c: New file.
21116 * stdio-common/Makefile (tests): Add bug23.
21117
e23fe25b
AS
211182010-09-28 Andreas Schwab <schwab@redhat.com>
21119 Ulrich Drepper <drepper@gmail.com>
21120
21121 [BZ #12489]
21122 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
21123 before performing relro protection. At old place add assertion
21124 to make sure nothing changed.
21125
d3f02e10
NS
211262011-02-17 Nathan Sidwell <nathan@codesourcery.com>
21127 Glauber de Oliveira Costa <glommer@gmail.com>
21128
21129 * elf/elf.h: Add new ARM TLS relocs.
21130
d55fd7a5
RA
211312011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
21132
21133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21134 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
21135 cast from r3.
21136 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
21137 'tests' variable.
21138 * sysdeps/wordsize-64/tst-writev.c: New file.
21139
2206397e
RA
211402011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
21141
21142 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
21143 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
21144 insns in _dl_start to prevent a TOC reference before relocs are
21145 resolved.
21146
e9433893
UD
211472011-02-15 Ulrich Drepper <drepper@gmail.com>
21148
21149 [BZ #12469]
21150 * Makeconfig: Remove RANLIB definition.
21151 * Makerules: Don't use RANLIB.
21152 * aclocal.m4: Remove ranlib test.
21153 * configure.in: No need to check for ranlib.
21154 * elf/rtld-Rules: Don't use RANLIB.
21155
f75286c6
ST
211562011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
21157
8e31c82d
ST
21158 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
21159 protection macro.
21160 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
21161 inclusion protection macro.
21162
f75286c6
ST
21163 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
21164 SIGRTMIN and SIGRTMAX and print information in that case only when
21165 SIGRTMIN is defined.
21166
c1d0e639
JJ
211672011-02-11 Jakub Jelinek <jakub@redhat.com>
21168
21169 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
21170 arginfo fn returning -1.
21171
21172 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
21173 and thousands string is zero terminated.
21174
edf9294e
AS
211752011-02-03 Andreas Schwab <schwab@redhat.com>
21176
21177 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
21178 sysdeps/unix/sysv/linux/bits/socket.h.
21179
2b7e92df
ST
211802011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
21181
edf9294e
AS
21182 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
21183 (__CPU_COUNT): Remove old macros.
21184 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
21185 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
21186 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
21187 (__sched_cpualloc, __sched_cpufree): Add declarations.
21188
a4c7ea7b
UD
211892011-02-05 Ulrich Drepper <drepper@gmail.com>
21190
21191 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
21192 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
21193 * nscd/aicache.c (addhstaiX): Return timeout of added value.
21194 (readdhstai): Return value of addhstaiX call.
21195 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
21196 (addgrbyX): Return value returned by cache_addgr.
21197 (readdgrbyname): Return value returned by addgrbyX.
21198 (readdgrbygid): Likewise.
21199 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
21200 (addpwbyX): Return value returned by cache_addpw.
21201 (readdpwbyname): Return value returned by addhstbyX.
21202 (readdpwbyuid): Likewise.
21203 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
21204 (addservbyX): Return value returned by cache_addserv.
21205 (readdservbyname): Return value returned by addservbyX:
21206 (readdservbyport): Likewise.
21207 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
21208 (addhstbyX): Return value returned by cache_addhst.
21209 (readdhstbyname): Return value returned by addhstbyX.
21210 (readdhstbyaddr): Likewise.
21211 (readdhstbynamev6): Likewise.
21212 (readdhstbyaddrv6): Likewise.
21213 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
21214 (readdinitgroups): Return value returned by addinitgroupsX.
21215 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
21216 (prune_cache): Keep track of timeout value of re-added entries.
21217 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
21218 * nscd/nscd.h: Adjust prototypes of readd* functions.
21219
a0bf67cc
RM
212202011-02-04 Roland McGrath <roland@redhat.com>
21221
21222 * nis/nis_server.c (nis_servstate): Use the right name for 0.
21223 (nis_stats): Likewise.
21224 * nis/nis_modify.c (nis_modify): Likewise.
21225 * nis/nis_remove.c (nis_remove): Likewise.
21226 * nis/nis_add.c (nis_add): Likewise.
21227
21228 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
21229
21230 * posix/fnmatch_loop.c: Add some consts.
21231
21232 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
21233
435b95eb
L
212342011-02-02 H.J. Lu <hongjiu.lu@intel.com>
21235
21236 [BZ #12460]
21237 * config.make.in (config-cflags-novzeroupper): Define.
21238 * configure.in: Substitute libc_cv_cc_novzeroupper.
21239 * elf/Makefile (AVX-CFLAGS): Define.
21240 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
21241 (CFLAGS-tst-auditmod4a.c): Likewise.
21242 (CFLAGS-tst-auditmod4b.c): Likewise.
21243 (CFLAGS-tst-auditmod6b.c): Likewise.
21244 (CFLAGS-tst-auditmod6c.c): Likewise.
21245 (CFLAGS-tst-auditmod7b.c): Likewise.
21246 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
21247
8517b15e
UD
212482011-02-02 Ulrich Drepper <drepper@gmail.com>
21249
21250 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
21251 function to the callback.
21252 Patch partly by Jiri Olsa <jolsa@redhat.com>.
21253
10a656fe
AS
212542011-02-02 Andreas Schwab <schwab@redhat.com>
21255
21256 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
21257 of errno.
21258
968dad0a
UD
212592011-01-19 Ulrich Drepper <drepper@gmail.com>
21260
9f94d2ea 21261 [BZ #11724]
968dad0a
UD
21262 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
21263 of constructors.
21264 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
21265 of destructors.
21266 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
21267
21268 [BZ #11724]
21269 * elf/Makefile: Add rules to build and run new test.
21270 * elf/tst-initorder.c: New file.
21271 * elf/tst-initorder.exp: New file.
21272 * elf/tst-initordera1.c: New file.
21273 * elf/tst-initordera2.c: New file.
21274 * elf/tst-initordera3.c: New file.
21275 * elf/tst-initordera4.c: New file.
21276 * elf/tst-initorderb1.c: New file.
21277 * elf/tst-initorderb2.c: New file.
21278 * elf/tst-order-a1.c: New file.
21279 * elf/tst-order-a2.c: New file.
21280 * elf/tst-order-a3.c: New file.
21281 * elf/tst-order-a4.c: New file.
21282 * elf/tst-order-b1.c: New file.
21283 * elf/tst-order-b2.c: New file.
21284 * elf/tst-order-main.c: New file.
21285 New test case by George Gensure <werkt0@gmail.com>.
21286
86e92359
UD
212872010-10-01 Andreas Schwab <schwab@redhat.com>
21288
21289 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21290 decoding ACE if AI_CANONIDN.
21291
5d5732b0
UD
212922011-01-18 Ulrich Drepper <drepper@gmail.com>
21293
21294 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
21295
a77e8cbc
UD
212962011-01-17 Ulrich Drepper <drepper@gmail.com>
21297
6392473f
UD
21298 * version.h (RELEASE): Bump for 2.13 release.
21299 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
21300
620a0529
UD
21301 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
21302
18ba70a5
UD
21303 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
21304 MADV_NOHUGEPAGE.
32465c3e
UD
21305 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
21306 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21307 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21308 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21309 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21310 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21311
c0dafcf1
UD
21312 * posix/getconf.c: Update copyright year.
21313 * catgets/gencat.c: Likewise.
21314 * csu/version.c: Likewise.
21315 * debug/catchsegv.sh: Likewise.
21316 * debug/xtrace.sh: Likewise.
21317 * elf/ldconfig.c: Likewise.
21318 * elf/ldd.bash.in: Likewise.
21319 * elf/sprof.c (print_version): Likewise.
21320 * iconv/iconv_prog.c: Likewise.
21321 * iconv/iconvconfig.c: Likewise.
21322 * locale/programs/locale.c: Likewise.
21323 * locale/programs/localedef.c: Likewise.
21324 * malloc/memusage.sh: Likewise.
21325 * malloc/mtrace.pl: Likewise.
21326 * nscd/nscd.c (print_version): Likewise.
21327 * nss/getent.c: Likewise.
21328
a77e8cbc
UD
21329 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
21330 PF_CAIF, and PF_ALG.
21331 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21332
77e8bddf
AS
213332011-01-16 Andreas Schwab <schwab@linux-m68k.org>
21334
1f20b93a
AS
21335 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
21336 (modules-names): Use them.
21337 (ifunc-test-modules, ifunc-pie-tests): Define.
21338 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
21339 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
21340 (test-extras): Likewise.
21341 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
21342 $(compile-command.c).
21343 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
21344 (all-built-dso): Define.
21345 (check-textrel.out, check-execstack.out): Depend on it.
21346
77e8bddf
AS
21347 * configure.in: Don't override --enable-multi-arch.
21348
bc425b33
UD
213492011-01-15 Ulrich Drepper <drepper@gmail.com>
21350
21351 [BZ #6812]
21352 * nscd/hstcache.c (tryagain): Define.
21353 (cache_addhst): Return tryagain not notfound for temporary errors.
21354 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
21355 failed.
21356
794c3ad3
UD
213572011-01-14 Ulrich Drepper <drepper@gmail.com>
21358
70181fdd
UD
21359 [BZ #10563]
21360 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
21361 to make the syscall.
21362 * sysdeps/unix/sysv/linux/setgroups.c: New file.
21363
794c3ad3
UD
21364 [BZ #12378]
21365 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
21366 and fall back to matching as normal character if the string ends before
21367 the matching ']' is found. This is what POSIX requires.
21368 * posix/testfnm.c: Adjust test result.
21369 * posix/globtest.sh: Adjust test result. Add new test.
21370 * posix/tst-fnmatch.input: Likewise.
21371 * posix/tst-fnmatch2.c: Add new test.
21372
68dc9497
AS
213732010-12-28 Andreas Schwab <schwab@linux-m68k.org>
21374
21375 * elf/Makefile (check-execstack): Revert last change. Depend on
21376 check-execstack.h.
21377 (check-execstack.h): New target.
21378 (generated): Add check-execstack.h.
21379 * elf/check-execstack.c: Include "check-execstack.h".
21380 (main): Revert last change.
21381 (handle_file): Return zero if GNU_STACK is absent and
21382 DEFAULT_STACK_PERMS doesn't include PF_X.
21383
451f001b
UD
213842011-01-13 Ulrich Drepper <drepper@gmail.com>
21385
cfa28e56
UD
21386 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
21387 in child fails because the descriptor is already closed.
8cf8ce17
UD
21388 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
21389 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
21390 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 21391
1086d70d
UD
21392 [BZ #12397]
21393 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
21394 syscall.
21395
451f001b
UD
21396 [BZ #10484]
21397 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
21398 temporary buffer used to handle multi lookups locally.
a85b5cb4 21399 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 21400
08769175
UD
214012011-01-12 Ulrich Drepper <drepper@gmail.com>
21402
21403 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
21404 loader is ld.so.
21405
5e49c52e
UD
214062011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
21407
21408 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
21409 alignment for SSE2.
21410
60522a5f
UD
214112011-01-12 Ulrich Drepper <drepper@gmail.com>
21412
21413 [BZ #12394]
21414 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
21415 characters. When rounding increased number of integer digits recompute
21416 number of groups.
21417 * stdio-common/tst-grouping.c: New file.
21418 * stdio-common/Makefile: Add rules to build and run tst-grouping.
21419
f257bbd7
UD
214202011-01-09 Ulrich Drepper <drepper@gmail.com>
21421
21422 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
21423 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
21424
21425 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
21426 void.
21427 * bits/select.h: Likewise.
21428
fa9c15cb
UD
214292011-01-08 Ulrich Drepper <drepper@gmail.com>
21430
21431 * po/ja.po: Update from translation team.
21432
16c2895f
DM
214332011-01-04 David S. Miller <davem@sunset.davemloft.net>
21434
21435 [BZ #11155]
21436 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
21437 implementation just like for lxstat, fxstatat, et al.
21438
2543fef2
JM
214392010-12-27 Jim Meyering <meyering@redhat.com>
21440
21441 [BZ #12348]
21442 * posix/regexec.c (build_trtable): Return failure indication upon
21443 calloc failure. Otherwise, re_search_internal could infloop on OOM.
21444
98727dbe
UD
214452010-12-25 Ulrich Drepper <drepper@gmail.com>
21446
5bd6dc5c
UD
21447 [BZ #12201]
21448 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
21449 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
21450 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
21451 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
21452
97983464
UD
21453 [BZ #12207]
21454 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
21455
98727dbe
UD
21456 [BZ #12204]
21457 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
21458 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
21459
4a531bb0
L
214602010-12-15 H.J. Lu <hongjiu.lu@intel.com>
21461
21462 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
21463 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
21464 script has SORT_BY_INIT_PRIORITY.
21465 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
21466 NO_CTORS_DTORS_SECTIONS is defined.
21467 * elf/soinit.c: Likewise.
21468 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
21469 NO_CTORS_DTORS_SECTIONS is defined.
21470 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
21471 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
21472 * sysdeps/sh/init-first.c: Likewise.
21473 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
21474
07eb4b71
UD
214752010-12-24 Ulrich Drepper <drepper@gmail.com>
21476
21477 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
21478 always use the slow path.
21479
30950a5f
RA
214802010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
21481
21482 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
21483 similar rule which adds the sysdep directories to the header search in
21484 order to pick up the correct platform stackinfo.h.
21485 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
21486 perform test if it is, otherwise return successfully without testing.
21487 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
21488 DEFAULT_STACK_PERMS define in stackinfo.h.
21489 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
21490 defined in stackinfo.h.
21491 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
21492 DEFAULT_STACK_PERMS defined in stackinfo.h.
21493 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
21494 * sysdeps/ia64/stackinfo.h: Likewise.
21495 * sysdeps/s390/stackinfo.h: Likewise.
21496 * sysdeps/sh/stackinfo.h: Likewise.
21497 * sysdeps/sparc/stackinfo.h: Likewise.
21498 * sysdeps/x86_64/stackinfo.h: Likewise.
21499 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
21500 PF_X for powerpc64. Retain PF_X for powerpc32.
21501
db753e2c
UD
215022010-12-19 Ulrich Drepper <drepper@gmail.com>
21503
14b697f7
UD
21504 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
21505 accurately.
db753e2c
UD
21506 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
21507 GETDENTS_64BIT_ALIGNED.
21508
28300719
UD
215092010-12-14 Ulrich Drepper <dreper@gmail.com>
21510
14b697f7 21511 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 21512
4f197237
AS
215132010-12-10 Andreas Schwab <schwab@redhat.com>
21514
dbb0472f
AS
21515 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
21516 _GNU_SOURCE.
21517
4f197237
AS
21518 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
21519 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
21520 Remove __restrict.
21521 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
21522 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
21523
fb88ac72
UD
215242010-12-09 Ulrich Drepper <drepper@gmail.com>
21525
21526 [BZ #11655]
21527 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
21528 are initialized.
21529
42acbb92
JJ
215302010-12-09 Jakub Jelinek <jakub@redhat.com>
21531
21532 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
21533
c038d98d
UD
215342010-12-03 Ulrich Drepper <drepper@gmail.com>
21535
21536 * po/it.po: Update from translation team.
21537
3a4a2499
L
215382010-12-01 H.J. Lu <hongjiu.lu@intel.com>
21539
21540 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
21541 unused codes.
21542
1e24cf6e
UD
215432010-11-30 Ulrich Drepper <drepper@gmail.com>
21544
21545 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
21546
a7690819
AS
215472010-11-24 Andreas Schwab <schwab@redhat.com>
21548
21549 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
21550 specially.
21551 (gaih_getanswer_slice): Likewise.
21552
3bf8d1b1
JJ
215532010-10-20 Jakub Jelinek <jakub@redhat.com>
21554
21555 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
21556
6db52fbb
PB
215572010-05-31 Petr Baudis <pasky@suse.cz>
21558
21559 [BZ #11149]
21560 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
21561 silently even in the chroot mode.
21562
eaca7569
UD
215632010-11-22 Ulrich Drepper <drepper@gmail.com>
21564
21565 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
21566 last patch a bit. Pretty printing
21567
3056dcdb
UD
215682010-05-31 Petr Baudis <pasky@suse.cz>
21569
21570 [BZ #10085]
21571 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
21572 initialization of skip_initgroups_dyn.
21573
cf7c9078
UD
215742010-11-19 Ulrich Drepper <drepper@gmail.com>
21575
21576 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
21577 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21578
a1fb5e3e
UD
215792010-11-16 Ulrich Drepper <drepper@gmail.com>
21580
21581 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
21582
3540d66b
AS
215832010-11-11 Andreas Schwab <schwab@redhat.com>
21584
21585 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
21586 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
21587 (tst-fnmatch-ENV): Set MALLOC_TRACE.
21588 ($(objpfx)tst-fnmatch-mem): New rule.
21589 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
21590 * posix/tst-fnmatch.c (main): Call mtrace.
21591
13b69574
L
215922010-11-11 H.J. Lu <hongjiu.lu@intel.com>
21593
21594 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21595 Support Intel processor model 6 and model 0x2c.
21596
da93d214
LM
215972010-11-10 Luis Machado <luisgpm@br.ibm.com>
21598
21599 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
21600 signed comparison.
21601
8ca52c6e
L
216022010-11-09 H.J. Lu <hongjiu.lu@intel.com>
21603
21604 [BZ #12205]
21605 * string/test-strncasecmp.c (check_result): New function.
21606 (do_one_test): Use it.
21607 (check1): New function.
21608 (test_main): Use it.
21609 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
21610 Support strcasecmp and strncasecmp.
21611
69da074d
UD
216122010-11-08 Ulrich Drepper <drepper@gmail.com>
21613
21614 [BZ #12194]
21615 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
21616 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21617
ff02d528
L
216182010-11-07 H.J. Lu <hongjiu.lu@intel.com>
21619
21620 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
21621 IFUNC support.
21622 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21623 memset-x86-64.
21624 * sysdeps/x86_64/multiarch/bzero.S: New file.
21625 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
21626 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
21627 * sysdeps/x86_64/multiarch/memset.S: New file.
21628 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
21629 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21630 Set bit_Prefer_SSE_for_memop for Intel processors.
21631 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
21632 Define.
21633 (index_Prefer_SSE_for_memop): Define.
21634 (HAS_PREFER_SSE_FOR_MEMOP): Define.
21635
344d0b54
LM
216362010-11-04 Luis Machado <luisgpm@br.ibm.com>
21637
21638 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
21639 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
21640
c0dde15b
UD
216412010-11-03 H.J. Lu <hongjiu.lu@intel.com>
21642
21643 [BZ #12191]
21644 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21645 (__x86_64_raw_data_cache_size_half): Likewise.
21646 (__x86_64_raw_shared_cache_size): Likewise.
21647 (__x86_64_raw_shared_cache_size_half): Likewise.
21648
21649 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21650 (__x86_64_raw_data_cache_size_half): Likewise.
21651 (__x86_64_raw_shared_cache_size): Likewise.
21652 (__x86_64_raw_shared_cache_size_half): Likewise.
21653 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
21654 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
21655 and __x86_64_raw_shared_cache_size_half. Round
21656 __x86_64_data_cache_size_half, __x86_64_data_cache_size
21657 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
21658 to multiple of 256 bytes.
21659
0e516e0e
MS
216602010-11-03 Ulrich Drepper <drepper@gmail.com>
21661
21662 [BZ #12167]
21663 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
21664 of inacessible symlinks. Verify result of symlink before returning it.
21665 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
21666 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
21667
0e012e87
ER
216682010-10-28 Erich Ritz <erichritz@gmail.com>
21669
21670 * math/math.h (isinf): Fix typo in comment.
21671
de0ff7bc
UD
216722010-11-01 Ulrich Drepper <drepper@gmail.com>
21673
21674 * po/da.po: Update from translation team.
21675
fa41c84d
UD
216762010-10-26 Ulrich Drepper <drepper@gmail.com>
21677
21678 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
21679 is added to the list.
21680
f0967738
AK
216812010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21682 Ulrich Drepper <drepper@gmail.com>
21683
21684 * elf/dl-object.c (_dl_new_object): Don't append the new object to
21685 the global list here. Move code to...
21686 (_dl_add_to_namespace_list): ...here. New function.
21687 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
21688 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
21689 * elf/dl-load.c (lose): Don't remove the element from the list.
21690 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
21691 (_dl_map_object): Likewise.
21692
216932010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
21694
21695 [BZ #12159]
21696 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
21697 into all bytes of SSE register.
21698 Patch by Richard Li <richardpku@gmail.com>.
21699
f0967738 217002010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
21701
21702 [BZ #12140]
21703 * malloc/malloc.c (_int_free): Fill correct number of bytes when
21704 perturbing.
21705
d0b9e94f
MB
217062010-10-20 Michael B. Brutman <brutman@us.ibm.com>
21707
21708 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
21709 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
21710 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
21711 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
21712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
21713 submachine.
21714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
21715
8e9f92e9
AS
217162010-10-22 Andreas Schwab <schwab@redhat.com>
21717
21718 * include/dlfcn.h (__RTLD_SECURE): Define.
21719 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
21720 mode & __RTLD_SECURE instead.
21721 (open_path): Rename preloaded parameter to secure.
21722 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
21723 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
21724 * elf/dl-deps.c (openaux): Likewise.
21725 * elf/rtld.c (struct map_args): Remove is_preloaded.
21726 (map_doit): Don't use it.
21727 (dl_main): Likewise.
21728 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
21729 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
21730
bc96fbda
AS
217312010-09-09 Andreas Schwab <schwab@redhat.com>
21732
21733 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
21734 (sysd-rules-targets): Remove duplicates.
21735 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
21736 rtld-%.$o dependency.
21737
22cd1c9b
AS
217382010-10-18 Andreas Schwab <schwab@redhat.com>
21739
21740 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
21741 _dl_map_object do it.
21742
18edac48
UD
217432010-10-19 Ulrich Drepper <drepper@gmail.com>
21744
21745 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
21746 fast fma builtins, define the macros in the C99 standard.
21747 (FP_FAST_FMAF): Likewise.
21748 (FP_FAST_FMAL): Likewise.
21749 * sysdeps/x86_64/bits/mathdef.h: Likewise.
21750
21751 * bits/mathdef.h: Update copyright year.
21752 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21753
d2050124
MM
217542010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
21755
21756 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
21757 builtins, define the macros in the C99 standard.
21758 (FP_FAST_FMAF): Likewise.
21759 (FP_FAST_FMAL): Likewise.
21760 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
21761 multiply/add.
21762 (FP_FAST_FMAF): Likewise.
21763
475facd1
JJ
217642010-10-15 Jakub Jelinek <jakub@redhat.com>
21765
21766 [BZ #3268]
21767 * math/libm-test.inc (fma_test): Some new testcases.
21768 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
21769 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
21770 y and infinite z. Do multiplication by C already in long double.
21771 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
21772 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
21773 y and infinite z. Do bitwise or of inexact bit into u.d.
21774 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
21775 * sysdeps/i386/fpu/s_fmaf.S: Removed.
21776 * sysdeps/i386/fpu/s_fma.S: Removed.
21777 * sysdeps/i386/fpu/s_fmal.S: Removed.
21778
7c08a05c
JJ
217792010-10-16 Jakub Jelinek <jakub@redhat.com>
21780
21781 [BZ #3268]
21782 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
21783 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
21784 computation is not scheduled after fetestexcept. Fix value
21785 of minimum denormal long double.
21786
f3f7372d
JJ
217872010-10-14 Jakub Jelinek <jakub@redhat.com>
21788
21789 [BZ #3268]
21790 * math/libm-test.inc (fma_test): Add some more tests.
21791 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
21792 correctly.
21793
14d43591
AS
217942010-10-15 Andreas Schwab <schwab@redhat.com>
21795
21796 * scripts/data/localplt-s390-linux-gnu.data: New file.
21797 * scripts/data/localplt-s390x-linux-gnu.data: New file.
21798
5e908464
JJ
217992010-10-13 Jakub Jelinek <jakub@redhat.com>
21800
21801 [BZ #3268]
21802 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
21803 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
21804 instead of dbl-64.
21805 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
21806 inlines.
21807 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
21808 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
21809 if one of x and y is very large and the other is subnormal.
21810 * sysdeps/s390/fpu/s_fmaf.c: New file.
21811 * sysdeps/s390/fpu/s_fma.c: New file.
21812 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
21813 * sysdeps/powerpc/fpu/s_fma.S: New file.
21814 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
21815 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
21816 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
21817
218182010-10-12 Jakub Jelinek <jakub@redhat.com>
21819
21820 [BZ #3268]
21821 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
21822 fma tests.
21823 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
21824 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
21825 * sysdeps/i386/i686/multiarch/s_fma.c: Include
21826 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
21827 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
21828 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
21829 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
21830
b833d51f
UD
218312010-10-12 Ulrich Drepper <drepper@redhat.com>
21832
21833 [BZ #12078]
21834 * posix/regcomp.c (parse_branch): One more memory leak plugged.
21835 * posix/bug-regex31.input: Add test case.
21836
1751705d
UD
218372010-10-11 Ulrich Drepper <drepper@gmail.com>
21838
e9b9cbf5
UD
21839 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
21840 * posix/bug-regex31.input: New file.
21841
21842 [BZ #12078]
21843 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
21844 (parse_sub_exp): Fix last change, use postorder.
21845
ef06edbe
UD
21846 * posix/bug-regex31.c: New file.
21847 * posix/Makefile: Add rules to build and run bug-regex31.
21848
a129c80d
UD
21849 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
21850
21851 [BZ #12078]
21852 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
21853
b76b818e
UD
21854 [BZ #12108]
21855 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
21856 to have entries in sys_siglist.
21857
1751705d
UD
21858 [BZ #12093]
21859 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
21860 be NULL.
21861
9ff8d36f
JJ
218622010-10-07 Jakub Jelinek <jakub@redhat.com>
21863
21864 [BZ #3268]
21865 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
21866 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
21867 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
21868 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
21869 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
21870 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
21871 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
21872 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
21873 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
21874 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
21875 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
21876 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
21877 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
21878 * math/ftestexcept.c (fetestexcept): Likewise.
21879 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
21880 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
21881 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
21882 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
21883 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
21884 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
21885 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21886
af325969
UD
218872010-10-11 Ulrich Drepper <drepper@gmail.com>
21888
c579b202 21889 [BZ #12107]
af325969
UD
21890 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
21891 newline.
21892
67a67b95
UD
218932010-10-06 Ulrich Drepper <drepper@gmail.com>
21894
21895 * string/bug-strstr1.c: New file.
21896 * string/Makefile: Add rules to build and run bug-strstr1.
21897
5fb308bc
EB
218982010-10-05 Eric Blake <eblake@redhat.com>
21899
21900 [BZ #12092]
21901 * string/str-two-way.h (two_way_long_needle): Always clear memory
21902 when skipping input due to the shift table.
21903
45db99c7
UD
219042010-10-03 Ulrich Drepper <drepper@gmail.com>
21905
3b111893
UD
21906 [BZ #12005]
21907 * malloc/mcheck.c: Handle large requests.
21908
45db99c7
UD
21909 [BZ #12077]
21910 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
21911 for strncmp and strncasecmp.
21912 * string/stratcliff.c: Add tests for strcmp and strncmp.
21913 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
21914
cf7a1eb8
NI
219152010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21916
21917 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
21918 __set_fpscr.
21919
6484ba5e
AJ
219202010-09-30 Andreas Jaeger <aj@suse.de>
21921
21922 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
21923 (CGROUP_SUPER_MAGIC): Define.
21924 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21925 Handle btrfs and cgroup file systems.
21926 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21927 Likewise.
21928
91c42559
LM
219292010-09-27 Luis Machado <luisgpm@br.ibm.com>
21930
21931 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
21932 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
21933
87a97932
AK
219342010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21935
21936 [BZ #12067]
21937 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
21938 trying to locate the ELF header.
21939
c21cc9bc
AS
219402010-09-27 Andreas Schwab <schwab@redhat.com>
21941
21942 [BZ #11611]
21943 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
21944 Mask out sign-bit copies when constructing f_fsid.
21945
315970f6
PB
219462010-09-24 Petr Baudis <pasky@suse.cz>
21947
21948 * debug/stack_chk_fail_local.c: Add missing licence exception.
21949 * debug/warning-nop.c: Likewise.
21950
1ac7a2c7
JM
219512010-09-15 Joseph Myers <joseph@codesourcery.com>
21952
21953 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
21954 implementing getdents64 using getdents syscall, set d_type if
21955 __ASSUME_GETDENTS32_D_TYPE.
21956
56801c50
AS
219572010-09-16 Andreas Schwab <schwab@redhat.com>
21958
21959 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
21960 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
21961
dda51327
UD
219622010-09-21 Ulrich Drepper <drepper@redhat.com>
21963
21964 [BZ #12037]
21965 * posix/unistd.h: Undo change of feature selection for ftruncate from
21966 2010-01-11.
21967
8ffcee4a
UD
219682010-09-20 Ulrich Drepper <drepper@redhat.com>
21969
a545ecd9 21970 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
21971 detection.
21972
e24f0a8b
AS
219732010-09-20 Andreas Schwab <schwab@redhat.com>
21974
21975 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
21976 fanotify_mark.
21977 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
21978
7291c56f
AS
219792010-09-14 Andreas Schwab <schwab@redhat.com>
21980
21981 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
21982 variables after CHECK_SP call.
21983 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
21984
bc5fb037
AS
219852010-09-13 Andreas Schwab <schwab@redhat.com>
21986 Ulrich Drepper <drepper@redhat.com>
21987
21988 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
21989 re-relocationg ld.so.
21990 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
21991 _dl_init_paths call.
21992 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
21993 here anymore.
21994
e66e7419
UD
219952010-09-14 Ulrich Drepper <drepper@redhat.com>
21996
21997 * resolv/res_init.c (__res_vinit): Count the default server we added.
21998
c044aa75
CLT
219992010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
22000 Ulrich Drepper <drepper@redhat.com>
22001
22002 [BZ #11968]
22003 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22004 (____longjmp_chk): Use %ebx for saving value across system call.
22005 Add unwind info.
22006
32cf4069
AS
220072010-09-06 Andreas Schwab <schwab@redhat.com>
22008
22009 * manual/Makefile: Don't mix pattern rules with normal rules.
22010
817328ee
AS
220112010-09-05 Andreas Schwab <schwab@linux-m68k.org>
22012
22013 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
22014 operation.
22015 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
22016 * libio/iofopncook.c (_IO_cookie_init): Likewise.
22017 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
22018 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22019 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22020 Likewise.
22021
29fddf61
UD
220222010-09-04 Ulrich Drepper <drepper@redhat.com>
22023
22024 [BZ #11979]
22025 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
22026 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
22027
0959ffc9
UD
220282010-09-02 Ulrich Drepper <drepper@redhat.com>
22029
22030 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
22031 * sysdeps/x86_64/addmul_1.S: Likewise.
22032 * sysdeps/x86_64/lshift.S: Likewise.
22033 * sysdeps/x86_64/mul_1.S: Likewise.
22034 * sysdeps/x86_64/rshift.S: Likewise.
22035 * sysdeps/x86_64/sub_n.S: Likewise.
22036 * sysdeps/x86_64/submul_1.S: Likewise.
22037
ece29840
ST
220382010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
22039
0959ffc9
UD
22040 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
22041 Define __sched_param instead of SCHED_* and sched_param when
ece29840 22042 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 22043 * bits/sched.h [__need_schedparam]
ece29840 22044 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
22045 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
22046 (__defined_schedparam): Define to 1.
ece29840
ST
22047 (__sched_param): New structure, identical to sched_param.
22048 (__need_schedparam): Undefine.
22049
e53a31fe
MF
220502010-08-31 Mike Frysinger <vapier@gentoo.org>
22051
fdc0c10d
MF
22052 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
22053 (epoll_create1): Declare.
22054
e53a31fe
MF
22055 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
22056
a726d796
AS
220572010-08-31 Andreas Schwab <schwab@redhat.com>
22058
22059 [BZ #7066]
22060 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
22061 shifting retval into place.
22062
2f3e3dc7
UD
220632010-09-01 Ulrich Drepper <drepper@redhat.com>
22064
f2933da9
UD
22065 * nis/rpcsvc/nis.h: Update copyright notice.
22066 * nis/rpcsvc/nis.x: Likewise.
22067 * nis/rpcsvc/nis_callback.h: Likewise.
22068 * nis/rpcsvc/nis_callback.x: Likewise.
22069 * nis/rpcsvc/nis_object.x: Likewise.
22070 * nis/rpcsvc/nis_tags.h: Likewise.
22071 * nis/rpcsvc/yp.h: Likewise.
22072 * nis/rpcsvc/yp.x: Likewise.
22073 * nis/rpcsvc/ypupd.h: Likewise.
22074 * nis/yp_xdr.c: Likewise.
22075 * nis/ypupdate_xdr.c: Likewise.
22076
2f3e3dc7
UD
22077 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
22078 mainly the body of pmap_getport. Add parameters to specify timeouts.
22079 (pmap_getport): Use __libc_rpc_getport.
22080 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
22081 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
22082 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
22083
f3dcc2f9
AS
220842010-08-31 Andreas Schwab <schwab@linux-m68k.org>
22085
22086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
22087 fanotify_mark.
22088
6d34eb5b
RM
220892010-08-27 Roland McGrath <roland@redhat.com>
22090
22091 * sysdeps/i386/i686/multiarch/Makefile
22092 (CFLAGS-varshift.c): New variable.
22093
9ea3de11
UD
220942010-08-27 Ulrich Drepper <drepper@redhat.com>
22095
c96d23fc
UD
22096 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
22097 * sysdeps/i386/i686/multiarch/varshift.c: New file.
22098
9ea3de11
UD
22099 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
22100
22101 * sysdeps/x86_64/strlen.S: Minimal code improvement.
22102
623aac7f
L
221032010-08-26 H.J. Lu <hongjiu.lu@intel.com>
22104
22105 * sysdeps/x86_64/strlen.S: Unroll the loop.
22106 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22107 strlen-sse2 strlen-sse2-bsf.
22108 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
22109 __strlen_no_bsf if bit_Slow_BSF is set.
22110 (__strlen_sse42): Removed.
22111 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
22112 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
22113
8b2b7715
RM
221142010-08-25 Roland McGrath <roland@redhat.com>
22115
22116 * sysdeps/x86_64/multiarch/varshift.S: File removed.
22117 * sysdeps/x86_64/multiarch/varshift.c: New file.
22118 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
22119 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
22120 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
22121 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22122
e73015f2
L
221232010-08-25 H.J. Lu <hongjiu.lu@intel.com>
22124
22125 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22126 strlen-sse2 strlen-sse2-bsf.
22127 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
22128 __strlen_sse2_bsf if bit_Slow_BSF is unset.
22129 (__strlen_sse2): Removed.
22130 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
22131 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
22132 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22133 bit_Slow_BSF for Atom.
22134 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
22135 (index_Slow_BSF): Define.
22136 (HAS_SLOW_BSF): Define.
22137
df24a73e
UD
221382010-08-25 Ulrich Drepper <drepper@redhat.com>
22139
22140 [BZ #10851]
22141 * resolv/res_init.c (__res_vinit): When no server address at all
22142 is given default to loopback.
22143
f2ac4868
RM
221442010-08-24 Roland McGrath <roland@redhat.com>
22145
09055553
RM
22146 * configure.in: Remove config-name.h generation.
22147 * configure: Regenerated.
22148 * config-name.in: File removed.
22149 * scripts/config-uname.sh: New file.
22150 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
22151 ($(objdir)config-name.h): New target.
22152
f2ac4868
RM
22153 * sunrpc/rpc_parse.h: Avoid nested comment.
22154
73f27d5e
RH
221552010-08-24 Richard Henderson <rth@redhat.com>
22156 Ulrich Drepper <drepper@redhat.com>
22157 H.J. Lu <hongjiu.lu@intel.com>
22158
22159 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
22160 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
22161 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
22162 Replace _mm_srli_si128 with __m128i_shift_right. Replace
22163 _mm_alignr_epi8 with _mm_loadu_si128.
22164 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
22165 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
22166 (__m128i_shift_right): Removed.
22167 * sysdeps/i386/i686/multiarch/varshift.h: New file.
22168 * sysdeps/i386/i686/multiarch/varshift.S: New file.
22169 * sysdeps/x86_64/multiarch/varshift.h: New file.
22170 * sysdeps/x86_64/multiarch/varshift.S: New file.
22171
84b9230c
MF
221722010-08-21 Mike Frysinger <vapier@gentoo.org>
22173
22174 * configure.in: Move assembler checks to before sysdep dir checking.
22175
9bbd0ddc
PB
221762010-08-20 Petr Baudis <pasky@suse.cz>
22177
22178 * LICENSES: Sync the sunrpc license.
22179
9da4bb31
UD
221802010-08-19 Ulrich Drepper <drepper@redhat.com>
22181
a7ab6ec8
UD
22182 * sunrpc/auth_des.c: Update copyright notice once again.
22183 * sunrpc/auth_none.c: Likewise.
22184 * sunrpc/auth_unix.c: Likewise.
22185 * sunrpc/authdes_prot.c: Likewise.
22186 * sunrpc/authuxprot.c: Likewise.
22187 * sunrpc/bindrsvprt.c: Likewise.
22188 * sunrpc/clnt_gen.c: Likewise.
22189 * sunrpc/clnt_perr.c: Likewise.
22190 * sunrpc/clnt_raw.c: Likewise.
22191 * sunrpc/clnt_simp.c: Likewise.
22192 * sunrpc/clnt_tcp.c: Likewise.
22193 * sunrpc/clnt_udp.c: Likewise.
22194 * sunrpc/clnt_unix.c: Likewise.
22195 * sunrpc/des_crypt.c: Likewise.
22196 * sunrpc/des_soft.c: Likewise.
22197 * sunrpc/get_myaddr.c: Likewise.
22198 * sunrpc/getrpcport.c: Likewise.
22199 * sunrpc/key_call.c: Likewise.
22200 * sunrpc/key_prot.c: Likewise.
22201 * sunrpc/openchild.c: Likewise.
22202 * sunrpc/pm_getmaps.c: Likewise.
22203 * sunrpc/pm_getport.c: Likewise.
22204 * sunrpc/pmap_clnt.c: Likewise.
22205 * sunrpc/pmap_prot.c: Likewise.
22206 * sunrpc/pmap_prot2.c: Likewise.
22207 * sunrpc/pmap_rmt.c: Likewise.
22208 * sunrpc/rpc/auth.h: Likewise.
22209 * sunrpc/rpc/auth_unix.h: Likewise.
22210 * sunrpc/rpc/clnt.h: Likewise.
22211 * sunrpc/rpc/des_crypt.h: Likewise.
22212 * sunrpc/rpc/key_prot.h: Likewise.
22213 * sunrpc/rpc/netdb.h: Likewise.
22214 * sunrpc/rpc/pmap_clnt.h: Likewise.
22215 * sunrpc/rpc/pmap_prot.h: Likewise.
22216 * sunrpc/rpc/pmap_rmt.h: Likewise.
22217 * sunrpc/rpc/rpc.h: Likewise.
22218 * sunrpc/rpc/rpc_des.h: Likewise.
22219 * sunrpc/rpc/rpc_msg.h: Likewise.
22220 * sunrpc/rpc/svc.h: Likewise.
22221 * sunrpc/rpc/svc_auth.h: Likewise.
22222 * sunrpc/rpc/types.h: Likewise.
22223 * sunrpc/rpc/xdr.h: Likewise.
22224 * sunrpc/rpc_clntout.c: Likewise.
22225 * sunrpc/rpc_cmsg.c: Likewise.
22226 * sunrpc/rpc_common.c: Likewise.
22227 * sunrpc/rpc_cout.c: Likewise.
22228 * sunrpc/rpc_dtable.c: Likewise.
22229 * sunrpc/rpc_hout.c: Likewise.
22230 * sunrpc/rpc_main.c: Likewise.
22231 * sunrpc/rpc_parse.c: Likewise.
22232 * sunrpc/rpc_parse.h: Likewise.
22233 * sunrpc/rpc_prot.c: Likewise.
22234 * sunrpc/rpc_sample.c: Likewise.
22235 * sunrpc/rpc_scan.c: Likewise.
22236 * sunrpc/rpc_scan.h: Likewise.
22237 * sunrpc/rpc_svcout.c: Likewise.
22238 * sunrpc/rpc_tblout.c: Likewise.
22239 * sunrpc/rpc_util.c: Likewise.
22240 * sunrpc/rpc_util.h: Likewise.
22241 * sunrpc/rpcinfo.c: Likewise.
22242 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
22243 * sunrpc/rpcsvc/key_prot.x: Likewise.
22244 * sunrpc/rpcsvc/klm_prot.x: Likewise.
22245 * sunrpc/rpcsvc/mount.x: Likewise.
22246 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
22247 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
22248 * sunrpc/rpcsvc/rex.x: Likewise.
22249 * sunrpc/rpcsvc/rstat.x: Likewise.
22250 * sunrpc/rpcsvc/rusers.x: Likewise.
22251 * sunrpc/rpcsvc/sm_inter.x: Likewise.
22252 * sunrpc/rpcsvc/spray.x: Likewise.
22253 * sunrpc/rpcsvc/yppasswd.x: Likewise.
22254 * sunrpc/rtime.c: Likewise.
22255 * sunrpc/svc.c: Likewise.
22256 * sunrpc/svc_auth.c: Likewise.
22257 * sunrpc/svc_authux.c: Likewise.
22258 * sunrpc/svc_raw.c: Likewise.
22259 * sunrpc/svc_run.c: Likewise.
22260 * sunrpc/svc_simple.c: Likewise.
22261 * sunrpc/svc_tcp.c: Likewise.
22262 * sunrpc/svc_udp.c: Likewise.
22263 * sunrpc/svc_unix.c: Likewise.
22264 * sunrpc/svcauth_des.c: Likewise.
22265 * sunrpc/xcrypt.c: Likewise.
22266 * sunrpc/xdr.c: Likewise.
22267 * sunrpc/xdr_array.c: Likewise.
22268 * sunrpc/xdr_float.c: Likewise.
22269 * sunrpc/xdr_mem.c: Likewise.
22270 * sunrpc/xdr_rec.c: Likewise.
22271 * sunrpc/xdr_ref.c: Likewise.
22272 * sunrpc/xdr_sizeof.c: Likewise.
22273 * sunrpc/xdr_stdio.c: Likewise.
22274
9da4bb31
UD
22275 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
22276 handling.
22277
bdaa77bc
AS
222782010-08-19 Andreas Schwab <schwab@redhat.com>
22279
22280 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
22281
fe2f79db
LM
222822010-08-19 Luis Machado <luisgpm@br.ibm.com>
22283
22284 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
22285 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
22286 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
22287 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
22288 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
22289 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
22290 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
22291 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
22292 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
22293 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
22294 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
22295 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
22296 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
22297 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
22298
b9b42ee0
AB
222992010-07-26 Anton Blanchard <anton@samba.org>
22300
22301 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
22302 * malloc/arena.c (heap_trim): Likewise.
22303
1c06ba31
UD
223042010-08-16 Ulrich Drepper <drepper@redhat.com>
22305
22306 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
22307 here. Not...
22308 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
22309 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
22310
f8392f40
L
223112010-08-12 H.J. Lu <hongjiu.lu@intel.com>
22312
22313 * sysdeps/i386/elf/Makefile: New file.
22314
3162f12e
AS
223152010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22316
22317 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
22318 from fanotify_init.
22319 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
22320 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22321
28c90b2c
UD
223222010-08-15 Ulrich Drepper <drepper@redhat.com>
22323
22324 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
22325 of strncasecmp_l.
1feccb6c 22326 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 22327
ca6bb004
UD
223282010-08-14 Ulrich Drepper <drepper@redhat.com>
22329
e9f82e0d
UD
22330 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22331 strncase_l-nonascii.
22332 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22333 Add strncase_l-ssse3.
22334 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
22335 * sysdeps/x86_64/strcmp.S: Likewise.
22336 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
22337 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
22338 * sysdeps/x86_64/strncase.S: New file.
22339 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
22340 * sysdeps/x86_64/strncase_l.S: New file.
22341 * string/Makefile (strop-tests): Add strncasecmp.
22342 * string/test-strncasecmp.c: New file.
22343
22344 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
22345 warning.
22346
ca6bb004
UD
22347 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
22348 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
22349
052fa7b3
AS
223502010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22351
22352 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
22353
962dba78
UD
223542010-08-12 Ulrich Drepper <drepper@redhat.com>
22355
22356 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
22357 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
22358 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
22359
bebff237
AM
223602010-05-01 Alan Modra <amodra@gmail.com>
22361
22362 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
22363 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
22364 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
22365 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
22366 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
22367 tidying. Don't tail-call __sigjmp_save for static lib.
22368 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
22369 save location.
22370 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
22371 (CALL_MCOUNT): Add eh info, and nop after bl.
22372 (TAIL_CALL_SYSCALL_ERROR): New macro.
22373 (PSEUDO_RET): Use it.
22374 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22375 Correct save location of integer regs and cr.
22376 (_dl_profile_resolve): Correct cr save location. Delete nops
22377 after bl when SHARED. Reduce cfi size a little by better
22378 placement of cfi directives.
22379 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
22380 make a stack frame. Instead use parm save area as a temp.
22381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
22382 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
22383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22384 Don't make a stack frame for parent, use parm save area.
22385 Increase child stack frame to 112 bytes. Don't save unused reg,
22386 and adjust reg usage. Set up cfi on error recovery and
22387 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
22388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22389 (__makecontext): Add dummy nop after jump to exit.
22390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
22391 Use correct parm save area and cr save, reduce stack frame.
22392 Correct cfi for possible PSEUDO_RET frame setup.
22393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
22394 Branch to local label emitted by PSEUDO_RET rather than
22395 __syscall_error.
22396
02637374
AS
223972010-08-12 Andreas Schwab <schwab@redhat.com>
22398
22399 [BZ #11904]
22400 * locale/programs/locale.c (print_assignment): New function.
22401 (show_locale_vars): Use it.
22402
c3e2f19b
UD
224032010-08-11 Ulrich Drepper <drepper@redhat.com>
22404
3cdaa6ad
UD
22405 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
22406 field.
22407 (struct statfs64): Likewise.
22408 (_STATFS_F_FLAGS): Define.
22409 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
22410 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22411 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
22412 (ST_VALID): Define locally.
22413 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
22414 __statvfs_getflags, use the provided value.
22415 * sysdeps/unix/sysv/linux/kernel-features.h: Define
22416 __ASSUME_STATFS_F_FLAGS.
22417
754f7da3
UD
22418 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
22419
10b3bedc
UD
22420 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
22421 Add sys/fanotify.h.
22422 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
22423 fanotify_mask for GLIBC_2.13.
22424 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
22425 fanotify_init and fanotify_mark.
22426 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22427 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
22428
c08fb0d7
UD
22429 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
22430 Add prlimit.
22431 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
22432 prlimit64 for GLIBC_2.13.
22433 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
22434 prlimit64.
22435 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
22436 syscall.
22437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
22438 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22439 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
22440 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
22441 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
22442 add prlimit alias.
22443 * sysdeps/unix/sysv/linux/prlimit.c: New file.
22444
15bac72b
UD
22445 [BZ #11903]
22446 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
22447 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
22448
c3e2f19b
UD
22449 * nss/Makefile: Add rules to build and run tst-nss-test1.
22450 * shlib-versions: Add entry for libnss_test1.
22451 * nss/nss_test1.c: New file.
22452 * nss/tst-nss-test1.c: New file.
22453
22454 * nss/nsswitch.c (__nss_database_custom): Define new variable.
22455 (__nss_configure_lookup): Set appropriate entry in
22456 __nss_configure_lookup to true.
22457 * nss/nsswitch.h: Define enum with indeces of databases in
22458 databases and __nss_database_custom arrays. Declare
22459 __nss_database_custom.
22460 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
22461 to avoid using nscd when custom rules are installed.
22462 * nss/getXXbyYY_r.c: Likewise.
22463 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22464
22465 * nss/nss_files/files-parse.c: Whitespace fixes.
22466
f15ce4d8
UD
224672010-08-09 Ulrich Drepper <drepper@redhat.com>
22468
22469 [BZ #11883]
22470 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
22471 * posix/fnmatch_loop.c: Likewise.
22472
d22e4cc9
AK
224732010-07-17 Andi Kleen <ak@linux.intel.com>
22474
22475 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
22476 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
22477 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
22478 * Versions.def [GLIBC_2.13]: Add.
22479
805bc17d
UD
224802010-08-06 Ulrich Drepper <drepper@redhat.com>
22481
22482 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22483 Also fail if tpwd after pwuid call is NULL.
22484
5a42321d
ST
224852010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
22486
22487 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
22488 when converting to ms.
22489
fd3ebeda
ST
224902010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22491
22492 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
22493 EOPNOTSUPP errors with ENOTTY.
22494 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
22495 EOPNOTSUPP errors with ENOTTY.
22496
73507d3a
UD
224972010-07-31 Ulrich Drepper <drepper@redhat.com>
22498
22499 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22500 Add strcasecmp_l-ssse3.
22501 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
22502 strcasecmp.
22503 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
22504 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
22505 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
22506
fe36dd02
UD
225072010-07-30 Ulrich Drepper <drepper@redhat.com>
22508
66f6765a
UD
22509 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
22510
42e08a54
UD
22511 * string/Makefile (strop-tests): Add strcasecmp.
22512 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22513 strcasecmp_l-nonascii.
22514 (gen-as-const-headers): Add locale-defines.sym.
22515 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
22516 * sysdeps/x86_64/strcasecmp.S: New file.
22517 * sysdeps/x86_64/strcasecmp_l.S: New file.
22518 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
22519 * sysdeps/x86_64/locale-defines.sym: New file.
22520 * string/test-strcasecmp.c: New file.
22521
fe36dd02
UD
22522 * string/test-strcasestr.c: Test both ends of the range of characters.
22523 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
22524
48cbc0d6
RM
225252010-07-29 Roland McGrath <roland@redhat.com>
22526
76e6d6bc 22527 [BZ #11856]
48cbc0d6
RM
22528 * manual/locale.texi (Yes-or-No Questions): Fix example code.
22529
880113d9
UD
225302010-07-27 Ulrich Drepper <drepper@redhat.com>
22531
22532 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
22533 for ld.so.
22534
deb9cabb
AS
225352010-07-27 Andreas Schwab <schwab@redhat.com>
22536
22537 * manual/memory.texi (Malloc Tunable Parameters): Document
22538 M_PERTURB.
22539
1c7570ff
RM
225402010-07-26 Roland McGrath <roland@redhat.com>
22541
22542 [BZ #11840]
22543 * configure.in (-fgnu89-inline check): Set and substitute
22544 gnu89_inline, not libc_cv_gnu89_inline.
22545 * configure: Regenerated.
22546 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
22547
24fb0f88
UD
225482010-07-26 Ulrich Drepper <drepper@redhat.com>
22549
22550 * string/test-strnlen.c: New file.
22551 * string/Makefile (strop-tests): Add strnlen.
22552 * string/tester.c (test_strnlen): Add a few more test cases.
22553 * string/tst-strlen.c: Better error reporting.
22554
22555 * sysdeps/x86_64/strnlen.S: New file.
22556
8e96b93a
UD
225572010-07-24 Ulrich Drepper <drepper@redhat.com>
22558
22559 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
22560 lower-latency instructions.
22561
dbc676d4
UD
225622010-07-23 Ulrich Drepper <drepper@redhat.com>
22563
22564 * string/test-strcasestr.c: New file.
22565 * string/test-strstr.c: New file.
22566 * string/Makefile (strop-tests): Add strstr and strcasestr.
22567 * string/str-two-way.h: Don't undefine MAX.
22568 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
22569
f6a31e0e
AS
225702010-07-21 Andreas Schwab <schwab@redhat.com>
22571
22572 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22573 strcasestr-nonascii.
22574 (CFLAGS-strcasestr-nonascii.c): Define.
22575 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
22576 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
22577 Remove unused attribute.
22578
5dbc3b6c
RM
225792010-07-20 Roland McGrath <roland@redhat.com>
22580
22581 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
22582 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
22583 ld.so.cache was broken. With it, there is no way to disable dsocaps
22584 like LD_HWCAP_MASK can disable hwcaps.
22585
23d101d8
EPM
225862010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22587
22588 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
22589
cc9f2e47
UD
225902010-07-16 Ulrich Drepper <drepper@redhat.com>
22591
22592 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
22593 call in strcasestr.
22594 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
22595 __strcasestr_sse42_nonascii.
22596 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
22597 strcasestr-nonascii.c.
22598 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
22599
77c1b069
LM
226002010-06-15 Luis Machado <luisgpm@br.ibm.com>
22601
22602 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
22603 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
22604 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
22605 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
22606
440566c3
UD
226072010-07-09 Ulrich Drepper <drepper@redhat.com>
22608
22609 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
22610 fcntl.
22611
5be9d05d
AS
226122010-07-06 Andreas Schwab <schwab@redhat.com>
22613
c30b7ee2 22614 [BZ #11577]
5be9d05d
AS
22615 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
22616 dl_signal_cerror.
22617
8a492a67
UD
226182010-07-06 Ulrich Drepper <drepper@redhat.com>
22619
22620 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
22621 _PC_PIPE_BUF using F_GETPIPE_SZ.
22622
713df3d5
RM
226232010-07-05 Roland McGrath <roland@redhat.com>
22624
22625 * manual/arith.texi (Rounding Functions): Fix rint description
22626 implicit in round description.
22627
702e8f14
UD
226282010-07-02 Ulrich Drepper <drepper@redhat.com>
22629
22630 * elf/Makefile: Fix linking for a few tests to make recent linker
22631 happy.
22632
52ed8be9
AS
226332010-06-30 Andreas Schwab <schwab@redhat.com>
22634
22635 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
22636 $(common-objpfx)libc_nonshared.a.
22637
f47c9a11
LM
226382010-06-21 Luis Machado <luisgpm@br.ibm.com>
22639
22640 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
22641 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
22642 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22643 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22644 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
22645 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
22646 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22647 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
22649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
22650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
22651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
22653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
22655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
22656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
22657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
22658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
22660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
22662 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
22663 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
22664 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
22665 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
22666 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
22667 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
22668 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
22669 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
22670 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
22671 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
22672 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
22673 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
22674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
22675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
22676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
22677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
22678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
22679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
22680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
22681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
22682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
22683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
22684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
22685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
22686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
22687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
22688
6fb8cbcb
L
226892010-06-25 H.J. Lu <hongjiu.lu@intel.com>
22690
22691 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
22692 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
22693 * string/memmove.c (memmove): Renamed to ...
22694 (MEMMOVE): ...this. Default to memmove.
22695 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
22696 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
22697 (END_CHK): Define.
22698 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22699 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
22700 mempcpy-ssse3-back memmove-ssse3-back.
22701 * sysdeps/x86_64/multiarch/bcopy.S: New file .
22702 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
22703 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
22704 * sysdeps/x86_64/multiarch/memcpy.S: New file.
22705 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
22706 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
22707 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
22708 * sysdeps/x86_64/multiarch/memmove.c: New file.
22709 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
22710 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
22711 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
22712 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
22713 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
22714 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
22715 Define.
22716 (index_Fast_Copy_Backward): Define.
22717 (HAS_ARCH_FEATURE): Define.
22718 (HAS_FAST_REP_STRING): Define.
22719 (HAS_FAST_COPY_BACKWARD): Define.
22720
4e733bac 227212010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
22722
22723 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22724 Restore proper fallback handling.
22725
63c4ed22
UD
227262010-06-19 Ulrich Drepper <drepper@redhat.com>
22727
ac2b484c
UD
22728 [BZ #11701]
22729 * posix/group_member.c (__group_member): Correct checking loop.
22730
63c4ed22
UD
22731 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
22732 OOM in getpwuid_r correctly. Return error number when the caller
22733 should return, otherwise -1.
22734 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
22735 call returning > 0 value.
22736 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
22737
765ade4b
AS
227382010-06-07 Andreas Schwab <schwab@redhat.com>
22739
22740 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
22741 libc_nonshared.a from targets in modules-names.
22742
80da2e09
KS
227432010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
22744
22745 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
22746 requires it.
22747
158db122
LM
227482010-06-10 Luis Machado <luisgpm@br.ibm.com>
22749
22750 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
22751 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
22752 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
22753 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
22754
caa78cf8
AS
227552010-06-02 Andreas Schwab <schwab@redhat.com>
22756
22757 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
22758
b2ef2c01
UD
227592010-06-14 Ulrich Drepper <drepper@redhat.com>
22760
22761 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
22762 and F_GETPIPE_SZ.
22763 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
22764 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22765 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22766 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22767 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22768 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
22769
fbd643b6
RM
227702010-06-14 Roland McGrath <roland@redhat.com>
22771
22772 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
22773
f32f2869
JJ
227742010-06-07 Jakub Jelinek <jakub@redhat.com>
22775
22776 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
22777 __REDIRECT followed by __THROW.
22778 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
22779 * posix/getopt.h (getopt): Likewise.
22780
2a50c078
EPM
227812010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22782
22783 * hurd/lookup-at.c (__file_name_lookup_at): Accept
22784 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
22785 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
22786 in AT_FLAGS.
22787 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
22788 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
22789
eb5ad2eb
LM
227902010-05-28 Luis Machado <luisgpm@br.ibm.com>
22791
22792 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
22793
3c88fe1e
L
227942010-05-26 H.J. Lu <hongjiu.lu@intel.com>
22795
22796 [BZ #11640]
22797 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22798 Properly check family and model.
22799
d2f73151
TY
228002010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
22801
22802 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
22803
ebd2e13d
LM
228042010-05-24 Luis Machado <luisgpm@br.ibm.com>
22805
22806 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
22807
b32b8b45
UD
228082010-05-21 Ulrich Drepper <drepper@redhat.com>
22809
22810 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
22811 symbol reference.
22812
9acbe24d
AS
228132010-05-19 Andreas Schwab <schwab@redhat.com>
22814
22815 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
22816 symbol reference.
22817
f0ccf6ea
AS
228182010-05-21 Andreas Schwab <schwab@redhat.com>
22819
3d04ff3a
AS
22820 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
22821 and internal_recvmmsg.
22822 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
22823 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
22824 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
22825 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
22826
f0ccf6ea
AS
22827 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
22828 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
22829 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
22830
5b08ac57
AS
228312010-05-20 Andreas Schwab <schwab@redhat.com>
22832
22833 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
22834
4828935d
LM
228352010-05-17 Luis Machado <luisgpm@br.ibm.com>
22836
22837 POWER7 optimizations.
22838 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
22839 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
22840
373d545e
UD
228412010-05-19 Ulrich Drepper <drepper@redhat.com>
22842
22843 * version.h: Update for 2.13 development version.
22844
21a2b1ae
AS
228452010-05-12 Andrew Stubbs <ams@codesourcery.com>
22846
22847 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
22848 exceptions. Return 0.
22849
3f7dcb2b
RM
228502010-05-07 Roland McGrath <roland@redhat.com>
22851
22852 * elf/ldconfig.c (main): Add a const.
22853
5f24d53a 228542010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 22855
a160f8d8
UD
22856 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
22857 (args_options): Add no-idn option.
22858 (ahosts_keys_int): Add idn_flags to ai_flags.
22859 (parse_option): Handle 'i' option to clear idn_flags.
22860
5f24d53a
UD
22861 * malloc/malloc.c (_int_free): Possible race in the most recently
22862 added check. Only act on the data if no current modification
22863 happened.
265bb1ce
UD
22864
22865See ChangeLog.17 for earlier changes.