]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix ldbl-128ibm hypotl inaccuracy for arguments with large ratio (bug 14868).
[thirdparty/glibc.git] / ChangeLog
CommitLineData
7c7feb47
JM
12012-11-22 Joseph Myers <joseph@codesourcery.com>
2
8e27e3cc
JM
3 [BZ #14868]
4 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
5 Return a+b for ratio over 2**120, not 2**60.
6 * math/libm-test.inc (hypot_test): Add another test.
7
c9c0279b
JM
8 * math/libm-test.inc (clog_test): Use
9 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
10 (clog10_test): Likewise.
11
7c7feb47
JM
12 [BZ #6778]
13 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
14
fff1530e
AS
152012-11-22 Andreas Schwab <schwab@suse.de>
16
17 * sysdeps/i386/fpu/libm-test-ulps: Update.
18
94558d30
PT
192012-11-22 Pino Toscano <toscano.pino@tiscali.it>
20
21 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
22 printf output with newline.
23
7e1be741
L
242012-11-21 H.J. Lu <hongjiu.lu@intel.com>
25
6bfea974
L
26 [BZ #14865]
27 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
28 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
29 -z nodlopen, -z initfirst and -z execstack support.
30 * configure: Regenerated.
31
7e1be741
L
32 * elf/elf.h (DF_1_NODIRECT): New macro.
33 (DF_1_IGNMULDEF): Likewise.
34 (DF_1_NOKSYMS): Likewise.
35 (DF_1_NOHDR): Likewise.
36 (DF_1_EDITED): Likewise.
37 (DF_1_NORELOC): Likewise.
38 (DF_1_SYMINTPOSE): Likewise.
39 (DF_1_GLOBAUDIT): Likewise.
40 (DF_1_SINGLETON): Likewise.
41 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
42 DT_1_SUPPORTED_MASK bits.
43 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
44
105ce2ce
CD
452012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
46
47 * sysdeps/unix/make-syscalls.sh: Document prefixes.
48
123be9de
TS
492012-11-20 Thomas Schwinge <thomas@codesourcery.com>
50
d072f3f7
TS
51 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
52 macro.
53
123be9de
TS
54 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
55 (sendmmsg): Move declarations...
56 * socket/sys/socket.h: ... here.
57 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
58 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
59 include it from...
60 * socket/recvmmsg.c: ... this new file.
61 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
62 (sendmmsg): Rename to __sendmmsg, create weak alias and make
63 definition of __sendmmsg hidden.
64 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
65 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
66 Move ENOSYS stub into and include it from...
67 * socket/sendmmsg.c: ... this new file.
68 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
69 (sysdep_routines): Move recvmmsg and sendmmsg...
70 * socket/Makefile (routines): ... here.
71 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
72 (GLIBC_PRIVATE): Add __sendmmsg.
73 * include/sys/socket.h (__sendmmsg): Add declarations.
74 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
75 sendmmsg.
76
cf9a5d18
JM
772012-11-20 Joseph Myers <joseph@codesourcery.com>
78
79 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
80 variable I1 with __attribute__ ((unused)).
81 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
82
ecd4caf9
JM
832012-11-19 Joseph Myers <joseph@codesourcery.com>
84
be14d48f
JM
85 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
86 DUMMY variables with __attribute__ ((unused)).
87
ecd4caf9
JM
88 * bits/byteswap.h: Include <bits/types.h>.
89 (__bswap_64): Use __uint64_t instead of unsigned long long int.
90
986cab95
PT
912012-11-19 Pino Toscano <toscano.pino@tiscali.it>
92
93 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
94 string_t. Do not manually set errno.
95 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
96 length with __strnlen. Make sure to both set errno and return it on
97 failure.
98
6d33cc9d
DM
992012-11-19 David S. Miller <davem@davemloft.net>
100
101 With help from Joseph Myers.
102 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
103 very large arguments properly.
104 * math/libm-test.inc (atan_test): New tests.
105 (atan2_test): New tests.
106 * sysdeps/sparc/fpu/libm-test-ulps: Update.
107 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
108
ee663277
JM
1092012-11-19 Joseph Myers <joseph@codesourcery.com>
110
877f2d8e
JM
111 [BZ #14856]
112 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
113 Define to 3.
114
116fc08a
JM
115 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
116 [POSIX] (EADDRNOTAVAIL): Likewise.
117 [POSIX] (EAFNOSUPPORT): Likewise.
118 [POSIX] (EALREADY): Likewise.
119 [POSIX] (ECONNABORTED): Likewise.
120 [POSIX] (ECONNREFUSED): Likewise.
121 [POSIX] (ECONNRESET): Likewise.
122 [POSIX] (EDESTADDRREQ): Likewise.
123 [POSIX] (EDQUOT): Likewise.
124 [POSIX] (EHOSTUNREACH): Likewise.
125 [POSIX] (EIDRM): Likewise.
126 [POSIX] (EISCONN): Likewise.
127 [POSIX] (ELOOP): Likewise.
128 [POSIX] (EMULTIHOP): Likewise.
129 [POSIX] (ENETDOWN): Likewise.
130 [POSIX] (ENETUNREACH): Likewise.
131 [POSIX] (ENOBUFS): Likewise.
132 [POSIX] (ENODATA): Likewise.
133 [POSIX] (ENOLINK): Likewise.
134 [POSIX] (ENOMSG): Likewise.
135 [POSIX] (ENOPROTOOPT): Likewise.
136 [POSIX] (ENOSR): Likewise.
137 [POSIX] (ENOSTR): Likewise.
138 [POSIX] (ENOTCONN): Likewise.
139 [POSIX] (ENOTSOCK): Likewise.
140 [POSIX] (EOPNOTSUPP): Likewise.
141 [POSIX] (EOVERFLOW): Likewise.
142 [POSIX] (EPROTO): Likewise.
143 [POSIX] (EPROTONOSUPPORT): Likewise.
144 [POSIX] (EPROTOTYPE): Likewise.
145 [POSIX] (ESTALE): Likewise.
146 [POSIX] (ETIME): Likewise.
147 [POSIX] (ETXTBSY): Likewise.
148 [POSIX] (EWOULDBLOCK): Likewise.
149 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
150 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
151 [POSIX] (SEEK_CUR): Likewise.
152 [POSIX] (SEEK_END): Likewise.
153 [POSIX || UNIX98] (mode_t): Do not require.
154 [POSIX] (off_t): Likewise.
155 [POSIX] (pid_t): Likewise.
156 [POSIX] (sys/stat.h): Do not allow header.
157 [POSIX] (unistd.h): Likewise.
158 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
159 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
160 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
161 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
162 require.
163 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
164 sigevent): Specify elements.
165 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
166 entry.
167 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
168 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
169
a483863f
JM
170 * conform/data/cpio.h-data [POSIX]: Disable whole file.
171 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
172 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
173 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
174 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
175 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
176 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
177 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
178 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
179 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
180 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
181 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
182 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
183 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
184 Likewise.
185 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
186 Likewise.
187 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
188 Likewise.
189 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
190 Likewise.
191 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
192 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
193 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
194 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
195 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
196 Specify lower bound on value.
197 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
198 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
199 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
200 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
201 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
202 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
203 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
204 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
205 value.
206 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
207 as optional.
208 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
209 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
210 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
211 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
212 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
213 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
214 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
215 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
216 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
217 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
218 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
219 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
220 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
221 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
222 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
223 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
224 entry.
225 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
226 optional.
227 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
228 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
229 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
230 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
231 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
232 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
233 Likewise.
234 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
235 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
236 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
237 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
238 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
239 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
240 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
241 as optional.
242 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
243 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
244 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
245 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
246 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
247 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
248 specify as optional.
249 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
250 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
251 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
252 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
253 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
254 [XPG3] (NL_LANGMAX): Likewise.
255 [POSIX || XPG3] (NL_MSGMAX): Likewise.
256 [POSIX || XPG3] (NL_NMAX): Likewise.
257 [POSIX || XPG3] (NL_SETMAX): Likewise.
258 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
259 [XPG3] (NZERO): Likewise.
260 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
261 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
262 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
263 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
264 (REG_ERANGE): Expect.
265 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
266 optional-constant.
267 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
268 Use (void) in prototype.
269 [POSIX] (*_t): Allow.
270 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
271 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
272 (WRDE_BADVAL): Expect.
273
5ba924e3
JM
274 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
275 expect.
276 [XPG3 || XPG4] (O_RSYNC): Likewise.
277 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
278 Likewise.
279 [XPG3 || XPG4] (pthread_sigmask): Likewise.
280 [XPG3 || XPG4] (sigqueue): Likewise.
281 [XPG3 || XPG4] (sigtimedwait): Likewise.
282 [XPG3 || XPG4] (sigwaitinfo): Likewise.
283 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
284 [XPG3 || XPG4] (vsnprintf): Likewise.
285 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
286 Likewise.
287 [XPG3 || XPG4] (blksize_t): Likewise.
288 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
289 Likewise.
290 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
291 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
292 [XPG3 || XPG4] (struct itimerspec): Likewise.
293 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
294 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
295 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
296 [XPG3 || XPG4] (clockid_t): Likewise.
297 [XPG3 || XPG4] (timer_t): Likewise.
298 [XPG3 || XPG4] (clock_getres): Likewise.
299 [XPG3 || XPG4] (clock_gettime): Likewise.
300 [XPG3 || XPG4] (clock_settime): Likewise.
301 [XPG3 || XPG4] (nanosleep): Likewise.
302 [XPG3 || XPG4] (timer_create): Likewise.
303 [XPG3 || XPG4] (timer_delete): Likewise.
304 [XPG3 || XPG4] (timer_gettime): Likewise.
305 [XPG3 || XPG4] (timer_getoverrun): Likewise.
306 [XPG3 || XPG4] (timer_settime): Likewise.
307 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
308 [XPG3 || XPG4] (getlogin_r): Likewise.
309 [XPG3 || XPG4] (pread): Likewise.
310 [XPG3 || XPG4] (pthread_atfork): Likewise.
311 [XPG3 || XPG4] (pwrite): Likewise.
312
ee663277
JM
313 [BZ #14835]
314 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
315 <bits/siginfo.h>.
316
942caa16
PT
3172012-11-19 Pino Toscano <toscano.pino@tiscali.it>
318
e19af380
PT
319 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
320 finalizing MALLSTREAM.
321
942caa16
PT
322 * sysdeps/mach/hurd/syncfs.c: New file.
323
cfde9b46
SP
3242012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
325
326 [BZ #14719]
327 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
328 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
329 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
330 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
331 (_nss_dns_gethostbyname4_r): Likewise.
332 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
333 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
334
f6da27e5
PH
3352012-11-19 Peng Haitao <penght@cn.fujitsu.com>
336
337 [BZ #13763]
338 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
339
6665d4a2
SM
3402012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
341
1f51ee92
SM
342 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
343 * elf/cache.c (print_entry): Print ",AArch64" for
344 FLAG_AARCH64_LIB64
345
6665d4a2
SM
346 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
347 * elf/cache.c (print_entry): Print ",hard-float" for
348 FLAG_ARM_LIBHF.
349
05b227bd
DM
3502012-11-18 David S. Miller <davem@davemloft.net>
351
352 With help from Joseph Myers.
353 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
354 cutoff to 2**-13.
355 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
356 cutoff to 2**-25.
357 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
358 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
359 small.
360 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
361 * math/libm-test.inc (y0_test): New tests.
362 (y1_test): New tests.
363 * sysdeps/i386/fpu/libm-test-ulps: Update.
364 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
365 * sysdeps/sparc/fpu/libm-test-ulps: Update.
366
786b0b67
AS
3672012-11-18 Andreas Schwab <schwab@linux-m68k.org>
368
369 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
370 64-bit targets.
371 * configure: Regenerated.
372
8e18b86d
DM
3732012-11-17 David S. Miller <davem@davemloft.net>
374
375 [BZ #14811]
376 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
377 nonzero exponents with absolute value below 0x1p-128 to +/-
378 0x1p-128.
379
531f1ae0
JM
3802012-11-17 Joseph Myers <joseph@codesourcery.com>
381
12df29e2
JM
382 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
383
150dc1a0
JM
384 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
385
531f1ae0
JM
386 * posix/getconf-speclist.c: New file.
387 * posix/posix-envs.def: Likewise.
388 * posix/confstr.c (START_ENV_GROUP): New macro.
389 (END_ENV_GROUP): Likewise.
390 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
391 (KNOWN_PRESENT_ENV_STRING): Likewise.
392 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
393 (UNKNOWN_ENVIRONMENT): Likewise.
394 (confstr): Include posix-envs.def instead of handling
395 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
396 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
397 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
398 (END_ENV_GROUP): Likewise.
399 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
400 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
401 (UNKNOWN_ENVIRONMENT): Likewise.
402 (__sysconf): Include posix-envs.def instead of handling associated
403 cases directly here.
404 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
405 preprocessing getconf-speclist.c rather than running getconf or
406 generating empty file.
407
a93f9cbc
PT
4082012-11-16 Pino Toscano <toscano.pino@tiscali.it>
409
410 * scripts/check-local-headers.sh: Ignore 'mach' headers.
411
d64d9f87
AL
4122012-11-16 Andrej Lajovic <natrij@gmail.com>
413
414 [BZ #14672]
415 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
416
447885eb
DM
4172012-11-16 David S. Miller <davem@davemloft.net>
418
419 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
420 smaller than LDBL_EPSILON/2.0L, just return xm1.
421
bcbf9830
L
4222012-11-16 H.J. Lu <hongjiu.lu@intel.com>
423
424 * elf/tst-array1.c (init): Set constructor priority to 1000.
425 (fini): Set destructor priority to 1000.
426 * elf/tst-array2dep.c: Likewise.
427
2b766585
SP
4282012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
429
430 [BZ #11741]
431 * libio/fileops.c (_IO_new_file_write): Correctly return error.
432 (_IO_new_file_xsputn): Also return EOF if none of the input
433 data was written when overflow failed.
434 * libio/iopadn.c (_IO_padn): Likewise.
435 * libio/iowpadn.c (_IO_wpadn): Likewise.
436 * stdio-common/tst-put-error.c: Add copyright notice.
437 (do_test): Add case for printing padded string.
438 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
439 _IO_padn returned error.
440 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
441 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
442 return EOF.
443
b1848fde
SP
4442012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
445
446 * libio/libioP.h: Add comment note that the references to C++
447 bits are now obsolete.
448
2fd89785
MS
4492012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
450
451 * math/libm-test.inc (check_complex): Use asprintf.
452
e3ea5409
JM
4532012-11-14 Joseph Myers <joseph@codesourcery.com>
454
455 * debug/pcprofiledump.c (print_version): Update copyright year.
456 * malloc/memusagestat.c (print_version): Likewise.
457
2e64d265
L
4582012-11-14 H.J. Lu <hongjiu.lu@intel.com>
459
460 [BZ #14831]
461 * elf/Makefile (tests): Add tst-audit8.
462 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
463 ($(objpfx)tst-audit8.out): New target.
464 (tst-audit8-ENV): New variable.
465 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
466 audit if l_reloc_result is NULL.
467 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
468 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
469 * elf/tst-audit8.c: New file.
470
c485e4d2
MS
4712012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
472
473 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
474 * misc/Makefile (CFLAGS-select.c): Define.
475 * posix/Makefile (CFLAGS-pause.c): Define.
476
3a0d900a
DM
4772012-11-13 David S. Miller <davem@davemloft.net>
478
479 * crypt/Makefile: Move test targets after toplevel Rules
480 inclusion. Grab any necessary sysdep routines when linking.
481 * crypt/md5.c (md5_process_block): Remove define, we will always
482 name it __md5_process_block.
483 (md5_finish_ctx): Update md5_process_block call.
484 (md5_stream): Likewise.
485 (md5_process_bytes): Likewise.
486 (md5_process_block): Rename to __md5_process_block and move to ...
487 * crypt/md5-block.c: ... here.
488 * crypt/sha256.c (sha256_process_block): Move to ...
489 * crypt/sha256-block.c: ... here.
490 * crypt/sha512.c (sha512_process_block): Move to ...
491 * crypt/sha512-block.c: ... here.
492 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
493 path.
494 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
495 * sysdeps/sparc/sparc64/multiarch/Makefile
496 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
497 crypt subdir.
498 (localedef-aux): Add md5 crypto assembler when in locale subdir.
499 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
500 multiarch changes.
501 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
502 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
503 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
504 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
505 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
506 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
507 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
508 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
509 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
510 file.
511 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
512 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
513 file.
514 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
515
8ca89318
JM
5162012-11-13 Joseph Myers <joseph@codesourcery.com>
517
e27d476a
JM
518 * timezone/tzselect.ksh: Update from tzcode git revision
519 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
520 * timezone/zdump.c: Likewise.
521 * timezone/zic.c: Likewise.
522 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
523 in TZVERSION setting, not $(PKGVERSION).
524 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
525 REPORT_BUGS_TO settings.
526
8ca89318
JM
527 [BZ #14838]
528 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
529 macro.
530
47594329
MS
5312012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
532
533 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
534 detection to immediately after _FP_ROUND().
535 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
536 bits are 0.
537
640ac3f1
DM
5382012-11-11 David S. Miller <davem@davemloft.net>
539
540 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
541 inttypes.h
542 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
543 __close rather than their public counterparts.
544
3d2577bb
JM
5452012-11-10 Joseph Myers <joseph@codesourcery.com>
546
547 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
548 file.
549 [UNIX98] (sem_timedwait): Do not expect.
550 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
551 [XPG4 || UNIX98] (sockatmark): Do not expect.
552 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
553 (clock_getcpuclockid): Do not expect.
554 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
555 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
556 Do not expect.
557 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
558 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
559 [UNIX98] (vwscanf): Likewise.
560 [UNIX98] (vswscanf): Likewise.
561
fb1ae1ee
JM
5622012-11-09 Joseph Myers <joseph@codesourcery.com>
563
9ec6f8bd
JM
564 * timezone/version.h: Remove file.
565 * timezone/README: Do not refer to version.h.
566 * timezone/Makefile ($(objpfx)zic.o): New dependency on
567 $(objpfx)version.h.
568 ($(objpfx)zdump.o): Likewise.
c3f81911 569 ($(objpfx)version.h): New target.
9ec6f8bd 570
0aa8f8a1
JM
571 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
572 2012i.
573 * timezone/README: Don't mention modification to tzselect.ksh.
574 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
575 work on unmodified tzselect.ksh. Substitute version numbers in
576 tzselect.ksh.
577
4e87147f
JM
578 * Makefile (format-me): Remove.
579 (INSTALL): Adjust indentation. Use commands directly instead of
580 using $(format-me).
581
8b748aed
JM
582 * aclocal.m4 (ACX_PKGVERSION): New macro.
583 (ACX_BUGURL): Likewise.
584 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
585 (PKGVERSION): New AC_DEFINE_UNQUOTED.
586 (REPORT_BUGS_TO): Likewise.
587 * configure: Regenerated.
588 * config.h.in (PKGVERSION): New macro.
589 (REPORT_BUGS_TO): Likewise.
590 * config.make.in (PKGVERSION): New variable.
591 (PKGVERSION_TEXI): Likewise.
592 (REPORT_BUGS_TO): Likewise.
593 (REPORT_BUGS_TEXI): Likewise.
594 * Makefile (format-me): Use -I$(common-objpfx)manual.
595 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
596 ($(common-objpfx)manual/%): New target.
597 (manual/%): Remove target.
598 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
599 (print_version): Use PKGVERSION.
600 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
601 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
602 and REPORT_BUGS_TO.
603 ($(objpfx)xtrace): Likewise.
604 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
605 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
606 (print_version): Use PKGVERSION.
607 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
608 (do_version): Use PKGVERSION.
609 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
610 REPORT_BUGS_TO.
611 (common-ldd-rewrite): Likewise.
612 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
613 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
614 (print_version): Use PKGVERSION.
615 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
616 * elf/pldd.c (argp_program_bug_address): Remove variable.
617 (more_help): New function.
618 (argp): Use more_help.
619 (print_version): Use PKGVERSION.
620 * elf/sln.c (main): Use PKGVERSION.
621 (usage): Use REPORT_BUGS_TO.
622 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
623 (top level): Use PKGVERSION.
624 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
625 (print_version): Use PKGVERSION.
626 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
627 (print_version): Use PKGVERSION.
628 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
629 (print_version): Use PKGVERSION.
630 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
631 (print_version): Use PKGVERSION.
632 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
633 (print_version): Use PKGVERSION.
634 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
635 (print_version): Use PKGVERSION.
636 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
637 and BUGURL.
638 ($(objpfx)memusage): Likewise.
639 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
640 (do_version): Use PKGVERSION.
641 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
642 (print_version): Use PKGVERSION.
643 * malloc/mtrace.pl ($PACKAGE): Remove variable.
644 ($PKGVERSION): New variable.
645 ($REPORT_BUGS_TO): Likewise.
646 (usage): Use $REPORT_BUGS_TO.
647 (top level): Use $PKGVERSION.
648 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
649 ($(objpfx)pkgvers.texi): New rule.
650 ($(objpfx)stamp-pkgvers): Likewise.
651 * manual/install.texi: Include pkgvers.texi.
652 (--with-pkgversion): Document new configure option.
653 (--with-bugurl): Likewise.
654 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
655 than necessarily for this particular distribution. Use
656 REPORT_BUGS_TO for where to report bugs.
657 * INSTALL: Regenerated.
658 * manual/libc.texinfo: Include pkgvers.texi.
659 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
660 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
661 (print_version): Use PKGVERSION.
662 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
663 (print_version): Use PKGVERSION.
664 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
665 (print_version): Use PKGVERSION.
666 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
667 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
668 macro.
669 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
670 (print_version): Use PKGVERSION.
671 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
672 (print_version): Use PKGVERSION.
673 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
674 and PKGVERSION.
675
92e4b6a9
JM
676 * timezone/checktab.awk: Update from tzcode 2012i.
677 * timezone/ialloc.c: Likewise.
678 * timezone/private.h: Likewise.
679 * timezone/scheck.c: Likewise.
680 * timezone/tzfile.h: Likewise.
681 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
682 (TZVERSION): Hardcode tzcode version number.
683 * timezone/zdump.c: Update from tzcode 2012i.
684 * timezone/zic.c: Likewise.
685 * timezone/version.h: New file.
686 * timezone/README: Describe version.h. Update upstream location.
687
9bde902c
JM
688 [BZ #14824]
689 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
690 (mktemp): Enable declaration.
691 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
692 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
693 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
694 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
695 Likewise.
696 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
697 Likewise.
698 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
699 Likewise.
700 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
701 Likewise.
702 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
703 Likewise.
704 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
705 Likewise.
706
fb1ae1ee
JM
707 [BZ #14821]
708 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
709 offset in buffer as u_int32_t not u_long. Consistently use memcpy
710 for copies of such integer values.
711 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
712 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
713
2c1adbcb
AJ
7142012-11-09 Andreas Jaeger <aj@suse.de>
715
716 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
717 definitions and declarations that are provided by
718 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
719
d0f8457e
AK
7202012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
721
722 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
723 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
724 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
725 definition.
726
57241e26
MS
7272012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
728
729 * elf/elf.h: Update comment before AArch64 relocations.
730
60e8270d
DM
7312012-11-07 David S. Miller <davem@davemloft.net>
732
733 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
734 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
735 (__start_context): Declare.
736 (__makecontext_ret): Delete.
737 (__makecontext): Hook up __start_context instead of
738 __makecontext_ret.
739 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
740 (sysdep_routines): Add __start_context when in stdlib.
741
0fbb0fbc
JM
7422012-11-07 Joseph Myers <joseph@codesourcery.com>
743
744 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
745 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
746 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
747 hardcoded "nm".
748 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
749 (READELF): New variable. Use it instead of hardcoded "readelf".
750
eb48db7e
L
7512012-11-07 H.J. Lu <hongjiu.lu@intel.com>
752
753 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
754 * sysdeps/x86/Makefile: Here.
755 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
756 * sysdeps/x86/tst-xmmymm.sh: This.
757
05bcf62a
JM
7582012-11-07 Joseph Myers <joseph@codesourcery.com>
759
c4b6cf53
JM
760 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
761 expectations.
762 [UNIX98] (pthread_barrier_t): Do not expect.
763 [UNIX98] (pthread_barrierattr_t): Likewise.
764 [UNIX98] (pthread_spinlock_t): Likewise.
765 [UNIX98] (pthread_barrier_destroy): Likewise.
766 [UNIX98] (pthread_barrier_init): Likewise.
767 [UNIX98] (pthread_barrier_wait): Likewise.
768 [UNIX98] (pthread_barrierattr_destroy): Likewise.
769 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
770 [UNIX98] (pthread_barrierattr_init): Likewise.
771 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
772 [UNIX98] (pthread_getcpuclockid): Likewise.
773 [UNIX98] (pthread_mutex_timedlock): Likewise.
774 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
775 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
776 [UNIX98] (pthread_sigmask): Likewise.
777 [UNIX98] (pthread_spin_destroy): Likewise.
778 [UNIX98] (pthread_spin_init): Likewise.
779 [UNIX98] (pthread_spin_lock): Likewise.
780 [UNIX98] (pthread_spin_trylock): Likewise.
781 [UNIX98] (pthread_spin_unlock): Likewise.
782 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
783 Do not expect.
784 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
785 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
786 [XPG3 || XPG4] (pthread_cond_t): Likewise.
787 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
788 [XPG3 || XPG4] (pthread_key_t): Likewise.
789 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
790 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
791 [XPG3 || XPG4] (pthread_once_t): Likewise.
792 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
793 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
794 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
795 [XPG3 || XPG4] (pthread_t): Likewise.
796
cbe6e120
JM
797 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
798 not expect.
799 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
800
1b126443
JM
801 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
802 Change function return type to int.
803
b961a573
JM
804 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
805 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
806 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
807 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
808 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
809 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
810 [!POSIX] (posix_madvise): Likewise.
811 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
812 && !UNIX98].
813 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
814 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
815 (mode_t): Likewise.
816 (posix_mem_offset): Likewise.
817 (posix_typed_mem_get_info): Likewise.
818 (posix_typed_mem_open): Likewise.
819
9e188909
JM
820 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
821 Change condition to [XOPEN2K8].
822
05bcf62a
JM
823 * conform/conformtest.pl: Preprocess allow-header data with -x c
824 instead of from stdin.
825 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
826 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
827 [C99-based standards] (cerfc): Likewise.
828 [C99-based standards] (cexp2): Likewise.
829 [C99-based standards] (cexpm1): Likewise.
830 [C99-based standards] (clog10): Likewise.
831 [C99-based standards] (clog1p): Likewise.
832 [C99-based standards] (clog2): Likewise.
833 [C99-based standards] (clgamma): Likewise.
834 [C99-based standards] (ctgamma): Likewise.
835 [C99-based standards] (cerff): Likewise.
836 [C99-based standards] (cerfcf): Likewise.
837 [C99-based standards] (cexp2f): Likewise.
838 [C99-based standards] (cexpm1f): Likewise.
839 [C99-based standards] (clog10f): Likewise.
840 [C99-based standards] (clog1pf): Likewise.
841 [C99-based standards] (clog2f): Likewise.
842 [C99-based standards] (clgammaf): Likewise.
843 [C99-based standards] (ctgammaf): Likewise.
844 [C99-based standards] (cerfl): Likewise.
845 [C99-based standards] (cerfcl): Likewise.
846 [C99-based standards] (cexp2l): Likewise.
847 [C99-based standards] (cexpm1l): Likewise.
848 [C99-based standards] (clog10l): Likewise.
849 [C99-based standards] (clog1pl): Likewise.
850 [C99-based standards] (clog2l): Likewise.
851 [C99-based standards] (clgammal): Likewise.
852 [C99-based standards] (ctgammal): Likewise.
853 * conform/data/inttypes.h-data [C99-based standards]: Include
854 stdint.h-data. Remove all expectations for stdint.h contents.
855 [C99-based standards] (PRI*): Do not allow.
856 [C99-based standards] (SCN*): Likewise.
857 [C99-based standards] (*_t): Likewise.
858 [C99-based-standards] (PRId8): Expect macro.
859 [C99-based-standards] (PRIi8): Likewise.
860 [C99-based-standards] (PRIo8): Likewise.
861 [C99-based-standards] (PRIu8): Likewise.
862 [C99-based-standards] (PRIx8): Likewise.
863 [C99-based-standards] (PRIX8): Likewise.
864 [C99-based-standards] (SCNd8): Likewise.
865 [C99-based-standards] (SCNi8): Likewise.
866 [C99-based-standards] (SCNo8): Likewise.
867 [C99-based-standards] (SCNu8): Likewise.
868 [C99-based-standards] (SCNx8): Likewise.
869 [C99-based-standards] (PRIdLEAST8): Likewise.
870 [C99-based-standards] (PRIiLEAST8): Likewise.
871 [C99-based-standards] (PRIoLEAST8): Likewise.
872 [C99-based-standards] (PRIuLEAST8): Likewise.
873 [C99-based-standards] (PRIxLEAST8): Likewise.
874 [C99-based-standards] (PRIXLEAST8): Likewise.
875 [C99-based-standards] (SCNdLEAST8): Likewise.
876 [C99-based-standards] (SCNiLEAST8): Likewise.
877 [C99-based-standards] (SCNoLEAST8): Likewise.
878 [C99-based-standards] (SCNuLEAST8): Likewise.
879 [C99-based-standards] (SCNxLEAST8): Likewise.
880 [C99-based-standards] (PRIdFAST8): Likewise.
881 [C99-based-standards] (PRIiFAST8): Likewise.
882 [C99-based-standards] (PRIoFAST8): Likewise.
883 [C99-based-standards] (PRIuFAST8): Likewise.
884 [C99-based-standards] (PRIxFAST8): Likewise.
885 [C99-based-standards] (PRIXFAST8): Likewise.
886 [C99-based-standards] (SCNdFAST8): Likewise.
887 [C99-based-standards] (SCNiFAST8): Likewise.
888 [C99-based-standards] (SCNoFAST8): Likewise.
889 [C99-based-standards] (SCNuFAST8): Likewise.
890 [C99-based-standards] (SCNxFAST8): Likewise.
891 [C99-based-standards] (PRId16): Likewise.
892 [C99-based-standards] (PRIi16): Likewise.
893 [C99-based-standards] (PRIo16): Likewise.
894 [C99-based-standards] (PRIu16): Likewise.
895 [C99-based-standards] (PRIx16): Likewise.
896 [C99-based-standards] (PRIX16): Likewise.
897 [C99-based-standards] (SCNd16): Likewise.
898 [C99-based-standards] (SCNi16): Likewise.
899 [C99-based-standards] (SCNo16): Likewise.
900 [C99-based-standards] (SCNu16): Likewise.
901 [C99-based-standards] (SCNx16): Likewise.
902 [C99-based-standards] (PRIdLEAST16): Likewise.
903 [C99-based-standards] (PRIiLEAST16): Likewise.
904 [C99-based-standards] (PRIoLEAST16): Likewise.
905 [C99-based-standards] (PRIuLEAST16): Likewise.
906 [C99-based-standards] (PRIxLEAST16): Likewise.
907 [C99-based-standards] (PRIXLEAST16): Likewise.
908 [C99-based-standards] (SCNdLEAST16): Likewise.
909 [C99-based-standards] (SCNiLEAST16): Likewise.
910 [C99-based-standards] (SCNoLEAST16): Likewise.
911 [C99-based-standards] (SCNuLEAST16): Likewise.
912 [C99-based-standards] (SCNxLEAST16): Likewise.
913 [C99-based-standards] (PRIdFAST16): Likewise.
914 [C99-based-standards] (PRIiFAST16): Likewise.
915 [C99-based-standards] (PRIoFAST16): Likewise.
916 [C99-based-standards] (PRIuFAST16): Likewise.
917 [C99-based-standards] (PRIxFAST16): Likewise.
918 [C99-based-standards] (PRIXFAST16): Likewise.
919 [C99-based-standards] (SCNdFAST16): Likewise.
920 [C99-based-standards] (SCNiFAST16): Likewise.
921 [C99-based-standards] (SCNoFAST16): Likewise.
922 [C99-based-standards] (SCNuFAST16): Likewise.
923 [C99-based-standards] (SCNxFAST16): Likewise.
924 [C99-based-standards] (PRId32): Likewise.
925 [C99-based-standards] (PRIi32): Likewise.
926 [C99-based-standards] (PRIo32): Likewise.
927 [C99-based-standards] (PRIu32): Likewise.
928 [C99-based-standards] (PRIx32): Likewise.
929 [C99-based-standards] (PRIX32): Likewise.
930 [C99-based-standards] (SCNd32): Likewise.
931 [C99-based-standards] (SCNi32): Likewise.
932 [C99-based-standards] (SCNo32): Likewise.
933 [C99-based-standards] (SCNu32): Likewise.
934 [C99-based-standards] (SCNx32): Likewise.
935 [C99-based-standards] (PRIdLEAST32): Likewise.
936 [C99-based-standards] (PRIiLEAST32): Likewise.
937 [C99-based-standards] (PRIoLEAST32): Likewise.
938 [C99-based-standards] (PRIuLEAST32): Likewise.
939 [C99-based-standards] (PRIxLEAST32): Likewise.
940 [C99-based-standards] (PRIXLEAST32): Likewise.
941 [C99-based-standards] (SCNdLEAST32): Likewise.
942 [C99-based-standards] (SCNiLEAST32): Likewise.
943 [C99-based-standards] (SCNoLEAST32): Likewise.
944 [C99-based-standards] (SCNuLEAST32): Likewise.
945 [C99-based-standards] (SCNxLEAST32): Likewise.
946 [C99-based-standards] (PRIdFAST32): Likewise.
947 [C99-based-standards] (PRIiFAST32): Likewise.
948 [C99-based-standards] (PRIoFAST32): Likewise.
949 [C99-based-standards] (PRIuFAST32): Likewise.
950 [C99-based-standards] (PRIxFAST32): Likewise.
951 [C99-based-standards] (PRIXFAST32): Likewise.
952 [C99-based-standards] (SCNdFAST32): Likewise.
953 [C99-based-standards] (SCNiFAST32): Likewise.
954 [C99-based-standards] (SCNoFAST32): Likewise.
955 [C99-based-standards] (SCNuFAST32): Likewise.
956 [C99-based-standards] (SCNxFAST32): Likewise.
957 [C99-based-standards] (PRId64): Likewise.
958 [C99-based-standards] (PRIi64): Likewise.
959 [C99-based-standards] (PRIo64): Likewise.
960 [C99-based-standards] (PRIu64): Likewise.
961 [C99-based-standards] (PRIx64): Likewise.
962 [C99-based-standards] (PRIX64): Likewise.
963 [C99-based-standards] (SCNd64): Likewise.
964 [C99-based-standards] (SCNi64): Likewise.
965 [C99-based-standards] (SCNo64): Likewise.
966 [C99-based-standards] (SCNu64): Likewise.
967 [C99-based-standards] (SCNx64): Likewise.
968 [C99-based-standards] (PRIdLEAST64): Likewise.
969 [C99-based-standards] (PRIiLEAST64): Likewise.
970 [C99-based-standards] (PRIoLEAST64): Likewise.
971 [C99-based-standards] (PRIuLEAST64): Likewise.
972 [C99-based-standards] (PRIxLEAST64): Likewise.
973 [C99-based-standards] (PRIXLEAST64): Likewise.
974 [C99-based-standards] (SCNdLEAST64): Likewise.
975 [C99-based-standards] (SCNiLEAST64): Likewise.
976 [C99-based-standards] (SCNoLEAST64): Likewise.
977 [C99-based-standards] (SCNuLEAST64): Likewise.
978 [C99-based-standards] (SCNxLEAST64): Likewise.
979 [C99-based-standards] (PRIdFAST64): Likewise.
980 [C99-based-standards] (PRIiFAST64): Likewise.
981 [C99-based-standards] (PRIoFAST64): Likewise.
982 [C99-based-standards] (PRIuFAST64): Likewise.
983 [C99-based-standards] (PRIxFAST64): Likewise.
984 [C99-based-standards] (PRIXFAST64): Likewise.
985 [C99-based-standards] (SCNdFAST64): Likewise.
986 [C99-based-standards] (SCNiFAST64): Likewise.
987 [C99-based-standards] (SCNoFAST64): Likewise.
988 [C99-based-standards] (SCNuFAST64): Likewise.
989 [C99-based-standards] (SCNxFAST64): Likewise.
990 [C99-based-standards] (PRIdMAX): Likewise.
991 [C99-based-standards] (PRIiMAX): Likewise.
992 [C99-based-standards] (PRIoMAX): Likewise.
993 [C99-based-standards] (PRIuMAX): Likewise.
994 [C99-based-standards] (PRIxMAX): Likewise.
995 [C99-based-standards] (PRIXMAX): Likewise.
996 [C99-based-standards] (SCNdMAX): Likewise.
997 [C99-based-standards] (SCNiMAX): Likewise.
998 [C99-based-standards] (SCNoMAX): Likewise.
999 [C99-based-standards] (SCNuMAX): Likewise.
1000 [C99-based-standards] (SCNxMAX): Likewise.
1001 [C99-based-standards] (PRIdPTR): Likewise.
1002 [C99-based-standards] (PRIiPTR): Likewise.
1003 [C99-based-standards] (PRIoPTR): Likewise.
1004 [C99-based-standards] (PRIuPTR): Likewise.
1005 [C99-based-standards] (PRIxPTR): Likewise.
1006 [C99-based-standards] (PRIXPTR): Likewise.
1007 [C99-based-standards] (SCNdPTR): Likewise.
1008 [C99-based-standards] (SCNiPTR): Likewise.
1009 [C99-based-standards] (SCNoPTR): Likewise.
1010 [C99-based-standards] (SCNuPTR): Likewise.
1011 [C99-based-standards] (SCNxPTR): Likewise.
1012 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
1013 allow.
1014 * conform/data/stdint.h-data: Update comments to clarify
1015 requirements.
1016 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
1017 type.
1018 [C99-based standards] (INT8_MAX): Likewise.
1019 [C99-based standards] (INT16_MIN): Likewise.
1020 [C99-based standards] (INT16_MAX): Likewise.
1021 [C99-based standards] (INT32_MIN): Likewise.
1022 [C99-based standards] (INT32_MAX): Likewise.
1023 [C99-based standards] (INT64_MIN): Likewise.
1024 [C99-based standards] (INT64_MAX): Likewise.
1025 [C99-based standards] (UINT8_MAX): Likewise.
1026 [C99-based standards] (UINT16_MAX): Likewise.
1027 [C99-based standards] (UINT32_MAX): Likewise.
1028 [C99-based standards] (UINT64_MAX): Likewise.
1029 [C99-based standards] (INT_LEAST8_MIN): Likewise.
1030 [C99-based standards] (INT_LEAST8_MAX): Likewise.
1031 [C99-based standards] (INT_LEAST16_MIN): Likewise.
1032 [C99-based standards] (INT_LEAST16_MAX): Likewise.
1033 [C99-based standards] (INT_LEAST32_MIN): Likewise.
1034 [C99-based standards] (INT_LEAST32_MAX): Likewise.
1035 [C99-based standards] (INT_LEAST64_MIN): Likewise.
1036 [C99-based standards] (INT_LEAST64_MAX): Likewise.
1037 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
1038 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
1039 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
1040 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
1041 [C99-based standards] (INT_FAST8_MIN): Likewise.
1042 [C99-based standards] (INT_FAST8_MAX): Likewise.
1043 [C99-based standards] (INT_FAST16_MIN): Likewise.
1044 [C99-based standards] (INT_FAST16_MAX): Likewise.
1045 [C99-based standards] (INT_FAST32_MIN): Likewise.
1046 [C99-based standards] (INT_FAST32_MAX): Likewise.
1047 [C99-based standards] (INT_FAST64_MIN): Likewise.
1048 [C99-based standards] (INT_FAST64_MAX): Likewise.
1049 [C99-based standards] (UINT_FAST8_MAX): Likewise.
1050 [C99-based standards] (UINT_FAST16_MAX): Likewise.
1051 [C99-based standards] (UINT_FAST32_MAX): Likewise.
1052 [C99-based standards] (UINT_FAST64_MAX): Likewise.
1053 [C99-based standards] (INTPTR_MIN): Likewise.
1054 [C99-based standards] (INTPTR_MAX): Likewise.
1055 [C99-based standards] (UINTPTR_MAX): Likewise.
1056 [C99-based standards] (INTMAX_MIN): Likewise.
1057 [C99-based standards] (INTMAX_MAX): Likewise.
1058 [C99-based standards] (UINTMAX_MAX): Likewise.
1059 [C99-based standards] (PTRDIFF_MIN): Likewise.
1060 [C99-based standards] (PTRDIFF_MAX): Likewise.
1061 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
1062 [C99-based standards] (SIZE_MAX): Likewise.
1063 [C99-based standards] (WCHAR_MAX): Likewise.
1064 [C99-based standards] (WINT_MAX): Likewise.
1065 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
1066 constraint on value.
1067 [C99-based standards] (WCHAR_MIN): Likewise.
1068 [C99-based standards] (WINT_MIN): Likewise.
1069 [C99-based standards] (*_t): Allow.
1070 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
1071 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
1072 Include math.h-data and complex.h-data. Remove all expectations
1073 of math.h and complex.h contents.
1074 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
1075 at end of line.
1076 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
1077 (struct tm): Expect tag.
1078 [C99-based-standards] (wcstof): Expect function.
1079 [C99-based-standards] (wcstold): Likewise.
1080 [C99-based-standards] (wcstoll): Likewise.
1081 [C99-based-standards] (wcstoull): Likewise.
1082 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
1083 macro-int-constant. Specify type.
1084 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
1085 constraint on value.
1086 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1087 Specify type.
1088 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
1089 Specify value.
1090 [ISO C standards]: Do not allow headers.
1091 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
1092 wcs[abcdefghijklmnopqrstuvwxyz]*.
1093 [ISO C standards] (*_t): Do not allow.
1094 * conform/data/wctype.h-data [C99-based standards] (iswblank):
1095 Expect function.
1096 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
1097 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1098 Specify type.
1099 [ISO C standards]: Do not allow headers.
1100 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
1101 is[abcdefghijklmnopqrstuvwxyz]*.
1102 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
1103 to[abcdefghijklmnopqrstuvwxyz]*.
1104 [ISO C standards] (*_t): Do not allow.
1105 * conform/data/stdalign.h-data: New file.
1106 * conform/data/stdbool.h-data: Likewise.
1107 * conform/data/stdnoreturn.h-data: Likewise.
1108
01f34a3b
JL
11092012-11-07 Andreas Jaeger <aj@suse.de>
1110
1111 [BZ #14809]
1112 * sysdeps/unix/sysv/linux/sys/sysctl.h (_UAPI_LINUX_KERNEL_H)
1113 (_UAPI_LINUX_TYPES_H): Starting with Linux 3.7, the include header
1114 guards are changed. Only define if not yet defined, #undef back
1115 after including linux/sysctl.h if defined here.
1116
7514feb8
RM
11172012-11-07 Roland McGrath <roland@hack.frob.com>
1118
1119 [BZ #14815]
1120 * manual/filesys.texi (Directory Entries): Typo fix.
1121 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
1122
19b2ecfc
MS
11232012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1124
1125 * elf/elf.h (EM_AARCH64): New macro.
1126 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
1127 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
1128 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
1129 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
1130 (R_AARCH64_TLSDESC): Likewise.
1131 (NT_ARM_TLS): Likewise.
1132 (NT_ARM_HW_BREAK): Likewise.
1133 (NT_ARM_HW_WATCH): Likewise.
1134
60e235ee
JM
11352012-11-07 Joseph Myers <joseph@codesourcery.com>
1136
1137 [BZ #14811]
1138 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
1139 (__ieee754_powl): Saturate nonzero exponents with absolute value
1140 below 0x1p-79 to +/- 0x1p-79.
1141 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
1142 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
1143 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
1144 nonzero exponents with absolute value below 0x1p-32 to +/-
1145 0x1p-32.
1146 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
1147 (__ieee754_powl): Saturate nonzero exponents with absolute value
1148 below 0x1p-79 to +/- 0x1p-79.
1149 * math/libm-test.inc (pow_test): Add more tests.
1150
0ab234b7
AK
11512012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1152
1153 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
1154 _dl_s390_cap_flags with kernel. Increase string length.
1155 (_dl_s390_platforms): Add z196 and zEC12.
1156
45832f74
JM
11572012-11-07 Joseph Myers <joseph@codesourcery.com>
1158
1159 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
1160 Change XOPEN21K to XOPEN2K.
1161
19218757
MK
11622012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
1163
1164 * string/memmove.c: Use memcpy when possible.
1165
c5f45721
AJ
11662012-11-06 Andreas Jaeger <aj@suse.de>
1167
1168 * po/eo.po: Update from translation team.
1169
82477c28
JM
11702012-11-06 Joseph Myers <joseph@codesourcery.com>
1171
1172 [BZ #14793]
1173 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
1174 exponent and small x and y exponents, scale x or y up. Increase
1175 by 2 the exponent used in scaling up.
1176 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1177 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1178 * math/libm-test.inc (fma_test): Add more tests.
1179 (fma_test_towardzero): Likewise.
1180 (fma_test_downward): Likewise.
1181 (fma_test_upward): Likewise.
1182
99252c8c
JM
11832012-11-05 Joseph Myers <joseph@codesourcery.com>
1184
acfa885f
JM
1185 [BZ #14805]
1186 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
1187 fenv_t *.
1188
99252c8c
JM
1189 [BZ #14801]
1190 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
1191 namespace for names of struct fields.
1192 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
1193 fenv_t fields.
1194 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1195 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
1196
d6d98dea
ST
11972012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1198
1199 [BZ #3665]
1200 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
1201
e10bb107
TS
12022012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1203
1204 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
1205 PTR_DEMANGLE.
1206
1207 [BZ #5246]
1208 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
1209 PTR_DEMANGLE.
1210
a0c2940d
JM
12112012-11-04 Joseph Myers <joseph@codesourcery.com>
1212
1213 [BZ #14797]
1214 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
1215 definitely overflow as x * y not x * y + z.
1216 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1217 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1218 * math/libm-test.inc (fma_test): Add more tests.
1219 (fma_test_towardzero): Likewise.
1220 (fma_test_downward): Likewise.
1221 (fma_test_upward): Likewise.
1222
b830319d
TS
12232012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1224
1225 [BZ #157]
1226
1227 * include/stub-tag.h: Remove file.
1228 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
1229 '#include' of it.
1230 * manual/maint.texi (Porting): Don't reference it.
1231 * Makerules ($(objpfx)stubs): Likewise.
1232 * dirent/closedir.c: Don't include <stub-tag.h>.
1233 * dirent/dirfd.c: Likewise.
1234 * dirent/fdopendir.c: Likewise.
1235 * dirent/getdents.c: Likewise.
1236 * dirent/getdents64.c: Likewise.
1237 * dirent/opendir.c: Likewise.
1238 * dirent/readdir.c: Likewise.
1239 * dirent/readdir64.c: Likewise.
1240 * dirent/readdir64_r.c: Likewise.
1241 * dirent/readdir_r.c: Likewise.
1242 * dirent/rewinddir.c: Likewise.
1243 * dirent/seekdir.c: Likewise.
1244 * dirent/telldir.c: Likewise.
1245 * gmon/profil.c: Likewise.
1246 * grp/setgroups.c: Likewise.
1247 * inet/if_index.c: Likewise.
1248 * io/access.c: Likewise.
1249 * io/chdir.c: Likewise.
1250 * io/chmod.c: Likewise.
1251 * io/chown.c: Likewise.
1252 * io/close.c: Likewise.
1253 * io/dup.c: Likewise.
1254 * io/dup2.c: Likewise.
1255 * io/dup3.c: Likewise.
1256 * io/euidaccess.c: Likewise.
1257 * io/faccessat.c: Likewise.
1258 * io/fchdir.c: Likewise.
1259 * io/fchmod.c: Likewise.
1260 * io/fchmodat.c: Likewise.
1261 * io/fchown.c: Likewise.
1262 * io/fchownat.c: Likewise.
1263 * io/fcntl.c: Likewise.
1264 * io/flock.c: Likewise.
1265 * io/fstatfs.c: Likewise.
1266 * io/fstatfs64.c: Likewise.
1267 * io/fstatvfs.c: Likewise.
1268 * io/fstatvfs64.c: Likewise.
1269 * io/futimens.c: Likewise.
1270 * io/fxstat.c: Likewise.
1271 * io/fxstat64.c: Likewise.
1272 * io/fxstatat.c: Likewise.
1273 * io/fxstatat64.c: Likewise.
1274 * io/getcwd.c: Likewise.
1275 * io/isatty.c: Likewise.
1276 * io/lchmod.c: Likewise.
1277 * io/lchown.c: Likewise.
1278 * io/link.c: Likewise.
1279 * io/linkat.c: Likewise.
1280 * io/lseek.c: Likewise.
1281 * io/lseek64.c: Likewise.
1282 * io/lxstat64.c: Likewise.
1283 * io/mkdir.c: Likewise.
1284 * io/mkdirat.c: Likewise.
1285 * io/mkfifo.c: Likewise.
1286 * io/mkfifoat.c: Likewise.
1287 * io/open.c: Likewise.
1288 * io/open64.c: Likewise.
1289 * io/openat.c: Likewise.
1290 * io/openat64.c: Likewise.
1291 * io/pipe.c: Likewise.
1292 * io/pipe2.c: Likewise.
1293 * io/poll.c: Likewise.
1294 * io/posix_fadvise.c: Likewise.
1295 * io/posix_fadvise64.c: Likewise.
1296 * io/posix_fallocate.c: Likewise.
1297 * io/posix_fallocate64.c: Likewise.
1298 * io/read.c: Likewise.
1299 * io/readlink.c: Likewise.
1300 * io/readlinkat.c: Likewise.
1301 * io/rmdir.c: Likewise.
1302 * io/sendfile.c: Likewise.
1303 * io/sendfile64.c: Likewise.
1304 * io/statfs.c: Likewise.
1305 * io/statfs64.c: Likewise.
1306 * io/statvfs.c: Likewise.
1307 * io/statvfs64.c: Likewise.
1308 * io/symlink.c: Likewise.
1309 * io/symlinkat.c: Likewise.
1310 * io/ttyname.c: Likewise.
1311 * io/ttyname_r.c: Likewise.
1312 * io/umask.c: Likewise.
1313 * io/unlink.c: Likewise.
1314 * io/unlinkat.c: Likewise.
1315 * io/utime.c: Likewise.
1316 * io/utimensat.c: Likewise.
1317 * io/write.c: Likewise.
1318 * io/xmknod.c: Likewise.
1319 * io/xmknodat.c: Likewise.
1320 * io/xstat.c: Likewise.
1321 * io/xstat64.c: Likewise.
1322 * login/getpt.c: Likewise.
1323 * login/grantpt.c: Likewise.
1324 * login/unlockpt.c: Likewise.
1325 * math/e_acoshl.c: Likewise.
1326 * math/e_acosl.c: Likewise.
1327 * math/e_asinl.c: Likewise.
1328 * math/e_atan2l.c: Likewise.
1329 * math/e_atanhl.c: Likewise.
1330 * math/e_coshl.c: Likewise.
1331 * math/e_expl.c: Likewise.
1332 * math/e_fmodl.c: Likewise.
1333 * math/e_gammal_r.c: Likewise.
1334 * math/e_hypotl.c: Likewise.
1335 * math/e_j0l.c: Likewise.
1336 * math/e_j1l.c: Likewise.
1337 * math/e_jnl.c: Likewise.
1338 * math/e_lgammal_r.c: Likewise.
1339 * math/e_log10l.c: Likewise.
1340 * math/e_log2l.c: Likewise.
1341 * math/e_logl.c: Likewise.
1342 * math/e_powl.c: Likewise.
1343 * math/e_rem_pio2l.c: Likewise.
1344 * math/e_sinhl.c: Likewise.
1345 * math/e_sqrtl.c: Likewise.
1346 * math/fclrexcpt.c: Likewise.
1347 * math/fedisblxcpt.c: Likewise.
1348 * math/feenablxcpt.c: Likewise.
1349 * math/fegetenv.c: Likewise.
1350 * math/fegetexcept.c: Likewise.
1351 * math/fegetround.c: Likewise.
1352 * math/feholdexcpt.c: Likewise.
1353 * math/fesetenv.c: Likewise.
1354 * math/fesetround.c: Likewise.
1355 * math/feupdateenv.c: Likewise.
1356 * math/fgetexcptflg.c: Likewise.
1357 * math/fraiseexcpt.c: Likewise.
1358 * math/fsetexcptflg.c: Likewise.
1359 * math/ftestexcept.c: Likewise.
1360 * math/k_cosl.c: Likewise.
1361 * math/k_rem_pio2l.c: Likewise.
1362 * math/k_sinl.c: Likewise.
1363 * math/k_tanl.c: Likewise.
1364 * math/s_asinhl.c: Likewise.
1365 * math/s_atanl.c: Likewise.
1366 * math/s_cbrtl.c: Likewise.
1367 * math/s_erfl.c: Likewise.
1368 * math/s_expm1l.c: Likewise.
1369 * math/s_log1pl.c: Likewise.
1370 * math/s_tanhl.c: Likewise.
1371 * misc/acct.c: Likewise.
1372 * misc/brk.c: Likewise.
1373 * misc/chflags.c: Likewise.
1374 * misc/chroot.c: Likewise.
1375 * misc/fchflags.c: Likewise.
1376 * misc/fgetxattr.c: Likewise.
1377 * misc/flistxattr.c: Likewise.
1378 * misc/fremovexattr.c: Likewise.
1379 * misc/fsetxattr.c: Likewise.
1380 * misc/fsync.c: Likewise.
1381 * misc/ftruncate.c: Likewise.
1382 * misc/futimes.c: Likewise.
1383 * misc/futimesat.c: Likewise.
1384 * misc/getdomain.c: Likewise.
1385 * misc/getdtsz.c: Likewise.
1386 * misc/gethostid.c: Likewise.
1387 * misc/gethostname.c: Likewise.
1388 * misc/getloadavg.c: Likewise.
1389 * misc/getpagesize.c: Likewise.
1390 * misc/getsysstats.c: Likewise.
1391 * misc/getxattr.c: Likewise.
1392 * misc/gtty.c: Likewise.
1393 * misc/ioctl.c: Likewise.
1394 * misc/lgetxattr.c: Likewise.
1395 * misc/listxattr.c: Likewise.
1396 * misc/llistxattr.c: Likewise.
1397 * misc/lremovexattr.c: Likewise.
1398 * misc/lsetxattr.c: Likewise.
1399 * misc/lutimes.c: Likewise.
1400 * misc/madvise.c: Likewise.
1401 * misc/mincore.c: Likewise.
1402 * misc/mlock.c: Likewise.
1403 * misc/mlockall.c: Likewise.
1404 * misc/mmap.c: Likewise.
1405 * misc/mprotect.c: Likewise.
1406 * misc/msync.c: Likewise.
1407 * misc/munlock.c: Likewise.
1408 * misc/munlockall.c: Likewise.
1409 * misc/munmap.c: Likewise.
1410 * misc/preadv.c: Likewise.
1411 * misc/preadv64.c: Likewise.
1412 * misc/ptrace.c: Likewise.
1413 * misc/pwritev.c: Likewise.
1414 * misc/pwritev64.c: Likewise.
1415 * misc/readv.c: Likewise.
1416 * misc/reboot.c: Likewise.
1417 * misc/remap_file_pages.c: Likewise.
1418 * misc/removexattr.c: Likewise.
1419 * misc/revoke.c: Likewise.
1420 * misc/select.c: Likewise.
1421 * misc/setdomain.c: Likewise.
1422 * misc/setegid.c: Likewise.
1423 * misc/seteuid.c: Likewise.
1424 * misc/sethostid.c: Likewise.
1425 * misc/sethostname.c: Likewise.
1426 * misc/setregid.c: Likewise.
1427 * misc/setreuid.c: Likewise.
1428 * misc/setxattr.c: Likewise.
1429 * misc/sstk.c: Likewise.
1430 * misc/stty.c: Likewise.
1431 * misc/swapoff.c: Likewise.
1432 * misc/swapon.c: Likewise.
1433 * misc/sync.c: Likewise.
1434 * misc/syncfs.c: Likewise.
1435 * misc/syscall.c: Likewise.
1436 * misc/truncate.c: Likewise.
1437 * misc/ualarm.c: Likewise.
1438 * misc/usleep.c: Likewise.
1439 * misc/ustat.c: Likewise.
1440 * misc/utimes.c: Likewise.
1441 * misc/vhangup.c: Likewise.
1442 * misc/writev.c: Likewise.
1443 * posix/_exit.c: Likewise.
1444 * posix/alarm.c: Likewise.
1445 * posix/execve.c: Likewise.
1446 * posix/fexecve.c: Likewise.
1447 * posix/fork.c: Likewise.
1448 * posix/fpathconf.c: Likewise.
1449 * posix/getaddrinfo.c: Likewise.
1450 * posix/getegid.c: Likewise.
1451 * posix/geteuid.c: Likewise.
1452 * posix/getgid.c: Likewise.
1453 * posix/getgroups.c: Likewise.
1454 * posix/getlogin.c: Likewise.
1455 * posix/getlogin_r.c: Likewise.
1456 * posix/getpgid.c: Likewise.
1457 * posix/getpid.c: Likewise.
1458 * posix/getppid.c: Likewise.
1459 * posix/getresgid.c: Likewise.
1460 * posix/getresuid.c: Likewise.
1461 * posix/getsid.c: Likewise.
1462 * posix/getuid.c: Likewise.
1463 * posix/glob64.c: Likewise.
1464 * posix/nanosleep.c: Likewise.
1465 * posix/pathconf.c: Likewise.
1466 * posix/pause.c: Likewise.
1467 * posix/posix_madvise.c: Likewise.
1468 * posix/pread.c: Likewise.
1469 * posix/pread64.c: Likewise.
1470 * posix/pwrite.c: Likewise.
1471 * posix/pwrite64.c: Likewise.
1472 * posix/sched_getaffinity.c: Likewise.
1473 * posix/sched_getp.c: Likewise.
1474 * posix/sched_gets.c: Likewise.
1475 * posix/sched_primax.c: Likewise.
1476 * posix/sched_primin.c: Likewise.
1477 * posix/sched_rr_gi.c: Likewise.
1478 * posix/sched_setaffinity.c: Likewise.
1479 * posix/sched_setp.c: Likewise.
1480 * posix/sched_sets.c: Likewise.
1481 * posix/sched_yield.c: Likewise.
1482 * posix/setgid.c: Likewise.
1483 * posix/setlogin.c: Likewise.
1484 * posix/setpgid.c: Likewise.
1485 * posix/setresgid.c: Likewise.
1486 * posix/setresuid.c: Likewise.
1487 * posix/setsid.c: Likewise.
1488 * posix/setuid.c: Likewise.
1489 * posix/sleep.c: Likewise.
1490 * posix/spawni.c: Likewise.
1491 * posix/sysconf.c: Likewise.
1492 * posix/times.c: Likewise.
1493 * posix/wait.c: Likewise.
1494 * posix/wait3.c: Likewise.
1495 * posix/wait4.c: Likewise.
1496 * posix/waitpid.c: Likewise.
1497 * resolv/gai_sigqueue.c: Likewise.
1498 * resource/getpriority.c: Likewise.
1499 * resource/getrlimit.c: Likewise.
1500 * resource/getrusage.c: Likewise.
1501 * resource/nice.c: Likewise.
1502 * resource/setpriority.c: Likewise.
1503 * resource/setrlimit.c: Likewise.
1504 * resource/ulimit.c: Likewise.
1505 * rt/aio_cancel.c: Likewise.
1506 * rt/aio_fsync.c: Likewise.
1507 * rt/aio_read.c: Likewise.
1508 * rt/aio_sigqueue.c: Likewise.
1509 * rt/aio_suspend.c: Likewise.
1510 * rt/aio_write.c: Likewise.
1511 * rt/clock_getres.c: Likewise.
1512 * rt/clock_gettime.c: Likewise.
1513 * rt/clock_nanosleep.c: Likewise.
1514 * rt/clock_settime.c: Likewise.
1515 * rt/lio_listio.c: Likewise.
1516 * rt/mq_close.c: Likewise.
1517 * rt/mq_getattr.c: Likewise.
1518 * rt/mq_notify.c: Likewise.
1519 * rt/mq_open.c: Likewise.
1520 * rt/mq_receive.c: Likewise.
1521 * rt/mq_send.c: Likewise.
1522 * rt/mq_setattr.c: Likewise.
1523 * rt/mq_timedreceive.c: Likewise.
1524 * rt/mq_timedsend.c: Likewise.
1525 * rt/mq_unlink.c: Likewise.
1526 * rt/shm_open.c: Likewise.
1527 * rt/shm_unlink.c: Likewise.
1528 * rt/timer_create.c: Likewise.
1529 * rt/timer_delete.c: Likewise.
1530 * rt/timer_getoverr.c: Likewise.
1531 * rt/timer_gettime.c: Likewise.
1532 * rt/timer_settime.c: Likewise.
1533 * setjmp/__longjmp.c: Likewise.
1534 * setjmp/setjmp.c: Likewise.
1535 * signal/kill.c: Likewise.
1536 * signal/killpg.c: Likewise.
1537 * signal/raise.c: Likewise.
1538 * signal/sigaction.c: Likewise.
1539 * signal/sigaltstack.c: Likewise.
1540 * signal/sigblock.c: Likewise.
1541 * signal/sigignore.c: Likewise.
1542 * signal/sigintr.c: Likewise.
1543 * signal/signal.c: Likewise.
1544 * signal/sigpause.c: Likewise.
1545 * signal/sigpending.c: Likewise.
1546 * signal/sigqueue.c: Likewise.
1547 * signal/sigreturn.c: Likewise.
1548 * signal/sigset.c: Likewise.
1549 * signal/sigsetmask.c: Likewise.
1550 * signal/sigstack.c: Likewise.
1551 * signal/sigsuspend.c: Likewise.
1552 * signal/sigtimedwait.c: Likewise.
1553 * signal/sigvec.c: Likewise.
1554 * signal/sigwait.c: Likewise.
1555 * signal/sigwaitinfo.c: Likewise.
1556 * signal/sysv_signal.c: Likewise.
1557 * socket/accept.c: Likewise.
1558 * socket/accept4.c: Likewise.
1559 * socket/bind.c: Likewise.
1560 * socket/connect.c: Likewise.
1561 * socket/getpeername.c: Likewise.
1562 * socket/getsockname.c: Likewise.
1563 * socket/getsockopt.c: Likewise.
1564 * socket/isfdtype.c: Likewise.
1565 * socket/listen.c: Likewise.
1566 * socket/recv.c: Likewise.
1567 * socket/recvfrom.c: Likewise.
1568 * socket/recvmsg.c: Likewise.
1569 * socket/send.c: Likewise.
1570 * socket/sendmsg.c: Likewise.
1571 * socket/sendto.c: Likewise.
1572 * socket/setsockopt.c: Likewise.
1573 * socket/shutdown.c: Likewise.
1574 * socket/sockatmark.c: Likewise.
1575 * socket/socket.c: Likewise.
1576 * socket/socketpair.c: Likewise.
1577 * stdio-common/ctermid.c: Likewise.
1578 * stdio-common/cuserid.c: Likewise.
1579 * stdio-common/remove.c: Likewise.
1580 * stdio-common/rename.c: Likewise.
1581 * stdio-common/renameat.c: Likewise.
1582 * stdio-common/tempname.c: Likewise.
1583 * stdlib/getcontext.c: Likewise.
1584 * stdlib/makecontext.c: Likewise.
1585 * stdlib/setcontext.c: Likewise.
1586 * stdlib/swapcontext.c: Likewise.
1587 * stdlib/system.c: Likewise.
1588 * streams/fattach.c: Likewise.
1589 * streams/fdetach.c: Likewise.
1590 * streams/getmsg.c: Likewise.
1591 * streams/getpmsg.c: Likewise.
1592 * streams/putmsg.c: Likewise.
1593 * streams/putpmsg.c: Likewise.
1594 * sysdeps/unix/bsd/getpt.c: Likewise.
1595 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
1596 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
1597 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
1599 Likewise.
1600 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
1601 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
1602 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1603 * sysvipc/msgctl.c: Likewise.
1604 * sysvipc/msgget.c: Likewise.
1605 * sysvipc/msgrcv.c: Likewise.
1606 * sysvipc/msgsnd.c: Likewise.
1607 * sysvipc/semctl.c: Likewise.
1608 * sysvipc/semget.c: Likewise.
1609 * sysvipc/semop.c: Likewise.
1610 * sysvipc/semtimedop.c: Likewise.
1611 * sysvipc/shmat.c: Likewise.
1612 * sysvipc/shmctl.c: Likewise.
1613 * sysvipc/shmdt.c: Likewise.
1614 * sysvipc/shmget.c: Likewise.
1615 * termios/tcdrain.c: Likewise.
1616 * termios/tcflow.c: Likewise.
1617 * termios/tcflush.c: Likewise.
1618 * termios/tcgetattr.c: Likewise.
1619 * termios/tcgetpgrp.c: Likewise.
1620 * termios/tcsendbrk.c: Likewise.
1621 * termios/tcsetattr.c: Likewise.
1622 * termios/tcsetpgrp.c: Likewise.
1623 * time/adjtime.c: Likewise.
1624 * time/clock.c: Likewise.
1625 * time/getitimer.c: Likewise.
1626 * time/gettimeofday.c: Likewise.
1627 * time/setitimer.c: Likewise.
1628 * time/settimeofday.c: Likewise.
1629 * time/stime.c: Likewise.
1630 * time/time.c: Likewise.
1631
16322012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 1633
a20492cf
PT
1634 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
1635 /usr/old/bin.
1636
72e182e3
PT
1637 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
1638 instead of spaces.
1639 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
1640
fbeafede
JM
16412012-11-03 Joseph Myers <joseph@codesourcery.com>
1642
5b5b04d6
JM
1643 [BZ #14796]
1644 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
1645 FE_TONEAREST before applying Dekker multiplication and Knuth
1646 addition. Clear inexact exceptions and check for exact zero
1647 results afterwards.
1648 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1649 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1650 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1651 * math/libm-test.inc (fma_test): Add more tests.
1652 (fma_test_towardzero): Likewise.
1653 (fma_test_downward): Likewise.
1654 (fma_test_upward): Likewise.
1655 * sysdeps/generic/math_private.h (default_libc_fesetround): New
1656 function.
1657 (libc_fesetround): New macro.
1658 (libc_fesetroundf): Likewise.
1659 (libc_fesetroundl): Likewise.
1660 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
1661 function.
1662 (libc_fesetround_387): Likewise.
1663 (libc_fesetroundf): New macro.
1664 (libc_fesetround): Likewise.
1665 (libc_fesetroundl): Likewise.
1666 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
1667 function.
1668 (libc_fesetroundf): New macro.
1669 (libc_fesetround): Likewise.
1670 (libc_fesetroundl): Likewise.
1671 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
1672 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
1673 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
1674 libm_hidden_ver.
1675 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
1676 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
1677 libm_hidden_def.
1678 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
1679 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
1680 libm_hidden_ver.
1681 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
1682 libm_hidden_def.
1683
fbeafede
JM
1684 [BZ #3439]
1685 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
1686 integer constant usable in #if and use that to give value to enum
1687 constant.
1688 (FE_DIVBYZERO): Likewise.
1689 (FE_UNDERFLOW): Likewise.
1690 (FE_OVERFLOW): Likewise.
1691 (FE_INVALID): Likewise.
1692 (FE_INVALID_SNAN): Likewise.
1693 (FE_INVALID_ISI): Likewise.
1694 (FE_INVALID_IDI): Likewise.
1695 (FE_INVALID_ZDZ): Likewise.
1696 (FE_INVALID_IMZ): Likewise.
1697 (FE_INVALID_COMPARE): Likewise.
1698 (FE_INVALID_SOFTWARE): Likewise.
1699 (FE_INVALID_SQRT): Likewise.
1700 (FE_INVALID_INTEGER_CONVERSION): Likewise.
1701 (FE_TONEAREST): Likewise.
1702 (FE_TOWARDZERO): Likewise.
1703 (FE_UPWARD): Likewise.
1704 (FE_DOWNWARD): Likewise.
1705 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
1706 (FE_DIVBYZERO): Likewise.
1707 (FE_OVERFLOW): Likewise.
1708 (FE_UNDERFLOW): Likewise.
1709 (FE_INEXACT): Likewise.
1710 (FE_TONEAREST): Likewise.
1711 (FE_DOWNWARD): Likewise.
1712 (FE_UPWARD): Likewise.
1713 (FE_TOWARDZERO): Likewise.
1714 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
1715 (FE_UNDERFLOW): Likewise.
1716 (FE_OVERFLOW): Likewise.
1717 (FE_DIVBYZERO): Likewise.
1718 (FE_INVALID): Likewise.
1719 (FE_TONEAREST): Likewise.
1720 (FE_TOWARDZERO): Likewise.
1721 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
1722 (FE_OVERFLOW): Likewise.
1723 (FE_UNDERFLOW): Likewise.
1724 (FE_DIVBYZERO): Likewise.
1725 (FE_INEXACT): Likewise.
1726 (FE_TONEAREST): Likewise.
1727 (FE_TOWARDZERO): Likewise.
1728 (FE_UPWARD): Likewise.
1729 (FE_DOWNWARD): Likewise.
1730 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
1731 (FE_DIVBYZERO): Likewise.
1732 (FE_OVERFLOW): Likewise.
1733 (FE_UNDERFLOW): Likewise.
1734 (FE_INEXACT): Likewise.
1735 (FE_TONEAREST): Likewise.
1736 (FE_DOWNWARD): Likewise.
1737 (FE_UPWARD): Likewise.
1738 (FE_TOWARDZERO): Likewise.
1739
105ca950
CM
17402012-11-02 Chris Metcalf <cmetcalf@tilera.com>
1741
1742 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
1743
a542b389
AS
17442012-11-03 Andreas Schwab <schwab@linux-m68k.org>
1745
1746 * scripts/cross-test-ssh.sh (command): Use newlines to separate
1747 commands. Quote $PWD.
1748 (blacklist_exports): Don't use remove_newlines. Replace "declare
1749 -x" by "export".
1750 (remove_newlines): Remove.
1751
f62c8abc
L
17522012-11-02 H.J. Lu <hongjiu.lu@intel.com>
1753
1754 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
1755 * stdlib/stdlib.h (atof): Moved to ...
1756 * include/bits/stdlib-float.h: Here. New file.
1757 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
1758 * stdlib/bits/stdlib-float.h: New file.
1759 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
1760 -mno-sse -mno-mmx.
1761 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
1762 <xmmintrin.h>.
1763
0155d5b2
JM
17642012-11-02 Joseph Myers <joseph@codesourcery.com>
1765
a68d0680
JM
1766 * conform/conformtest.pl (@headers): Add fenv.h.
1767 * conform/data/fenv.h-data: New file.
1768 * include/fenv.h [_ISOMAC]: Disable all contents of file except
1769 include of <math/fenv.h>.
1770
caf7f573
JM
1771 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
1772 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
1773 && !UNIX98]. Enables tests for XOPEN2K8.
1774 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
1775 POSIX2008]: Likewise.
1776
6c073ad6
JM
1777 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
1778 (struct rusage): Do not expect type or its members.
1779
0155d5b2
JM
1780 [BZ #3439]
1781 * math/math.h (FP_NAN): Define macro to integer constant usable in
1782 #if and use that to give value to enum constant.
1783 (FP_INFINITE): Likewise.
1784 (FP_ZERO): Likewise.
1785 (FP_SUBNORMAL): Likewise.
1786 (FP_NORMAL): Likewise.
1787
b5dcacb4
AS
17882012-11-02 Andreas Schwab <schwab@linux-m68k.org>
1789
1790 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
1791 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
1792 arguments.
1793
f7934be8
RM
17942012-11-02 Roland McGrath <roland@hack.frob.com>
1795
1796 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
1797 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
1798 autoconf-time if not.
1799 * configure.in: Remove AC_PREREQ.
1800
d7d08bde
TMQMF
18012012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1802
1803 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
1804 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
1805 of the internal implementation.
1806
dcdae19a
JM
18072012-11-02 Joseph Myers <joseph@codesourcery.com>
1808
1809 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
1810 except include of <misc/sys/syslog.h>.
1811
d6cffd3e
AS
18122012-11-01 Andreas Schwab <schwab@linux-m68k.org>
1813
1814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
1815 function returns with a NULL context exit with zero.
1816
b3563932
TMQMF
18172012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1818
1819 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
1820
b288a93d
L
18212012-11-01 H.J. Lu <hongjiu.lu@intel.com>
1822
1823 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
1824 (run_program_cmd): This.
1825 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
1826 (tst_langinfo): New variable. Use it.
1827
a2421a68
SAS
18282012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
1829
1830 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
1831 floating point opcodes.
1832
6f796e1b
TS
18332012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1834
7402596b
TS
1835 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
1836 variable.
1837
d0d4f868
TS
1838 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
1839
6f796e1b
TS
1840 * sysdeps/mach/hurd/powerpc: Remove directory.
1841 * sysdeps/mach/powerpc: Likewise.
1842
4da224a2
AS
18432012-11-01 Andreas Schwab <schwab@linux-m68k.org>
1844
1845 * scripts/check-local-headers.sh: Ignore c++ headers.
1846
341dd673
TS
18472012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1848
1849 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
1850 __libc_cleanup_region_start argument.
1851
473611b2
JM
18522012-11-01 Joseph Myers <joseph@codesourcery.com>
1853
1854 [BZ #14784]
1855 [BZ #14785]
1856 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
1857 x * y using scaling, not as x * y + z.
1858 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1859 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1860 * math/libm-test.inc (fma_test): Add more tests.
1861 (fma_test_towardzero): Likewise.
1862 (fma_test_downward): Likewise.
1863 (fma_test_upward): Likewise.
1864
4078da3d
TS
18652012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1866
1867 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
1868
903252aa
JM
18692012-10-31 Joseph Myers <joseph@codesourcery.com>
1870
1871 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
1872 New variable.
1873
cbc818d0
TS
18742012-10-31 Thomas Schwinge <thomas@codesourcery.com>
1875
1876 * rt/tst-shm.c (worker): Correct checking for mmap failure.
1877
5a03cb1e
AS
18782012-10-31 Andreas Schwab <schwab@linux-m68k.org>
1879
1880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1881 Fix sort order.
1882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1883 Likewise.
1884
90aff2ff
TMQMF
18852012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1886
1887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1888 Fix the order of the list for glibc 2.17.
1889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1890 Likewise.
1891
1818fcb7
AS
18922012-10-31 Andreas Schwab <schwab@linux-m68k.org>
1893
1894 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1895
ef82f4da
JM
18962012-10-31 Joseph Myers <joseph@codesourcery.com>
1897
16a0e2ec
JM
1898 [BZ #14610]
1899 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
1900 for low part of x being zero before using __atanl (y).
1901 * math/libm-test.inc (atan2_test): Add another test.
1902
0eb69512
JM
1903 * manual/install.texi (Configuring and compiling): Document
1904 general use of test-wrapper and test-wrapper-env.
1905 * INSTALL: Regenerated.
1906
ef82f4da
JM
1907 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
1908 (__fma): Do not extract and scale down low bits on after-rounding
1909 systems when result rounded to normal precision would have normal
1910 exponent.
1911 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
1912 (__fmal): Do not extract and scale down low bits on after-rounding
1913 systems when result rounded to normal precision would have normal
1914 exponent.
1915 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
1916 (__fmal): Do not extract and scale down low bits on after-rounding
1917 systems when result rounded to normal precision would have normal
1918 exponent.
1919 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
1920 macro.
1921 (fma_test): Add more tests.
1922 (fma_test_towardzero): Likewise.
1923 (fma_test_downward): Likewise.
1924 (fma_test_upward): Likewise.
1925
954ef0d9
L
19262012-10-30 H.J. Lu <hongjiu.lu@intel.com>
1927
1928 * sysdeps/i386/tininess.h: Renamed to ...
1929 * sysdeps/x86/tininess.h: This.
1930 * sysdeps/x86_64/tininess.h: Removed.
1931
df61ffb2
JM
19322012-10-30 Joseph Myers <joseph@codesourcery.com>
1933
1934 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
1935 input. Use $(build-program-cmd).
1936 ($(objpfx)tst-array1-static.out): Likewise.
1937 ($(objpfx)tst-array2.out): Likewise.
1938 ($(objpfx)tst-array3.out): Likewise.
1939 ($(objpfx)tst-array4.out): Likewise.
1940 ($(objpfx)tst-array5.out): Likewise.
1941 ($(objpfx)tst-array5-static.out): Likewise.
1942
01767843
CM
19432012-10-30 Chris Metcalf <cmetcalf@tilera.com>
1944
47cc1490
CM
1945 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
1946 if defined.
1947
01767843
CM
1948 * nss/nsswitch.h (nss_interface_function): Provide new
1949 macro for use with NSS functions.
1950 * grp/initgroups.c: Use new macro.
1951 * nss/getXXbyYY.c: Likewise.
1952 * nss/getXXbyYY_r.c: Likewise.
1953 * nss/getXXent.c: Likewise.
1954 * nss/getXXent_r.c: Likewise.
1955 * sysdeps/posix/getaddrinfo.c: Likewise.
1956
8321aa97
AJ
19572012-10-30 Andreas Jaeger <aj@suse.de>
1958
1959 * po/ru.po: Update Russion translation from translation project.
1960
2a27fd6d
JM
19612012-10-30 Joseph Myers <joseph@codesourcery.com>
1962
8627a232
JM
1963 [BZ #14152]
1964 [BZ #14783]
1965 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
1966 result and shift together with sticky bit instead of replicating
1967 round-to-nearest rounding.
1968 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1969 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1970 * math/libm-test.inc (fma_test): Add more tests. Do not permit
1971 missing underflow exceptions.
1972 (fma_test_towardzero): Add more tests.
1973 (fma_test_downward): Likewise.
1974 (fma_test_upward): Likewise.
1975
2a27fd6d
JM
1976 [BZ #14047]
1977 * sysdeps/generic/tininess.h: New file.
1978 * sysdeps/i386/tininess.h: Likewise.
1979 * sysdeps/sh/tininess.h: Likewise.
1980 * sysdeps/x86_64/tininess.h: Likewise.
1981 * stdlib/tst-strtod-underflow.c: Likewise.
1982 * stdlib/tst-tininess.c: Likewise.
1983 * stdlib/strtod_l.c: Include <tininess.h>.
1984 (round_and_return): Do not set errno for exact underflow cases.
1985 Force an underflow exception when setting errno for underflow.
1986 Determine underflow based on rounding to normal precision if
1987 TININESS_AFTER_ROUNDING.
1988 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
1989 ERANGE for exact underflow cases.
1990 * stdlib/Makefile (tests): Add tst-tininess and
1991 tst-strtod-underflow.
1992 ($(objpfx)tst-tininess): Use $(link-libm).
1993 ($(objpfx)tst-strtod-underflow): Likewise.
1994
e7170363
AJ
19952012-10-30 Andreas Jaeger <aj@suse.de>
1996
e5088dc6
AJ
1997 [BZ#14767]
1998 * elf/Makefile (tests): Remove conditional for have-initfini-array
1999 since this is now always required and the variable does not exist
2000 anymore.
2001 (tests-static): Likewise.
2002 (modules-names): Likewise.
2003
e7170363 2004 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
2005
2006 * elf/tst-array1.c (fini_array): Make writeable so that it can be
2007 merged with constructor/destructor.
2008 (init_array): Likewise.
2009 * elf/tst-array2dep.c (fini_array): Likewise.
2010 (init_array): Likewise.
2011
60457d8a
MF
20122012-10-29 Mike Frysinger <vapier@gentoo.org>
2013
2014 * manual/message.texi: Delete @cartouche tags.
2015
8bece752
PT
20162012-10-29 Pino Toscano <toscano.pino@tiscali.it>
2017
94ce799f
PT
2018 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
2019 EOPNOTSUPP.
2020 * sysdeps/mach/hurd/fsync.c: Likewise.
2021
8bece752
PT
2022 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
2023 [_POSIX_REALTIME_SIGNALS]: Change condition to
2024 [_POSIX_REALTIME_SIGNALS > 0].
2025
86ebe6b1
AJ
20262012-10-27 Andreas Jaeger <aj@suse.de>
2027
2028 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
2029 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
2030 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
2031 [__WORDSIZE != 64]: Likewise.
2032
54399c08
L
20332012-10-26 H.J. Lu <hongjiu.lu@intel.com>
2034
2035 * iconvdata/tst-table.sh: Remove ${SHELL}.
2036 * iconvdata/tst-tables.sh: Likewise.
2037
e2211bed
DM
20382012-10-25 David S. Miller <davem@davemloft.net>
2039
2040 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2041 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
2042 of strtoull.
2043
f303f97c
DM
2044 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
2045 ifunc-impl-list.c
2046 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2047 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
2048 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
2049 file.
2050
1e9d84cd
RM
20512012-10-25 Roland McGrath <roland@hack.frob.com>
2052
2053 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2054 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
2055 __getdirentries.
2056
df381762
JM
20572012-10-25 Joseph Myers <joseph@codesourcery.com>
2058 Jim Blandy <jimb@codesourcery.com>
2059
2060 * scripts/cross-test-ssh.sh: New file.
2061 * manual/install.texi (Configuring and compiling): Document use of
2062 cross-test-ssh.sh.
2063 * INSTALL: Regenerated.
2064
bff64913
PT
20652012-10-25 Pino Toscano <toscano.pino@tiscali.it>
2066
2067 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
2068 EOPNOTSUPP.
2069
25fe8932
JM
20702012-10-25 Joseph Myers <joseph@codesourcery.com>
2071
2072 * Makeconfig (run-program-prefix): Fix comment.
2073
cc1290d0
JM
20742012-10-24 Joseph Myers <joseph@codesourcery.com>
2075 Jim Blandy <jimb@codesourcery.com>
2076
2077 * Makeconfig (test-wrapper): New variable,
2078 (test-wrapper-env): Likewise.
2079 [$(cross-compiling) = yes && $(test-wrapper) != ""]
2080 (run-built-tests): Define to yes.
2081 (run-program-prefix): Use $(test-wrapper).
2082 (built-program-cmd): Likewise.
2083 * Rules (make-test-out): Use $(test-wrapper-env) and
2084 $(host-built-program-cmd).
2085 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
2086 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
2087 tst-pathopt.sh.
2088 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
2089 $(test-wrapper-env) to tst-rtld-load-self.sh.
2090 ($(objpfx)order2.out): Use $(test-wrapper).
2091 ($(objpfx)tst-initorder.out): Likewise.
2092 ($(objpfx)tst-initorder2.out): Likewise.
2093 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
2094 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
2095 (test_wrapper_env): New variable. Use it to run ld.so.
2096 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
2097 Use it to run ld.so.
2098 (test_wrapper_env): Likewise.
2099 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
2100 $(test-wrapper) to run-iconv-test.sh.
2101 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
2102 (ICONV): Use $test_wrapper.
2103 * posix/Makefile ($(objpfx)globtest.out): Pass
2104 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
2105 globtest.sh, not $(run-program-prefix).
2106 * posix/globtest.sh (run_via_rtld_prefix): New variable.
2107 (test_wrapper): Likewise.
2108 (test_wrapper_env): Likewise. Use it to run globtest with HOME
2109 set together with run_via_rtld_prefix.
2110 (run_program_prefix): Define in terms of test_wrapper and
2111 run_via_rtld_prefix.
2112
6e6249d0
RM
21132012-10-24 Roland McGrath <roland@hack.frob.com>
2114
2115 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
2116 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
2117 Targets removed.
2118
2119 [BZ #14743]
2120 * include/time.h: Remove librt_hidden_proto (clock_gettime).
2121 Declare __clock_getres, __clock_gettime, __clock_settime,
2122 __clock_nanosleep, and __clock_getcpuclockid.
2123 * rt/clock_gettime.c: Define __clock_gettime as an alias.
2124 Remove librt_hidden_def (clock_gettime).
2125 * sysdeps/unix/clock_gettime.c: Likewise.
2126 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
2127 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2128 * rt/clock_getres.c: Define __clock_getres as an alias.
2129 * sysdeps/posix/clock_getres.c: Likewise.
2130 * rt/clock_settime.c: Define __clock_settime as an alias.
2131 * sysdeps/unix/clock_settime.c: Likewise.
2132 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
2133 * sysdeps/unix/clock_nanosleep.c: Likewise.
2134 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2135 * rt/clock-compat.c: New file.
2136 * rt/Makefile (librt-routines): Add clock-compat and move
2137 $(clock-routines) to ...
2138 (routines): ... here, new variable.
2139 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
2140 Don't add get_clockfreq here.
2141 * rt/Versions (libc: GLIBC_2.17): New version set.
2142 Add clock_* symbols here.
2143 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
2144 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
2145 (GLIBC_2.17): Add clock_* symbols.
2146 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2147 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2148 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2150 Likewise.
2151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2152 Likewise.
2153 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2154 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2155 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2156 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2157 * NEWS: Mention the move.
2158
2159 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2160 Use __open, __read, __close rather than their public counterparts.
2161 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2162 (__get_clockfreq_via_cpuinfo): Likewise.
2163 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
2164 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
2165
2166 * config.h.in (HAVE_IFUNC): New #undef.
2167 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
2168 was successful.
2169 * configure: Regenerated.
2170
0cae3f4b
MF
21712012-10-24 Mike Frysinger <vapier@gentoo.org>
2172
2173 * configure.in: Move READELF check to start of file.
2174 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
2175 libc_cv_asm_gnu_indirect_function in the process.
2176 * configure: Regenerated.
2177
8175a253
MF
21782012-10-24 Mike Frysinger <vapier@gentoo.org>
2179
2180 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
2181 send the output to /dev/null.
2182 (libc_cv_cc_with_libunwind): Likewise.
2183 (libc_cv_as_noexecstack): Likewise.
2184 * configure: Regenerate.
2185
0708a7d1
JM
21862012-10-24 Joseph Myers <joseph@codesourcery.com>
2187
10b40d85
JM
2188 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
2189
0708a7d1
JM
2190 * posix/globtest.sh (TMPDIR): Do not set.
2191 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
2192 (testout): Likewise.
2193
9fddec1a
AJ
21942012-10-24 Andreas Jaeger <aj@suse.de>
2195
3a8db22f
AJ
2196 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
2197 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
2198 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
2199 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
2200 posix_fadvise64, posix_fallocate64.
2201
9fddec1a
AJ
2202 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
2203 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
2204 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
2205 Likewise.
2206 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
2207 Likewise.
2208 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
2209
2210 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
2211 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
2212 <bits/fcntl-linux.h>.
2213 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
2214
2215 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
2216 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
2217 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
2218 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
2219 [__WORDSIZE != 64]: Likewise.
2220
ebfd1bbd
JM
22212012-10-23 Joseph Myers <joseph@codesourcery.com>
2222
03ac099f
JM
2223 * Makeconfig (run-built-tests): New variable.
2224 * Rules [$(cross-compiling) = yes]: Change condition to
2225 [$(run-built-tests) = no].
2226 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
2227 to [$(run-built-tests) = yes].
2228 * elf/Makefile [$(cross-compiling) = no]: Likewise
2229 * grp/Makefile [$(cross-compiling) = no]: Likewise.
2230 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
2231 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
2232 * intl/Makefile [$(cross-compiling) = no]: Likewise.
2233 * io/Makefile [$(cross-compiling) = no]: Likewise.
2234 * libio/Makefile [$(cross-compiling) = no]: Likewise.
2235 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
2236 * misc/Makefile [$(cross-compiling) = no]: Likewise.
2237 * posix/Makefile [$(cross-compiling) = no]: Likewise.
2238 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
2239 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
2240 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
2241 * string/Makefile [$(cross-compiling) = no]: Likewise.
2242
ebfd1bbd
JM
2243 * posix/Makefile ($(objpfx)globtest.out): Pass
2244 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
2245 $(rtld-installed-name).
2246 * posix/globtest.sh (elf_objpfx): Remove variable.
2247 (rtld_installed_name): Likewise.
2248 (library_path): Likewise.
2249 (run_program_prefix): New variable. Use for running globtest
2250 binary.
2251
166bca24
JB
22522012-10-23 Jim Blandy <jimb@codesourcery.com>
2253 Joseph Myers <joseph@codesourcery.com>
2254
2255 * Makeconfig (host-built-program-cmd): New variable.
2256 * elf/Makefile (tst-stackguard1-ARGS): Use
2257 $(host-built-program-cmd).
2258 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
2259 (tst-spawn-ARGS): Likewise.
2260 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
2261
88866099
JM
22622012-10-23 Joseph Myers <joseph@codesourcery.com>
2263 Jim Blandy <jimb@codesourcery.com>
2264
2265 * Makeconfig (run-via-rtld-prefix): New variable.
2266 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
2267 (built-program-cmd): Likewise.
2268
b4b4c296
AJ
22692012-10-22 Andreas Jaeger <aj@suse.de>
2270
2271 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
2272 __O_RSYNC if it exists, otherwise to O_SYNC.
2273
6fb54a22
JB
22742012-10-22 Jim Blandy <jimb@codesourcery.com>
2275 Joseph Myers <joseph@codesourcery.com>
2276
2277 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
2278 /dev/null.
2279 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
2280 from /dev/null
2281 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
2282 /dev/null.
2283
481b90b9
AJ
22842012-10-22 Andreas Jaeger <aj@suse.de>
2285
2a0e2669
AJ
2286 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
2287 Define always.
2288 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
2289
76e38f9a
AJ
2290 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2291 bits/fcntl-linux.h.
2292
7cd37b43
AJ
2293 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
2294 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
2295
481b90b9
AJ
2296 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
2297 to __O_LARGEFILE.
2298 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
2299 to __O_LARGEFILE.
2300
aba75984
JB
23012012-10-21 Jim Blandy <jimb@codesourcery.com>
2302 Joseph Myers <joseph@codesourcery.com>
2303
2304 * config.make.in (NM): New variable.
2305
88d4247f
AJ
23062012-10-21 Andreas Jaeger <aj@suse.de>
2307
2308 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
2309 definitions and declarations that are provided by
2310 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2311
f2eed205
L
23122012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2313
2314 [BZ #14683]
2315 * elf/Makefile (tests-static): Add tst-leaks1-static.
2316 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
2317 ($(objpfx)tst-leaks1-static): New rule.
2318 ($(objpfx)tst-leaks1-static-mem): Likewise.
2319 (tst-leaks1-static-ENV): New macro.
2320 * elf/dl-open.c (dl_open_worker): Check the main application
2321 only if SHARED is defined.
2322 * elf/tst-leaks1-static.c: New file.
2323
335e6931
AJ
23242012-10-20 Andreas Jaeger <aj@suse.de>
2325
2326 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
2327 generic values for Linux.
2328 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
2329 and declarations that are provided by <bits/fcntl-linux.h> and
2330 include <bits/fcntl-linux.h>.
2331 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2332 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
2333
ac5c94d3
RM
23342012-10-20 Roland McGrath <roland@hack.frob.com>
2335
2336 * io/fcntl.h: Move include of <bits/types.h> to the top and
2337 include it unconditionally.
2338
de54b33a
L
23392012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2340
228cfb01
L
2341 * wcsmbs/Makefile (tests-ifunc): New variable.
2342 (tests): Add $(tests-ifunc).
2343 * wcsmbs/test-wcschr-ifunc.c: New file.
2344 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2345 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2346 * wcsmbs/test-wcslen-ifunc.c: Likewise.
2347 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2348 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2349
69f07e5f
L
2350 * string/Makefile (tests-ifunc): New variable.
2351 (tests): Add $(tests-ifunc).
2352 * string/test-memccpy.c (TEST_NAME): New macro.
2353 * string/test-memchr.c (TEST_NAME): Likewise.
2354 * string/test-memcmp.c (TEST_NAME): Likewise.
2355 * string/test-memcpy.c (TEST_NAME): Likewise.
2356 * string/test-memmem.c (TEST_NAME): Likewise.
2357 * string/test-memmove.c (TEST_NAME): Likewise.
2358 * string/test-memset.c (TEST_NAME): Likewise.
2359 * string/test-rawmemchr.c (TEST_NAME): Likewise.
2360 * string/test-stpcpy.c (TEST_NAME): Likewise.
2361 * string/test-stpncpy.c (TEST_NAME): Likewise.
2362 * string/test-strcasecmp.c (TEST_NAME): Likewise.
2363 * string/test-strcasestr.c (TEST_NAME): Likewise.
2364 * string/test-strcat.c (TEST_NAME): Likewise.
2365 * string/test-strchr.c (TEST_NAME): Likewise.
2366 * string/test-strcmp.c(TEST_NAME): Likewise.
2367 * string/test-strcpy.c (TEST_NAME): Likewise.
2368 * string/test-strcspn.c (TEST_NAME): Likewise.
2369 * string/test-strlen.c (TEST_NAME): Likewise.
2370 * string/test-strncasecmp.c (TEST_NAME): Likewise.
2371 * string/test-strncmp.c (TEST_NAME): Likewise.
2372 * string/test-strncpy.c (TEST_NAME): Likewise.
2373 * string/test-strnlen.c (TEST_NAME): Likewise.
2374 * string/test-strpbrk.c (TEST_NAME): Likewise.
2375 * string/test-strrchr.c (TEST_NAME): Likewise.
2376 * string/test-strspn.c (TEST_NAME): Likewise.
2377 * string/test-strstr.c (TEST_NAME): Likewise.
2378 * string/test-bcopy-ifunc.c: New file.
2379 * string/test-bzero-ifunc.c: Likewise.
2380 * string/test-memccpy-ifunc.c: Likewise.
2381 * string/test-memchr-ifunc.c: Likewise.
2382 * string/test-memcmp-ifunc.c: Likewise.
2383 * string/test-memcpy-ifunc.c: Likewise.
2384 * string/test-memmem-ifunc.c: Likewise.
2385 * string/test-memmove-ifunc.c: Likewise.
2386 * string/test-mempcpy-ifunc.c: Likewise.
2387 * string/test-memset-ifunc.c: Likewise.
2388 * string/test-rawmemchr-ifunc.c: Likewise.
2389 * string/test-stpcpy-ifunc.c: Likewise.
2390 * string/test-stpncpy-ifunc.c: Likewise.
2391 * string/test-strcasecmp-ifunc.c: Likewise.
2392 * string/test-strcasestr-ifunc.c: Likewise.
2393 * string/test-strcat-ifunc.c: Likewise.
2394 * string/test-strchr-ifunc.c: Likewise.
2395 * string/test-strchrnul-ifunc.c: Likewise.
2396 * string/test-strcmp-ifunc.c: Likewise.
2397 * string/test-strcpy-ifunc.c: Likewise.
2398 * string/test-strcspn-ifunc.c: Likewise.
2399 * string/test-strlen-ifunc.c: Likewise.
2400 * string/test-strncasecmp-ifunc.c: Likewise.
2401 * string/test-strncat-ifunc.c: Likewise.
2402 * string/test-strncmp-ifunc.c: Likewise.
2403 * string/test-strncpy-ifunc.c: Likewise.
2404 * string/test-strnlen-ifunc.c: Likewise.
2405 * string/test-strpbrk-ifunc.c: Likewise.
2406 * string/test-strrchr-ifunc.c: Likewise.
2407 * string/test-strspn-ifunc.c: Likewise.
2408 * string/test-strstr-ifunc.c: Likewise.
2409
de54b33a
L
2410 * debug/Makefile (tests-ifunc): New variable.
2411 (tests): Add $(tests-ifunc).
2412 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
2413 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
2414 * debug/test-stpcpy_chk-ifunc.c: New file.
2415 * debug/test-strcpy_chk-ifunc.c: Likewise.
2416
88481c16
SP
24172012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2418
2419 [BZ #13601]
2420 * elf/dl-load.c (open_verify): Retry read if the entire ELF
2421 header is not read in.
2422
135948bd
JM
24232012-10-19 Joseph Myers <joseph@codesourcery.com>
2424
89f1c388
JM
2425 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
2426 script to $(SHELL) as $<. Pass $(common-objpfx) to script
2427 directly. Pass built executable to script as
2428 $(built-program-cmd).
2429 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
2430 $testprogram without using LD_LIBRARY_PATH and $ldso.
2431
e40a0d21
JM
2432 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
2433 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
2434 $(rtld-installed-name).
2435 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
2436 (rtld_installed_name): Likewise.
2437 (library_path): Likewise.
2438 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
2439 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
2440 $(run-program-prefix) to tst-tables.sh.
2441 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
2442 it to run tst-table-from and tst-table-to.
2443 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
2444 Pass it to tst-table.sh.
2445 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
2446 $(run-program-prefix) to tst-gettext.sh.
2447 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
2448 tst-translit.sh.
2449 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
2450 tst-gettext2.sh.
2451 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
2452 to run tst-gettext.
2453 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
2454 to run tst-gettext2.
2455 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
2456 to run tst-translit.
2457 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
2458 $(run-program-prefix) to tst-mtrace.sh.
2459 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
2460 to run tst-mtrace.
2461 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
2462 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
2463 $(rtld-installed-name).
2464 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
2465 (rtld_installed_name): Likewise.
2466 (run_program_prefix): New variable. Use it to run wordexp-test.
2467
728e272a
JM
2468 * Makeconfig (ARCH): Remove all definitions.
2469 (machine): Likewise.
2470 [ARCH]: Remove conditional code.
2471 [!objdir]: Give error.
2472 [!objdir] (objpfx): Remove.
2473 [!objdir] (common-objpfx): Likewise.
2474 [!objdir] (common-objdir): Likewise.
2475 * configure.in (config_makefile): Remove. Hardcode Makefile in
2476 AC_CONFIG_FILES call.
2477 * configure: Regenerated.
2478
d528cdcf
JM
2479 [BZ #13888]
2480 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
2481 or TMPDIR.
2482 (testout): Likewise.
2483
135948bd
JM
2484 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
2485 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
2486 $(rtld-installed-name).
2487 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
2488 (rtld_installed_name): Likwise.
2489 (runit): Remove function.
2490 (run_getconf): New variable, Use it for running getconf binary.
2491
38c78296
L
24922012-10-18 H.J. Lu <hongjiu.lu@intel.com>
2493
2494 [BZ #14716]
2495 * string/test-memmem.c (check_result): New function.
2496 (do_one_test): Use it.
2497 (check1): New function.
2498 (test_main): Use it.
2499
d077f65f
MT
25002012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
2501
2502 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
2503
ced52c71
JM
25042012-10-18 Joseph Myers <joseph@codesourcery.com>
2505
2506 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
2507 (_G_LSEEK64): Likewise.
2508 (_G_MMAP64): Likewise.
2509 (_G_FSTAT64): Likewise.
2510 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
2511 (_G_LSEEK64): Likewise.
2512 (_G_MMAP64): Likewise.
2513 (_G_FSTAT64): Likewise.
2514 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
2515 unconditional. Call __mmap64 directly.
2516 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
2517 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
2518 __lseek64 directly.
2519 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
2520 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
2521 __mmap64 directly.
2522 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
2523 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
2524 __lseek64 directly.
2525 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
2526 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
2527 __lseek64 directly.
2528 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
2529 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
2530 __lseek64 directly.
2531 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
2532 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
2533 __fxstat64 directly.
2534 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
2535 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
2536 unconditional.
2537 (freopen64) [!_G_OPEN64]: Remove conditional code.
2538 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
2539 unconditional.
2540 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
2541 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
2542 unconditional.
2543 (ftello64) [!_G_LSEEK64]: Remove conditional code.
2544 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
2545 unconditional.
2546 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2547 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
2548 unconditional.
2549 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
2550 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
2551 unconditional.
2552 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2553 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
2554 unconditional.
2555 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2556 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
2557 unconditional.
2558 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2559
b741de23
SP
25602012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2561
2562 [BZ #12140]
2563 * manual/memory.texi (Malloc Tunable Parameters): Add note
2564 about free list pointers overwriting some perturb bytes.
2565 Wording suggested by Roland McGrath.
2566
f9b9d9c9
JM
25672012-10-17 Joseph Myers <joseph@codesourcery.com>
2568
2569 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
2570 (lgamma_test): Likewise.
2571 (tgamma_test): Likewise.
2572
172a631a
FW
25732012-10-16 Florian Weimer <fweimer@redhat.com>
2574
2575 [BZ #14700]
2576 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
2577 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
2578
e9f37252
MK
25792012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
2580
2581 * NEWS: Mention BZ #14716.
2582 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
2583 when removing AVAILABLE1_USES_J macro.
2584
d394eb74
L
25852012-10-12 H.J. Lu <hongjiu.lu@intel.com>
2586
2587 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
2588 (__bswap_64): __uint64_t for unsigned 64-bit int.
2589
ca38dc17
AS
25902012-10-12 Andreas Schwab <schwab@linux-m68k.org>
2591
2592 * include/string.h (memmem): Declare libc hidden alias.
2593 * string/memmem.c (memmem): Define libc hidden alias.
2594 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
2595 __read, __close instead of open, read, close.
2596
9a387d1f
L
25972012-10-11 H.J. Lu <hongjiu.lu@intel.com>
2598
ac49ecaf
L
2599 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
2600 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
2601 global and hidden.
2602 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
2603 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
2604 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
2605 Likewise.
2606 (__rawmemchr_sse2): Likewise.
2607 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
2608 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
2609 (__strchr_sse2): Likewise.
2610 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
2611 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
2612 (__strcasecmp_sse2): Likewise.
2613 (__strncasecmp_sse2): Likewise.
2614 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
2615 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
2616 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
2617 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
2618 (__strrchr_sse2): Likewise.
2619 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
2620 ifunc-impl-list.c.
2621 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2622 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2623 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2624 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2625 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2626 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2627 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2628 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2629 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
2630 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
2631 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
2632 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
2633 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
2634 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2635 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2636 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2637 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2638 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2639 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
2640 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
2641 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
2642 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
2643 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
2644 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
2645 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
2646 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2647 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2648 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2649 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2650 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2651
b090e8ea
L
2652 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
2653 global and hidden.
2654 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
2655 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
2656 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
2657 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
2658 Likewise.
2659 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
2660 Likewise.
2661 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
2662 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
2663 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
2664 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
2665 ifunc-impl-list.c.
2666 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2667 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2668 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2669 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2670 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2671 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2672 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2673 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2674 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2675 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2676 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2677 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2678 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2679 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
2680 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
2681 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2682 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
2683 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
2684 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2685 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2686 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2687 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2688 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2689 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2690 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2691 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
2692 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
2693 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
2694 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
2695 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2696 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
2697 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2698 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2699 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
2700 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2701 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2702 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2703 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2704 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2705 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2706 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
2707
11dd4af6
L
2708 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
2709 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
2710 * include/ifunc-impl-list.h: New file.
2711 * misc/ifunc-impl-list.c: Likewise.
2712 * misc/Makefile (routines): Add ifunc-impl-list.
2713 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
2714 * string/test-string.h: Include <ifunc-impl-list.h>.
2715 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
2716 impl_array): New variables.
2717 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
2718 are defined.
2719 (test_init): Call __libc_ifunc_impl_list to initialize
2720 func_list if TEST_IFUNC and TEST_NAME are defined.
2721
9a387d1f
L
2722 * string/Makefile (strop-tests): Add bcopy and bzero.
2723 * string/test-bcopy.c: New file.
2724 * string/test-bzero.c: Likewise.
2725 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
2726 defined.
2727 * string/test-memset.c: Support bzero test if TEST_BZERO is
2728 defined.
2729 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
2730 __libc_memmove.
2731 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
2732 __libc_memset.
2733 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
2734 of memset.
2735
472371b9
JM
27362012-10-10 Joseph Myers <joseph@codesourcery.com>
2737
1e4a9536
JM
2738 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
2739 * configure: Regenerated.
2740
d173d12e
JM
2741 * Makeconfig (+link-static-before-libc): Don't include
2742 $(link-static-libc).
2743
472371b9
JM
2744 * libio/libio.h (_IO_pos_t): Remove.
2745
89a3ad0b
AO
27462012-10-10 Alexandre Oliva <aoliva@redhat.com>
2747
2748 * NEWS: Add note about FIPS mode. Wording suggested by Roland
2749 McGrath.
2750
e7451425
AO
27512012-10-10 Alexandre Oliva <aoliva@redhat.com>
2752
2753 * crypt/crypt-entry.c: Include fips-private.h.
2754 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
2755 * crypt/md5c-test.c (main): Tolerate disabled MD5.
2756 * sysdeps/unix/sysv/linux/fips-private.h: New file.
2757 * sysdeps/generic/fips-private.h: New file, dummy fallback.
2758
4ba74a35
AO
27592012-10-10 Alexandre Oliva <aoliva@redhat.com>
2760
2761 * crypt/crypt-private.h: Include stdbool.h.
2762 (_ufc_setup_salt_r): Return bool.
2763 * crypt/crypt-entry.c: Include errno.h.
2764 (__crypt_r): Return NULL with EINVAL for bad salt.
2765 * crypt/crypt_util.c (bad_for_salt): New.
2766 (_ufc_setup_salt_r): Check that salt is long enough and within
2767 the specified alphabet.
2768 * crypt/badsalttest.c: New file.
2769 * crypt/Makefile (tests): Add it.
2770 ($(objpfx)badsalttest): New.
2771
f96f1242
MK
27722012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
2773
2774 * NEWS: Add entry for BZ #14602.
2775
0e8e0c1c
JM
27762012-10-09 Joseph Myers <joseph@codesourcery.com>
2777
2778 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
2779 type-generic.
2780 * math/libm-test.inc: Update comment listing what functions and
2781 macros are tested.
2782 (isgreater_test): New function.
2783 (isgreaterequal_test): Likewise.
2784 (isless_test): Likewise.
2785 (islessequal_test): Likewise.
2786 (islessgreater_test): Likewise.
2787 (isunordered_test): Likewise.
2788 (main): Call the new functions.
2789
273edc5e
RM
27902012-10-09 Roland McGrath <roland@hack.frob.com>
2791
b8493de0
RM
2792 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
2793 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
2794 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
2795 * sysdeps/i386/configure: Regenerated.
2796 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
2797 * sysdeps/mach/configure: Regenerated.
2798 * sysdeps/mach/hurd/configure: Regenerated.
2799 * sysdeps/powerpc/configure: Regenerated.
2800 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2801 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2802 * sysdeps/s390/s390-32/configure: Regenerated.
2803 * sysdeps/s390/s390-64/configure: Regenerated.
2804 * sysdeps/sh/configure: Regenerated.
2805 * sysdeps/sparc/configure: Regenerated.
2806 * sysdeps/unix/sysv/linux/configure: Regenerated.
2807 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2808 * sysdeps/x86_64/configure: Regenerated.
2809
273edc5e
RM
2810 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
2811 defined. Don't check if MAP is NULL.
2812
c8450f70
JM
28132012-10-09 Joseph Myers <joseph@codesourcery.com>
2814
2815 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
2816 (_G_stat64): Likewise.
2817 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
2818 (_G_stat64): Likewise.
2819 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
2820 instead of struct _G_stat64.
2821 * libio/fileops.c (mmap_remap_check): Likewise.
2822 (decide_maybe_mmap): Likewise.
2823 (_IO_new_file_seekoff): Likewise.
2824 (_IO_file_stat): Likewise.
2825 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
2826 _G_off64_t.
2827 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
2828 instead of struct _G_stat64.
2829 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
2830
57e605ba
MK
28312012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
2832
2833 [BZ #14602]
2834 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2835 Replace with ...
2836 (CHECK_EOL): New macro.
2837 (two_way_short_needle): Check beginning of haystack for EOL. Use
2838 CHECK_EOL.
2839 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2840 Replace with CHECK_EOL.
2841 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2842 Replace with CHECK_EOL.
2843
ef1bb361
JM
28442012-10-08 Joseph Myers <joseph@codesourcery.com>
2845
2846 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
2847 type-generic.
2848 * math/libm-test.inc: Update comment listing what functions and
2849 macros are tested.
2850 (finite_test): New function.
2851 (isinf_test): Likewise.
2852 (isnan_test): Likewise.
2853 (fpclassify_test): Test subnormal input.
2854 (isfinite_test): Likewise.
2855 (isnormal_test): Likewise.
2856 (main): Call the new functions.
2857
55f11534
JN
28582012-10-08 Jonathan Nieder <jrnieder@gmail.com>
2859
2860 [BZ #14660]
2861 * Makerules (%.dynsym): Force C locale when running
2862 $(OBJDUMP) --dynamic-syms.
2863
1ab29350
AS
28642012-10-08 Andreas Schwab <schwab@linux-m68k.org>
2865
2866 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
2867 <stdint.h>.
2868
f1ecb7ef
DM
28692012-10-06 David S. Miller <davem@davemloft.net>
2870
2871 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
2872 upper 32-bits of the length value in %o2 since we use branch-on-register
2873 tests which consider the entire 64-bit register.
2874
5d41d91a
L
28752012-10-06 H.J. Lu <hongjiu.lu@intel.com>
2876
2877 * string/test-strstr.c (check2): Add a test for page boundary.
2878
3baddb72
DM
28792012-10-05 David S. Miller <davem@davemloft.net>
2880
2881 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
2882 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
2883 file.
2884 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
2885 sysdep_routines.
2886 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
2887 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
2888 and bzero when HWCAP_SPARC_CRYPTO is present.
2889
9cee5585
L
28902012-10-05 H.J. Lu <hongjiu.lu@intel.com>
2891
d7e0dab9
L
2892 [BZ #14602]
2893 * string/test-strstr.c (check2): New function.
2894 (test_main): Call check2.
2895
03759f47
L
2896 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
2897 and bug-strchr1.
2898 * string/bug-strcasestr1.c (do_test): Moved to ...
2899 * string/test-strcasestr.c (check1): Here. New function.
2900 (do_one_test): Break out result checking code into ...
2901 (check_result): This. New function.
2902 (do_one_test): Call check_result.
2903 (test_main): Call check1.
2904 * string/bug-strchr1.c (do_test): Moved to ...
2905 * string/test-strchr.c (check1): Here. New function.
2906 (do_one_test): Break out result checking code into ...
2907 (check_result): This. New function.
2908 (do_one_test): Call check_result.
2909 (test_main): Call check1.
2910 * string/bug-strstr1.c (main): Moved to ...
2911 * string/test-strchr.c (check1): Here. New function.
2912 (do_one_test): Break out result checking code into ...
2913 (check_result): This. New function.
2914 (do_one_test): Call check_result.
2915 (test_main): Call check1.
2916 * string/bug-strcasestr1.c: Removed.
2917 * string/bug-strchr1.c: Likewise.
2918 * string/bug-strstr1.c: Likewise.
2919
53cea63e
L
2920 * elf/Makefile (dl-routines): Add hwcaps.
2921 * elf/dl-support.c (_dl_important_hwcaps): Removed.
2922 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
2923 (_dl_important_hwcaps): Moved to ...
2924 * elf/dl-hwcaps.c: Here. New file.
2925 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
2926
9cee5585 2927 [BZ #14557]
bb859b06
L
2928 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
2929 if IS_IN_rtld isn't defined.
2930
9cee5585
L
2931 * elf/dl-support.c (_dl_sysinfo_map): New.
2932 Include "get-dynamic-info.h" and "setup-vdso.h".
2933 (_dl_non_dynamic_init): Call setup_vdso.
2934 * elf/dynamic-link.h: Don't include <assert.h>.
2935 (elf_get_dynamic_info): Moved to ...
2936 * elf/get-dynamic-info.h: Here. New file.
2937 * elf/dynamic-link.h: Include "get-dynamic-info.h".
2938 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
2939 * elf/setup-vdso.h: Here. New file.
2940 * elf/rtld.c: Include "setup-vdso.h".
2941 (dl_main): Call setup_vdso.
2942
23c31b76
JM
29432012-10-05 Joseph Myers <joseph@codesourcery.com>
2944
28234b07
JM
2945 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
2946 creal in comment listing functions tested. List finite, isinf,
2947 isnan, isless, islessequal, isgreater, isgreaterequal,
2948 islessgreater, isunordered, lgamma_r and pow10 as functions and
2949 macros not tested. Mention which functions not tested are aliases
2950 for other functions. Fix typo. Note that signs of NaNs are not
2951 tested.
2952
23c31b76
JM
2953 * scripts/config.guess: Update from config.git.
2954 * scripts/config.sub: Likewise.
2955
9043e228
RM
29562012-10-04 Roland McGrath <roland@hack.frob.com>
2957
2958 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
2959 * misc/madvise.c (madvise): Renamed to __madvise.
2960 Make madvise a weak alias.
2961 * include/sys/mman.h: Declare __madvise.
2962 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
2963 * sysdeps/unix/syscalls.list
2964 (madvise): Make __madvise the strong name, and madvise a weak alias.
2965 * sysdeps/unix/sysv/linux/syscalls.list
2966 (madvise, mmap): Remove redundant entries.
2967 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
2968 * malloc/malloc.c (mtrim): Likewise.
2969 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
2970
f57f8055
RM
29712012-10-03 Roland McGrath <roland@hack.frob.com>
2972
2973 * sysdeps/mach/hurd/dl-cache.c: File removed.
2974 * config.h.in (USE_LDCONFIG): New #undef.
2975 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
2976 * configure: Regenerated.
2977 * elf/Makefile (dl-routines): Add dl-cache only under
2978 [$(use-ldconfig) = yes].
2979 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
2980 cache on [USE_LDCONFIG].
2981 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
2982 [USE_LDCONFIG].
2983 * elf/rtld.c (dl_main): Likewise.
2984
5bb0c10a
PT
29852012-10-03 Pino Toscano <toscano.pino@tiscali.it>
2986
2987 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
2988 _SC_LEVEL4_CACHE_LINESIZE.
2989
010188c6
RM
29902012-10-03 Roland McGrath <roland@hack.frob.com>
2991
2992 * sysdeps/unix/bsd/confstr.h: File removed.
2993
b6c5ec07
AO
29942012-10-02 Alexandre Oliva <aoliva@redhat.com>
2995
2996 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
2997 sys/sdt-config.h.
2998
408223d4
RM
29992012-10-02 Roland McGrath <roland@hack.frob.com>
3000
3001 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
3002 Make 'mapoff' field ElfW(Off) rather than off_t.
3003
bb9510dc
DL
30042012-10-02 Dmitry V. Levin <ldv@altlinux.org>
3005
fc997c6e
DL
3006 * nscd/Makefile: Remove nscd-cflags and all its users.
3007 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
3008 (CFLAGS-nonlib): Add compiler flags for nscd modules.
3009
bb9510dc
DL
3010 [BZ #10631]
3011 * malloc.c (malloc_printerr): Clarify error message.
3012
05699367
L
30132012-10-02 H.J. Lu <hongjiu.lu@intel.com>
3014
3015 [BZ #14648]
3016 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3017 Set bit_FMA_Usable if FMA is supported.
3018 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
3019 macro.
3020 (bit_FMA4_Usable): Updated.
3021 (index_FMA_Usable): New macro.
3022 (CPUID_FMA): Likewise
3023 (HAS_FMA): Defined with bit_FMA_Usable.
3024
51367701
RM
30252012-10-01 Roland McGrath <roland@hack.frob.com>
3026
3027 * bits/types.h (__swblk_t): Type removed.
3028 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
3029 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
3030 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3031 (__SWBLK_T_TYPE): Likewise.
3032 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3033 (__SWBLK_T_TYPE): Likewise.
3034 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3035 (__SWBLK_T_TYPE): Likewise.
3036 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3037 (__SWBLK_T_TYPE): Likewise.
3038
4d57bf63 30392012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 3040 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
3041
3042 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
3043 (xdr_mapname): Use YPMAXMAP as maxsize.
3044 (xdr_peername): Use YPMAXPEER as maxsize.
3045 (xdr_keydat): Use YPAXRECORD as maxsize.
3046 (xdr_valdat): Use YPMAXRECORD as maxsize.
3047
93c65d43
RM
30482012-10-01 Roland McGrath <roland@hack.frob.com>
3049
497a03d6
RM
3050 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
3051
93c65d43
RM
3052 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
3053 * csu/init-first.c: ... here.
3054 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
3055 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3056 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
3057 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3058 * sysdeps/i386/init-first.c: File removed.
3059 * sysdeps/sh/init-first.c: File removed.
3060
bec749fd
JM
30612012-10-01 Joseph Myers <joseph@codesourcery.com>
3062
3063 [BZ #14645]
3064 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
3065 if x * y might underflow to zero and z is zero.
3066 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3067 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3068 * math/libm-test.inc (min_subnorm_value): New variable.
3069 (fma_test): Add more tests.
3070 (fma_test_towardzero): Likewise.
3071 (fma_test_downward): Likewise
3072 (fma_test_upward): Likewise.
3073 (initialize): Set min_subnorm_value.
3074
8ec5b013
JM
30752012-09-29 Joseph Myers <joseph@codesourcery.com>
3076
3077 [BZ #14638]
3078 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
3079 0 + 0.
3080 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
3081 mode for addition resulting in exact zero.
3082 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
3083 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
3084 exact 0 + 0.
3085 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3086 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3087 * math/libm-test.inc (fma_test): Add more tests.
3088 (fma_test_towardzero): New function.
3089 (fma_test_downward): Likewise.
3090 (fma_test_upward): Likewise.
3091 (main): Call the new functions.
3092
b1fa802e
DM
30932012-09-28 David S. Miller <davem@davemloft.net>
3094
3095 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
3096
d3b9fd9e
RM
30972012-09-28 Roland McGrath <roland@hack.frob.com>
3098
ea4d37b3
RM
3099 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
3100 instead of SIGALRM.
3101
ac51c949
RM
3102 * sysdeps/gnu/_G_config.h: Moved to ...
3103 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
3104 * sysdeps/mach/hurd/_G_config.h: Moved to ...
3105 * sysdeps/generic/_G_config.h: ... here.
3106
28c195f7
RM
3107 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
3108
848917f9
RM
3109 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
3110
6bacf05b
RM
3111 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
3112 Conditionalize target on [libnss_test1.so-version].
3113
91363dbb
RM
3114 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
3115
cc87f7d8
RM
3116 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
3117 (elfobjdir): Move out of conditionals.
3118
b1c608fe
RM
3119 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
3120 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
3121 (__nss_lookup_function): Conditionalize label remove_from_tree on
3122 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 3123
1d9a6d96
DM
31242012-09-28 David S. Miller <davem@davemloft.net>
3125
3126 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
3127 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
3128 file.
3129 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3130 sysdep_routines.
3131 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3132 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
3133 when HWCAP_SPARC_CRYPTO is present.
3134
72581615
PT
31352012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3136
3137 * io/tst-mknodat.c: Create a FIFO instead of a socket.
3138
715a900c
JL
31392012-09-28 Andreas Schwab <schwab@linux-m68k.org>
3140
3141 [BZ #6530]
3142 * stdio-common/vfprintf.c (process_string_arg): Revert
3143 2000-07-22 change.
3144
31452011-09-28 Jonathan Nieder <jrnieder@gmail.com>
3146
3147 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
3148 for testcase.
3149 * stdio-common/tst-sprintf.c: Include <locale.h>
3150 (main): Test sprintf's handling of incomplete multibyte
3151 characters.
3152
9bac1d86
L
31532012-09-28 H.J. Lu <hongjiu.lu@intel.com>
3154
3155 * elf/dl-runtime.c (VERSYMIDX): Removed.
3156 * elf/dl-version.c (VERSYMIDX): Likewise.
3157 * elf/do-rel.h (VERSYMIDX): Likewise.
3158 (VALIDX): Likewise.
3159 * elf/dynamic-link.h (VERSYMIDX): Likewise.
3160 * elf/rtld.c (VALIDX): Likewise.
3161 (ADDRIDX): Likewise.
9bac1d86
L
3162 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
3163 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
3164 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
3165 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
3166 (VALIDX): Likewise.
3167 (ADDRIDX): Likewise.
9bac1d86 3168
b31606c0
PT
31692012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3170
3171 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
3172
11541177
JL
31732012-09-28 Dmitry V. Levin <ldv@altlinux.org>
3174
3175 [BZ #11438]
3176 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
3177 to global scope.
3178 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
3179 addresses are in the same scope as 192.0.2/24.
3180 * posix/gai.conf: Document new scope table defaults.
3181
adb26fae
SP
31822012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3183
3184 [BZ #5298]
3185 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
3186 for ftell. Compute offsets from write pointers instead.
3187 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3188
4573c6b0
SP
31892012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3190
3191 [BZ #14543]
3192 * libio/Makefile (tests): New test case tst-fseek.
3193 * libio/tst-fseek.c: New test case to verify that fseek/ftell
3194 combination works in wide mode.
3195 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
3196 state when the external buffer state changes.
3197
aa9bbfe6
DM
31982012-09-27 David S. Miller <davem@davemloft.net>
3199
3200 [BZ #14376]
3201 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
3202 pass reloc->r_addend in as the 'high' argument to
3203 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
3204
784421e7
DM
3205 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3206
c39bc8b8
PT
32072012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3208
3209 * rt/tst-aio2.c: Include <pthread.h>.
3210 * rt/tst-aio3.c: Likewise.
3211
1ccc2399
SE
32122012-09-27 Steve Ellcey <sellcey@mips.com>
3213
3214 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
3215
31ed4153
L
32162012-09-27 H.J. Lu <hongjiu.lu@intel.com>
3217
25f5f885
L
3218 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
3219 contents on [SHARED].
31ed4153 3220
b7bfe116
MP
32212012-09-26 Marek Polacek <polacek@redhat.com>
3222
3223 [BZ #14530]
3224 [BZ #13741]
3225 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
3226 for C++ and GCC <4.3 as well as for non GCC compilers.
3227
43c4edba
MT
32282012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
3229
3230 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3231
6a1bf82f
RM
32322012-09-25 Roland McGrath <roland@hack.frob.com>
3233
3234 * Makefile.in (all, install): Declare with .PHONY.
3235 Reported by Michael Hope <michael.hope@linaro.org>.
3236
8ad11b9a
TMQMF
32372012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3238
3239 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
3240 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
3241 system header.
3242 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
3243 Likewise.
3244 (sydep_routines): Add the new and the internal functions.
3245 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
3246 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
3247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
3248 (GLIBC_2.17): Add the new function.
3249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3250 (GLIBC_2.17): Likewise.
3251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
3252 (GLIBC_2.17): Likewise.
3253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
3254 (GLIBC_2.17): Likewise.
3255 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
3256
7e2fca8d
AM
32572012-09-25 Alan Modra <amodra@gmail.com>
3258
3259 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
3260 Add release barrier before setting once_control to say
3261 initialisation is done. Add hints on lwarx. Use macro in
3262 place of isync.
3263 (clear_once_control): Add release barrier.
3264
b87c4b24
JM
32652012-09-25 Joseph Myers <joseph@codesourcery.com>
3266
d032e0d2
JM
3267 [BZ #13629]
3268 * math/s_clog.c (__clog): Handle more values close to |z| = 1
3269 specially.
3270 * math/s_clog10.c (__clog10): Likewise.
3271 * math/s_clog10f.c (__clog10f): Likewise.
3272 * math/s_clog10l.c (__clog10l): Likewise.
3273 * math/s_clogf.c (__clogf): Likewise.
3274 * math/s_clogl.c (__clogl): Likewise.
3275 * math/Makefile (libm-calls): Add x2y2m1.
3276 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
3277 (__x2y2m1): Likewise.
3278 (__x2y2m1l): Likewise.
3279 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
3280 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
3281 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3282 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3283 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
3284 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
3285 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
3286 * sysdeps/i386/fpu/libm-test-ulps: Update.
3287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3288
b87c4b24
JM
3289 [BZ #14621]
3290 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
3291 int as type of variable DEPTH.
3292 (glob): Use size_t instead of int as type of variables NEWCOUNT
3293 and OLD_PATHC.
3294
6d3bf199
LD
32952012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3296
22bf5c17
LD
3297 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3298 Add s_sincosf-sse2.
3299 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
3300 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
3301 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
3302 macros for using routine as __sincosf_ia32.
3303 Use macro for function declaration and weak_alias.
3304 * sysdeps/i386/fpu/libm-test-ulps: Update.
3305
3306 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
3307 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3308
3309 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
3310 subnormal argument.
3311 * math/s_cexpf.c (__cexpf): Likewise.
3312 * math/s_csinf.c (__csinf): Likewise.
3313 * math/s_csinhf.c (__csinhf): Likewise.
3314 * math/s_ctanf.c (__ctanf): Likewise.
3315 * math/s_ctanhf.c (__ctanhf): Likewise.
3316 * math/s_ccosh.c (__ccoshf): Likewise.
3317 * math/s_cexp.c (__cexpl): Likewise.
3318 * math/s_csin.c (__csin): Likewise.
3319 * math/s_csinh.c (__csinh): Likewise.
3320 * math/s_ctan.c (__ctan): Likewise.
3321 * math/s_ctanh.c (ctanh): Likewise.
3322 * math/s_ccoshl.c (__ccoshl): Likewise.
3323 * math/s_cexpl.c (__cexpl): Likewise.
3324 * math/s_csinl.c (__csinl): Likewise.
3325 * math/s_csinhl.c (__csinhl): Likewise.
3326 * math/s_ctanl.c (__ctanl): Likewise.
3327 * math/s_ctanhl.c (__ctanhl): Likewise.
3328
203e5603
JM
33292012-09-25 Joseph Myers <joseph@codesourcery.com>
3330
3331 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
3332 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
3333 (_IO_off_t): Define to __off_t, not _G_off_t.
3334 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
3335 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
3336 (_IO_wint_t): Define to wint_t, not _G_wint_t.
3337 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
3338 type of __dummy and __dummy2 fields.
3339 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
3340 (_G_ssize_t): Likewise.
3341 (_G_off_t): Likewise.
3342 (_G_pid_t): Likewise.
3343 (_G_uid_t): Likewise.
3344 (_G_wchar_t): Likewise.
3345 (_G_wint_t): Likewise.
3346 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
3347 (_G_ssize_t): Likewise.
3348 (_G_off_t): Likewise.
3349 (_G_pid_t): Likewise.
3350 (_G_uid_t): Likewise.
3351 (_G_wchar_t): Likewise.
3352 (_G_wint_t): Likewise.
3353 * sysdeps/mach/hurd/_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
9fab36eb
SP
33612012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3362
3363 * malloc/arena.c: Include malloc-sysdep.h.
3364 (shrink_heap): Use check_may_shrink_heap to decide if madvise
3365 is sufficient to shrink the heap or an unmap is needed.
3366 * sysdeps/generic/malloc-sysdep.h: New file. Define
3367 new function check_may_shrink_heap.
3368 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
3369 new function check_may_shrink_heap.
3370
2b4f00d1
SP
33712012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3372
3373 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
3374 comments.
3375
9a9028b1
DL
33762012-09-24 Dmitry V. Levin <ldv@altlinux.org>
3377
57c69bef
DL
3378 * catgets/test-gencat.sh: Add "set -e".
3379 * elf/tst-pathopt.sh: Likewise.
3380 * grp/tst_fgetgrent.sh: Likewise.
3381 * iconvdata/run-iconv-test.sh: Likewise.
3382 * intl/tst-gettext.sh: Likewise.
3383 * intl/tst-gettext2.sh: Likewise.
3384 * intl/tst-gettext4.sh: Likewise.
3385 * intl/tst-gettext6.sh: Likewise.
3386 * intl/tst-translit.sh: Likewise.
3387 * io/ftwtest-sh: Likewise.
3388 * libio/test-freopen.sh: Likewise.
3389 * malloc/tst-mtrace.sh: Likewise.
3390 * posix/globtest.sh: Likewise.
3391 * posix/tst-getconf.sh: Likewise.
3392 * posix/wordexp-tst.sh: Likewise.
3393 * stdio-common/tst-printf.sh: Likewise.
3394 * stdio-common/tst-unbputc.sh: Likewise.
3395 * stdlib/tst-fmtmsg.sh: Likewise.
3396 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3397 * catgets/Makefile: Do not specify -e option when running
3398 testsuite shell scripts.
3399 * elf/Makefile: Likewise.
3400 * grp/Makefile: Likewise.
3401 * iconvdata/Makefile: Likewise.
3402 * intl/Makefile: Likewise.
3403 * io/Makefile: Likewise.
3404 * libio/Makefile: Likewise.
3405 * malloc/Makefile: Likewise.
3406 * posix/Makefile: Likewise.
3407 * stdio-common/Makefile: Likewise.
3408 * stdlib/Makefile: Likewise.
3409 * sysdeps/x86_64/Makefile: Likewise.
3410
9a9028b1
DL
3411 * io/ftwtest-sh: Add copyright header.
3412 * posix/globtest.sh: Likewise.
3413 * posix/tst-getconf.sh: Likewise.
3414 * posix/wordexp-tst.sh: Likewise.
3415 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3416
ced6f16e
L
34172012-09-24 H.J. Lu <hongjiu.lu@intel.com>
3418
94b32c39
L
3419 [BZ #13679]
3420 * Makeconfig (+link): Defined as $(+link-static) if
3421 $(build-shared) isn't yes.
3422 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
3423 isn't yes.
3424 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
3425
189e935b
L
3426 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
3427
ced6f16e
L
3428 [BZ #14562]
3429 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
3430 new chunk size with MALLOC_ALIGN_MASK.
3431
a9f8e53a
JM
34322012-09-24 Joseph Myers <joseph@codesourcery.com>
3433
3434 [BZ #5044]
3435 * stdio-common/printf_fphex.c: Include <stdbool.h> and
3436 <rounding-mode.h>.
3437 (__printf_fphex): Determine rounding using get_rounding_mode and
3438 round_away.
3439 * stdio-common/tst-printf-round.c (struct hex_test): New
3440 structure.
3441 (hex_tests): New variable.
3442 (test_hex_in_one_mode): New function.
3443 (do_test): Also run tests for hex float output.
3444
43153109
JM
34452012-09-21 Joseph Myers <joseph@codesourcery.com>
3446
3447 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3448 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3449 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
3450 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3451 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3452 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
3453 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3454 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3455
8a26625d
JM
34562012-09-20 Joseph Myers <joseph@codesourcery.com>
3457
3458 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
3459 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
3460 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
3461 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
3462
f3fd569c
DL
34632012-09-19 Dmitry V. Levin <ldv@altlinux.org>
3464
3465 [BZ #14579]
3466 * elf/rtld.c (dl_main): Limit the check for self loading to normal
3467 mode only.
3468 * elf/tst-rtld-load-self.sh: New test.
3469 * elf/Makefile: Run it.
3470
63bbedd4
JM
34712012-09-18 Joseph Myers <joseph@codesourcery.com>
3472
3473 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
3474 (tst-writev-ENV): Remove.
3475 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
3476
626f8b6a
CM
34772012-09-17 Chris Metcalf <cmetcalf@tilera.com>
3478
3479 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
3480
b7aaa4d6
JM
34812012-09-17 Joseph Myers <joseph@codesourcery.com>
3482
3483 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
3484 unconditional.
3485 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
3486 Likewise.
3487 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
3488 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
3489 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
3490 Likewise.
3491
65513990
L
34922012-09-14 H.J. Lu <hongjiu.lu@intel.com>
3493
3494 [BZ #14587]
3495 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
3496 * config.make.in (have-cpp-asm-debuginfo): Removed.
3497 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
3498 * configure: Regenerated.
3499
784761be
JM
35002012-09-14 Joseph Myers <joseph@codesourcery.com>
3501
3502 [BZ #5044]
3503 * stdio-common/printf_fp.c: Include <stdbool.h> and
3504 <rounding-mode.h>.
3505 (___printf_fp): Determine rounding using get_rounding_mode and
3506 round_away.
3507 * stdio-common/tst-printf-round.c: New file.
3508 * stdio-common/Makefile (tests): Add tst-printf-round.
3509 (link-libm): New variable.
3510 ($(objpfx)tst-printf-round): Depend in $(link-libm).
3511
9503345f
L
35122012-09-13 H.J. Lu <hongjiu.lu@intel.com>
3513
3514 [BZ #14576]
3515 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
3516 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
3517 Likewise.
3518 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
3519 Likewise.
3520
ad35fc00
JM
35212012-09-13 Joseph Myers <joseph@codesourcery.com>
3522
3523 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
3524 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3525 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3526 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3527
6c9b0f68
JM
35282012-09-12 Joseph Myers <joseph@codesourcery.com>
3529
3530 [BZ #14518]
3531 * include/rounding-mode.h: New file.
3532 * sysdeps/generic/get-rounding-mode.h: Likewise.
3533 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
3534 * stdlib/strtod_l.c: Include <rounding-mode.h>.
3535 (MAX_VALUE): New macro.
3536 (MIN_VALUE): Likewise.
3537 (overflow_value): New function.
3538 (underflow_value): Likewise.
3539 (round_and_return): Use overflow_value and underflow_value to
3540 determine return values in overflow and underflow cases. Use
3541 round_away to determine rounding depending on rounding mode.
3542 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
3543 determine return values in overflow and underflow cases.
3544 * stdlib/tst-strtod-round.c: Include <fenv.h>.
3545 (struct test_results): New structure.
3546 (struct test): Use struct test_results to store expected results
3547 for all rounding modes.
3548 (TEST): Include expected results for all rounding modes.
3549 (test_in_one_mode): New function.
3550 (do_test): Use test_in_one_mode to compute and check results.
3551 Check results for all rounding modes.
3552 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
3553 $(link-libm).
3554
19fcedd5
AM
35552012-12-09 Allan McRae <allan@archlinux.org>
3556
1e9d84cd 3557 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 3558
8bbfd2f1
JM
35592012-09-11 Joseph Myers <joseph@codesourcery.com>
3560
3561 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
3562 (_G_int32_t): Likewise.
3563 (_G_uint16_t): Likewise.
3564 (_G_uint32_t): Likewise.
3565 (_G_HAVE_BOOL): Likewise.
3566 (_G_HAVE_ATEXIT): Likewise.
3567 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3568 (_G_HAVE_IO_FILE_OPEN): Likewise.
3569 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
3570 (_G_int32_t): Likewise.
3571 (_G_uint16_t): Likewise.
3572 (_G_uint32_t): Likewise.
3573 (_G_HAVE_BOOL): Likewise.
3574 (_G_HAVE_ATEXIT): Likewise.
3575 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3576 (_G_HAVE_IO_FILE_OPEN): Likewise.
3577 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
3578 (_G_int32_t): Likewise.
3579 (_G_uint16_t): Likewise.
3580 (_G_uint32_t): Likewise.
3581 (_G_HAVE_BOOL): Likewise.
3582 (_G_HAVE_ATEXIT): Likewise.
3583 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3584 (_G_HAVE_IO_FILE_OPEN): Likewise.
3585
b1dc5912
L
35862012-09-11 H.J. Lu <hongjiu.lu@intel.com>
3587
3588 * csu/libc-tls.c: Update copyright years.
3589
0e886ef9
JM
35902012-09-10 Joseph Myers <joseph@codesourcery.com>
3591
28361c5e
JM
3592 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
3593 [!_G_USING_THUNKS]: Remove conditional code.
3594 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
3595 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
3596
0e886ef9
JM
3597 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
3598 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
3599 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3600 (_G_VTABLE_LABEL_PREFIX): Likewise.
3601 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3602 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3603 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3604 (_G_VTABLE_LABEL_PREFIX): Likewise.
3605 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3606 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3607 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3608 (_G_VTABLE_LABEL_PREFIX): Likewise.
3609 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3610
bcba7aa2
L
36112012-09-10 H.J. Lu <hongjiu.lu@intel.com>
3612
3613 * libio/Makefile: Include ../Makeconfig before tests.
3614 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
3615 only if $(build-shared) is yes.
3616
06585ee8
L
3617 * iconv/gconv_db.c: Update copyright years.
3618
80ccd52c
LD
36192012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3620
3621 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
3622 unwind info if defined PIC. Fix special cases description.
3623 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
3624
3625 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
3626 DP_HI_MASK entry.
3627 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
3628
691bc9c1
L
36292012-09-07 H.J. Lu <hongjiu.lu@intel.com>
3630
3d9b46b3
L
3631 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
3632
de2139a9
L
3633 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
3634 is NULL.
3635
5ca78dd0
L
3636 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
3637 (LDLIBS-tst-chk4): This.
3638 (LDFLAGS-tst-chk5): Renamed to ...
3639 (LDLIBS-tst-chk5): This.
3640 (LDFLAGS-tst-chk6): Renamed to ...
3641 (LDLIBS-tst-chk6): This.
3642 (LDFLAGS-tst-lfschk4): Renamed to ...
3643 (LDLIBS-tst-lfschk4): This.
3644 (LDFLAGS-tst-lfschk5): Renamed to ...
3645 (LDLIBS-tst-lfschk5): This.
3646 (LDFLAGS-tst-lfschk6): Renamed to ...
3647 (LDLIBS-tst-lfschk6): This.
3648
691bc9c1
L
3649 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
3650 on $(common-objpfx)soversions.mk.
3651
65cafb1c
JM
36522012-09-07 Joseph Myers <joseph@codesourcery.com>
3653
3654 [BZ #10014]
3655 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
3656 example host name.
3657
c78ab094
SP
36582012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3659
3660 * malloc/arena.c (arena_get_retry): New function that gets
3661 another arena for the caller to try its request on.
3662 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
3663 current arena cannot fulfill the request.
3664 (__libc_memalign): Likewise.
3665 (__libc_memalign): Likewise.
3666 (__libc_pvalloc): Likewise.
3667 (__libc_calloc): Likewise.
3668
01f49f59
JT
36692012-09-05 John Tobey <john.tobey@gmail.com>
3670
3671 [BZ #13542]
3672 * manual/arith.texi (Operations on Complex): Fix description
3673 of carg branch cut.
3674
4c23fed5
JM
36752012-09-06 Joseph Myers <joseph@codesourcery.com>
3676
1d3c8572
JM
3677 [BZ #10014]
3678 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
3679 host name.
3680
4c23fed5
JM
3681 [BZ #10038]
3682 * manual/memory.texi (Memory): Make order of menu items match
3683 order of sections.
3684
04570aaa
L
36852012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3686
3687 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
3688 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
3689 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
3690
b80af2f4
L
36912012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3692
3693 * csu/libc-tls.c (static_dtv): Renamed to ...
3694 (_dl_static_dtv): This. Make it global.
3695 (_dl_initial_dtv): Removed.
3696 (__libc_setup_tls): Updated.
3697 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
3698 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
3699 DL_INITIAL_DTV.
3700
2abe9f15
PM
37012012-09-06 Petr Machata <pmachata@redhat.com>
3702
3703 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
3704 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
3705 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
3706 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
3707
0948c3af
L
37082012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3709
3710 [BZ #14545]
3711 * csu/libc-tls.c (_dl_initial_dtv): New variable.
3712 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
3713 freeing dtv[-1].
3714
a5055ad1
L
37152012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3716
3717 [BZ #14544]
3718 * Makeconfig (link-static-before-libc): Replace $(+prector)
3719 with $(+prectorT).
3720 (link-static-after-libc): Replace $(+postctor) with
3721 $(+postctorT).
3722 (link-bounded): Replace $(+prector)/$(+postctor) with
3723 $(+prectorT)/$(+postctorT).
3724 (+prectorT): New macro.
3725 (+postctorT): Likewise.
3726
ed8c2ecd
JM
37272012-09-06 Joseph Myers <joseph@codesourcery.com>
3728
3729 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
3730 (round_str): Handle values above the maximum for IBM long double
3731 as inexact.
3732 * stdlib/tst-strtod-round.c (tests): Regenerated.
3733
14c996c8
AK
37342012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3735
3736 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
3737 assembler flag.
3738 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
3739 zarch_nohighgprs around the zarch optimized routines.
3740 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3741 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3742 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
3743 for zarch.
3744
430d6ce6
DM
37452012-09-05 David S. Miller <davem@davemloft.net>
3746
3747 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3748
ff04dda4
DM
3749 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
3750 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
3751 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
3752 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
3753 entries.
3754
24d4e01b
AO
37552012-09-05 Alexandre Oliva <aoliva@redhat.com>
3756
3757 * malloc/arena.c: Fold copyright years.
3758 * malloc/mcheck.c, malloc/memusage.c: Likewise.
3759
61d58174
AO
37602012-09-05 Alexandre Oliva <aoliva@redhat.com>
3761
3762 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
3763
20196a5e
AO
37642012-09-05 Alexandre Oliva <aoliva@redhat.com>
3765
3766 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
3767
5c447383
AO
37682012-09-05 Alexandre Oliva <aoliva@redhat.com>
3769
3770 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
3771 change internal state upon failure.
3772
fad64255
AO
37732012-09-05 Alexandre Oliva <aoliva@redhat.com>
3774
3775 * malloc/mcheck.c (mcheck_check_all): Fix typo.
3776 * malloc/memusage.c (mmap): Likewise.
3777 (mmap64, mremap): Likewise. Adjust name in comment.
3778
1ffb8c90
SP
37792012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3780
3781 * libio/fileops.c: Fix typos in comments.
3782 * libio/oldfileops.c: Likewise.
3783 * libio/wfileops.c: Likewise.
3784
6ef9cc37
SP
37852012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3786
3787 [BZ #1349]
3788 * malloc/Makefile (tests): Add tst-malloc-usable test case.
3789 (tst-malloc-usable-ENV): Set environment for test case.
3790 * malloc/hooks.c (malloc_check_get_size): New function to get
3791 requested size.
3792 * malloc/malloc.c (musable): Use malloc_check_get_size.
3793 * malloc/tst-malloc-usable.c: New test case.
3794
4d038ae3
AS
37952012-09-05 Andreas Schwab <schwab@linux-m68k.org>
3796
3797 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
3798
c4e85184
AM
37992012-09-05 Allan McRae <allan@archlinux.org>
3800
b9dafc56 3801 [BZ #13966]
c4e85184
AM
3802 * configure.in (CXX_SYSINCLUDES): Use compiler output to
3803 determine header location.
3804 * configure: Regenerated.
3805
e1343020
AS
38062012-09-05 Andreas Schwab <schwab@linux-m68k.org>
3807
3808 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
3809 float format.
3810 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
3811 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
3812 format.
e1343020
AS
3813 (test): Regenerate.
3814
0a9f1987
DM
38152012-09-04 David S. Miller <davem@davemloft.net>
3816
3817 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
3818 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
3819 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
3820
29237804
FW
38212012-09-04 Florian Weimer <fweimer@redhat.com>
3822
3823 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
3824 failures.
3825
edb3cb88
FW
3826 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
3827
60160d83
JM
38282012-09-04 Joseph Myers <joseph@codesourcery.com>
3829
3830 [BZ #9914]
3831 * libio/iogetdelim.c: Include <limits.h>.
3832 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
3833 + len + 1 would overflow.
3834
bcd6c8dc
AJ
38352012-09-03 Andreas Jaeger <aj@suse.de>
3836
3837 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3838 * sysdeps/i386/fpu/libm-test-ulps: Update.
3839
4ffffbd2
LD
38402012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3841
3842 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3843 Add s_sinf-sse2, s_conf-sse2.
3844
3845 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
3846 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
3847 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
3848 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
3849
3850 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
3851 for using routine as __sinf_ia32.
3852 Use macro for function declaration and weak_alias.
3853 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
3854 for using routine as __cosf_ia32.
3855 Use macro for function declaration and weak_alias.
3856
3857 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
3858 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
3859
3860 * sysdeps/x86_64/fpu/s_sinf.S: New file.
3861 * sysdeps/x86_64/fpu/s_cosf.S: New file.
3862 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3863
3864 * math/libm-test.inc (cos_test): Add more test cases.
3865 (sin_test): Likewise.
3866 (sincos_test): Likewise.
3867
511fa286
AK
38682012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3869
3870 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
3871 (IFUNC_RESOLVE): Make pointers to the specialized implementations
3872 hidden.
3873 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3874
5f30cfec
L
38752012-09-02 H.J. Lu <hongjiu.lu@intel.com>
3876
3877 [BZ #14538]
3878 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
3879 first element of the GOT.
3880 (elf_machine_load_address): Return the difference between
3881 the runtime address of _DYNAMIC and elf_machine_dynamic ().
3882
0786794f
AM
38832012-09-01 Allan McRae <allan@archlinux.org>
3884
5f30cfec
L
3885 [BZ #13412]
3886 * configure.in (AWK): Require gawk version 3.0 or later.
3887 * configure: Regenerated.
0786794f 3888
26889eac
JM
38892012-09-01 Joseph Myers <joseph@codesourcery.com>
3890
3891 * sysdeps/unix/sysv/linux/kernel-features.h
3892 (__ASSUME_POSIX_CPU_TIMERS): Remove.
3893 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3894 [__NR_clock_getres]: Make code unconditional.
3895 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
3896 (clock_getcpuclockid): Remove code left unreachable by removal of
3897 conditionals.
3898 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
3899 code unconditional.
3900 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
3901 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3902 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
3903 Make code unconditional.
3904 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
3905 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3906 * sysdeps/unix/sysv/linux/clock_settime.c
3907 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
3908 conditional code.
3909 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
3910 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3911
d22e28b0
L
39122012-08-29 H.J. Lu <hongjiu.lu@intel.com>
3913
3914 [BZ #14476]
3915 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
3916 scripts/test-installation.pl.
3917
3918 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
3919 and $ld_so_version if it is set.
3920
050af9c4
SP
39212012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3922
3923 [BZ #14516]
3924 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
3925 failure if reading from procfs failed.
3926 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
3927
ad845c0b
JM
39282012-08-27 Joseph Myers <joseph@codesourcery.com>
3929
3930 * sysdeps/unix/sysv/linux/kernel-features.h
3931 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
3932 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
3933 Remove conditional code.
3934 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3935 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
3936 Remove conditional code.
3937 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3938 * sysdeps/unix/sysv/linux/i386/fxstat.c
3939 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3940 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3941 * sysdeps/unix/sysv/linux/i386/fxstatat.c
3942 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3943 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3944 * sysdeps/unix/sysv/linux/i386/lxstat.c
3945 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3946 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3947 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
3948 Remove conditional code.
3949 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3950 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
3951 Remove conditional code.
3952 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3953 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
3954 <kernel-features.h>.
3955 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
3956 Remove.
3957 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
3958 Remove conditional code.
3959 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3960 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
3961 Remove conditional.
3962
5dbf56af
MF
39632012-08-27 Mike Frysinger <vapier@gentoo.org>
3964
3965 [BZ #5400]
3966 * NEWS: Add fixed bug number.
3967
d6e70f43
JM
39682012-08-27 Joseph Myers <joseph@codesourcery.com>
3969
7efb4737
JM
3970 [BZ #14519]
3971 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
3972 underflowing exponent in case of negative sign.
3973 * stdlib/tst-strtod-round-data: Add more tests.
3974 * stdlib/tst-strtod-round.c (tests): Regenerated.
3975
af92131a
JM
3976 [BZ #3479]
3977 * stdlib/strtod_l.c (NDIG): Remove.
3978 (HEXNDIG): Likewise.
3979 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
3980 smallest representable value.
3981 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
3982 lie within an exact representation of 1/2 ulp of the result.
3983 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
3984 unconditionally.
3985 (TENS_P9_IDX): Define unconditionally.
3986 (TENS_P9_SIZE): Likewise.
3987 (TENS_P10_IDX): Likewise.
3988 (TENS_P10_SIZE): Likewise.
3989 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
3990 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
3991 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
3992 entries for 10^2^13 and 10^2^14.
3993 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
3994 (TENS_P13_IDX): Define.
3995 (TENS_P13_SIZE): Likewise.
3996 (TENS_P14_IDX): Likewise.
3997 (TENS_P14_SIZE): Likewise.
3998 (_fpioconst_pow10): Change array size to
3999 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
4000 unconditional.
4001 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
4002 1024]: Add entries for 10^2^13 and 10^2^14.
4003 [LAST_POW10 > _LAST_POW10]: Remove #error.
4004 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
4005 (_fpioconst_pow10): Change array size to
4006 FPIOCONST_POW10_ARRAY_SIZE.
4007 * stdlib/gen-fpioconst.c: New file.
4008 * stdlib/gen-tst-strtod-round.c: Likewise.
4009 * stdlib/tst-strtod-round-data: Likewise.
4010 * stdlib/tst-strtod-round.c: Likewise.
4011 * stdlib/Makefile (tests): Add tst-strtod-round.
4012
d6e70f43
JM
4013 [BZ #14459]
4014 * stdlib/strtod_l.c: Include <stdint.h>.
4015 (NDEBUG): Do not define.
4016 (round_and_return): Change EXPONENT parameter to type intmax_t.
4017 Rearrange calculations to avoid internal overflow possibilities.
4018 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
4019 Rearrange calculations to avoid internal overflow possibilities.
4020 Assert that number fits inside MPNSIZE limbs.
4021 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
4022 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
4023 calculations and add assertions to avoid internal overflow
4024 possibilities. Add casts to avoid signed/unsigned operations.
4025 * stdlib/tst-strtod-overflow.c: New file.
4026 * stdlib/Makefile (tests): Add tst-strtod-overflow.
4027
1f529f7d
MP
40282012-08-25 Marek Polacek <polacek@redhat.com>
4029
4030 * time/time.h: Fix some typos in comments.
4031
59a629f1
RM
40322012-08-23 Roland McGrath <roland@hack.frob.com>
4033
4034 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
4035 * posix/tst-rfc3484-2.c: Likewise.
4036 * posix/tst-rfc3484-3.c: Likewise.
4037
d3bafbc9
SM
40382012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
4039
4040 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
4041 (EF_ARM_ABI_FLOAT_HARD): Likewise.
4042
4efcc022
JM
40432012-08-23 Joseph Myers <joseph@codesourcery.com>
4044
4045 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
4046 #include of fxstatat64.c.
4047
3cc3ef96
RM
40482012-08-22 Roland McGrath <roland@hack.frob.com>
4049
f04e2132
RM
4050 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
4051 * shadow/getspent_r.c: Likewise.
4052 * shadow/getspnam.c: Likewise.
4053 * shadow/getspnam_r.c: Likewise.
4054 * gshadow/getsgent.c: Likewise.
4055 * gshadow/getsgent_r.c: Likewise.
4056 * gshadow/getsgnam.c: Likewise.
4057 * gshadow/getsgnam_r.c: Likewise.
4058 * inet/getnetbyad.c: Likewise.
4059 * inet/getnetbyad_r.c: Likewise.
4060 * inet/getnetbynm.c: Likewise.
4061 * inet/getnetbynm_r.c: Likewise.
4062 * inet/getnetent.c: Likewise.
4063 * inet/getnetent_r.c: Likewise.
4064 * inet/getproto.c: Likewise.
4065 * inet/getproto_r.c: Likewise.
4066 * inet/getprtent.c: Likewise.
4067 * inet/getprtent_r.c: Likewise.
4068 * inet/getprtname.c: Likewise.
4069 * inet/getprtname_r.c: Likewise.
4070 * inet/getrpcbyname.c: Likewise.
4071 * inet/getrpcbyname_r.c: Likewise.
4072 * inet/getrpcbynumber.c: Likewise.
4073 * inet/getrpcbynumber_r.c: Likewise.
4074 * inet/getrpcent.c: Likewise.
4075 * inet/getrpcent_r.c: Likewise.
4076 * inet/getaliasent.c: Likewise.
4077 * inet/getaliasent_r.c: Likewise.
4078 * inet/getaliasname.c: Likewise.
4079 * inet/getaliasname_r.c: Likewise.
4080 * nscd/getgrgid_r.c: Likewise.
4081 * nscd/getgrnam_r.c: Likewise.
4082 * nscd/gethstbyad_r.c: Likewise.
4083 * nscd/gethstbynm3_r.c: Likewise.
4084 * nscd/getpwnam_r.c: Likewise.
4085 * nscd/getpwuid_r.c: Likewise.
4086 * nscd/getsrvbynm_r.c: Likewise.
4087 * nscd/getsrvbypt_r.c: Likewise.
4088 * nscd/gai.c: Likewise.
4089
c53d909c
RM
4090 * configure.in (build_nscd): New substituted variable, set
4091 by --disable-build-nscd and defaults to $use_nscd.
4092 * configure: Regenerated.
4093 * config.make.in (build-nscd): New substituted variable.
4094 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
4095 Change conditional to require [$(build-nscd) = yes] as well.
4096 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
4097
3cc3ef96
RM
4098 [BZ# 13696]
4099 * configure.in (use_nscd): New substituted variable, set by
4100 --disable-nscd. If enabled, define USE_NSCD.
4101 * configure: Regenerated.
4102 * config.h.in: Add USE_NSCD.
4103 * config.make.in (use-nscd): New substituted variable.
4104 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
4105 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
4106 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
4107 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
4108 (CFLAGS-getgrnam_r.c): Likewise.
4109 (CFLAGS-initgroups.c): Likewise.
4110 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
4111 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
4112 Variables removed.
4113 * inet/getnetgrent_r.c
4114 (nscd_setnetgrent): New function, broken out of ...
4115 (setnetgrent): ... here. Call it.
4116 (innetgr): Conditionalize nscd bits on [USE_NSCD].
4117 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
4118 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
4119 * nscd/Makefile (routines, aux): Move definitions after include of
4120 Makeconfig. Conditionalize on [$(use-nscd) != no].
4121 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
4122 Conditionalize on [USE_NSCD].
4123 (is_nscd, nscd_init_cb): Likewise.
4124 (nss_load_library): Conditionalize init callback on [USE_NSCD].
4125 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
4126 * nss/nss_db/db-init.c: Likewise.
4127 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
4128 [USE_NSCD].
4129 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
4130 (make_request): Use it.
4131 (cache_valid_p): New function.
4132 (__check_pf): Use it.
4133 * NEWS: Add item for --disable-nscd.
4134
07e51550
DL
41352012-08-22 Dmitry V. Levin <ldv@altlinux.org>
4136
4137 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
4138 to support sed >= 4.2.1-20-ga9bf076.
4139 * configure: Regenerated.
4140
35a5b08b
RM
41412012-08-22 Roland McGrath <roland@hack.frob.com>
4142
4143 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
4144 Conditionalize whole body on [IREL].
4145
8479f23a
JL
41462012-08-22 Jeff Law <law@redhat.com>
4147
4148 [BZ #14505]
4149 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
4150 if the family is PF_UNSPEC.
4151
48da0b21
MF
41522012-08-22 Mike Frysinger <vapier@gentoo.org>
4153
4154 * Makerules (lib-version): Rename from V.
4155 (install-lib-nosubdir): Change V to lib-version.
4156
15d0da8c
WS
41572012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
4158
4159 [BZ #14252]
4160 * powerpc32/power6/wcschr.c: New file.
4161 * powerpc32/power6/wcscpy.c: New file.
4162 * powerpc32/power6/wcsrchr.c: New file.
4163 * powerpc64/power6/wcschr.c: New file.
4164 * powerpc64/power6/wcscpy.c: New file.
4165 * powerpc64/power6/wcsrchr.c: New file.
4166
bcca0895
MK
41672012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4168
4169 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
4170 (two_way_short_needle): Use it.
5a4aaa33
RM
4171 * string/strstr.c (AVAILABLE1_USES_J): Define.
4172 * string/strcasestr.c: Likewise.
99677e57
MK
4173
4174 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
4175 array references.
4176 * string/strcasestr.c (TOLOWER): Make side-effect safe.
4177
400726de
MK
4178 [BZ #11607]
4179 * NEWS: Add an entry.
4180 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
4181 define their defaults.
4182 (two_way_short_needle): Detect end-of-string on-the-fly.
4183 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
4184 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
4185 * string/bug-strcasestr1.c: New test.
4186 * string/Makefile: Run it.
4187
20a71f2c
MK
41882012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4189
4190 [BZ #11607]
4191 * string/str-two-way.h (two_way_short_needle): Optimize matching of
4192 the first character.
4193
21ad0558
RM
41942012-08-21 Roland McGrath <roland@hack.frob.com>
4195
4196 * csu/elf-init.c (__libc_csu_irel): Function removed.
4197 * csu/libc-start.c (apply_irel): New function.
4198 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
4199
0e1d9911
JM
42002012-08-21 Joseph Myers <joseph@codesourcery.com>
4201
4202 * sysdeps/unix/sysv/linux/kernel-features.h
4203 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
4204 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
4205 <kernel-features.h>.
4206 [__NR_fadvise64_64]: Make code unconditional.
4207 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
4208 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4209 !__NR_fadvise64_64)]: Likewise.
4210 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4211 !__NR_fadvise64_64))]: Likewise.
4212 [__NR_fadvise64]: Make code unconditional.
4213 [!__NR_fadvise64]: Remove conditional code.
4214 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
4215 <kernel-features.h>.
4216 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4217 unconditional.
4218 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4219 conditional code.
4220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
4221 not include <kernel-features.h>.
4222 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4223 unconditional.
4224 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4225 conditional code.
4226 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
4227 include <kernel-features.h>.
4228 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4229 unconditional.
4230 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4231 conditional code.
4232
14a50c9d
WS
42332012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4234
4235 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
4236 slight instruction rearrangements per scrollpipe analysis.
4237 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4238
c0f4faf0
RM
42392012-08-20 Roland McGrath <roland@hack.frob.com>
4240
696da859
RM
4241 * manual/syslog.texi (syslog; vsyslog, closelog):
4242 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
4243 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
4244
c0f4faf0
RM
4245 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
4246 DSOCAPS to match condition on defining it.
4247
348363b2
JM
42482012-08-20 Joseph Myers <joseph@codesourcery.com>
4249
a35cbf28
JM
4250 * sysdeps/unix/sysv/linux/kernel-features.h
4251 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
4252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
4253 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4254 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
4256 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4257 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
4259 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4260 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4261
445f7ecd
JM
4262 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
4263 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
4264
348363b2
JM
4265 * sysdeps/unix/sysv/linux/kernel-features.h
4266 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
4267 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
4268 unconditional.
4269 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4270 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
4271 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4272 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4273 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
4274 Make code unconditional.
4275 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4276 (__mmap64) [!__NR_mmap2]: Likewise.
4277 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
4278 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4279 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4280 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
4281 [__NR_mmap2]: Make code unconditional.
4282 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4283 (__mmap64) [!__NR_mmap2]: Likewise.
4284
bc5bc0e5
AK
42852012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4286
4287 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
4288
88d506de
AJ
42892012-08-18 Andreas Jaeger <aj@suse.de>
4290
4291 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
4292
493387d2
MF
42932012-08-18 Mike Frysinger <vapier@gentoo.org>
4294
4295 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
4296 * include/unistd.h (__have_sock_cloexec): Likewise.
4297 (__have_pipe2): Likewise.
4298 (__have_dup3): Likewise.
4299
a277af22
MF
43002012-08-18 Mike Frysinger <vapier@gentoo.org>
4301
4302 [BZ #9685]
4303 * include/unistd.h (__have_pipe2): Change define into an extern int.
4304 (__have_dup3): Likewise.
4305 * socket/have_sock_cloexec.c: Include fcntl.h.
4306 (__have_pipe2): New variable.
4307 (__have_dup3): Likewise.
4308
fdab8fd3
MF
43092012-08-17 Mike Frysinger <vapier@gentoo.org>
4310
4311 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
4312
31035e80
MP
43132012-08-17 Marek Polacek <polacek@redhat.com>
4314
4315 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
4316 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
4317
3bd9e993
RM
43182012-08-17 Roland McGrath <roland@hack.frob.com>
4319
c91c505f
RM
4320 * configure.in: Add AC_SUBST for sysheaders.
4321 * configure: Regenerated.
4322 * config.make.in (sysheaders): New substituted variable.
4323
7c6f9d53
RM
4324 * sysdeps/unix/mkfifo.c: Moved ...
4325 * sysdeps/posix/mkfifo.c: ... here.
4326 * sysdeps/unix/mkfifoat.c: Moved ...
4327 * sysdeps/posix/mkfifoat.c: ... here.
4328
4329 * sysdeps/unix/utime.c: Moved ...
4330 * sysdeps/posix/utime.c: ... here.
4331
4332 * sysdeps/unix/time.c: Moved ...
4333 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
4334 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
4335 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
4336
4337 * sysdeps/unix/nice.c: Moved ...
4338 * sysdeps/posix/nice.c: ... here.
4339
4340 * sysdeps/unix/alarm.c: Moved ...
4341 * sysdeps/posix/alarm.c: ... here.
4342
3bd9e993
RM
4343 * intl/Makefile ($(codeset_mo)): Depend on the input file.
4344
d1f09384
JL
43452012-08-17 Jeff Law <law@redhat.com>
4346
4347 * intl/Makefile (codeset_mo): New variable.
4348 ($(codeset_mo)): New target.
4349 (tst-codeset.out): Depend on that. Remove explicit rule.
4350 (tst-gettext3.out, tst-gettext5.out): Likewise.
4351 (LOCPATH-ENV, tst-codeset-ENV): New variables.
4352 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
4353 * intl/tst-codeset.sh: Remove.
4354 * intl/tst-gettext3.sh: Likewise.
4355 * intl/tst-gettext5.sh: Likewise.
4356
2ae1ae5c
RM
43572012-08-17 Roland McGrath <roland@hack.frob.com>
4358
c31fdb83
RM
4359 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
4360 * sysdeps/unix/syscalls.list: ... here.
4361
a0844057
RM
4362 * sysdeps/posix/getaddrinfo.c
4363 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
4364 (gaiconf_init, gaiconf_reload): Use them.
4365 [!_STATBUF_ST_NSEC]
4366 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
4367 Define using time_t rather than struct timespec.
4368
750c1f2a
RM
4369 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
4370 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
4371 Macros removed.
4372 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
4373 [!NO_THREADS].
4374 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
4375 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
4376 Likewise.
4377
2ae1ae5c
RM
4378 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
4379 __libc_cleanup_push argument.
4380
e66a42f5
RM
4381 * bits/param.h: New file.
4382 * misc/sys/param.h: New file.
4383 * include/sys/param.h: New file.
4384 * misc/Makefile (headers): Add bits/param.h.
4385 * sysdeps/generic/sys/param.h: File removed.
4386 * sysdeps/unix/sysv/linux/bits/param.h: New file.
4387 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
4388 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 4389 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 4390
b7c08a66
RM
4391 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
4392 last change.
4393
b2e1c562
RM
4394 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
4395 [_IO_MTSAFE_IO].
4396 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
4397 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
4398 New macros.
4399
c75ccd4c
RM
4400 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
4401 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
4402 rather than -D_IO_MTSAFE_IO conditionally.
4403 * stdio-common/Makefile (CPPFLAGS): Likewise.
4404 * wcsmbs/Makefile (CPPFLAGS): Likewise.
4405 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
4406 Use $(libio-mtsafe).
4407 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
4408 of -D_IO_MTSAFE_IO.
4409 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
4410 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
4411 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
4412 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
4413 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
4414 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
4415 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
4416 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
4417 (CFLAGS-fread_u_chk.c): Likewise.
4418 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
4419 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
4420 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
4421 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
4422 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
4423 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
4424 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
4425 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
4426 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
4427
4428 * libio/Makefile: Test [$(libc-reentrant) = yes]
4429 instead of [$(filter %REENTRANT, $(defines)) nonempty].
4430
4431 * Makeconfig
4432 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
4433 * sysdeps/pthread/configure: File removed.
4434 * sysdeps/pthread/Makeconfig: New file.
4435 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
4436 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
4437
d9195db8
GB
44382012-08-16 Gary Benson <gbenson@redhat.com>
4439
4440 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
4441 unmapping the first object in a namespace.
4442
86466cd9
RM
44432012-08-16 Roland McGrath <roland@hack.frob.com>
4444
4445 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
4446 (__internal_setnetgrent): ... this. Add internal_function to
4447 definition. Add libc_hidden_def.
4448 (setnetgrent): Update caller.
4449 (internal_endnetgrent): Renamed to ...
4450 (__internal_endnetgrent): ... this. Add internal_function to
4451 definition. Add libc_hidden_def.
4452 (endnetgrent): Update caller.
4453 (internal_getnetgrent_r): Renamed to ...
4454 (__internal_getnetgrent_r): ... this. Add internal_function to
4455 definition. Add libc_hidden_def.
4456 (__getnetgrent_r): Update caller.
4457 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
4458
c3c8283c
JM
44592012-08-16 Joseph Myers <joseph@codesourcery.com>
4460
4461 * stdlib/longlong.h: Update from GCC.
4462
db1ee0a8
RM
44632012-08-16 Roland McGrath <roland@hack.frob.com>
4464
4465 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
4466 on _QL, which is set by umul_ppmm but never used.
4467 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
4468 variables, which are set by GMP macros but never used.
4469 * stdio-common/_itowa.c (_itowa): Likewise.
4470 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
4471 * stdlib/mod_1.c (mpn_mod_1): Likewise.
4472
30f69637
CD
44732012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
4474
4475 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
4476 struct La_sh_regs is not constant.
4477 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
4478 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
4479 and struct La_sparc64_regs are not constant.
4480
93a78ac4
JM
44812012-08-16 Joseph Myers <joseph@codesourcery.com>
4482
4483 * sysdeps/unix/sysv/linux/kernel-features.h
4484 (__ASSUME_POSIX_TIMERS): Remove.
4485 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4486 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4487 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
4488 Make code unconditional.
4489 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4490 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
4491 Make code unconditional.
4492 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4493 * sysdeps/unix/sysv/linux/clock_nanosleep.c
4494 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
4495 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4496 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
4497 Make code unconditional.
4498 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4499 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
4500 (__libc_missing_posix_timers): Remove.
4501
dd924cd7
RM
45022012-08-15 Roland McGrath <roland@hack.frob.com>
4503
4b4f2771
RM
4504 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
4505 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
4506
601c888b
RM
4507 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
4508
176790a7
RM
4509 * elf/dl-sym.c: Include <stdlib.h>.
4510
329bc018
RM
4511 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
4512 constants, which avoids warnings in 32-bit builds.
4513
e04e272d
RM
4514 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
4515 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
4516
952bf94a
RM
4517 * misc/lseek.c: File moved to ...
4518 * io/lseek.c: ... here.
4519
7c99b50a
RM
4520 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
4521
dd924cd7
RM
4522 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
4523 shifting LEN more than 31 bits at once.
4524
b3f479a8
LD
45252012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4526
4527 [BZ #14195]
8c4ae0d4
RM
4528 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
4529 segmentation fault for a case of two empty input strings.
b3f479a8
LD
4530 * string/test-strncasecmp.c (check1): Renamed to...
4531 (bz12205): ...this.
4532 (bz14195): Add new testcase for two empty input strings and N > 0.
4533 (test_main): Call new testcase, adapt for renamed function.
4534
9c55864e
AJ
45352012-08-15 Andreas Jaeger <aj@suse.de>
4536
4537 [BZ #14090]
4538 * crypt/md5test2.c: New test, based on test supplied by Serge
4539 Belyshev <belyshev@depni.sinp.msu.ru>.
4540 * crypt/Makefile (xtests): Add md5test-giant..
4541 * crypt/Makefile ($(objpfx)md5test-giant): Add.
4542
02dcb6c5
PE
45432012-08-15 Paul Eggert <eggert@cs.ucla.edu>
4544
4545 [BZ #14090]
4546 * crypt/md5.c (md5_process_block): Don't assume the buffer
4547 length is less than 2**32.
4548 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
4549 length is less than 2**64.
4550
a3f95dcc
RM
45512012-08-15 Roland McGrath <roland@hack.frob.com>
4552
be75d758
RM
4553 * string/str-two-way.h: Include <sys/param.h>.
4554 (MAX): Macro removed.
4555
7312ca90
RM
4556 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
4557 Move #define and #undef of memmove to just before and after
4558 including <string.h>.
4559
9a0a5486
RM
4560 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
4561 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
4562 and after including <string.h>. Move declarations of
4563 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
4564 to before #include "string/memmove.c".
4565
67cc348d
RM
4566 * include/dirent.h: Declare __getdirentries.
4567
a3f95dcc
RM
4568 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
4569 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
4570
ca98e171
MF
45712012-08-14 Mike Frysinger <vapier@gentoo.org>
4572
4573 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
4574 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
4575 * sysdeps/i386/configure: Regenerated.
4576 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
4577 STABS_CURRENT_FILE, and STABS_FUN.
4578 (END): Remove call to STABS_FUN_END.
4579 (STABS_CURRENT_FILE1): Delete.
4580 (STABS_CURRENT_FILE): Likewise.
4581 (STABS_FUN): Likewise.
4582 (STABS_FUN_END): Likewise.
4583 (STABS_FUN2): Likewise.
4584 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
4585 * sysdeps/x86_64/configure: Regenerated.
4586
5908bf46
RM
45872012-08-14 Roland McGrath <roland@hack.frob.com>
4588
4589 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 4590 * elf/dl-lookup.c: Likewise.
5908bf46 4591
f2c05b9e
JM
45922012-08-14 Joseph Myers <joseph@codesourcery.com>
4593
4594 * sysdeps/unix/sysv/linux/kernel-features.h
4595 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
4596 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
4597 unconditionally.
4598 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
4599 unconditionally.
4600 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
4601 condition on __ASSUME_CLONE_THREAD_FLAGS.
4602
e11f5155
AJ
46032012-08-14 Andreas Jaeger <aj@suse.de>
4604
4605 * sysdeps/i386/fpu/libm-test-ulps: Update.
4606
51a9ba86
MK
46072012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
4608
2fdd4f78
AJ
4609 * include/atomic.h (atomic_exchange_and_add): Split into ...
4610 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
4611 New atomic macros.
51a9ba86 4612
ba6cba9e
MT
46132012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
4614
4615 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4616
42443a47
JL
46172012-08-13 Jeff Law <law@redhat.com>
4618
4619 * manual/stdio.texi (snprintf): Clarify handling of the trailing
4620 null byte in the output string.
4621
121dce05
JM
46222012-08-10 Joseph Myers <joseph@codesourcery.com>
4623
4624 * sysdeps/unix/sysv/linux/kernel-features.h
4625 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
4626 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
4627 (__ASSUME_ARG_MAX_STACK_BASED): Define.
4628 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4629 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
4630 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
4631 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
4632
bf51f568
JL
46332012-08-09 Jeff Law <law@redhat.com>
4634
4635 [BZ #13939]
4636 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
4637 When avoid_arena is set, don't retry in the that arena. Pick the
4638 next one, whatever it might be.
4639 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
4640 (arena_lock): Pass in new parameter to arena_get2.
4641 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
4642 arena_get2.
4643 (__libc_malloc): Unify retrying after main arena failure with
4644 __libc_memalign version.
4645 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
4646
f85fa270
L
46472012-08-09 H.J. Lu <hongjiu.lu@intel.com>
4648
4649 [BZ #14166]
4650 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
4651 to __redirect_strstr.
4652 (__strstr_sse42): Use typeof __redirect_strstr.
4653 (__strstr_ia32): Likewise.
4654 (__libc_strstr): New prototype.
4655 (strstr): Renamed to ...
4656 (__libc_strstr): This.
4657 (strstr): New strong alias of __libc_strstr.
4658 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
4659 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
4660 __redirect_time.
4661 Include <time.h>.
4662 (__libc_time): New prototype.
4663 (time_ifunc): Replace time with __libc_time.
4664 (time): New strong alias and hidden definition of __libc_time.
4665 (__GI_time): Remove strong alias.
4666 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
4667 Include <stddef.h>.
4668 (memmove): Redefined to __redirect_memmove.
4669 (__memmove_sse2): Use typeof __redirect_memmove.
4670 (__memmove_ssse3): Likewise.
4671 (__memmove_ssse3_back): Likewise.
4672 (__libc_memmove): New prototype.
4673 (memmove): Renamed to ...
4674 (__libc_memmove): This.
4675 (memmove): New strong alias of __libc_memmove.
4676
33b4a91e
MS
46772012-08-08 Mark Salter <msalter@redhat.com>
4678
4679 * elf/elf.h
4680 (R_MN10300_TLS_GD): Define.
4681 (R_MN10300_TLS_LD): Likewise.
4682 (R_MN10300_TLS_LDO): Likewise.
4683 (R_MN10300_TLS_GOTIE): Likewise.
4684 (R_MN10300_TLS_IE): Likewise.
4685 (R_MN10300_TLS_LE): Likewise.
4686 (R_MN10300_TLS_DTPMOD): Likewise.
4687 (R_MN10300_TLS_DTPOFF): Likewise.
4688 (R_MN10300_TLS_TPOFF): Likewise.
4689 (R_MN10300_SYM_DIFF): Likewise.
4690 (R_MN10300_ALIGN): Likewise.
4691 (R_MN10300_NUM): Update.
4692
b36137f1
JM
46932012-08-08 Joseph Myers <joseph@codesourcery.com>
4694
4695 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
4696 Remove.
4697
cdd915fd
RM
46982012-08-08 Roland McGrath <roland@hack.frob.com>
4699
a2433aac
RM
4700 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
4701
cdd915fd
RM
4702 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
4703 sysdeps/unix -> sysdeps/posix move.
4704 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
4705
bf9b740a
AM
47062012-08-07 Allan McRae <allan@archlinux.org>
4707
4708 [BZ #14303]
4709 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
4710 (SUNOS_CPP): Likewise.
4711 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
4712 not found.
4713 (open_input): Call CPP using execvp.
4714
93df14ee
JM
47152012-08-07 Joseph Myers <joseph@codesourcery.com>
4716
4717 * sysdeps/unix/sysv/linux/kernel-features.h
4718 (__ASSUME_PROT_GROWSUPDOWN): Remove.
4719 (__ASSUME_NO_CLONE_DETACHED): Likewise.
4720 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4721 (__ASSUME_WAITID_SYSCALL): Likewise.
4722 * sysdeps/unix/sysv/linux/dl-execstack.c
4723 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
4724 code unconditional.
4725 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
4726 conditional code.
4727 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
4728 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
4729 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
4730 code.
4731 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
4732 unconditional.
4733 [__ASSUME_WAITID_SYSCALL]: Likewise.
4734 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
4735
d34689de
RM
47362012-08-07 Roland McGrath <roland@hack.frob.com>
4737
a281decc
RM
4738 * sysdeps/unix/closedir.c: Renamed to ...
4739 * sysdeps/posix/closedir.c: ... here.
4740 * sysdeps/unix/dirfd.c: Renamed to ...
4741 * sysdeps/posix/dirfd.c: ... here.
4742 * sysdeps/unix/dirstream.h: Renamed to ...
4743 * sysdeps/posix/dirstream.h: ... here.
4744 * sysdeps/unix/fdopendir.c: Renamed to ...
4745 * sysdeps/posix/fdopendir.c: ... here.
4746 * sysdeps/unix/opendir.c: Renamed to ...
4747 * sysdeps/posix/opendir.c: ... here.
4748 * sysdeps/unix/readdir.c: Renamed to ...
4749 * sysdeps/posix/readdir.c: ... here.
4750 * sysdeps/unix/readdir_r.c: Renamed to ...
4751 * sysdeps/posix/readdir_r.c: ... here.
4752 * sysdeps/unix/rewinddir.c: Renamed to ...
4753 * sysdeps/posix/rewinddir.c: ... here.
4754 * sysdeps/unix/seekdir.c: Renamed to ...
4755 * sysdeps/posix/seekdir.c: ... here.
4756 * sysdeps/unix/telldir.c: Renamed to ...
4757 * sysdeps/posix/telldir.c: ... here.
4758 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
4759 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
4760 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
4761 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
4762
22895b47
RM
4763 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
4764 * bits/fcntl.h: ... here.
4765
707a53b6
RM
4766 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
4767 not 0.
4768 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
4769 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
4770 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
4771 (struct flock): Move l_start, l_len to the beginning.
4772 Use __pid_t for l_pid.
4773 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
4774 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
4775 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
4776 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
4777 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
4778 [__USE_LARGEFILE64] (struct flock64): New type.
4779 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
4780
f0bd3e25
RM
4781 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
4782 * bits/dirent.h: ... here.
4783
d34689de
RM
4784 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
4785 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
4786
6dad2c06
JM
47872012-08-07 Joseph Myers <joseph@codesourcery.com>
4788
4789 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4790 Change from 2.6.0 to 2.6.16.
4791 * sysdeps/unix/sysv/linux/configure: Regenerated.
4792 * sysdeps/unix/sysv/linux/kernel-features.h
4793 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
4794 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
4795 version.
4796 (__ASSUME_UTIMES): Likewise.
4797 (__ASSUME_CLONE_STOPPED): Remove.
4798 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
4799 architectures, not kernel version.
4800 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
4801 (__ASSUME_NO_CLONE_DETACHED): Likewise.
4802 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4803 (__ASSUME_WAITID_SYSCALL): Likewise.
4804 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
4805 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
4806 * README: State 2.6.16 as minimum Linux kernel version. Do not
4807 refer to older versions.
4808
03af9520
RM
48092012-08-06 Roland McGrath <roland@hack.frob.com>
4810
8e49df1d
RM
4811 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
4812 Define alphasort64 as an alias.
4813 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
4814 Define versionsort64 as an alias.
4815 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
4816 Define scandir64 as an alias.
4817 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
4818 Define scandirat64 as an alias.
4819 * dirent/alphasort64.c (alphasort64):
4820 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
4821 * dirent/versionsort64.c: Likewise.
4822 * dirent/scandir64.c: Likewise.
4823 * dirent/scandirat64.c: Likewise.
4824 * sysdeps/wordsize-64/alphasort.c: File removed.
4825 * sysdeps/wordsize-64/alphasort64.c: File removed.
4826 * sysdeps/wordsize-64/scandir.c: File removed.
4827 * sysdeps/wordsize-64/scandir64.c: File removed.
4828 * sysdeps/wordsize-64/scandirat.c: File removed.
4829 * sysdeps/wordsize-64/scandirat64.c: File removed.
4830 * sysdeps/wordsize-64/versionsort.c: File removed.
4831 * sysdeps/wordsize-64/versionsort64.c: File removed.
4832 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
4833 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
4834 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
4835 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
4836 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
4837 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
4838 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
4839 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
4840
4841 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
4842 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
4843 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
4844 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4845 [defined __arch64__ || defined __sparcv9]
4846 (__INO_T_MATCHES_INO64_T): New macro.
4847 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4848 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
4849 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
4850 * sysdeps/unix/sysv/linux/bits/dirent.h
4851 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
4852 (_DIRENT_MATCHES_DIRENT64): New macro.
4853
03af9520
RM
4854 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
4855 Define lockf64 as an alias.
4856 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
4857 Define fseeko64 as an alias.
4858 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
4859 Define ftello64 as an alias.
4860 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
4861 Define _IO_fgetpos64 and fgetpos64 as aliases.
4862 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
4863 Define _IO_fsetpos64 and fsetpos64 as aliases.
4864 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
4865 Conditionalize body on this.
4866 * libio/fseeko64.c: Likewise.
4867 * libio/ftello64.c: Likewise.
4868 * libio/iofgetpos64.c: Likewise.
4869 * libio/iofsetpos64.c: Likewise.
4870 * sysdeps/wordsize-64/lockf.c: File removed.
4871 * sysdeps/wordsize-64/lockf64.c: File removed.
4872 * sysdeps/wordsize-64/fseeko.c: File removed.
4873 * sysdeps/wordsize-64/fseeko64.c: File removed.
4874 * sysdeps/wordsize-64/ftello.c: File removed.
4875 * sysdeps/wordsize-64/ftello64.c: File removed.
4876 * sysdeps/wordsize-64/iofgetpos.c: File removed.
4877 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
4878 * sysdeps/wordsize-64/iofsetpos.c: File removed.
4879 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
4880 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
4881 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
4882 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
4883 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
4884 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
4885 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
4886 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
4887 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
4888 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
4889 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
4890
4891 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
4892 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
4893 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
4894 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4895 [defined __arch64__ || defined __sparcv9]
4896 (__OFF_T_MATCHES_OFF64_T): New macro.
4897 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4898 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
4899 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4900 (__OFF_T_MATCHES_OFF64_T): New macro.
4901
c5757acd
L
49022012-08-06 H.J. Lu <hongjiu.lu@intel.com>
4903
4904 * stdlib/secure-getenv.c (__secure_getenv): Replace
4905 GLIBC_2_16 with GLIBC_2_17.
4906
3a31811e
L
49072012-08-06 H.J. Lu <hongjiu.lu@intel.com>
4908
4909 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
4910 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4911
faa2bccb
DM
49122012-08-03 David S. Miller <davem@davemloft.net>
4913
4914 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4915
85fe1997
JM
49162012-08-03 Joseph Myers <joseph@codesourcery.com>
4917
4918 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
4919 Remove.
4920 (__ASSUME_CORRECT_SI_PID): Likewise.
4921 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
4922 (__ASSUME_TMPFS_NAME): Likewise.
4923 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
4924 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
4925 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
4926 (HAVE_AUX_SECURE): Make definition unconditional.
4927 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
4928 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
4929
4f75b7a0
RM
49302012-08-03 Roland McGrath <roland@hack.frob.com>
4931
4932 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
4933 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
4934 * sysdeps/mach/hurd/eloop-threshold.h: New file.
4935 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4936 __eloop_threshold instead of SYMLOOP_MAX.
4937
4938 * sysdeps/generic/eloop-threshold.h: New file.
4939 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
4940 of MAXSYMLINKS.
4941 * elf/chroot_canon.c (chroot_canon): Likewise.
4942
7aab07e4
JM
49432012-08-03 Joseph Myers <joseph@codesourcery.com>
4944
4945 [BZ #13717]
4946 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4947 Change to 2.6.0 everywhere.
4948 * sysdeps/unix/sysv/linux/configure: Regenerated.
4949 * sysdeps/unix/sysv/linux/kernel-features.h
4950 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
4951 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
4952 kernel versions.
4953 (__ASSUME_POSIX_TIMERS): Define unconditionally.
4954 (__ASSUME_FUTEX_REQUEUE): Remove.
4955 (__ASSUME_STATFS64): Define unconditionally.
4956 (__ASSUME_AT_SECURE): Likewise.
4957 (__ASSUME_CORRECT_SI_PID): Likewise.
4958 (__ASSUME_TGKILL): Define without depending on kernel version for
4959 i386.
4960 (__ASSUME_UTIMES): Likewise.
4961 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
4962 kernel version.
4963 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
4964 (__ASSUME_TMPFS_NAME): Likewise.
4965 * README: Update reference to Linux kernel versions.
4966
b67e9372
MP
49672012-08-02 Marek Polacek <polacek@redhat.com>
4968
1f529f7d 4969 [BZ# 14150]
b67e9372
MP
4970 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
4971 libc_cv_asm_type_prefix with %.
4972 * configure: Regenerated.
d2441631
RM
4973 * include/libc-symbols.h: Remove comment about
4974 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
4975 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
4976 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
4977 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
4978 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
4979 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
4980 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
4981 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
4982 * elf/tst-unique2mod1.c: Likewise.
4983 * elf/tst-unique1mod2.c: Likewise.
4984 * elf/tst-unique1mod1.c: Likewise.
4985 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
4986 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
4987 Replace ASM_TYPE_DIRECTIVE with .type.
4988 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4989 * sysdeps/i386/sysdep.h: Likewise.
4990 * sysdeps/x86_64/sysdep.h: Likewise.
4991 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
4992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
4993 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 4994 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
4995 * sysdeps/powerpc/powerpc32/sysdep.h:
4996 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
4997 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
4998 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4999 * sysdeps/i386/fpu/e_powf.S: Likewise.
5000 * sysdeps/i386/fpu/e_expl.S: Likewise.
5001 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5002 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5003 * sysdeps/i386/fpu/e_pow.S: Likewise.
5004 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5005 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5006 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5007 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5008 * sysdeps/i386/fpu/e_log2.S: Likewise.
5009 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5010 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5011 * sysdeps/i386/fpu/e_powl.S: Likewise.
5012 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5013 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5014 * sysdeps/i386/fpu/e_logl.S: Likewise.
5015 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5016 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5017 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5018 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5019 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5020 * sysdeps/i386/fpu/e_log.S: Likewise.
5021 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5022 * sysdeps/i386/fpu/e_logf.S: Likewise.
5023 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5024 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5025 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5026 * sysdeps/i386/fpu/e_log10.S: Likewise.
5027 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5028 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5029 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5030 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5031 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5032 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
5033 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5034 * sysdeps/i386/i686/strtok.S: Likewise.
5035 * sysdeps/i386/i386-mcount.S: Likewise.
5036 * sysdeps/i386/strtok.S: Likewise.
5037 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
5038 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5039 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5040 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5041 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5042 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5043 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5044 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5045 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5046 * sysdeps/x86_64/_mcount.S: Likewise.
5047 * sysdeps/x86_64/strtok.S: Likewise.
5048 * sysdeps/sh/_mcount.S: Likewise.
5049
2747bf9a
RM
50502012-08-01 Roland McGrath <roland@hack.frob.com>
5051
5052 * libio/iofopen.c: Include <fcntl.h>.
5053 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
5054 (_IO_fopen64, fopen64): Define as aliases.
5055 * libio/iofopen64.c: Include <fcntl.h>.
5056 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
5057 Conditionalize body on this.
5058 * sysdeps/wordsize-64/iofopen.c: File removed.
5059 * sysdeps/wordsize-64/iofopen64.c: File removed.
5060
3fb791b8
MP
50612012-08-01 Marek Polacek <polacek@redhat.com>
5062
5063 * libc/Makeconfig: Use elf in place of binfmt-subdir.
5064 Use dlfcn directly instead of a variable.
5065 (binfmt-subdir): Do not define.
5066 (dlfcn): Likewise.
5067
a9f1039f
JM
50682012-08-01 Joseph Myers <joseph@codesourcery.com>
5069
23bddc06
JM
5070 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
5071 Remove all definitions.
5072 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
5073 <kernel-features.h>.
5074 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5075 (miss_F_GETOWN_EX): Remove all definitions.
5076 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
5077 macro definition.
5078 [!__ASSUME_FCNTL64]: Remove conditional code.
5079 [__ASSUME_FCNTL64]: Make code unconditional.
5080 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
5081 <kernel-features.h>.
5082 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5083 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
5084 (lockf64) [__NR_fcntl64]: Make code unconditional.
5085 (lockf64) [__ASSUME_FCNTL64]: Likewise.
5086
a9f1039f
JM
5087 * sysdeps/unix/sysv/linux/kernel-features.h
5088 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
5089 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
5090 Make code unconditional.
5091 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5092 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
5094 [__NR_vfork]: Make code unconditional.
5095 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5096 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
5098 [__NR_vfork]: Make code unconditional.
5099 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5100 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5101
09c0ee5f
RM
51022012-08-01 Roland McGrath <roland@hack.frob.com>
5103
48aec5b9
RM
5104 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
5105 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
5106
cd97c966
RM
5107 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5108 Define mkstemp64 as an alias.
3f55550c
RM
5109 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5110 Define mkstemps64 as an alias.
cd97c966
RM
5111 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5112 Define mkostemp64 as an alias.
b8625cfc
RM
5113 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5114 Define mkostemps64 as an alias.
cd97c966
RM
5115 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
5116 Conditionalize body on this.
5117 * misc/mkostemp64.c: Likewise.
b8625cfc 5118 * misc/mkostemps64.c: Likewise.
3f55550c 5119 * misc/mkstemps64.c: Likewise.
cd97c966
RM
5120 * sysdeps/wordsize-64/mkstemp64.c: File removed.
5121 * sysdeps/wordsize-64/mkostemp64.c: File removed.
5122 * sysdeps/wordsize-64/mkostemp.c: File removed.
5123 * sysdeps/wordsize-64/mkstemp.c: File removed.
5124 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
5125 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
5126 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
5127 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
5128
09c0ee5f
RM
5129 [BZ #14138]
5130 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
5131 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
5132 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
5133 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
5134
5135 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
5136 compat_symbol macros from <shlib-compat.h> rather than the underlying
5137 default_symbol_version and symbol_version macros, so that DEFAULT
5138 lines in shlib-versions are respected.
5139 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
5140
7e66ee51
FW
51412012-08-01 Florian Weimer <fweimer@redhat.com>
5142
5143 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
5144 Declare with warn_unused_result.
5145 (setgid, setregid, setegid, setresgid): Likewise.
5146 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
5147 Likewise.
5148 * WUR-REPORT: Remove set*id functions.
5149
d2a54255
PT
51502012-07-31 Pino Toscano <toscano.pino@tiscali.it>
5151
5152 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
5153
7ecdb005
RM
51542012-07-31 Roland McGrath <roland@hack.frob.com>
5155
789bd351
RM
5156 * include/sys/socket.h (__libc_accept, __libc_accept4):
5157 Add attribute_hidden.
5158 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
5159
40ce302d
RM
5160 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
5161 use of PTR_MANGLE.
5162 * inet/getnetgrent_r.c (setup): Likewise.
5163
7ecdb005
RM
5164 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
5165
e2eabb2c
DM
51662012-07-31 David S. Miller <davem@davemloft.net>
5167
5168 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5169
d0419dbf
JM
51702012-07-31 Joseph Myers <joseph@codesourcery.com>
5171
5172 [BZ #13629]
5173 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
5174 value between 1.0 and 2.0 and smaller part has absolute value less
5175 than 1.0.
5176 * math/s_clog10.c (__clog10): Likewise.
5177 * math/s_clog10f.c (__clog10f): Likewise.
5178 * math/s_clog10l.c (__clog10l): Likewise.
5179 * math/s_clogf.c (__clogf): Likewise.
5180 * math/s_clogl.c (__clogl): Likewise.
5181 * math/libm-test.inc (clog_test): Add more tests.
5182 (clog10_test): Likewise.
5183 * sysdeps/i386/fpu/libm-test-ulps: Update.
5184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5185
2bc13872
FW
51862012-07-31 Florian Weimer <fweimer@redhat.com>
5187
5188 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
5189 Exit with zero in case no suitable GID is found, and write a
5190 message to standard error.
5191
bea9b193
RM
51922012-07-30 Roland McGrath <roland@hack.frob.com>
5193
5194 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
5195 rather than to 1.
5196 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
5197 (MAXPATHLEN): Removed.
5198 (NOGROUP, NODEV): New macros.
5199 (setbit, clrbit, isset, isclr): New macros.
5200 (howmany, roundup, powerof2): New macros.
5201 (DEV_BSIZE): New macro.
5202
5203 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
5204 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
5205
5206 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
5207 definition on [!__NO_LONG_DOUBLE_MATH].
5208
5209 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
5210 PTR_MANGLE and PTR_DEMANGLE.
5211
5212 * socket/accept4.c (accept4): Rename to __libc_accept4.
5213 Define accept4 as a weak alias.
5214
5215 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
5216 on [_DIRENT_HAVE_D_TYPE].
5217 * io/ftw.c (ftw_dir): Likewise.
5218
5219 * io/xmknod.c (__xmknod): Don't check PATH for being null.
5220
5221 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
5222
5223 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
5224 Use the BSD numbers rather than the arbitrary ones we had.
5225 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
5226 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
5227 (SIGXCPU, SIGXFSZ): New macros.
5228 (_NSIG): Now 32.
5229
5230 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
5231 initializer on [_LIBC_REENTRANT].
5232
5233 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
5234 definitions inside [_POSIX_MAPPED_FILES].
5235
5236 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
5237
5238 * dirent/opendir.c: Include <fcntl.h>.
5239
5240 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
5241 (__libc_getspecific): Likewise.
5242 (__libc_key_create): Likewise.
5243
5244 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
5245 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
5246 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
5247 (tmpfile64): Define as alias.
5248 * sysdeps/wordsize-64/tmpfile.c: File removed.
5249 * sysdeps/wordsize-64/tmpfile64.c: File removed.
5250 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
5251 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
5252
5253 * stdio-common/vfscanf.c: Include <stdbool.h>.
5254 * nss/makedb.c: Likewise.
5255 * stdio-common/_i18n_number.h: Likewise.
5256 * argp/argp-help.c: Likewise.
5257 * posix/wordexp.c: Likewise.
5258 * sysdeps/posix/spawni.c: Likewise.
5259 * nss/nss_files/files-initgroups.c: Likewise.
5260 * stdio-common/reg-modifier.c: Include <stdlib.h>.
5261 * nss/nss_files/files-initgroups.c: Likewise.
5262 * nss/nss_db/db-netgrp.c: Likewise.
5263 * nss/nss_db/db-initgroups.c: Likewise.
5264 * io/fchmodat.c: Include <sys/stat.h>.
5265
5266 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
5267 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
5268
5269 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
5270 [HAVE_MMAP].
5271
5272 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
5273 Add multiple inclusion protection.
5274
e5abc686
DM
52752012-07-27 David S. Miller <davem@davemloft.net>
5276
5277 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5278
815e6fa3
GB
52792012-07-27 Gary Benson <gbenson@redhat.com>
5280
5281 [BZ #14298]
5282 * elf/rtld.c: Include <stap-probe.h>.
5283 (dl_main): Added static probes "init_start" and "init_complete".
5284 * elf/dl-load.c: Include <stap-probe.h>.
5285 (lose): Take new parameter "nsid".
5286 Added static probe "map_failed".
5287 (_dl_map_object_from_fd): Pass namespace id to lose.
5288 Added static probe "map_start".
5289 (open_verify): Pass namespace id to lose.
5290 * elf/dl-open.c: Include <stap-probe.h>.
5291 (dl_open_worker) Added static probes "map_complete", "reloc_start"
5292 and "reloc_complete".
5293 * elf/dl-close.c: Include <stap-probe.h>.
5294 (_dl_close_worker): Added static probes "unmap_start" and
5295 "unmap_complete".
5296 * elf/rtld-debugger-interface.txt: New file documenting the above.
5297
9f98c16c
RM
52982012-07-26 Roland McGrath <roland@hack.frob.com>
5299
5300 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
5301 rather than a string variable.
5302 * sunrpc/rpc_main.c (h_output): Likewise.
5303 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
5304
f3c22df3
PT
53052012-07-26 Pino Toscano <toscano.pino@tiscali.it>
5306
5307 * inet/check_native.c: New file.
5308
3129cfc6
JM
53092012-07-26 Joseph Myers <joseph@codesourcery.com>
5310
da865e95
JM
5311 [BZ #13629]
5312 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
5313 if larger part has absolute value 1.0.
5314 * math/s_clog10.c (__clog10): Likewise.
5315 * math/s_clog10f.c (__clog10f): Likewise.
5316 * math/s_clog10l.c (__clog10l): Likewise.
5317 * math/s_clogf.c (__clogf): Likewise.
5318 * math/s_clogl.c (__clogl): Likewise.
5319 * math/libm-test.inc (clog_test): Add more tests.
5320 (clog10_test): Likewise.
5321 * sysdeps/i386/fpu/libm-test-ulps: Update.
5322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5323
3129cfc6
JM
5324 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
5325 (pltexit): Likewise.
5326 (La_regs): Likewise.
5327 (La_retval): Likewise.
5328 (int_retval): Likewise.
5329 Update #error for removed macros to refer only to definitions in
5330 tst-audit.h.
5331 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
5332 macro.
5333 (pltexit): Likewise.
5334 (La_regs): Likewise.
5335 (La_retval): Likewise.
5336 (int_retval): Likewise.
5337 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
5338 macro.
5339 (pltexit): Likewise.
5340 (La_regs): Likewise.
5341 (La_retval): Likewise.
5342 (int_retval): Likewise.
5343 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
5344 macro.
5345 (pltexit): Likewise.
5346 (La_regs): Likewise.
5347 (La_retval): Likewise.
5348 (int_retval): Likewise.
5349 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
5350 macro.
5351 (pltexit): Likewise.
5352 (La_regs): Likewise.
5353 (La_retval): Likewise.
5354 (int_retval): Likewise.
5355 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
5356 macro.
5357 (pltexit): Likewise.
5358 (La_regs): Likewise.
5359 (La_retval): Likewise.
5360 (int_retval): Likewise.
5361 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
5362 macro.
5363 (pltexit): Likewise.
5364 (La_regs): Likewise.
5365 (La_retval): Likewise.
5366 (int_retval): Likewise.
5367 * sysdeps/generic/tst-audit.h: Update comment to refer only to
5368 macro definitions in tst-audit.h.
5369 * sysdeps/i386/tst-audit.h: New file.
5370 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
5371 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
5372 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
5373 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
5374 * sysdeps/sh/tst-audit.h: Likewise.
5375 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
5376 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
5377 * sysdeps/x86_64/tst-audit.h: Likewise.
5378
bfc07087
AJ
53792012-07-26 Andreas Jaeger <aj@suse.de>
5380
b1b2aaf8
AJ
5381 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
5382 ptrace.
5383
5384 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
5385 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
5386 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
5387 PTRACE_O_MASK.
5388 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
5389 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
5390 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
5391
bfc07087
AJ
5392 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
5393 value.
5394
5395 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
5396 _sigsys.
5397 (si_call_addr, si_syscall, si_arch): Define new macro.
5398 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
5399 _sigsys.
5400 (si_call_addr, si_syscall, si_arch): Define new marcro.
5401 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
5402 _sigsys.
5403 (si_call_addr, si_syscall, si_arch): Define new macro.
5404 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
5405 _sigsys.
5406 (si_call_addr, si_syscall, si_arch): Define new macro.
5407
89b4b02f
JM
54082012-07-25 Joseph Myers <joseph@codesourcery.com>
5409
5410 [BZ #13717]
5411 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5412 Change to 2.4.21 where previously 2.4.1.
5413 * sysdeps/unix/sysv/linux/configure: Regenerated.
5414 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
5415 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
5416 Linux kernel version.
5417 (__ASSUME_STD_AUXV): Remove.
5418 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
5419 kernel version.
5420 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
5421 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
5422 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
5423 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
5424 (__ASSUME_NETLINK_SUPPORT): Likewise.
5425 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
5426 (__no_netlink_support): Remove conditional definition.
5427 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
5428 Remove.
5429 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5430 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
5431 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
5432 (if_nameindex_ioctl): Remove.
5433 (if_nameindex_netlink): Do not handle __no_netlink_support.
5434 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5435 code.
5436 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
5437 Remove conditional code.
5438 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5439 code.
5440 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
5441 unconditional.
5442 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5443 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
5444 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
5445 Remove.
5446 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
5447 [!__ASSUME_STD_AUXV]: Remove conditional code.
5448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
5449 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
5450 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
5451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
5452 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
5453 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5454 code.
5455 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5457 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
5458 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5459 conditional code.
5460 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
5462 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5463 code.
5464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5465 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5466 conditional code.
5467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
5468 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5469 code unconditional.
5470 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5471 conditional code.
5472 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5473 unconditional.
5474 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5475 conditional code.
5476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
5477 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5478 unconditional.
5479 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5480 conditional code.
5481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
5482 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5483 code unconditional.
5484 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5485 conditional code.
5486 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5487 unconditional.
5488 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5489 conditional code.
5490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
5491 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5492 code unconditional.
5493 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5494 conditional code.
5495 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5496 unconditional.
5497 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5498 conditional code.
5499
842a39cd
AS
55002012-07-25 Andreas Schwab <schwab@linux-m68k.org>
5501
5502 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
5503 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
5504 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5505 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
5506 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
5507 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
5508 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5509 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
5510 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
5511 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
5512 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
5513 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
5514 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
5515 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5516 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
5517 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
5518 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
5519 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
5520 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
5521 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
5522 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
5523 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
5524 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5525
84b3fd84
FW
55262012-07-25 Florian Weimer <fweimer@redhat.com>
5527
5528 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
5529 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
5530 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
5531 Introduce __libc_secure_getenv.
0c7936d5
FW
5532 * stdlib/Versions (2.17): Add secure_getenv
5533 (GLIBC_PRIVATE): Add __libc_secure_getenv.
5534 * stdlib/secure-getenv.c: Rename __secure_getenv to
5535 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
5536 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
5537 * stdlib/tst-secure-getenv.c: New.
5538 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
5539 * manual/startup.texi (Environment Access): Document
5540 secure_getenv.
84b3fd84
FW
5541 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
5542 __libc_secure_getenv.
5543 * inet/ruserpass.c (ruserpass): Likewise.
5544 * malloc/mtrace.c (mtrace): Likewise.
5545 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 5546 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
5547 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
5548 * sysdeps/posix/tempname.c: Likewise. Evaluate
5549 HAVE_SECURE_GETENV.
5550 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 5551 __secure_getenv to __libc_secure_getenv.
84b3fd84 5552 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
5553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5554 Likewise.
5555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5556 Likewise.
5557 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
5558 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
5559 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5560 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
5561 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
5562 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5563 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 5564
56e49b71
JM
55652012-07-25 Joseph Myers <joseph@codesourcery.com>
5566
5567 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
5568 (struct La_i86_retval): Likewise.
5569 (struct La_x86_64_regs): Likewise.
5570 (struct La_x86_64_retval): Likewise.
5571 (struct La_x32_regs): Likewise.
5572 (struct La_x32_retval): Likewise.
5573 (struct La_ppc32_regs): Likewise.
5574 (struct La_ppc32_retval): Likewise.
5575 (struct La_ppc64_regs): Likewise.
5576 (struct La_ppc64_retval): Likewise.
5577 (struct La_sh_regs): Likewise.
5578 (struct La_sh_retval): Likewise.
5579 (struct La_s390_32_regs): Likewise.
5580 (struct La_s390_32_retval): Likewise.
5581 (struct La_s390_64_regs): Likewise.
5582 (struct La_s390_64_retval): Likewise.
5583 (struct La_sparc32_regs): Likewise.
5584 (struct La_sparc32_retval): Likewise.
5585 (struct La_sparc64_regs): Likewise.
5586 (struct La_sparc64_retval): Likewise.
5587 (struct audit_ifaces): Remove architecture-specific pltenter and
5588 pltexit members.
5589 * sysdeps/i386/ldsodefs.h: New file.
5590 * sysdeps/powerpc/ldsodefs.h: Likewise.
5591 * sysdeps/s390/ldsodefs.h: Likewise.
5592 * sysdeps/sh/ldsodefs.h: Likewise.
5593 * sysdeps/sparc/ldsodefs.h: Likewise.
5594 * sysdeps/x86_64/ldsodefs.h: Likewise.
5595
354691b7
MP
55962012-07-25 Marek Polacek <polacek@redhat.com>
5597
5598 [BZ #6808]
5599 * math/libm-test.inc (yn_test): Add another test.
5600 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
5601 to ERANGE when the result is +-Inf.
5602 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
5603 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
5604 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
5605 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
5606
bf9e2071
JM
56072012-07-24 Joseph Myers <joseph@codesourcery.com>
5608
5609 * conform/data/time.h-data (NULL): Use macro-constant. Require
5610 equal to 0.
5611 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
5612 clock_t.
5613 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
5614
57633811
TS
56152012-07-23 Thomas Schwinge <thomas@codesourcery.com>
5616
5617 * configure.in <sysdeps resolving>: Correct printing
5618 Implies_before.
5619 * configure: Regenerate.
5620
c23c33b0
TS
56212012-07-22 Thomas Schwinge <thomas@codesourcery.com>
5622
5623 * math/w_ilogb.c: Include <limits.h>.
5624 * math/w_ilogbl.c: Likewise.
5625
b5982523
JM
56262012-07-20 Joseph Myers <joseph@codesourcery.com>
5627
5628 * manual/lang.texi (__va_copy): Document primarily as ISO C99
5629 va_copy. Document allowing for unavailable va_copy only as
5630 pre-C99 compatibility.
5631 * manual/string.texi (Copying and Concatenation): Use va_copy
5632 instead of __va_copy in concat example.
5633
ac4ea442
PT
56342012-07-20 Pino Toscano <toscano.pino@tiscali.it>
5635
5636 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
5637 (__sendto): Use create_address_port. Initialize APORT and deallocate
5638 it if not null.
5639
f98eafbd
PT
5640 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
5641 with O_NOLINK passed to __file_name_lookup.
5642
898c7aab
PT
5643 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
5644 with O_NOLINK passed to __file_name_lookup.
5645
0ced335a
PT
5646 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
5647 negative N or less than NGIDS.
5648
b3404dbd
PT
5649 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
5650 type to string_t. Set ERANGE as errno and return it if NAME is not big
5651 enough. Use memcpy instead of strncpy.
5652
0f48659e
JM
56532012-07-20 Joseph Myers <joseph@codesourcery.com>
5654
5655 * elf/Makefile (check-data): Remove.
5656 (localplt.data): New vpath directive.
5657 ($(objpfx)check-localplt.out): Use localplt.data from vpath
5658 instead of $(check-data).
5659 * scripts/data/localplt-generic.data: Move to ...
5660 * sysdeps/generic/localplt.data: ... here.
5661 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
5662 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
5663 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
5664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
5665 ... here.
5666 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
5667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
5668 ... here.
5669 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
5670 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
5671 ... here.
5672 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
5673 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
5674 ... here.
5675 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
5676 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
5677 ... here.
5678 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
5679 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
5680 ... here.
5681
d37cbdaa
AZ
56822012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5683
5684 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
5685 PPC32 and PPC64 files.
5686 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
5687 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
5688
46f85fc2
AK
56892012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5690
5691 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
5692 __makecontext_ret to ...
5693 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
5694 ... here and call exit if uc_link is NULL. New file.
5695 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
5696 __makecontext_ret.S.
5697 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
5698 __makecontext_ret to ...
5699 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
5700 ... here and call exit if uc_link is NULL. New file.
5701 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
5702 __makecontext_ret.S.
5703
08f43f9b
AK
57042012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5705
5706 * elf/elf.h (R_390_IRELATIVE): New definition.
5707 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
5708 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
5709 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
5710 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
5711 (elf_machine_lazy_rel): Likewise.
5712 * sysdeps/s390/dl-irel.h: New file.
5713 * sysdeps/s390/s390-64/memcpy.S: New asm code.
5714 * sysdeps/s390/s390-64/memset.S: New asm code.
5715 * sysdeps/s390/s390-64/memcmp.S: New asm code.
5716 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
5717 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
5718 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
5719 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
5720 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
5721 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
5722 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
5723 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
5724 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
5725 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
5726 * sysdeps/s390/s390-32/memcpy.S: New asm code.
5727 * sysdeps/s390/s390-32/memset.S: New asm code.
5728 * sysdeps/s390/s390-32/memcmp.S: New asm code.
5729
3b05db33
MP
57302012-07-17 Marek Polacek <polacek@redhat.com>
5731
5732 [BZ #14349]
5733 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
5734 * sysdeps/s390/s390-64/configure.in: Likewise.
5735 * sysdeps/sparc/configure.in: Likewise.
5736 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
5737 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
5738 * sysdeps/i386/configure.in: Likewise.
5739 * sysdeps/x86_64/configure.in: Likewise.
5740 * sysdeps/sh/configure.in: Likewise.
5741 * sysdeps/s390/s390-32/configure: Regenerated.
5742 * sysdeps/s390/s390-64/configure: Likewise.
5743 * sysdeps/x86_64/configure: Likewise.
5744 * sysdeps/sh/configure: Likewise.
5745 * sysdeps/powerpc/powerpc64/configure: Likewise.
5746 * sysdeps/powerpc/powerpc32/configure: Likewise.
5747 * sysdeps/sparc/configure: Likwise.
5748 * sysdeps/i386/configure: Likewise.
5749
a66877c6
MP
5750 * elf/dl-open.c: Comment fixes.
5751
cfc82fd8
JM
57522012-07-17 Joseph Myers <joseph@codesourcery.com>
5753
bd29910a
JM
5754 * Makefile [CXX] (check-data): Remove.
5755 [CXX] (c++-types.data): New vpath directive.
5756 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
5757 vpath. Do not allow for C++ type data being missing.
5758 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
5759 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
5760 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
5761 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
5762 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
5763 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
5764 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
5765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
5766 ... here.
5767 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
5768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
5769 ... here.
5770 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
5771 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
5772 ... here.
5773 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
5774 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
5775 ... here.
5776 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
5777 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
5778 ... here.
5779 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
5780 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
5781 ... here.
5782 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
5783 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
5784 ... here.
5785 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
5786 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
5787
cfc82fd8
JM
5788 * elf/tls-macros.h (TLS_LE): Move architecture-specific
5789 definitions to architecture-specific files.
5790 (TLS_IE): Likewise.
5791 (TLS_LD): Likewise.
5792 (TLS_GD): Likewise.
5793 * sysdeps/i386/tls-macros.h: New file.
5794 * sysdeps/powerpc/tls-macros.h: Likewise.
5795 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
5796 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
5797 * sysdeps/sh/tls-macros.h: Likewise.
5798 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
5799 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
5800 * sysdeps/x86_64/tls-macros.h: Likewise.
5801
f7db3170
TS
58022012-07-17 Thomas Schwinge <thomas@codesourcery.com>
5803
07cbfc23
TS
5804 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
5805 zero value for regular exit case.
5806
f7db3170
TS
5807 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
5808 (__start_context): Preserve zero value for regular exit case.
5809
dc97c227
TS
58102012-07-17 Thomas Schwinge <thomas@codesourcery.com>
5811 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5812
5813 * manual/setjmp.texi (setcontext): Clarify normal process
5814 termination when uc_link is the null pointer.
5815 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
5816 exit call.
5817
d0cd7d02
AS
58182012-07-16 Andreas Schwab <schwab@linux-m68k.org>
5819
5820 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
5821 preprocessor. Test for each exception mask separately.
5822
dd318934
AJ
58232012-07-16 Andreas Jaeger <aj@suse.de>
5824
5825 * po/ru.po: Update from translation team.
5826
8048311a
JM
58272012-07-15 Joseph Myers <joseph@codesourcery.com>
5828
5829 * conform/data/string.h-data (NULL): Use macro-constant. Require
5830 equal to 0.
5831 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
5832 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
5833 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
5834 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
5835 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5836
b637d46e
AJ
58372012-07-13 Andreas Jaeger <aj@suse.de>
5838
5839 * po/fr.po: Update from translation team.
5840
541428fe
MP
58412012-07-12 Marek Polacek <polacek@redhat.com>
5842
5843 [BZ #14173]
5844 * math/libm-test.inc (yn_test): Add test for BZ #14173.
5845 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
5846 loop condition.
5847
ec332e94
JM
58482012-07-12 Joseph Myers <joseph@codesourcery.com>
5849
5850 [BZ #13717]
5851 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5852 Change to 2.4.1 where previously 2.4.0.
5853 * sysdeps/unix/sysv/linux/configure: Regenerated.
5854 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
5855 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
5856 version.
5857 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
5858 (__ASSUME_AT_CLKTCK): Remove.
5859 (__ASSUME_AT_PAGESIZE): Likewise.
5860 (__ASSUME_AT_XID): Likewise.
5861 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
5862 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
5863 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
5864 unconditionally.
5865 (HAVE_AUX_PAGESIZE): Likewise.
5866 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
5867 [__ASSUME_AT_CLKTCK]: Make code unconditional.
5868 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
5869
7b6e99be
JB
58702012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
5871
5872 [BZ #14307]
5873 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
5874 the temporary buffer used to invoke __gethostbyname2_r,
5875 __gethostbyaddr_r and gethostbyname4_r to make room for struct
5876 host_data / struct gaih_addrtuple.
5877 * resolv/nss_dns/dns-host.c (global scope): Move definition of
5878 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
5879 header file nss/nsswitch.h.
5880 * nss/nsswitch.h (global scope): Add definition of implementation
5881 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
5882 resolv/nss_dns/dns-host.c).
5883
608404eb
AJ
58842012-07-11 Andreas Jaeger <aj@suse.de>
5885
5886 * po/fr.po: Update from translation team.
5887
71220aca
AJ
5888 * po/sv.po: Update from translation team
5889 * po/fr.po: Another update from translation team.
5890
28cfe843
AZ
58912012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5892
5893 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
5894 for subnormals or multiply small sinh result by itself.
5895 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5896 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5897
6b90f981
DM
58982012-07-11 David S. Miller <davem@davemloft.net>
5899
5900 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5901
c6825772
AS
59022012-07-10 Andreas Schwab <schwab@linux-m68k.org>
5903
5904 [BZ #14347]
5905 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
5906 (INTERNAL_MARK): Shift it here.
5907
7b8e0d49
MP
59082012-07-10 Marek Polacek <polacek@redhat.com>
5909
5910 [BZ #14151]
5911 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
5912 libc_cv_asm_global_directive with .globl.
5913 * configure: Regenerated.
5914 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
5915 with .globl.
5916 * sysdeps/i386/configure: Regenerated.
5917 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
5918 with .globl.
5919 * sysdeps/x86_64/configure: Regenerated.
5920 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
5921 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
5922 * elf/tst-unique2mod2.c: Likewise.
5923 * elf/tst-unique2mod1.c: Likewise.
5924 * elf/tst-unique1mod2.c: Likewise.
5925 * elf/tst-unique1mod1.c: Likewise.
5926 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5927 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5928 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5929 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5930 * sysdeps/mach/sysdep.h: Likewise.
5931 * sysdeps/i386/sysdep.h: Likewise.
5932 * sysdeps/i386/i386-mcount.S: Likewise.
5933 * sysdeps/x86_64/_mcount.S: Likewise.
5934 * sysdeps/x86_64/sysdep.h: Likewise.
5935 * sysdeps/sh/_mcount.S: Likewise.
5936 * sysdeps/sh/sysdep.h: Likewise.
5937 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
5938 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
5939 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
5940 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5941 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
5942 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
5943 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
5944 * locale/localeinfo.h: Likewise.
5945 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
5946 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
5947
6c55cda3
RM
59482012-07-09 Roland McGrath <roland@hack.frob.com>
5949
5950 [BZ #14336]
5951 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
5952 system".
5953 * manual/message.texi (The Uniforum approach): Likewise.
5954 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
5955 (glibc iconv Implementation): Likewise.
5956
638a572e
JM
59572012-07-09 Joseph Myers <joseph@codesourcery.com>
5958
5959 [BZ #14337]
5960 * math/s_clog.c (__clog): Avoid scaling a value down where that
5961 could result in underflow.
5962 * math/s_clog10.c (__clog10): Likewise.
5963 * math/s_clog10f.c (__clog10f): Likewise.
5964 * math/s_clog10l.c (__clog10l): Likewise.
5965 * math/s_clogf.c (__clogf): Likewise.
5966 * math/s_clogl.c (__clogl): Likewise.
5967 * math/libm-test.inc (clog_test): Add more tests.
5968 (clog10_test): Likewise.
5969 * sysdeps/i386/fpu/libm-test-ulps: Update.
5970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5971
261f4859
AS
59722012-07-06 Andreas Schwab <schwab@linux-m68k.org>
5973
0abaf3e4
AS
5974 [BZ #14283]
5975 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
5976 by 7 not 8 to examine high bit of fractional part.
5977
261f4859
AS
5978 [BZ #14042]
5979 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
5980 for call to __mcount_internal.
5981 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
5982 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
5983 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
5984
f17ac40d
JM
59852012-07-06 Joseph Myers <joseph@codesourcery.com>
5986
9ad63c23
JM
5987 [BZ #14154]
5988 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
5989 approximation for values within 0x1p-13f of an odd multiple of
5990 pi/4.
5991 * math/libm-test.inc (tan_test): Do not allow spurious underflow
5992 exception. Add more tests.
5993 * sysdeps/i386/fpu/libm-test-ulps: Update.
5994
f17ac40d
JM
5995 [BZ #6778]
5996 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
5997 inputs and return -1 for them. Do not check for +Inf in case not
5998 reachable for +Inf.
5999 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6000 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
6001 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6002 and return -1 for them. Do not check for +Inf in case not
6003 reachable for +Inf.
6004 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
6005 define.
6006 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6007 and return -1 for them. Do not check for +Inf in case not
6008 reachable for +Inf.
6009 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
6010 spurious underflow.
6011 * sysdeps/i386/fpu/libm-test-ulps: Update.
6012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6013
fb21f89b
MF
60142012-07-06 Mike Frysinger <vapier@gentoo.org>
6015
6016 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
6017
cdfe2c5e
JM
60182012-07-05 Joseph Myers <joseph@codesourcery.com>
6019
6020 [BZ #14157]
6021 [BZ #14331]
6022 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
6023 could result in spurious underflow. Scale down values above
6024 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
6025 * math/s_csqrtf.c (__csqrtf): Likewise.
6026 * math/s_csqrtl.c (__csqrtl): Likewise.
6027 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
6028 spurious underflow.
6029 * sysdeps/i386/fpu/libm-test-ulps: Update.
6030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6031
70d35b67
AS
60322012-07-04 Andreas Schwab <schwab@linux-m68k.org>
6033
704bc459
AS
6034 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
6035 xopen-msg.sed.
6036 * catgets/xopen-msg.awk: New file.
6037 * catgets/xopen-msg.sed: Removed.
6038
70d35b67
AS
6039 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
6040 po2text.sed.
6041 * intl/po2test.awk: New file.
6042 * intl/po2test.sed: Removed.
6043
ca61cf32
JM
60442012-07-04 Joseph Myers <joseph@codesourcery.com>
6045
6046 [BZ #14328]
6047 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
6048 or multiply small sinh result by itself.
6049 * math/s_ctanf.c (__ctanf): Likewise.
6050 * math/s_ctanh.c (__ctanh): Likewise.
6051 * math/s_ctanhf.c (__ctanhf): Likewise.
6052 * math/s_ctanhl.c (__ctanhl): Likewise.
6053 * math/s_ctanl.c (__ctanl): Likewise.
6054 * math/libm-test.inc (ctan_test_tonearest): New function.
6055 (ctan_test_towardzero): Likewise.
6056 (ctan_test_downward): Likewise.
6057 (ctan_test_upward): Likewise.
6058 (ctanh_test_tonearest): Likewise.
6059 (ctanh_test_towardzero): Likewise.
6060 (ctanh_test_downward): Likewise.
6061 (ctanh_test_upward): Likewise.
6062 (main): Call these new functions.
6063 * sysdeps/i386/fpu/libm-test-ulps: Update.
6064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6065
ca48a46a
MF
60662012-07-03 Mike Frysinger <vapier@gentoo.org>
6067
6068 * .gitignore: Delete /ports entry.
6069
9d63d37d
AJ
60702012-07-03 Andreas Jaeger <aj@suse.de>
6071
6072 * po/bg.po: Update from translation team.
6073 * po/cs.po: Likewise.
6074 * po/de.po: Likewise.
6075 * po/hr.po: Likewise.
6076 * po/nl.pl: Likewise.
6077 * po/pl.po: Likewise.
6078 * po/vi.po: Likewise.
6079
370ca3d2
JM
60802012-07-03 Joseph Myers <joseph@codesourcery.com>
6081
95f5a9a8
JM
6082 * Makeconfig [!+link] (+link-before-libc): New variable.
6083 [!+link] (+link-after-libc): Likewise.
6084 [!+link] (+link-tests): Likewise.
6085 [!+link] (+link): Define in terms of $(+link-before-libc) and
6086 $(+link-after-libc).
6087 [!+link-static] (+link-static-before-libc): New variable.
6088 [!+link-static] (+link-static-after-libc): Likewise.
6089 [!+link-static] (+link-static-tests): Likewise.
6090 [!+link-static] (+link-static): Define in terms of
6091 $(+link-static-before-libc) and $(+link-static-after-libc).
6092 [build-shared] (link-libc-before-gnulib): New variable.
6093 [build-shared] (link-libc-tests): Likewise.
6094 [build-shared] (link-libc): Define in terms of
6095 $(link-libc-before-gnulib).
6096 [!build-shared] (link-libc-tests): New variable.
6097 (link-libc-static-tests): New variable.
6098 [!gnulib] (gnulib-arch): New variable.
6099 [!gnulib] (gnulib-tests): Likewise.
6100 [!gnulib] (static-gnulib-arch): Likewise.
6101 [!gnulib] (static-gnulib-tests): Likewise.
6102 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
6103 Define with "=" instead of ":=".
6104 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
6105 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
6106 * Rules (binaries-all-notests): New variable.
6107 (binaries-all-tests): Likewise.
6108 (binaries-static-notests): Likewise.
6109 (binaries-static-tests): Likewise.
6110 (binaries-all): Define using $(binaries-all-notests) and
6111 $(binaries-all-tests).
6112 (binaries-static): Define using $(binaries-static-notests) and
6113 $(binaries-static-tests).
6114 (binaries-shared-tests): New variable.
6115 (binaries-shared-notests): Likewise.
6116 (binaries-shared): Remove variable.
6117 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
6118 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
6119 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
6120 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
6121 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
6122 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
6123 * elf/Makefile (sln-modules): New variable.
6124 (extra-objs): Add $(sln-modules:=.o).
6125 (ldconfig-modules): Add static-stubs.
6126 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
6127 * elf/static-stubs.c: New file.
6128
7a845b2c
JM
6129 [BZ #14283]
6130 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
6131 by 7 not 8 to examine high bit of fractional part. Use volatile
6132 variables when splitting into final array of floats if
6133 __FLT_EVAL_METHOD__ != 0.
6134 * math/libm-test.inc (cos_test): Add another test.
6135 (sin_test): Likewise.
6136 * sysdeps/i386/fpu/libm-test-ulps: Update.
6137
e2283f38
JM
6138 [BZ #14273]
6139 * math/libm-test.inc (cosh_test): Add more tests.
6140
370ca3d2
JM
6141 * version.h (RELEASE): Set to "development".
6142 (VERSION): Set to "2.16.90".
6143
ee9247c3
CD
61442012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
6145
6146 * NEWS: Update copyright. Remove last-updated date.
6147 Mention math library bug fixes and timezone data changes.
6148 * README: Mention GNU/Hurd, x32, and HPPA support status.
6149
4648c381
TS
61502012-06-28 Thomas Schwinge <thomas@codesourcery.com>
6151
6152 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
6153
aac78a43
AJ
61542012-06-27 Andreas Jaeger <aj@suse.de>
6155
6156 * manual/contrib.texi (Contributors): Add Samuel Thibault.
6157
ed3dbfad
AJ
61582012-06-25 Andreas Jaeger <aj@suse.de>
6159
6160 * sysdeps/s390/fpu/libm-test-ulps: Update.
6161
4d0ee855
AS
61622012-06-23 Andreas Schwab <schwab@linux-m68k.org>
6163 Thomas Schwinge <thomas@codesourcery.com>
6164
6165 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
6166 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
6167 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
6168 fanotify_mark.
6169
af1bce34
TS
61702012-06-23 Thomas Schwinge <thomas@codesourcery.com>
6171
a9fa33ba
TS
6172 * sysdeps/mach/start.c: Remove file.
6173 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
6174 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
6175 * sysdeps/sh/init-first.c: Likewise.
6176
58f902b8
TS
6177 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
6178 registers for frame unwinding purposes, add CFI directives.
6179 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6180 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
6181 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
6182 Likewise.
6183
1518f58b
TS
6184 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
6185 __fortify_fail returning.
6186 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6187
db9b5059
TS
6188 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
6189 sysdeps/sh/____longjmp_chk.S.
6190 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
6191 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
6192 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
6193 (gen-as-const-headers): Append sigaltstack-offsets.sym.
6194
967705fe
TS
6195 * sysdeps/sh/abort-instr.h: New file.
6196 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
6197 process in case exit returns.
6198
a9def8c4
TS
6199 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
6200 initialize the GOT register before use.
6201
2a649725
TS
6202 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
6203 calculation of ARGC > 4.
6204
af1bce34
TS
6205 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
6206 meaningful names to some local labels.
6207
d230f50a
KK
62082012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6209 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6210
6211 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
6212 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
6213 (__arch_compare_and_exchange_val_16_acq): Likewise.
6214 (__arch_compare_and_exchange_val_32_acq): Likewise.
6215 (atomic_exchange_and_add): Fix gUSA sequence.
6216 (atomic_add): Likewise.
6217 (atomic_add_negative): Likewise.
6218 (atomic_add_zero): Likewise.
6219 (atomic_bit_test_set): Likewise.
6220
0479b305
AS
62212012-06-22 Andreas Schwab <schwab@redhat.com>
6222
6223 [BZ #13579]
6224 * include/link.h (struct link_map): Add l_free_initfini.
6225 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
6226 l_initfini.
6227 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
6228 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
6229 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
6230 set.
6231
0e3933b9
CD
62322012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
6233
6234 * configure.in: Use AC_LANG_SOURCE.
6235 * configure: Regenerate.
6236
4248b1b1
RM
62372012-06-22 Roland McGrath <roland@hack.frob.com>
6238
6239 * configure.in (libc_cv_localstatedir): New substituted variable.
6240 * configure: Regenerated.
6241 * config.make.in (localstatedir): New variable, substituted from
6242 libc_cv_localstatedir.
6243 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
6244 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
6245 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
6246 * sysdeps/gnu/configure: Regenerated.
6247
006dd861
JL
62482012-06-21 Jeff Law <law@redhat.com>
6249
6250 [BZ #14277]
6251 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
6252 free. Simplify list management for _LIBC case.
6253
79662d42
JM
62542012-06-21 Joseph Myers <joseph@codesourcery.com>
6255
b7abb4bf
JM
6256 [BZ #14273]
6257 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
6258 Clear sign bit of 64-bit integer value before comparing against
6259 overflow value.
6260
79662d42
JM
6261 * sysdeps/mach/configure: Regenerated.
6262
1f150908
L
62632012-06-21 H.J. Lu <hongjiu.lu@intel.com>
6264
6265 [BZ #14278]
6266 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
6267
28363bbf
JL
62682012-06-21 Jeff Law <law@redhat.com>
6269
6270 [BZ #13882]
6271 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
6272 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 6273 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
6274 * elf/dl-open.c (dl_open_worker): Likewise.
6275
09615db4
CD
62762012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
6277
6278 * scripts/list-sources.sh: Scan PORTS for translations.
6279 * po/libc.pot: Regenerated.
6280
2174c6dd
AJ
62812012-06-21 Andreas Jaeger <aj@suse.de>
6282
6283 [BZ #12194]
6284 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
6285 warning.
6286 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
6287 * bits/byteswap-16.h (__bswap_16): Likewise.
6288 * bits/byteswap.h (__bswap_constant_16): Likewise.
6289
3ee947b1
L
62902012-06-18 H.J. Lu <hongjiu.lu@intel.com>
6291
6292 [BZ #14117]
a2f34833
L
6293 * sysdeps/i386/fpu_control.h: Removed.
6294 * sysdeps/x86_64/fpu_control.h: Moved to ...
6295 * sysdeps/x86/fpu_control.h: Here.
6296
3ee947b1
L
6297 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
6298 (_FPU_SETCW): Likewise.
6299
ed1825f8
L
63002012-06-15 H.J. Lu <hongjiu.lu@intel.com>
6301
25f1282a
L
6302 [BZ #14117]
6303 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
6304 * sysdeps/x86/fpu/bits/mathinline.h: This.
6305 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
6306
ed1825f8
L
6307 [BZ #14050]
6308 [BZ #14117]
6309 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
6310 functions if __x86_64__ is defined.
6311
36d54b74
CLT
63122012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
6313
6314 * string/endian.h: Add !__ASSEMBLER__ condition for including
6315 conversion interfaces.
6316
10285c21
JM
63172012-06-15 Joseph Myers <joseph@codesourcery.com>
6318
6319 [BZ #14241]
6320 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
6321 of ABS(x) in calculating zero to negative powers other than odd
6322 integers.
6323 * math/libm-test.inc (pow_test): Add more tests.
6324
06c5abbd
AJ
63252012-06-15 Andreas Jaeger <aj@suse.de>
6326
6327 * manual/contrib.texi (Contributors): Update entry of Liubov
6328 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
6329 Machado Filho.
6330
a3aeac40
CH
63312012-06-15 Cyril Hrubis <metan@ucw.cz>
6332
6333 * string/string.h: Add __wur to GNU version of strerror_r.
6334
49bdf4c1
L
63352012-06-14 H.J. Lu <hongjiu.lu@intel.com>
6336
6337 [BZ #14229]
6338 * string/Makefile (tests): Add tst-strtok_r.
6339 * string/tst-strtok_r.c: New file.
6340 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
6341 RAX_LP/RDX_LP on SAVE_PTR.
6342
834f9b8d
RM
63432012-06-14 Roland McGrath <roland@hack.frob.com>
6344
6345 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
6346
75fa1921
JM
63472012-06-14 Joseph Myers <joseph@codesourcery.com>
6348
6349 * libm_test.inc (csqrt_test): Allow more spurious underflow
6350 exceptions.
6351 (j0_test): Likewise.
6352 (j1_test): Likewise.
6353 (y0_test): Likewise.
6354 (y1_test): Likewise.
6355
771766df
CD
63562012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
6357
6358 * po/Makefile (libc.pot): Use UTF-8 charset.
6359
ceb9e56b
PP
63602012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
6361
6362 [BZ #14210]
6363 Suppress sign-conversion warning from FD_SET.
6364 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
6365 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
6366 not unsigned long int.
6367 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
6368
ddb28975
L
63692012-06-12 H.J. Lu <hongjiu.lu@intel.com>
6370
6371 [BZ #14050]
6372 [BZ #14117]
6373 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
6374 __extern_always_inline instead of __extern_inline.
6375 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
6376 (__signbit): Likewise.
6377 (__signbitl): Support C++ namespace.
6378 (lrintf): New inline function.
6379 (lrint): Likewise.
6380 (llrintf): Likewise.
6381 (llrint): Likewise.
6382 (fmaxf): Likewise.
6383 (fmax): Likewise.
6384 (fminf): Likewise.
6385 (fmin): Likewise.
6386 (rint): Likewise.
6387 (rintf): Likewise.
6388 (ceil): Likewise.
6389 (ceilf): Likewise.
6390 (floor): Likewise.
6391 (floorf): Likewise.
6392 (nearbyint): Likewise.
6393 (nearbyintf): Likewise.
6394
d7b4fb26
TS
63952012-06-12 Thomas Schwinge <thomas@codesourcery.com>
6396
6397 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
6398 non-default versions.
6399
eb55f5c2
RM
64002012-06-11 Roland McGrath <roland@hack.frob.com>
6401
6402 [BZ #14218]
6403 * manual/argp.texi (Argp): Reword argp_parse description slightly.
6404
366af02c
TS
64052012-06-09 Thomas Schwinge <thomas@codesourcery.com>
6406
99ff6e5c
TS
6407 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
6408 (FE_UPWARD, FE_DOWNWARD): Don't define.
6409 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
6410 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6411
366af02c
TS
6412 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
6413 reading it.
6414 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6415 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6416
793ea851
KK
64172012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6418
6419 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6420 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
6421 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
6422 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
6423
a728a38f
L
64242012-06-06 H.J. Lu <hongjiu.lu@intel.com>
6425
6426 [BZ #14117]
c08010c7
L
6427 * sysdeps/i386/fpu/bits/fenv.h: Removed.
6428 * sysdeps/i386/fpu/Implies: New file.
6429 * sysdeps/x86_64/fpu/Implies: Likewise.
6430 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
6431 * sysdeps/x86/fpu/bits/fenv.h: This.
6432
a728a38f
L
6433 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
6434 __SSE_MATH__.
6435
6e230d11
SP
64362012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6437
6438 [BZ #14134]
6439 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
6440 character 0xffff that matches the last element of the
6441 conversion table.
6442
1b671feb
AZ
64432012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6444
6445 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
6446 fmodl commit.
6447
6043738b
AZ
64482012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6449
6450 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
6451 values higher than 25.6283.
6452
34ae0b32
AZ
64532012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6454
6455 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
6456 subnormal exponent extraction and add some __builtin_expect.
6457 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
6458 Fix for subnormal mantissa calculation.
6459
1214ec8f
MF
64602012-06-04 Mike Frysinger <vapier@gentoo.org>
6461
6462 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
6463 cpu2 is -1 and errno is not ENOSYS.
6464
f3d1f93c
L
64652012-06-04 H.J. Lu <hongjiu.lu@intel.com>
6466
6467 [BZ #14117]
0e4a3cd7
L
6468 * sysdeps/i386/i486/bits/string.h: Renamed to ...
6469 * sysdeps/x86/bits/string.h: This.
6470 * sysdeps/x86_64/bits/string.h: Removed.
6471
6704c645
L
6472 * sysdeps/i386/i486/bits/string.h: Define inline functions only
6473 if not compiling for x86-64, but compiling for >= i486.
6474
48495318
L
6475 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
6476 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
6477
14adcbfc
L
6478 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
6479 New macro from Linux kernel 3.4.0.
6480 (FP_XSTATE_MAGIC2): Likewise.
6481 (FP_XSTATE_MAGIC2_SIZE): Likewise.
6482 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
6483 (struct _fpx_sw_bytes): New struct.
6484 (struct _xsave_hdr): Likewise.
6485 (struct _ymmh_state): Likewise.
6486 (struct _xstate): Likewise.
6487
68e408ab
L
6488 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
6489 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
6490 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
6491 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
6492 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
6493 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
6494
f3d1f93c
L
6495 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
6496 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
6497 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
6498 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
6499 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
6500 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
6501
d9dc34cd
TMQMF
65022012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6503
6504 [BZ #13743]
6505 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
6506 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
6507 (sysdep_headers): Include sys/platform/ppc.h.
6508 * sysdeps/powerpc/test-gettimebase.c: Test for
6509 __ppc_get_timebase() to catch future ISA opcode/insn changes.
6510 * manual/Makefile (appendices): Include platform.texi.
6511 * manual/contrib.texi (Contributors): Update @node pointers.
6512 * manual/maint.texi (Maintenance): Likewise.
6513 (Platform): New node.
6514 * manual/platform.texi: New file. Document the new features.
6515
4af3879c
SP
65162012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6517 Jakub Jelinek <jakub@redhat.com>
6518
6519 [BZ #14188]
6520 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
6521 where __builtin_expect is unavailable.
6522
2fd6ff13
DM
65232012-06-03 David S. Miller <davem@davemloft.net>
6524
6525 * stdlib/longlong.h: Updated from GCC.
6526
173f7220
AS
65272012-06-02 Andreas Schwab <schwab@linux-m68k.org>
6528
6529 [BZ #14042]
6530 * sysdeps/powerpc/powerpc32/mcount.c: New file.
6531 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
6532 __mcount_internal.
6533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6534 (GLIBC_2.16): Likewise.
6535
f34a1c6f
L
65362012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6537
6538 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
6539
88a4576f
JM
65402012-06-01 Joseph Myers <joseph@codesourcery.com>
6541
ea32bcdd
JM
6542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
6543 (default-abi): New variable.
6544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
6545 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
6546 variable.
6547 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
6548 Likewise.
6549 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
6550 Likewise.
6551 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
6552 Likewise.
6553
88a4576f
JM
6554 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
6555 definition. Document in comment.
6556
402fe938
DM
65572012-06-01 David S. Miller <davem@davemloft.net>
6558
6559 * stdlib/longlong.h: Updated from GCC.
6560
3553723f
L
65612012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6562
6563 [BZ #14117]
3bd872c4
L
6564 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
6565 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
6566 sys/debugreg.h sys/io.h here.
6567 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
6568 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
6569 sys/io.h.
6570 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
6571 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
6572 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
6573 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
6574 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
6575 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
6576
3553723f
L
6577 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
6578 Define only if __x86_64__ is defined.
6579
4842e4fe
JM
65802012-06-01 Joseph Myers <joseph@codesourcery.com>
6581
c5bfe3d5
JM
6582 [BZ #14048]
6583 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
6584 Use int64_t for variable i.
6585 * math/libm-test.inc (fmod_test): Add more tests.
6586
4842e4fe
JM
6587 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
6588 z computation is not scheduled after fetestexcept.
6589 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
6590 Use math_force_eval instead of asm to ensure calculation scheduled
6591 before exception test.
6592 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
6593 Ensure a1 + u.d computation is not scheduled after fetestexcept.
6594
efb73488
AJ
65952012-06-01 Aurelien Jarno <aurelien@aurel32.net>
6596
6597 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
6598 computation is not scheduled after fetestexcept.
6599
29bcce7c
L
66002012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6601
6602 [BZ #14117]
6603 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
6604 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
6605
73a68f94
AZ
66062012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6607
6608 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
6609 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6610
67b6df78
L
66112012-05-31 H.J. Lu <hongjiu.lu@intel.com>
6612
edf2933a 6613 [BZ #14117]
ebc64a18
L
6614 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
6615 <bits/wordsize.h>.
6616 (__WCHAR_MIN): Support __WORDSIZE == 64.
6617 (__WCHAR_MAX): Likewise.
6618
edf2933a
L
6619 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
6620 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
6621
57c6cf40
L
6622 [BZ #14183]
6623 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
6624 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
6625
67b6df78 6626 [BZ #14117]
8eb6281e
L
6627 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
6628 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
6629
aac639f4
L
6630 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
6631 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
6632
67b6df78
L
6633 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
6634 Defined to 1 if __x86_64__ isn't defined.
6635 (_STAT_VER_LINUX_OLD): New.
6636 (st_atime): Remove duplicate.
6637 (st_mtime): Likewise.
6638 (st_ctime): Likewise.
6639
1c2cfe81
DM
66402012-05-31 David S. Miller <davem@davemloft.net>
6641
6642 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
6643 entries.
6644
5be8418c
AS
66452012-06-01 Andreas Schwab <schwab@linux-m68k.org>
6646
e7725326
AS
6647 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
6648 gen-libm-test.pl.
6649
5be8418c
AS
6650 [BZ #14132]
6651 * elf/dl-reloc.c: Include <_itoa.h>.
6652 (_dl_reloc_bad_type): Remove use of INTUSE.
6653 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
6654 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
6655 * stdio-common/psiginfo.c (psiginfo): Likewise.
6656 * stdio-common/psignal.c (psignal): Likewise.
6657 * string/strsignal.c (strsignal): Likewise.
6658 * include/signal.h (_sys_siglist): Declare hidden proto.
6659 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
6660 INTVARDEF with libc_hidden_data_def.
6661 * stdio-common/itoa-udigits.c: Likewise.
6662 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
6663 (_itoa_lower_digits_internal): Remove declaration.
6664 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
6665 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
6666 (_sys_sigabbrev_internal): Remove aliases.
6667 (_sys_siglist): Define hidden alias.
6668
507352f1
MT
66692012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
6670
6671 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6672 bits/sysctl.h.
6673
42bbb1c3
L
66742012-05-31 H.J. Lu <hongjiu.lu@intel.com>
6675
6676 [BZ #14117]
6bd784b6
L
6677 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
6678 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
6679
8bca20f0
L
6680 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
6681 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
6682 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
6683 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
6684 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
6685 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
6686
f9e890a9
L
6687 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
6688 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
6689 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
6690
471101a1
L
6691 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
6692 with __addr.
6693 (insw): Likewise.
6694 (insl): Likewise.
6695 (outsb): Likewise.
6696 (outsw): Likewise.
6697 (outsl): Likewise.
6698
6451c862
L
6699 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
6700 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
6701 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
6702
a254b8c9
L
6703 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
6704 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
6705 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
6706 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
6707 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
6708 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
6709
b8dfdd92
L
6710 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
6711 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
6712
578cd270
L
6713 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
6714 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
6715
de662f5f
L
6716 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
6717 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
6718 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
6719
25653439
L
6720 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
6721 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
6722 to ...
6723 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
6724
6bad24a0
L
6725 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
6726 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
6727 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
6728
42bbb1c3
L
6729 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
6730 for x86-64.
6731 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
6732
2d10d547
JM
67332012-05-31 Joseph Myers <joseph@codesourcery.com>
6734
6735 * math/math.h (M_El): Use two more decimal places.
6736 (M_LOG2El): Likewise.
6737 (M_LOG10El): Likewise.
6738 (M_LN2l): Likewise.
6739 (M_LN10l): Likewise.
6740 (M_PIl): Likewise.
6741 (M_PI_2l): Likewise.
6742 (M_PI_4l): Likewise.
6743 (M_1_PIl): Likewise.
6744 (M_2_PIl): Likewise.
6745 (M_2_SQRTPIl): Likewise.
6746 (M_SQRT2l): Likewise.
6747 (M_SQRT1_2l): Likewise.
6748
f230c29b
DM
67492012-05-31 David S. Miller <davem@davemloft.net>
6750
6751 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
6752 values between float registers.
6753 * sysdeps/sparc/sparc64/memset.S: Likewise.
6754 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6755
fed806c3
MF
67562012-05-31 Mike Frysinger <vapier@gentoo.org>
6757
6758 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
6759 -D_FORTIFY_SOURCE=1.
6760 (CPPFLAGS-tst-longjmp_chk.c): Define.
6761 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
6762 (CPPFLAGS-tst-longjmp_chk2.c): Define.
6763 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
6764 CFLAGS-tst-wchar-h.c.
6765
30917259
MP
67662012-05-31 Marek Polacek <polacek@redhat.com>
6767
6768 [BZ #14132]
6769 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
6770 __endmntent_internal): Remove declaration.
6771 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
6772 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
6773 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
6774
1c58d5dc
DM
67752012-05-30 David S. Miller <davem@davemloft.net>
6776
6777 * sysdeps/sparc/sparc32/soft-fp/q_util.c
6778 (___Q_simulate_exceptions): Use real FP ops rather than writing
6779 into the %fsr.
6780 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
6781 Likewise.
6782
7dc00e0d
L
67832012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6784
6785 [BZ #14117]
0bd53985
L
6786 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
6787 * sysdeps/x86/bits/xtitypes.h: This.
6788
3a257e66
L
6789 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
6790 * sysdeps/x86/bits/wordsize.h: This.
6791
62f62904
L
6792 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
6793 * sysdeps/x86/bits/huge_vall.h: This.
6794
404fe9d9
L
6795 * sysdeps/i386/bits/select.h: Removed.
6796 * sysdeps/x86_64/bits/select.h: Renamed to ...
6797 * sysdeps/x86/bits/select.h: This.
6798
d48d0446
L
6799 * sysdeps/i386/bits/setjmp.h: Removed.
6800 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
6801 * sysdeps/x86/bits/setjmp.h: This.
6802
7dc00e0d
L
6803 * sysdeps/i386/bits/mathdef.h: Removed.
6804 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
6805 * sysdeps/x86/bits/mathdef.h: This.
6806
03277f8f
AS
68072012-05-30 Andreas Schwab <schwab@linux-m68k.org>
6808
6809 [BZ #14132]
6810 * include/sys/socket.h (__connect_internal)
6811 (__libc_sa_len_internal): Remove declaration.
6812 (__connect, __libc_sa_len): Declare hidden_proto.
6813 (SA_LEN): Remove use of INTUSE.
6814 * socket/connect.c: Add libc_hidden_def.
6815 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
6816 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
6817 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
6818 alias.
6819 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
6820 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6821 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
6822 of adding _internal alias.
6823
13764867
L
68242012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6825
6826 [BZ #14117]
6bd97696
L
6827 * sysdeps/i386/bits/link.h: Removed.
6828 * sysdeps/i386/bits/linkmap.h: Likewise.
6829 * sysdeps/x86_64/bits/link.h: Renamed to ...
6830 * sysdeps/x86/bits/link.h: This.
6831 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
6832 * sysdeps/x86/bits/linkmap.h: This.
6833
f726f0bb
L
6834 * sysdeps/i386/bits/endian.h: Removed.
6835 * sysdeps/x86_64/bits/endian.h: Renamed to ...
6836 * sysdeps/x86/bits/endian.h: This.
6837
13764867
L
6838 * sysdeps/i386/bits/byteswap.h: Removed.
6839 * sysdeps/i386/bits/byteswap-16.h: Likewise.
6840 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
6841 * sysdeps/x86/bits/byteswap.h: This.
6842 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
6843 * sysdeps/x86/bits/byteswap-16.h: This.
6844 * sysdeps/i386/Implies: Add x86.
6845 * sysdeps/x86_64/Implies: Likewise.
6846
ae251b0b
DM
68472012-05-30 David S. Miller <davem@davemloft.net>
6848
6849 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
6850 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
6851 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
6852 (FP_TRAPPING_EXCEPTIONS): Define.
6853 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
6854 (FP_TRAPPING_EXCEPTIONS): Define.
6855 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
6856 subnormals only when inexact has been signalled or underflow
6857 exceptions are enabled.
6858 (_FP_PACK_CANONICAL): Likewise.
6859
d5c90867
L
68602012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6861
6862 [BZ #14183]
6863 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
6864 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
6865
63f1549e
RH
68662012-05-30 Richard Henderson <rth@twiddle.net>
6867
8d8f2279
RH
6868 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
6869 with #ifndef NOT_IN_libc.
6870
63f1549e
RH
6871 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
6872 marked to avoid plt entry.
6873
0ab0291b
L
68742012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6875
6876 [BZ #14112]
6877 * Makeconfig (default-abi): New macro.
6878 (abi-includes): Likewise.
6879 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
6880 $(abi-$(default-abi)-lib-soname) for soname if defined.
6881 ($(common-objpfx)gnu/lib-names.stmp): Generate from
6882 abi-variants.
6883 * Makefile (installed-stubs): Likewise.
6884 * include/stubs-biarch.h: Removed.
6885 * scripts/lib-names.awk: Only handle one library at a time.
6886 * scripts/soversions.awk: Remove WORDSIZE support.
6887 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
6888 entries.
6889 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
6890 Removed.
6891 (syscall-list-default-condition): Likewise.
6892 (syscall-list-default-condition): Likewise.
6893 (syscall-list-includes): Likewise.
6894 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
6895 syscall-list-* with abi-*. Handle undefined abi-variants.
6896 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
6897 * sysdeps/unix/sysv/linux/i386/Implies: New file.
6898 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
6899 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
6900 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
6901 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
6902 Removed.
6903 (syscall-list-32-options): Likewise.
6904 (syscall-list-32-condition): Likewise.
6905 (syscall-list-64-options): Likewise.
6906 (syscall-list-64-condition): Likewise.
6907 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
6908 macro.
6909 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
6910 Renamed to ...
6911 (abi-*): This.
6912 (abi-64-ld-soname): New macro.
6913 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
6914 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
6915 Renamed to ...
6916 (abi-*): This.
6917 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
6918 * sysdeps/x86_64/x32/shlib-versions: Likewise.
6919
4da0431d
JM
69202012-05-30 Joseph Myers <joseph@codesourcery.com>
6921
3a85279c
JM
6922 * sysdeps/unix/sysv/linux/kernel-features.h
6923 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
6924 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
6925 include <kernel-features.h>.
6926 [!__NR_ftruncate64]: Remove conditional code.
6927 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6928 [__NR_ftruncate64]: Make code unconditional.
6929 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6930 * sysdeps/unix/sysv/linux/truncate64.c: Do not
6931 include <kernel-features.h>.
6932 [!__NR_ftruncate64]: Remove conditional code.
6933 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6934 [__NR_ftruncate64]: Make code unconditional.
6935 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
6937 include <kernel-features.h>.
6938 [!__NR_ftruncate64]: Remove conditional code.
6939 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6940 [__NR_ftruncate64]: Make code unconditional.
6941 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
6943 include <kernel-features.h>.
6944 [!__NR_ftruncate64]: Remove conditional code.
6945 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6946 [__NR_ftruncate64]: Make code unconditional.
6947 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6948
4da0431d
JM
6949 * configure.in (libc_cv_fpie): Weaken to a compile test using
6950 LIBC_TRY_CC_OPTION.
6951 * configure: Regenerated.
6952
11ef492c
AK
69532012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6954
6955 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
6956 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
6957 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
6958 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6959 Refreshed.
6960 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
6961 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
6962 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
6963 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
6964 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
6965 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6966 Refreshed.
6967
d66ef399
DM
69682012-05-27 David S. Miller <davem@davemloft.net>
6969
6970 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
6971 (___Q_zero): New.
6972 (__Q_simulate_exceptions): Return void. Change to simulate
6973 exceptions by writing into the %fsr.
6974 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
6975 (__Qp_handle_exceptions): Likewise.
6976 (numbers): Delete.
6977 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
6978 __Qp_handle_exceptions.
6979 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
6980 __Qp_handle_exceptions.
6981 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
6982 as unused and give dummy FP_RND_NEAREST initializer.
6983 (FP_INHIBIT_RESULTS): Define.
6984 (___Q_simulate_exceptions): Update declaration.
6985 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
6986 formatting.
6987 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
6988 as unused and give dummy FP_RND_NEAREST initializer.
6989 (__Qp_handle_exceptions): Update declaration.
6990 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
6991 formatting.
6992
04fb54b5
TS
69932012-05-27 Thomas Schwinge <thomas@codesourcery.com>
6994
6995 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
6996 the temporary FPU control word.
6997 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6998 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
6999 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7000 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7001 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7002 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7003 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7004 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7005 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7006 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
7007 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7008
3f99608f
KK
70092012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7010
7011 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
7012 fields.
7013
65a4de4e
CLT
70142012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
7015
7016 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
7017 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
7018 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
7019 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
7020 Likewise.
7021 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
7022 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
7023 Likewise.
7024
15749d40
UD
70252012-05-27 Ulrich Drepper <drepper@gmail.com>
7026
7027 * po/h.po: Update from translation team.
7028
25dbcb27
AS
70292012-05-26 Andreas Schwab <schwab@linux-m68k.org>
7030
3d3f8e55
AS
7031 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
7032
25dbcb27
AS
7033 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
7034 handling of denormals.
7035 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7036 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7037 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7038 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7039 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7040 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
7041 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
7042 Likewise.
7043
7ad47a80 70442012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
7045
7046 [BZ #14152]
7047 * math/libm-test.inc (fma_test): Don't always expect underflow
7048 exception.
7049
9c6ea9fa
SP
70502012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7051
7052 [BZ #12416]
7053 * elf/tst-execstack.c: Include stackinfo.h.
7054 (do_test): Adjust test case to ensure that pthread_getattr_np
7055 behaviour remains the same after marking stack executable.
7056
a8239222
JM
70572012-05-25 Joseph Myers <joseph@codesourcery.com>
7058
7059 * sysdeps/unix/sysv/linux/kernel-features.h
7060 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
7061 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
7062 kernel-features.h.
7063 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7064 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7065 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
7066 kernel-features.h.
7067 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7068 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7069
918b5606
L
70702012-05-25 H.J. Lu <hongjiu.lu@intel.com>
7071
7072 * configure.in: Define the default includes to being none.
7073 * configure: Regenerated.
7074
3a097cc7
RM
70752012-05-25 Roland McGrath <roland@hack.frob.com>
7076
8422c9a5
RM
7077 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
7078 * sysdeps/x86_64/setjmp.S: Likewise.
7079 * sysdeps/i386/bsd-setjmp.S: Likewise.
7080 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7081 * sysdeps/i386/setjmp.S: Likewise.
7082 * sysdeps/i386/__longjmp.S: Likewise.
7083 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7084 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
7085
3a097cc7
RM
7086 * include/stap-probe.h: New file.
7087 * configure.in: Handle --enable-systemtap.
7088 * configure: Regenerated.
7089 * config.h.in (USE_STAP_PROBE): New #undef.
7090 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
7091 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
7092 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7093
21708942
JM
70942012-05-25 Joseph Myers <joseph@codesourcery.com>
7095
7096 [BZ #13717]
7097 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
7098 to 2.4.0 where earlier.
7099 * sysdeps/unix/sysv/linux/configure: Regenerated.
7100 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7101 <kernel-features.h>.
7102 [__ASSUME_32BITUIDS]: Make code unconditional.
7103 [!__ASSUME_32BITUIDS]: Remove conditional code.
7104 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
7105 <kernel-features.h>.
7106 [__ASSUME_32BITUIDS]: Make code unconditional.
7107 [!__ASSUME_32BITUIDS]: Remove conditional code.
7108 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
7109 [__ASSUME_32BITUIDS]: Make code unconditional.
7110 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
7111 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
7112 <kernel-features.h>.
7113 [__ASSUME_32BITUIDS]: Make code unconditional.
7114 [!__ASSUME_32BITUIDS]: Remove conditional code.
7115 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
7116 <kernel-features.h>.
7117 [__ASSUME_32BITUIDS]: Make code unconditional.
7118 [!__ASSUME_32BITUIDS]: Remove conditional code.
7119 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
7120 <kernel-features.h>.
7121 [__ASSUME_32BITUIDS]: Make code unconditional.
7122 [!__ASSUME_32BITUIDS]: Remove conditional code.
7123 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
7124 <kernel-features.h>.
7125 [__ASSUME_32BITUIDS]: Make code unconditional.
7126 [!__ASSUME_32BITUIDS]: Remove conditional code.
7127 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7128 <kernel-features.h>.
7129 [__ASSUME_32BITUIDS]: Make code unconditional.
7130 [!__ASSUME_32BITUIDS]: Remove conditional code.
7131 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7132 <kernel-features.h>.
7133 [__ASSUME_32BITUIDS]: Make code unconditional.
7134 [!__ASSUME_32BITUIDS]: Remove conditional code.
7135 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
7136 <kernel-features.h>.
7137 [__ASSUME_32BITUIDS]: Make code unconditional.
7138 [!__ASSUME_32BITUIDS]: Remove conditional code.
7139 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7140 <kernel-features.h>.
7141 [__ASSUME_32BITUIDS]: Make code unconditional.
7142 [!__ASSUME_32BITUIDS]: Remove conditional code.
7143 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7144 <kernel-features.h>.
7145 [__ASSUME_32BITUIDS]: Make code unconditional.
7146 [!__ASSUME_32BITUIDS]: Remove conditional code.
7147 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
7148 <kernel-features.h>.
7149 [__ASSUME_32BITUIDS]: Make code unconditional.
7150 [!__ASSUME_32BITUIDS]: Remove conditional code.
7151 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
7152 <kernel-features.h>.
7153 [__NR_setresgid] (__setresgid): Do not declare.
7154 [__ASSUME_32BITUIDS]: Make code unconditional.
7155 [!__ASSUME_32BITUIDS]: Remove conditional code.
7156 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
7157 <kernel-features.h>.
7158 [__NR_setresuid] (__setresuid): Do not declare.
7159 [__ASSUME_32BITUIDS]: Make code unconditional.
7160 [!__ASSUME_32BITUIDS]: Remove conditional code.
7161 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.c: Do not include
7166 <kernel-features.h>.
7167 [__ASSUME_32BITUIDS]: Make code unconditional.
7168 [!__ASSUME_32BITUIDS]: Remove conditional code.
7169 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
7170 <kernel-features.h>.
7171 [__ASSUME_32BITUIDS]: Make code unconditional.
7172 [!__ASSUME_32BITUIDS]: Remove conditional code.
7173 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
7174 <kernel-features.h>.
7175 [__ASSUME_32BITUIDS]: Make code unconditional.
7176 [!__ASSUME_32BITUIDS]: Remove conditional code.
7177 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
7178 <kernel-features.h>.
7179 [__ASSUME_32BITUIDS]: Make code unconditional.
7180 [!__ASSUME_32BITUIDS]: Remove conditional code.
7181 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
7182 <kernel-features.h>.
7183 [__ASSUME_32BITUIDS]: Make code unconditional.
7184 [!__ASSUME_32BITUIDS]: Remove conditional code.
7185 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
7186 <kernel-features.h>.
7187 [__ASSUME_32BITUIDS]: Make code unconditional.
7188 [!__ASSUME_32BITUIDS]: Remove conditional code.
7189 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
7190 <kernel-features.h>.
7191 [__ASSUME_32BITUIDS]: Make code unconditional.
7192 [!__ASSUME_32BITUIDS]: Remove conditional code.
7193 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
7194 <kernel-features.h>.
7195 [__ASSUME_32BITUIDS]: Make code unconditional.
7196 [!__ASSUME_32BITUIDS]: Remove conditional code.
7197 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7198 <kernel-features.h>.
7199 [__ASSUME_32BITUIDS]: Make code unconditional.
7200 [!__ASSUME_32BITUIDS]: Remove conditional code.
7201 * sysdeps/unix/sysv/linux/kernel-features.h
7202 (__ASSUME_SETRESUID_SYSCALL): Remove.
7203 (__ASSUME_SETRESGID_SYSCALL): Likewise.
7204 (__ASSUME_32BITUIDS): Likewise.
7205 (__ASSUME_LDT_WORKS): Likewise.
7206 (__ASSUME_O_DIRECTORY): Likewise.
7207 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
7208 architecture but not kernel version.
7209 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7210 (__ASSUME_MMAP2_SYSCALL): Likewise.
7211 (__ASSUME_STAT64_SYSCALL): Likewise.
7212 (__ASSUME_IPC64): Likewise.
7213 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
7214 <kernel-features.h>.
7215 [__ASSUME_32BITUIDS]: Make code unconditional.
7216 [!__ASSUME_32BITUIDS]: Remove conditional code.
7217 * sysdeps/unix/sysv/linux/opendir.c: Do not include
7218 <kernel-features.h>.
7219 [__ASSUME_O_DIRECTORY]: Make code unconditional.
7220 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
7221 132096]: Remove conditional code.
7222 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
7223 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7224 <kernel-features.h>.
7225 [__ASSUME_32BITUIDS]: Make code unconditional.
7226 [!__ASSUME_32BITUIDS]: Remove conditional code.
7227 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7228 <kernel-features.h>.
7229 [__ASSUME_32BITUIDS]: Make code unconditional.
7230 [!__ASSUME_32BITUIDS]: Remove conditional code.
7231 * sysdeps/unix/sysv/linux/setegid.c: Do not include
7232 <kernel-features.h>.
7233 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
7234 unconditional.
7235 (__setresgid): Do not declare.
7236 [__ASSUME_32BITUIDS]: Make code unconditional.
7237 [!__ASSUME_32BITUIDS]: Remove conditional code.
7238 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
7239 <kernel-features.h>.
7240 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
7241 unconditional.
7242 (__setresuid): Do not declare.
7243 [__ASSUME_32BITUIDS]: Make code unconditional.
7244 [!__ASSUME_32BITUIDS]: Remove conditional code.
7245 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7246 <kernel-features.h>.
7247 [__ASSUME_32BITUIDS]: Make code unconditional.
7248 [!__ASSUME_32BITUIDS]: Remove conditional code.
7249 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
7250 <kernel-features.h>.
7251 [__ASSUME_32BITUIDS]: Make code unconditional.
7252 [!__ASSUME_32BITUIDS]: Remove conditional code.
7253
a386f1cc
RH
72542012-05-25 Richard Henderson <rth@twiddle.net>
7255
7256 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
7257 dl_hwcap to ifunc resolver.
7258 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
7259 elf_ifunc_invoke.
7260 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
7261 dl_hwcap to ifunc resolver.
7262 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
7263
b6550497
JM
72642012-05-24 Joseph Myers <joseph@codesourcery.com>
7265
7266 [BZ #14153]
7267 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
7268 for |x| <= 2**-26, not 2**-57.
7269 * math/libm-test.inc (acos_test): Do not allow spurious underflow
7270 exception.
7271
b0bc23a1
JL
72722012-05-24 Jeff Law <law@redhat.com>
7273
7274 * stdio-common/Makefile (tests): Add bug25.
7275 * stdio-common/bug25.c: New test.
7276
347c92e9
L
72772012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7278
7279 [BZ #13576]
7280 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
7281 multiple of MALLOC_ALIGNMENT in size.
7282 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
7283
6bcc8b3f
JM
72842012-05-24 Joseph Myers <joseph@codesourcery.com>
7285
7286 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
7287 Require >= 256.
7288 (FILENAME_MAX): Use macro-int-constant.
7289 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
7290 (_IOFBF): Use macro-int-constant.
7291 (_IOLBF): Likewise.
7292 (_IONBF): Likewise.
7293 (SEEK_CUR): Likewise.
7294 (SEEK_END): Likewise.
7295 (SEEK_SET): Likewise.
7296 (TMP_MAX): Likewise.
7297 (EOF): Use macro-int-constant. Require < 0.
7298 (NULL): Use macro-constant. Require == 0.
7299 (stdin): Require type to be FILE *.
7300 (stdout): Likewise.
7301 (stderr): Likewise.
7302 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
7303 macro-int-constant.
7304 (EXIT_SUCCESS): Likewise.
7305 (NULL): Use macro-constant. Require == 0.
7306 (RAND_MAX): Use macro-int-constant.
7307 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
7308 [C99-based standards] (strtof): Require function.
7309 [C99-based standards] (strtold): Likewise.
7310 [C99-based standards] (strtoll): Likewise.
7311 [C99-based standards] (strtoull): Likewise.
7312 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7313 [ISO || ISO99 || ISO11] (limits.h): Likewise.
7314 [ISO || ISO99 || ISO11] (math.h): Likewise.
7315 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
7316 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7317 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7318
d18ea0c5
AS
73192012-05-24 Andreas Schwab <schwab@linux-m68k.org>
7320
7321 [BZ #14132]
56d25bb8
AS
7322 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
7323 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
7324 * intl/dgettext.c (DCGETTEXT): Likewise.
7325 * intl/gettext.c (DCGETTEXT): Likewise.
7326 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
7327 * posix/regex_internal.h (gettext): Likewise.
7328 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
7329 Remove declaration.
7330 * include/argz.h (__argz_count_internal)
7331 (__argz_stringify_internal): Remove declaration.
7332 (__argz_count, __argz_stringify): Declare hidden proto.
7333 * intl/dcgettext.c: Remove use of INTDEF.
7334 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
7335 * string/argz-stringify.c: Likewise.
7336 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7337 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7338 Declare hidden proto.
d18ea0c5
AS
7339 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7340 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7341 Declare hidden proto.
7342 * include/stdio.h (__asprintf_internal): Don't declare.
7343 (__asprintf): Don't define as macro. Declare hidden proto.
7344 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
7345 (__fsetlocking): Declare hidden proto.
7346 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
7347 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
7348 hidden proto.
7349 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
7350 (_IO_setlinebuf): Remove use of INTUSE.
7351 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
7352 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
7353 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
7354 Remove declaration.
7355 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
7356 (_IO_do_flush): Remove use of INTUSE.
7357 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
7358 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
7359 (_IO_adjust_column, _IO_least_wmarker)
7360 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
7361 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
7362 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
7363 (_IO_default_doallocate, _IO_wdefault_doallocate)
7364 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
7365 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
7366 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
7367 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
7368 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
7369 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
7370 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
7371 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
7372 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
7373 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
7374 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
7375 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
7376 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
7377 proto.
7378 (_IO_flush_all_internal, _IO_adjust_column_internal)
7379 (_IO_default_uflow_internal, _IO_default_finish_internal)
7380 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
7381 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
7382 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
7383 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
7384 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
7385 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
7386 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
7387 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
7388 (_IO_file_close_internal, _IO_file_close_it_internal)
7389 (_IO_file_underflow_internal, _IO_file_overflow_internal)
7390 (_IO_file_init_internal, _IO_file_attach_internal)
7391 (_IO_file_fopen_internal, _IO_file_read_internal)
7392 (_IO_file_sync_internal, _IO_file_seek_internal)
7393 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
7394 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
7395 (_IO_str_underflow_internal, _IO_str_overflow_internal)
7396 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
7397 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
7398 (_IO_list_all_internal, _IO_link_in_internal)
7399 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
7400 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
7401 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
7402 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
7403 (_IO_do_write_internal, _IO_padn_internal)
7404 (_IO_getline_info_internal, _IO_getline_internal)
7405 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
7406 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
7407 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
7408 (_IO_vfscanf_internal, _IO_vfprintf_internal)
7409 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
7410 (_IO_init_internal, _IO_un_link_internal): Don't declare.
7411 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
7412 with libc_hidden_ver, remove use of INTUSE.
7413 * libio/genops.c: Likewise.
7414 * libio/freopen.c: Likewise.
7415 * libio/freopen64.c: Likewise.
7416 * libio/iofclose.c: Likewise.
7417 * libio/iofdopen.c: Likewise.
7418 * libio/iofflush.c: Likewise.
7419 * libio/iofflush_u.c: Likewise.
7420 * libio/iofgets.c: Likewise.
7421 * libio/iofgets_u.c: Likewise.
7422 * libio/iofopen.c: Likewise.
7423 * libio/iofopncook.c: Likewise.
7424 * libio/iofread.c: Likewise.
7425 * libio/iofread_u.c: Likewise.
7426 * libio/ioftell.c: Likewise.
7427 * libio/iofwrite.c: Likewise.
7428 * libio/iogetline.c: Likewise.
7429 * libio/iogets.c: Likewise.
7430 * libio/iogetwline.c: Likewise.
7431 * libio/iopadn.c: Likewise.
7432 * libio/iopopen.c: Likewise.
7433 * libio/ioseekoff.c: Likewise.
7434 * libio/ioseekpos.c: Likewise.
7435 * libio/iosetbuffer.c: Likewise.
7436 * libio/iosetvbuf.c: Likewise.
7437 * libio/ioungetc.c: Likewise.
7438 * libio/ioungetwc.c: Likewise.
7439 * libio/iovdprintf.c: Likewise.
7440 * libio/iovsprintf.c: Likewise.
7441 * libio/iovsscanf.c: Likewise.
7442 * libio/memstream.c: Likewise.
7443 * libio/obprintf.c: Likewise.
7444 * libio/oldfileops.c: Likewise.
7445 * libio/oldiofclose.c: Likewise.
7446 * libio/oldiofdopen.c: Likewise.
7447 * libio/oldiofopen.c: Likewise.
7448 * libio/oldiopopen.c: Likewise.
7449 * libio/oldstdfiles.c: Likewise.
7450 * libio/putc.c: Likewise.
7451 * libio/setbuf.c: Likewise.
7452 * libio/setlinebuf.c: Likewise.
7453 * libio/stdfiles.c: Likewise.
7454 * libio/strops.c: Likewise.
7455 * libio/vasprintf.c: Likewise.
7456 * libio/vscanf.c: Likewise.
7457 * libio/vsnprintf.c: Likewise.
7458 * libio/vswprintf.c: Likewise.
7459 * libio/wfiledoalloc.c: Likewise.
7460 * libio/wfileops.c: Likewise.
7461 * libio/wgenops.c: Likewise.
7462 * libio/wmemstream.c: Likewise.
7463 * libio/wstrops.c: Likewise.
7464 * libio/__fpurge.c: Likewise.
7465 * libio/__fsetlocking.c: Likewise.
7466 * assert/assert.c: Likewise.
7467 * debug/fgets_chk.c: Likewise.
7468 * debug/fgets_u_chk.c: Likewise.
7469 * debug/fread_chk.c: Likewise.
7470 * debug/fread_u_chk.c: Likewise.
7471 * debug/gets_chk.c: Likewise.
7472 * debug/obprintf_chk.c: Likewise.
7473 * debug/vasprintf_chk.c: Likewise.
7474 * debug/vdprintf_chk.c: Likewise.
7475 * debug/vsnprintf_chk.c: Likewise.
7476 * debug/vsprintf_chk.c: Likewise.
7477 * malloc/mtrace.c: Likewise.
7478 * misc/error.c: Likewise.
7479 * misc/syslog.c: Likewise.
7480 * stdio-common/asprintf.c: Likewise.
7481 * stdio-common/fxprintf.c: Likewise.
7482 * stdio-common/getw.c: Likewise.
7483 * stdio-common/isoc99_fscanf.c: Likewise.
7484 * stdio-common/isoc99_scanf.c: Likewise.
7485 * stdio-common/isoc99_vfscanf.c: Likewise.
7486 * stdio-common/isoc99_vscanf.c: Likewise.
7487 * stdio-common/isoc99_vsscanf.c: Likewise.
7488 * stdio-common/printf-prs.c: Likewise.
7489 * stdio-common/printf_fp.c: Likewise.
7490 * stdio-common/printf_fphex.c: Likewise.
7491 * stdio-common/printf_size.c: Likewise.
7492 * stdio-common/putw.c: Likewise.
7493 * stdio-common/scanf.c: Likewise.
7494 * stdio-common/sprintf.c: Likewise.
7495 * stdio-common/tmpfile.c: Likewise.
7496 * stdio-common/vfprintf.c: Likewise.
7497 * stdio-common/vfscanf.c: Likewise.
7498 * stdlib/strfmon_l.c: Likewise.
7499 * sunrpc/openchild.c: Likewise.
7500 * sunrpc/xdr_stdio.c: Likewise.
7501 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
7502 * sysdeps/mach/hurd/tmpfile.c: Likewise.
7503
d6c33fda
RM
75042012-05-24 Roland McGrath <roland@hack.frob.com>
7505
c1487492
RM
7506 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7507
7508 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
7509 in the third column, to generate for the shared library an IFUNC
7510 that uses _dl_vdso_vsym.
7511 * Makerules (COMPILE.c, compile-stdin.c): New variables.
7512 * Makeconfig (object-suffixes-noshared): New variable.
7513
7514 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
7515 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
7516 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
7517 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
7518
d6c33fda
RM
7519 [BZ #14132]
7520 * include/sys/time.h (__gettimeofday): Remove macro.
7521 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
7522 * time/gettimeofday.c (__gettimeofday): Remove #undef.
7523 Remove INTDEF.
7524 (__gettimeofday): Add libc_hidden_def.
7525 (gettimeofday): Add libc_hidden_weak.
7526 * sysdeps/mach/gettimeofday.c: Likewise.
7527 * sysdeps/posix/gettimeofday.c: Likewise.
7528 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
7529 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
7530 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
7531 (__gettimeofday_internal): Remove strong_alias.
7532 (__gettimeofday): Add libc_hidden_def.
7533 (gettimeofday): Add libc_hidden_weak.
7534 * sysdeps/unix/syscalls.list (gettimeofday):
7535 Remove __gettimeofday_internal alias.
7536
b5a2bbe6
L
75372012-05-24 Daniel Jacobowitz <drow@false.org>
7538 H.J. Lu <hongjiu.lu@intel.com>
7539
7540 [BZ #12495]
7541 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
7542 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
7543 (largebin_index_32_big): New.
7544 (largebin_index): Use it for 16-byte alignment.
7545 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
7546 correction with front_misalign.
7547
cfba4fda
L
75482012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7549
7f907421
L
7550 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
7551 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7552 Likewise.
7553 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
7554 Likewise.
7555 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7556 Likewise.
7557 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
7558 Likewise.
7559 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
7560 Likewise.
7561 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
7562 Likewise.
7563 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
7564 Likewise.
7565 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7566 Likewise.
7567 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
7568 Likewise.
7569 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
7570 Likewise.
7571 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7572 Likewise.
7573 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
7574 Likewise.
7575
cfba4fda
L
7576 * scripts/data/c++-types-x32-linux-gnu.data: New file.
7577 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
7578
80bad0cc
JM
75792012-05-24 Joseph Myers <joseph@codesourcery.com>
7580
7a25eb06
JM
7581 [BZ #10846]
7582 [BZ #14036]
7583 * math/libm-test.inc (exp_test): Add test from bug 14036.
7584 (pow_test): Add test from bug 10846.
7585
795405f9
JM
7586 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
7587 and other flags.
7588 (special_function): Do not include flags in test name.
7589 (parse_args): Likewise.
7590 * sysdeps/i386/fpu/libm-test-ulps: Update.
7591 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7592 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7593 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7595
80bad0cc
JM
7596 * math/gen-libm-test.pl (%beautify): Add entries for underflow
7597 exceptions.
7598 * math/libm-test.inc ("Philosophy"): Update comment about
7599 exception testing.
7600 (UNDERFLOW_EXCEPTION): New macro.
7601 (UNDERFLOW_EXCEPTION_OK): Likewise.
7602 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
7603 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
7604 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
7605 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
7606 (INVALID_EXCEPTION_OK): Update value.
7607 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7608 (OVERFLOW_EXCEPTION_OK): Likewise.
7609 (IGNORE_ZERO_INF_SIGN): Likewise.
7610 (test_exceptions): Handle underflow exceptions.
7611 (acos_test): Update for underflow exception expectations.
7612 (cexp_test): Likewise.
7613 (clog_test): Likewise.
7614 (clog10_test): Likewise.
7615 (csqrt_test): Likewise.
7616 (ctan_test): Likewise.
7617 (ctanh_test): Likewise.
7618 (exp_test): Likewise.
7619 (exp10_test): Likewise.
7620 (exp2_test): Likewise.
7621 (expm1_test): Likewise.
7622 (fma_test): Likewise.
7623 (j0_test): Likewise.
7624 (jn_test): Likewise.
7625 (nexttoward_test): Likewise.
7626 (pow_test): Likewise.
7627 (scalbn_test): Likewise.
7628 (scalbln_test): Likewise.
7629 (tan_test): Likewise.
7630 (y1_test): Likewise.
7631 * sysdeps/i386/fpu/libm-test-ulps: Update.
7632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7633
9e0e3d0b
DM
76342012-05-23 David S. Miller <davem@davemloft.net>
7635
7636 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
7637 (__libc_sigaction): Remove unused local variables.
7638
ccd0a08f
L
76392012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7640
7641 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
7642
62bdf9a6
PE
76432012-05-23 Paul Eggert <eggert@cs.ucla.edu>
7644
f8591f80
PE
7645 mktime: avoid signed integer overflow
7646 * time/mktime.c (__mktime_internal): Do not mishandle the case
7647 where diff == INT_MIN.
7648
94c7d826
PE
7649 mktime: simplify computation of average
7650 * time/mktime.c (ranged_convert): Use new time_t_avg function
7651 instead of rolling our own (probably-slower) code.
7652
ce73d683
PE
7653 mktime: do not assume signed right shift propagates sign bit
7654 * time/mktime.c (isdst_differ): New static function.
7655 (__mktime_internal): No need to normalize tm_isdst now.
7656 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
7657 tm_isdst values.
7658
72a22e59
PE
7659 mktime: merge another wrapv change from gnulib
7660 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
7661 from some compilers.
7662
68605433
PE
7663 mktime: remove incorrect attempt at unusual arithmetics
7664 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
7665 The code didn't really work on such machines anyway.
7666 (TYPE_MINIMUM): Assume two's complement.
7667 (twos_complement_arithmetic): Verify that long_int and time_t
7668 are two's complement (or unsigned, in the latter case).
7669
03cf7fe3
PE
7670 mktime: check signed shifts on long_int and time_t, too
7671 * time/mktime.c (SHR): Check that shifts work as desired
7672 on the types long_int and time_t too, as SHR is used on
7673 such types.
7674
f04dfbc2
PE
7675 mktime: do not assume 'long' is wide enough
7676 * time/mktime.c (verify): Move decl up.
7677 (long_int): New type.
7678 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
7679 to remove assumption in the code that 'long' is wide enough to
7680 store year values. This assumption is not true on x32 and on
7681 some non-glibc platforms.
7682
62bdf9a6
PE
7683 mktime: merge wrapv change from gnulib
7684 * time/mktime.c (WRAPV): New macro.
7685 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
7686 (guess_time_tm, __mktime_internal): Do not assume that signed
7687 integer overflow wraps around; modern compilers generate code
7688 where this assumption is no longer valid.
7689
5e292e4f
L
76902012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7691
7692 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7693 Replace "jmp L(pseudo_end)" with "ret".
7694 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
7695 Likewise.
7696
8caf8c87
AJ
76972012-05-23 Andreas Jaeger <aj@suse.de>
7698
7699 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
7700 * sysdeps/unix/sysv/linux/poll.c: Remove file.
7701
1a09dc56
AJ
77022012-05-23 Andreas Jaeger <aj@suse.de>
7703 Maximilian Attems <max@stro.at>
7704
7705 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
7706 New macros.
7707
1c87aba0
L
77082012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7709
7710 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
7711 code so that pseudo_end is just ret and the stack pointer is
7712 correct also for static library in error case.
7713
40e45bd5
JM
77142012-05-23 Joseph Myers <joseph@codesourcery.com>
7715
c2670533
JM
7716 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
7717 move to syscalls.list.
7718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
7719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7722
40e45bd5
JM
7723 * manual/install.texi (Running make install): Do not mention Linux
7724 kernel version for which pt_chown is not needed.
7725 (Linux): Do not mention problems with nscd with 2.0 kernels.
7726 * INSTALL: Regenerated.
7727
be08eda5
AJ
77282012-05-23 Andreas Jaeger <aj@suse.de>
7729
7730 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
7731 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
7732 macro.
7733 * sysdeps/unix/sysv/linux/s390/bits/mman.h
7734 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7735 * sysdeps/unix/sysv/linux/sh/bits/mman.h
7736 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7737 * sysdeps/unix/sysv/linux/i386/bits/mman.h
7738 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7739 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
7740 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7741 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
7742 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7743 * sysdeps/unix/sysv/linux/bits/in.h
7744 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
7745
a6a056bb
RM
77462012-05-22 Roland McGrath <roland@hack.frob.com>
7747
7748 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
7749 (PREPARE_VERSION): Just use assert instead, it will be elided
7750 under [NDEBUG] anyway.
7751
c9009328
L
77522012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7753
7754 * sysdeps/unix/sysv/linux/Makefile: Include
7755 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 7756 (sysdep_routines): Remove sysctl.
c9009328
L
7757 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
7758 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
7759 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
7760 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
7761 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
7762
73338355
AJ
77632012-05-22 Andreas Jaeger <aj@suse.de>
7764
7765 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
7766 that pseudo_end is just ret and the stack pointer is correct also
7767 for static library in error case.
7768
d44638b0
PP
77692012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
7770
7771 [BZ #14122]
7772 * nss/nsswitch.c (defconfig_entries): New variable.
7773 (__nss_database_lookup): Don't leak defconfig entries.
7774 (nss_parse_service_list): Don't leak on error paths.
7775 (free_database_entries): New function.
7776 (free_defconfig): New function.
7777 (free_mem): Move common code to free_database_entries.
7778
31a39bd8
L
77792012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7780
da0331a8
L
7781 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
7782 Add arch_prctl.
7783 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
7784
31a39bd8
L
7785 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7786 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
7787 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
7788 New macro.
7789 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
7790 (INTERNAL_SYSCALL_TYPES): Likewise.
7791 (LOAD_ARGS_TYPES_[1-6]): Likewise.
7792 (LOAD_REGS_TYPES_[1-6]): Likewise.
7793 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
7794 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
7795
45470df3
AZ
77962012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7797
7798 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
7799 copysignl for GLIBC_2_0.
7800 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
7801 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
7802 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
7803 logbl for GLIBC_2_0.
7804 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
7805 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
7806
98a61bcb
L
78072012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7808
a4f6e481
L
7809 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
7810 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7811
f63d5db6
L
7812 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7813 Use "neg %eax".
7814
98a61bcb
L
7815 * time/mktime.c: Update copyright years.
7816
95770f14
PE
78172012-05-22 Paul Eggert <eggert@cs.ucla.edu>
7818
6226efbd
PE
7819 mktime: merge comment-quoting-style change from gnulib
7820 * time/mktime.c: Quote 'like this' in comments.
7821 The GNU coding standards suggest that we no longer quote `like this',
7822 as "`" and "'" are typically rendered asymmetrically nowadays.
7823 The typical gnulib style is to quote 'like this' when quoting
7824 code, and "like this" when quoting English.
7825
b99e4f78
PE
7826 * time/mktime.c (compile-command): Add "-I.".
7827
643e01e6
PE
7828 mktime: merge mktime-internal.h change from gnulib
7829 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
7830
2554247d
PE
7831 mktime: merge time_r change from gnulib
7832 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
7833
826dd0ab
PE
7834 mktime: merge DEBUG change from gnulib
7835 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
7836 case system <time.h> has a #define.
7837
bd83aabe
PE
7838 mktime: merge <sys/types.h> change from gnulib
7839 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
7840 since <time.t> is now guaranteed to define time_t.
7841
95770f14
PE
7842 mktime: merge HAVE_CONFIG_H change from gnulib
7843 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
7844
5e1a27a9
L
78452012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7846
0e44a77e
L
7847 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
7848 Use "neg %eax".
7849
5e1a27a9
L
7850 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
7851 __rlim_t cast.
7852 (struct rusage): Use anonymous union to pad each field to
7853 __syscall_slong_t.
7854
46259bec
DM
78552012-05-21 David S. Miller <davem@davemloft.net>
7856
7857 * Makefules (o-iterator): Remove .s cases.
7858 (compile-command.s): Delete.
7859 (COMPILE.s): Delete.
7860 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
7861
59f0c22e
JM
78622012-05-21 Joseph Myers <joseph@codesourcery.com>
7863
7864 * configure.in (libc_cv_predef_stack_protector): Only consider
7865 "foobar" and "__stack_chk_fail" lines in libc_undefs.
7866 * configure: Regenerated.
7867
20c07380
L
78682012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7869
bbb3154b
L
7870 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
7871 New macro. Use R*LP on int and pointer.
7872 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
7873 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
7874 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
7875 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
7876
20c07380
L
7877 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
7878 [__WORDSIZE_TIME64_COMPAT32] instead of
7879 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
7880 (struct utmp): Likewise.
7881 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
7882 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
7883 Renamed to ...
7884 (__WORDSIZE_TIME64_COMPAT32): This.
7885 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
7886 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
7887 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
7888 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
7889 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
7890 (__WORDSIZE_TIME64_COMPAT32): New macro.
7891
d8d1017e
AJ
78922012-05-21 Andreas Jaeger <aj@suse.de>
7893
7894 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
7895 only if [SHARED]. Add prototype for __wcschr_ia32.
7896
6c7fb145
RM
78972012-05-21 Roland McGrath <roland@hack.frob.com>
7898
7899 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
7900 of %rbp unmolested in the jmp_buf while mangling the low bits.
7901 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
7902 unmolested high bits of %rbp while demangling the low bits.
7903 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7904
66274218
AJ
79052012-05-21 Andreas Jaeger <aj@suse.de>
7906
07c58f8f
AJ
7907 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
7908 * sunrpc/svc_simple.c: Use it for registerrpc.
7909 * sunrpc/xcrypt.c: Use it for passwd2des.
7910
66274218
AJ
7911 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
7912
61f65140
L
79132012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7914
7915 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
7916 Don't define if [__SYSCALL_WORDSIZE != 32].
7917 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
7918 New macro.
7919
5fefb436
AJ
79202012-05-21 Bruno Haible <bruno@clisp.org>
7921 Andreas Jaeger <aj@suse.de>
7922
7923 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
7924 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
7925 inptr and inend for must_buffer_ch.
7926 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
7927 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
7928 * stdio-common/Makefile (tests): Remove bug15.
7929 (bug15-ENV): Remove macro.
7930 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
7931 anymore.
7932
d8e272ab
AJ
79332012-05-19 Andreas Jaeger <aj@suse.de>
7934 Roland McGrath <roland@hack.frob.com>
7935
7936 * manual/contrib.texi: Completely rewritten. It contains now an
7937 alphabetical list of contributors and their contributions.
7938
4a56a162
RH
79392012-05-21 Richard Henderson <rth@twiddle.net>
7940
7941 * misc/getauxval.c (__getauxval): Use unsigned long int.
7942 * misc/sys/auxv.h: Include <sys/cdefs.h>.
7943 (getauxval): Use unsigned long int.
7944
d024d23c
L
79452012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7946
7947 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7948
cbc00a03
RM
79492012-05-21 Roland McGrath <roland@hack.frob.com>
7950
7951 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
7952 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
7953 __alignof__ (long double).
7954
478143fa
AZ
79552012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7956
7957 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7958
c7683a6d
RH
79592012-05-20 Richard Henderson <rth@twiddle.net>
7960
7961 * misc/getauxval.c: New file.
7962 * misc/sys/auxv.h: New file.
7963 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
7964 (routines): Add getauxval.
7965 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
7966 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
7967 * elf/dl-sysdep.c (_dl_auxv): Remove.
7968 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
7969 * elf/dl-support.c (_dl_auxv): New variable.
7970 (_dl_aux_init): Initialize it.
7971 * manual/startup.texi (Auxiliary Vector): New node.
7972 * sysdeps/generic/bits/hwcap.h: New file.
7973 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
7974 * sysdeps/powerpc/sysdep.h: ... here. Include it.
7975 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
7976 * sysdeps/sparc/sysdep.h: ... here. Include it.
7977 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
7978 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
7979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7980 Update.
c7683a6d
RH
7981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
7982 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
7983 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
7984 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
7985 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
7986 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
7987 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
7988 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
7989
a6f1845d
AZ
79902012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7991
7992 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7993
cbcbe830
DM
79942012-05-19 David S. Miller <davem@davemloft.net>
7995
7996 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7997
e0b16cc2
JM
79982012-05-19 Joseph Myers <joseph@codesourcery.com>
7999
8000 [BZ #14123]
8001 * math/s_ccosh.c: Include <float.h>
8002 (__ccosh): Avoid internal overflow calculating sinh and cosh
8003 values before multiplying by sin and cos values.
8004 * math/s_ccoshf.c: Likewise.
8005 * math/s_ccoshl.c: Likewise.
8006 * math/s_csin.c: Likewise.
8007 * math/s_csinf.c: Likewise.
8008 * math/s_csinl.c: Likewise.
8009 * math/s_csinh.c: Likewise.
8010 * math/s_csinhf.c: Likewise.
8011 * math/s_csinhl.c: Likewise.
8012 * math/libm-test.inc (ccos_test): Add more tests.
8013 (ccosh_test): Likewise.
8014 (csin_test): Likewise.
8015 (csinh_test): Likewise.
8016 * sysdeps/i386/fpu/libm-test-ulps: Update.
8017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8018
6ad13e08
L
80192012-05-19 H.J. Lu <hongjiu.lu@intel.com>
8020
f66f0ce8
L
8021 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
8022 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
8023
6ad13e08
L
8024 * sysdeps/x86_64/x32/_itoa.h: Add comment.
8025
b1d072a7
JM
80262012-05-19 Joseph Myers <joseph@codesourcery.com>
8027
8028 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
8029 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
8030 * sysdeps/powerpc/soft-fp/Versions: Likewise.
8031 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
8032 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
8033 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
8034 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
8035 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
8036 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
8037 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
8038 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
8039 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
8040 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
8041 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
8042 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
8043 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
8044 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
8045 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
8046 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
8047 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
8048 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
8049 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
8050 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
8051 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
8052 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
8053 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
8054 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
8055 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
8056 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
8057 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
8058 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
8059
9eae47cb
AJ
80602012-05-18 Andreas Jaeger <aj@suse.de>
8061
8062 * csu/.gitignore: Delete.
8063
bb07f69f
L
80642012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8065
8066 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
8067 (timex): Use __syscall_slong_t.
8068
e6bdb741
AJ
80692012-05-18 Andreas Jaeger <aj@suse.de>
8070 Carlos O'Donell <carlos_odonell@mentor.com>
8071
8072 * manual/install.texi (Configuring and compiling): Update
8073 description about files modified in the source directory.
d6c33fda 8074 * INSTALL: Regenerated.
e6bdb741 8075
1b74487e
L
80762012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8077
8078 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
8079 value. Use "or" to set return value to -1.
8080 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
8081 negate return value.
8082
a88b64b9
TMQMF
80832012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8084
8085 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
8086 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
8087 failure if the compiler has Graphite support disabled.
8088 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
8089 Likewise.
8090 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
8091 CFLAGS-memmove.c): Likewise.
8092 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
8093 Likewise.
8094
3707636e
L
80952012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8096
610b8622
L
8097 * sysdeps/x86_64/x32/_itoa.h: New file.
8098
7cd195df
L
8099 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
8100 getdents system call only if kernel and user dirents have the
8101 same d_ino and d_off.
8102
94b07d20
L
8103 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8104 LLONG_MAX != LONG_MAX.
8105 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8106 (_fitoa_word): Likewise.
8107
18298070
L
8108 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
8109 years.
8110 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
8111 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
8112 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
8113
553c7ea4
L
8114 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
8115 include <bits/wordsize.h>. Check __x86_64__ instead of
8116 __WORDSIZE.
8117 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
8118 if __x86_64__ is defined. Use anonymous union on fpstate.
8119
3707636e
L
8120 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
8121 anonymous union.
8122
b53ef01a
AS
81232012-05-18 Andreas Schwab <schwab@linux-m68k.org>
8124
37fb1dc0
AS
8125 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
8126 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
8127 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
8128 Refer to _rtld_local_ro instead of _rtld_global_ro.
8129 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
8130 Likewise.
8131 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
8132 Likewise.
8133 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
8134 Likewise.
8135 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
8136 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
8137 of _rtld_global, and rtld_progname instead of _dl_argv[0].
8138
b53ef01a
AS
8139 * sysdeps/powerpc/powerpc32/dl-machine.c
8140 (__elf_machine_runtime_setup) [PROF]: Don't reference
8141 _dl_prof_resolve.
8142
7a185db2
AJ
81432012-05-18 Andreas Jaeger <aj@suse.de>
8144
8145 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
8146 function only available for GCCs before 3.4 since GCC 3.4
8147 introduced a builtin.
8148 (lrint): Likewise.
8149 (llrintf): Likewise.
8150 (llrint): Likewise.
8151 (fmaxf): Likewise.
8152 (fmax): Likewise.
8153 (fminf): Likewise.
8154 (fmin): Likewise.
8155 (rint): Likewise.
8156 (rintf): Likewise.
8157 (nearbyint): Likewise.
8158 (nearbyintf): Likewise.
8159 (ceil): Likewise.
8160 (ceilf): Likewise.
8161 (floor): Likewise.
8162 (floorf): Likewise.
8163
3e5aef87
L
81642012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8165
428bd707
L
8166 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
8167 on both fields and cast pointer to __syscall_ulong_t.
8168
3e5aef87
L
8169 * bits/types.h (__fsword_t): New type.
8170 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
8171 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
8172 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8173 (__FSWORD_T_TYPE): Likewise.
8174 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8175 (__FSWORD_T_TYPE): Likewise.
8176 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8177 (__FSWORD_T_TYPE): Likewise.
8178 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
8179 (__FSWORD_T_TYPE): Likewise.
8180 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
8181 __SWORD_TYPE with __fsword_t.
8182 (statfs64): Likewise.
8183
1ba7c3dc
DM
81842012-05-17 David S. Miller <davem@davemloft.net>
8185
8186 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
8187
59910343
AJ
81882012-05-17 Andreas Jaeger <aj@suse.de>
8189
8190 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
8191 warning.
8192
2e4c1e9e
L
81932012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8194
8195 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
8196
de7f5ce7
AJ
81972012-05-17 Andreas Jaeger <aj@suse.de>
8198
8199 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
8200 when it is used.
8201
286abc3d
CM
82022012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8203
8204 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
8205
477cc68e
L
82062012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8207
8208 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
8209 * sysdeps/x86_64/tst-mallocalign1.c: New file.
8210
1a0994f5
CD
82112012-05-17 Andreas Jaeger <aj@suse.de>
8212 Carlos O'Donell <carlos_odonell@mentor.com>
8213
8214 [BZ #14059]
8215 * sysdeps/x86_64/multiarch/init-arch.h
8216 (bit_YMM_Usable): Rename to...
8217 (bit_AVX_Usable): ... this.
8218 (bit_FMA4_Usable): New macro.
8219 (bit_XMM_state): New macro.
8220 (bit_YMM_state): New macro.
8221 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
8222 [__ASSEMBLER__] (index_AVX_Usable): ... this.
8223 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
8224 (CPUID_OSXSAVE): New macro.
8225 (CPUID_AVX): New macro.
8226 (CPUID_FMA4): New macro.
8227 (index_YMM_Usable): Rename to...
8228 (index_AVX_Usable): ... this.
8229 (HAS_AVX): Use HAS_ARCH_FEATURE.
8230 (HAS_FMA4): Likewise.
8231 (HAS_YMM_USABLE): Remove.
8232 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8233 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
8234 are present.
8235 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
8236 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
8237 * sysdeps/x86_64/multiarch/Makefile: Likewise.
8238 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
8239 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
8240
0af797de
CM
82412012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8242
8243 * math/libm-test.c: Support platforms without multiple rounding modes.
8244 * math/bug-nextafter.c: Support platforms without FP exceptions.
8245 * math/bug-nexttoward.c: Likewise.
8246 * math/test-fenv.c: Likewise.
8247 * math/test-misc.c: Likewise.
8248 * stdlib/bug-getcontext.c: Likewise.
8249
e39745ff
AJ
82502012-05-17 Andreas Jaeger <aj@suse.de>
8251
8252 * manual/examples/search.c (critter_cmp): Change signature to
8253 avoid warnings.
8254 * manual/string.texi (Collation Functions): Likewise.
8255
48970aba
L
82562012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8257
8258 * bits/types.h: Fold copyright years.
8259 * bits/typesizes.h: Likewise.
8260 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
8261 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8262 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
8263 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
8264 * time/time.h: Likewise.
8265
bedee953
PP
82662012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
8267
8268 [BZ #208]
8269 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
8270 in instead of returning them. Return void.
8271 (__libc_mallinfo): Accumulate over all arenas.
8272 (__malloc_stats): Adjust for change in int_mallinfo interface.
8273
61653dfb
RM
82742012-05-16 Roland McGrath <roland@hack.frob.com>
8275
30b99d79
RM
8276 [BZ #10375]
8277 * configure.in (NM): Add AC_CHECK_TOOL for it.
8278 (libc_extra_cflags): New substituted variable.
8279 Check for -fstack-protector being used implicitly.
8280 * configure: Regenerated.
8281 * config.make.in (config-extra-cflags): New variable,
8282 gets @libc_extra_cflags@.
8283 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
8284
61653dfb
RM
8285 [BZ #10375]
8286 * configure.in: Check for _FORTIFY_SOURCE being predefined.
8287 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
8288 * configure: Regenerated.
8289 * config.make.in (CPPUNDEFS): New substituted variable.
8290 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
8291 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
8292 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
8293
661768bb
L
82942012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8295
8296 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
8297 (mq_attr): Use __syscall_slong_t.
8298
d4261567
L
82992012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8300
8301 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
8302 Check __x86_64__ instead of __WORDSIZE.
8303 (_STAT_VER_LINUX): Likewise.
8304 (stat): Check __x86_64__ instead of __WORDSIZE. Use
8305 __syscall_ulong_t and __syscall_slong_t.
8306 (stat64): Likewise.
8307
cf3ff365
L
83082012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8309
8310 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
8311
76cf3e4d
L
83122012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8313
8314 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
8315
a637753a
L
83162012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8317
8318 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
8319 __syscall_ulong_t.
8320
d5e05119
L
8321 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
8322 include <bits/wordsize.h>. Check __x86_64__ instead of
8323 __WORDSIZE.
8324 (greg_t): Use "__extension__ long long int" if __x86_64__ is
8325 defined.
8326 (mcontext_t): Replace "unsigned long" with "unsigned long long".
8327
f62ee380
L
8328 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
8329 include <bits/wordsize.h>. Check __x86_64__ instead of
8330 __WORDSIZE.
8331 (user_regs_struct): Use "__extension__ unsigned long long"
8332 instead of "unsigned long" if __x86_64__ is defined.
8333 (user): Likewise. Pad after pointer field if __ILP32__ is
8334 defined.
8335
4e124ced
JM
83362012-05-16 Joseph Myers <joseph@codesourcery.com>
8337
6a3951a0
JM
8338 * configure.in (makeinfo): Require version 4.5 or later. Allow
8339 versions 5 to 9.
8340 * configure: Regenerated.
8341 * manual/install.texi (texinfo): Increase version requirement to
8342 4.5 or later.
8343 * INSTALL: Regenerated.
8344
4e124ced
JM
8345 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
8346
953ca31a
L
83472012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8348
8349 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
8350
617aca05
L
8351 * sysdeps/x86_64/x32/ffs.c: New file.
8352
5762f7ae
L
8353 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
8354 __syscall_ulong_t.
8355 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
8356 defined. Use __syscall_ulong_t.
8357 (shminfo): Use __syscall_ulong_t.
8358 (shm_info): Likewise.
8359
a26b6856
L
8360 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
8361 __syscall_ulong_t.
8362
cb2b9ef7
L
8363 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
8364 <bits/wordsize.h>.
8365 (msgqnum_t): Use __syscall_ulong_t.
8366 (msglen_t): Likewise.
8367 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
8368 __syscall_ulong_t.
8369
34683bb0
L
8370 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
8371 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8372
84a68786
L
8373 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
8374
48baa5f1
L
8375 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
8376 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
8377
180be88b
L
8378 * sysvipc/sys/msg.h (msgbuf): Replace long int with
8379 __syscall_slong_t.
8380
5e90c8ad
L
8381 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
8382 include <bits/wordsize.h>. Check __x86_64__ instead of
8383 __WORDSIZE.
8384
23dfb58b
L
8385 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
8386 "unsigned long long int" if __x86_64__ is defined.
8387 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
8388
ce5d54b0
L
8389 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
8390 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8391 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
8392
13dc9eac
L
8393 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
8394 <stdint.h>.
8395 (GET_PC): Cast to uintptr_t first.
8396 (GET_FRAME): Likewise.
8397 (GET_STACK): Likewise.
8398
a7895d15
L
8399 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
8400 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
8401 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
8402 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
8403 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
8404 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
8405 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
8406 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
8407 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
8408 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
8409 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
8410 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
8411 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8412 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
8413 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
8414 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
8415 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
8416 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
8417 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
8418 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
8419 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
8420 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
8421 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
8422 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
8423 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
8424 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
8425 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
8426 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
8427 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
8428
656416c9
AS
84292012-05-16 Andreas Schwab <schwab@linux-m68k.org>
8430
5bd66283
AS
8431 * Makerules (+depfiles): Also collect depfiles from .oS in
8432 $(extra-objs).
8433 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
8434 .oS, $(libnldbl-routines)).
8435
656416c9
AS
8436 * Makerules (native-compile-mkdep-flags): Define.
8437 * sunrpc/Makefile (extra-objs): Add $(addprefix
8438 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
8439 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
8440 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
8441 calling $(make-target-directory).
8442
a46f2169
L
84432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8444
8445 * bits/types.h (__snseconds_t): Removed.
8446 * time/time.h (struct timespec): Replace __snseconds_t with
8447 __syscall_slong_t.
8448 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
8449 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
8450 Likewise.
8451 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8452 (__SNSECONDS_T_TYPE): Likewise.
8453 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8454 (__SNSECONDS_T_TYPE): Likewise.
8455 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8456 (__SNSECONDS_T_TYPE): Likewise.
8457
6af6528b
L
84582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8459
8460 * sysdeps/mach/hurd/bits/typesizes.h
8461 (__SYSCALL_SLONG_TYPE): New macro.
8462 (__SYSCALL_ULONG_TYPE): Likewise.
8463
de986b56
L
84642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8465
8466 * bits/types.h (__syscall_slong_t): New type.
8467 (__syscall_ulong_t): Likewise.
8468
8469 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
8470 (__SYSCALL_ULONG_TYPE): Likewise.
8471 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8472 (__SYSCALL_SLONG_TYPE): Likewise.
8473 (__SYSCALL_ULONG_TYPE): Likewise.
8474 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8475 (__SYSCALL_SLONG_TYPE): Likewise.
8476 (__SYSCALL_ULONG_TYPE): Likewise.
8477 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8478 (__SYSCALL_SLONG_TYPE): Likewise.
8479 (__SYSCALL_ULONG_TYPE): Likewise.
8480
85736dc7
L
84812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8482
8483 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
8484 Add sigaltstack-offsets.sym.
8485 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
8486 <sigaltstack-offsets.h>.
8487 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
8488 longjmp_msg pointer.
8489 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
8490 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
8491 signal stack.
8492 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
8493
cc03b296
JM
84942012-05-15 Joseph Myers <joseph@codesourcery.com>
8495
a9538892
JM
8496 * elf/stackguard-macros.h: Remove file.
8497 * sysdeps/generic/stackguard-macros.h: New file.
8498 * sysdeps/i386/stackguard-macros.h: Likewise.
8499 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
8500 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
8501 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
8502 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
8503 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
8504 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
8505 * sysdeps/x86_64/stackguard-macros.h: Likewise.
8506 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
8507 <elf/stackguard-macros.h>.
8508
cc03b296
JM
8509 [BZ #14109]
8510 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
8511 __aligned__ in attribute.
8512 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
8513 (gregset_t): Likewise.
8514
93171016
L
85152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8516
8517 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
8518 * sysdeps/x86_64/64/Implies-after: Here. New file.
8519 * sysdeps/x86_64/x32/Implies-after: New file.
8520
d86813a0
L
85212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8522
8523 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
8524 and access return value for _dl_profile_fixup. Use R10_LP to
8525 load frame size.
8526
2953ec75
L
85272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8528
8529 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
8530
3b550e9e
L
85312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8532
8533 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
8534 * sysdeps/x86_64/x32/sysdep.h: New file.
8535
eda41706
L
85362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8537
8538 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
8539 * sysdeps/x86_64/setjmp.S: Likewise.
8540
9ea01d93
AZ
85412012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8542
8543 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
8544 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
8545 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
8546 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
8547 remove unused global constant.
8548
02a91938
CM
85492012-05-15 Chris Metcalf <cmetcalf@tilera.com>
8550
8551 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
8552 include of <not-cancel.h>.
8553
6540185f
RM
85542012-05-15 Roland McGrath <roland@hack.frob.com>
8555
8556 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
8557
509072a0
AJ
85582012-05-15 Jeff Law <law@redhat.com>
8559 Andreas Jaeger <aj@suse.de>
8560
8561 [BZ #13594]
8562 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
8563 out from...
8564 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
8565 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
8566 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
8567 code changing __hst_map_handle.map.
8568
ba75122d
RM
85692012-05-15 Roland McGrath <roland@hack.frob.com>
8570
8571 * configure.in (sysnames): Look for Implies-before and Implies-after
8572 files.
8573 * configure: Regenerated.
8574
890d8bd8
L
85752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8576
8577 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
8578 8-byte data alignment with LP_SIZE alignment.
8579
f6ee6623
L
85802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8581
8582 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
8583 into R10_LP.
8584
ea2626f6
L
85852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8586
8587 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
8588
085f715e
L
85892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8590
8591 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
8592 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
8593 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
8594 Likewise.
8595 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8596
be8498fc
L
85972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8598
8599 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
8600 (stackinfo_sub_sp): Likewise.
8601
70bc83b9
L
86022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8603
8604 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
8605 RAX_LP.
8606
9bc0b730
L
86072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8608
8609 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
8610 into R*_LP.
8611
6d2850e7
L
86122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8613
8614 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
8615 sizes into R*_LP.
8616
3cb84561
L
86172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8618
8619 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
8620
54e2ed81
L
86212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8622
8623 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
8624 into R11_LP and load __x86_64_shared_cache_size_half into
8625 R8_LP.
8626
8a17f349
L
86272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8628
8629 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
8630 R8_LP.
8631
777b1eea
AZ
86322012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8633
8634 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
8635 logb for POWER7.
8636 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
8637 logbf for POWER7.
8638 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
8639 logbl for POWER7.
8640 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
8641 powerpc32/power7/fpu/s_logb.c via #include.
8642 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
8643 powerpc32/power7/fpu/s_logbf.c via #include.
8644 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
8645 powerpc32/power7/fpu/s_logbl.c via #include.
8646
d20d4ac2
JM
86472012-05-15 Joseph Myers <joseph@codesourcery.com>
8648
8649 * README.libm: Remove file.
8650
6cdef1ab
L
86512012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8652
8653 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
8654 count for x32. Use R*_LP and omit operand-size suffix.
8655
0b254d8f
L
86562012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8657
8658 * shlib-versions: Move x86_64-.*-linux.* entries to ...
8659 * sysdeps/x86_64/64/shlib-versions: Here. New file.
8660 * sysdeps/x86_64/x32/shlib-versions: New file.
8661
ceb809dc
RM
86622012-05-14 Roland McGrath <roland@hack.frob.com>
8663
8664 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
8665 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
8666 Use _dl_fatal_printf instead.
8667
37f1abd4
JM
86682012-05-14 Joseph Myers <joseph@codesourcery.com>
8669
8670 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
8671 set if not set by the user. Do not allow for being unset.
8672 * sysdeps/unix/sysv/linux/configure: Regenerated.
8673
11de3a33
L
86742012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8675
8676 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
8677 the `q' suffix from lea and replace .quad with ASM_ADDR.
8678
e02f153a
L
86792012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8680
8681 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
8682 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
8683 instead of $17.
8684 (PTR_DEMANGLE): Likewise.
8685
520ae0fd
L
86862012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8687
8688 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
8689 (LP_OP): Likewise.
8690 (ASM_ADDR): Likewise.
8691 (RAX_LP): Likewise.
8692 (RBP_LP): Likewise.
8693 (RBX_LP): Likewise.
8694 (RCX_LP): Likewise.
8695 (RDI_LP): Likewise.
8696 (RSI_LP): Likewise.
8697 (RSP_LP): Likewise.
8698 (R8_LP): Likewise.
8699 (R9_LP): Likewise.
8700 (R10_LP): Likewise.
8701 (R10_LP): Likewise.
8702 (R11_LP): Likewise.
8703 (R12_LP): Likewise.
8704 (R13_LP): Likewise.
8705 (R14_LP): Likewise.
8706 (R15_LP): Likewise.
8707
b985be81
L
87082012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8709
8710 * sysdeps/x86_64/x32/dl-machine.h: New file.
8711
6a4888ff
AJ
87122012-05-14 Andreas Jaeger <aj@suse.de>
8713
8714 * manual/Makefile (subdir): Remove export of subdir.
8715 (all): Remove target.
8716 (.PHONY): Remove all from list.
8717 (mkinstalldirs): Remove.
8718 (.PHONY): Remove installdirs from list.
8719 ($(inst_infodir)/libc.info): Use make-target-directory.
8720 (installdirs): Remove.
8721 (subdir_%): Remove.
8722 (glibc-targets): Remove.
8723 (lib): Remove.
8724 (stubs): Remove.
8725 ($(objpfx)stubs ../po/manual.pot): Remove.
8726 ($(objpfx)stamp%): Remove.
8727 (make-target-directory): Remove.
8728 (subdir_install): Remove.
8729 (routines): Remove.
8730 (aux): Remove.
8731 (sources): Remove.
8732 (objects): Remove.
8733 (headers): Remove.
8734
8735 [BZ #13750]
8736 * manual/.gitignore: Remove, it's not needed anymore.
8737 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
8738 all files in it.
8739 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
8740 directory.
8741 (texis): Renamed to $(objpfx)texis.
8742 (texis-path): New, contains path to generated files.
8743 (chapters.%): Use texis-path for complete path, add extra argument
8744 libc-texinfo.sh.
8745 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
8746 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
8747 (summary,texi, stamp-summary): Use complete path of
8748 files. Generate files in build dir.
8749 (dir-add.texi): Build in build dir.
8750 (libm-err.texi,stamp-libm-err): Likewise.
8751 (version.texi, stamp-version): Likewise.
8752 (.%c.texi): Likewise.
8753 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
8754 (mostlyclean): Remove target.
8755 (realclean): Remove target.
8756 (generated): Add new variable with contents from mostlyclean and
8757 realclean, remove entries duplicated in common-mostlyclean, add
8758 stamp-libm-err and stamp-version.
8759 (generated-dirs): Add libc directory.
8760 ($(inst_infodir)/libc.info): Install files from build dir.
8761
8762 * manual/install.texi (Configuring and compiling): Adjust since
8763 the info files are not part of the tar ball anymore.
8764
7ac77294
AJ
87652012-05-14 Andreas Jaeger <aj@suse.de>
8766
8767 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
8768 variable.
8769
ffb7875d
JM
87702012-05-14 Joseph Myers <joseph@codesourcery.com>
8771
8772 [BZ #13717]
8773 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
8774 to 2.2.0 where earlier.
8775 * sysdeps/unix/sysv/linux/configure: Regenerated.
8776 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
8777 Remove conditional code.
8778 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
8779 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
8780 Remove conditional code.
8781 [!__NR_lchown]: Likewise.
8782 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8783 [__NR_lchown]: Likewise.
8784 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
8785 comment referencing __ASSUME_LCHOWN_SYSCALL.
8786 * sysdeps/unix/sysv/linux/i386/sigaction.c
8787 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8788 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8789 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
8790 Remove conditional code.
8791 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
8792 (__protocol_available): Remove #if 0 code.
8793 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
8794 conditional code.
8795 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
8796 * sysdeps/unix/sysv/linux/kernel-features.h
8797 (__ASSUME_GETCWD_SYSCALL): Don't define.
8798 (__ASSUME_REALTIME_SIGNALS): Likewise.
8799 (__ASSUME_PREAD_SYSCALL): Likewise.
8800 (__ASSUME_PWRITE_SYSCALL): Likewise.
8801 (__ASSUME_POLL_SYSCALL): Likewise.
8802 (__ASSUME_LCHOWN_SYSCALL): Likewise.
8803 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
8804 non-SPARC.
8805 (__ASSUME_SIOCGIFNAME): Don't define.
8806 (__ASSUME_MSG_NOSIGNAL): Likewise.
8807 (__ASSUME_SENDFILE): Define unconditionally.
8808 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
8809 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
8810 conditional code.
8811 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
8812 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
8813 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8814 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8815 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
8816 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8817 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
8819 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8820 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
8822 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8823 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
8825 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8826 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
8828 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8829 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
8831 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8832 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
8834 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8835 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
8837 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8838 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
8840 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8841 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8842 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
8843 Remove conditional code.
8844 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8845 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
8846 Remove conditional code.
8847 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8848 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
8849 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
8850 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
8851 Remove conditional code.
8852 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8853 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
8854 Remove conditional code.
8855 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8856 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
8857 Remove conditional code.
8858 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8859 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
8860 Remove conditional code.
8861 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8862 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
8863 Remove conditional code.
8864 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8865 * sysdeps/unix/sysv/linux/sh/pwrite64.c
8866 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8867 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8868 * sysdeps/unix/sysv/linux/sigaction.c
8869 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8870 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8871 * sysdeps/unix/sysv/linux/sigpending.c
8872 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8873 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8874 * sysdeps/unix/sysv/linux/sigprocmask.c
8875 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8876 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8877 * sysdeps/unix/sysv/linux/sigsuspend.c
8878 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8879 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8880 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8881 (__libc_missing_rt_sigs): Remove.
8882 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
8883 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
8884 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
8885 Remove conditional code.
8886 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
8887 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
8888 return 1.
8889 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
8890 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
8891 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
8892 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
8893
1bfb7291
AJ
88942012-05-14 Andreas Jaeger <aj@suse.de>
8895
caae5a81
AJ
8896 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
8897 it's not used in glibc.
8898 (__coshm1): Likewise.
8899 (__acosh1p): Likewise.
8900 (__sgn): Likewise.
8901
1bfb7291
AJ
8902 * manual/string.texi (Copying and Concatenation): Add missing
8903 variable in concat example.
8904 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
8905
c044d724
L
89062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8907
144c5467 8908 [BZ #14103]
c044d724
L
8909 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
8910 __builtin_clzl with __builtin_clzll.
8911
2523c62b
L
89122012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8913
8914 [BZ #14104]
8915 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
8916 libc_freeres_ptr.
8917
d7bb4c42
LD
89182012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8919
8920 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
8921 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
8922 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
8923 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
8924
9dc4e1fb
MF
89252012-05-14 Mike Frysinger <vapier@gentoo.org>
8926
8927 * NEWS: Update ia64 info.
8928
c7df0112
AS
89292012-05-12 Andreas Schwab <schwab@linux-m68k.org>
8930
8931 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
8932 used as bcopy.
8933
dc70356c
TS
89342012-05-12 Thomas Schwinge <thomas@codesourcery.com>
8935
8936 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
8937 * sysdeps/unix/syscalls.list (dup3): Likewise.
8938 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
8939 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
8940
9fb1a21f
L
89412012-05-11 H.J. Lu <hongjiu.lu@intel.com>
8942
8943 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
8944 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
8945
4822a2a5
L
89462012-05-11 H.J. Lu <hongjiu.lu@intel.com>
8947
8948 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
8949 thread pointer.
8950 (TLS_IE): Use mov/add instead of movq/addq to load thread
8951 pointer.
8952 (TLS_GD_PREFIX): New.
8953 (TLS_GD): Use it.
8954
842b81d6
DM
89552012-05-11 David S. Miller <davem@davemloft.net>
8956
8957 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
8958 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
8959 (_FPU_SETCW): Likewise.
8960
1cf463cd
L
89612012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8962
8963 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
8964 is 32-byte aligned.
8965
60cc4a18
AS
89662012-05-11 Andreas Schwab <schwab@linux-m68k.org>
8967
8968 [BZ #11837]
8969 * iconvdata/gb18030.c: Update tables.
8970 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
8971 characters specially.
8972 (BODY for TO_LOOP): Add encoding of missing ranges.
8973
febb44a4
TS
89742012-05-11 Thomas Schwinge <thomas@codesourcery.com>
8975
8976 [BZ #13673]
8977 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
8978 * sysdeps/mach/hurd/dup3.c: Likewise.
8979 * sysdeps/mach/hurd/readlinkat.c: Likewise.
8980 * sysdeps/powerpc/memmove.c:: Likewise.
8981
0a10fb9e
L
89822012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8983
8984 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
8985 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
8986
df8a552f
L
89872012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8988
8989 * elf/elf.h (R_X86_64_RELATIVE64): New.
8990 (R_X86_64_NUM): Updated.
8991 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8992 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
8993 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
8994 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
8995 tst-quad1pie tst-quad2pie
8996 (modules-names): Add tst-quadmod1 tst-quadmod2.
8997 ($(objpfx)tst-quad1): New dependency.
8998 ($(objpfx)tst-quad2): Likewise.
8999 ($(objpfx)tst-quad1pie): Likewise.
9000 ($(objpfx)tst-quad2pie): Likewise.
9001 * sysdeps/x86_64/tst-quad1.c: New file.
9002 * sysdeps/x86_64/tst-quad1pie.c: New file.
9003 * sysdeps/x86_64/tst-quad2.c: Likewise.
9004 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
9005 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
9006 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
9007 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
9008 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
9009
f34d6f84
ST
90102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9011
f42d41d1
ST
9012 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
9013 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
9014 * streams/stropts.h (t_scalar_t): Define type.
9015
3c3571fc
ST
9016 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
9017 (_PATH_PRESERVE): Set to "/var/lib".
9018 (_PATH_RWHODIR): Set to "/var/spool/rwho".
9019
61f06bd3
ST
9020 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
9021 instead of int.
9022
918d4d71
ST
9023 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
9024 if __dir_mkfile succeeded.
9025
f34d6f84
ST
9026 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
9027 checking for _hurd_dtablesize. Unlock it right after having
9028 finished _hurd_dtable allocation.
9029
10589b4a
TS
90302012-05-10 Thomas Schwinge <thomas@schwinge.name>
9031
674cdbc7
TS
9032 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
9033 * sysdeps/mach/hurd/configure: Regenerated.
9034 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
9035 special-casing to...
9036 * sysdeps/gnu/configure.in: ... this new file.
9037 * sysdeps/unix/sysv/linux/configure: Regenerated.
9038 * sysdeps/gnu/configure: New generated file.
9039
8e41b99f
TS
9040 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
9041 for Linux: use nsec instead of usec, as well as:
9042 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
9043 members of type struct timespec.
9044 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
9045 New macros.
9046 (struct stat64): Likewise.
9047 (_STATBUF_ST_NSEC): New macro.
9048 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
9049
10589b4a
TS
9050 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9051 __strtoul_internal rather than strtoul.
9052
63643c85
PT
90532012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9054
9055 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
9056 and reject them.
9057
3faebe6a
ST
90582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9059
9060 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
9061 which preserves existing values.
9062 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
9063
c6474b07
PT
90642012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9065
9066 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
9067 TIMEOUT values. Return EINVAL for NFDS values either negative or
9068 greater than FD_SETSIZE.
9069
1043890b
ST
90702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9071
9072 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
9073 allocated, call __vm_protect to finish enabling the existing space, and
9074 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
9075 allocate the remainder.
9076
37ed8b9b
PT
90772012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9078
9079 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
9080 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
9081
db653660
ST
90822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9083
37ed8b9b
PT
9084 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
9085 sysdeps/mach/hurd/readlink.c.
b29d4053 9086
db653660
ST
9087 * posix/tst-sysconf.c (posix_options): Only use
9088 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
9089 _POSIX_SYNCHRONIZED_IO when they are defined
9090 * sysdeps/mach/hurd/bits/posix_opt.h:
9091 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
9092 (_XOPEN_REALTIME): Undefine macro.
9093 (_XOPEN_REALTIME_THREADS): Undefine macro.
9094 (_XOPEN_SHM): Undefine macro.
9095 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
9096 macro to -1.
9097 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
9098 macro to -1.
9099 (_POSIX_ASYNC_IO): Undefine macro.
9100 (_POSIX_PRIORITIZED_IO): Undefine macro.
9101 (_POSIX_SPIN_LOCKS): Define macro to -1.
9102
ee16e894
ST
9103 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
9104 SA_NODEFER, SA_RESETHAND.
9105 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
9106 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
9107 F_DUPFD_CLOEXEC.
9108
6103ae3b
TS
91092012-05-10 Thomas Schwinge <thomas@schwinge.name>
9110
9111 * elf/Makefile (pldd-modules): Define unconditionally.
9112
80b4e5f3
TS
91132012-05-10 Thomas Schwinge <thomas@schwinge.name>
9114
9115 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
9116
edadcbd6
ST
91172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9118
9119 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
9120 Return ENOENT when name is empty.
9121 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
9122
80694780
TS
91232012-05-10 Thomas Schwinge <thomas@schwinge.name>
9124
1792c087
TS
9125 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
9126
80694780
TS
9127 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
9128
6b645f0d
ST
91292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9130
80694780
TS
9131 Fix mlock in all cases except non-readable pages.
9132 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
9133 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 9134
6b645f0d
ST
9135 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
9136 (__mkdir): When path is `/', just fail with EEXIST.
9137 * sysdeps/mach/hurd/mkdirat.c: Likewise.
9138
e468f8a3
TS
91392012-05-10 Thomas Schwinge <thomas@schwinge.name>
9140
9141 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
9142 <sys/uio.h> (for writev).
9143 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
9144 and <sys/param.h> (for MIN).
9145
a4186cff
PT
91462012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9147
9148 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
9149 REQUESTED_TIME. Properly set the remaining time and return EINTR
9150 if interrupted.
9151
510bbf14
TS
91522012-05-10 Thomas Schwinge <thomas@schwinge.name>
9153
9154 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
9155 Depend on against $(link-rpcuserlibs).
9156
5d5722e8
ST
91572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9158
a4186cff
PT
9159 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
9160 (__libc_stack_end): Do not use attribute_relro.
9161 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
9162 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 9163 to libthread-provided value.
a4186cff
PT
9164 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
9165 attribute_relro.
5d5722e8 9166
37233df9
TS
91672012-05-10 Thomas Schwinge <thomas@schwinge.name>
9168
be971a2b
TS
9169 [BZ #3748]
9170 * bits/libc-lock.h (__libc_once_get): New macro.
9171 * sysdeps/mach/bits/libc-lock.h: Likewise.
9172 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
9173 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
9174 instead of using implementation details.
9175
37233df9
TS
9176 * libio/fileops.c: Unconditionally include <kernel-features.h>.
9177 * libio/freopen.c: Likewise.
9178 * libio/freopen64.c: Likewise.
9179 * misc/syslog.c: Likewise.
9180 * nscd/connections.c: Likewise.
9181 * nscd/netgroupcache.c: Likewise.
9182 * sysdeps/posix/getcwd.c: Likewise.
9183
38de94a5
RM
91842012-05-10 Roland McGrath <roland@hack.frob.com>
9185
9186 * math/w_ilogbf.c: Add #include <limits.h>.
9187
67530489
ST
91882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9189
a4186cff 9190 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
9191 path instead of returning without unlocking.
9192
67530489
ST
9193 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
9194 immediate-write ioctls.
9195 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
9196
5aa3a74a
TS
91972012-05-10 Thomas Schwinge <thomas@schwinge.name>
9198
18bad2ae
TS
9199 * sysdeps/mach/hurd/i386/init-first.c (init): Use
9200 __builtin_frame_address instead of making assumptions about the
9201 location of the return address relative to DATA. Force early load of
9202 the return address.
9203 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
9204 __builtin_frame_address.
9205
5aa3a74a
TS
9206 dup3 for GNU Hurd.
9207 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
9208 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
9209 implement dup3 and do some further code clean-ups.
9210 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
9211 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
9212
ecd0de9a
ST
92132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9214
cd9fa985
ST
9215 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
9216
a4186cff
PT
9217 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
9218 HURD_CRITICAL_END around holding _hurd_dtable_lock.
9219 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
9220 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
9221 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
9222 d->port.lock.
802ca5a5 9223
a4186cff
PT
9224 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
9225 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
9226 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 9227
bcf55240
TS
92282012-05-10 Thomas Schwinge <thomas@schwinge.name>
9229
6960eb42
TS
9230 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
9231 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
9232 definitions.
9233
eb43375f
TS
9234 accept4 for GNU Hurd.
9235 * include/sys/socket.h (__libc_accept4): New prototype.
9236 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
9237 to implement __libc_accept4.
9238 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
9239 __libc_accept4.
9240 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
9241
bcf55240
TS
9242 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
9243 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
9244 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
9245 signal-defines.sym.
9246
6178c55b
ST
92472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9248
a4186cff 9249 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 9250
6f080c2f
TS
92512012-05-10 Thomas Schwinge <thomas@schwinge.name>
9252
9253 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
9254 assertion on O_CLOEXEC flag.
9255 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
9256 * hurd/intern-fd.c: Likewise.
9257 * hurd/port2fd.c: Likewise.
9258
bcfe3a54
ST
92592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9260
9261 [BZ #3906]
9262 * bits/in.h (IPV6_PKTINFO): Define new macro.
9263 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
9264
89c9aa49
AZ
92652012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9266
9267 [BZ #13954]
9268 [BZ #13955]
9269 [BZ #13956]
9270 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
9271 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9272 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
9273 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9274 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9275 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9276 * math/libm-test.inc (logb_test) : Additional logb tests.
9277
021db4be
AJ
92782012-05-09 Andreas Schwab <schwab@linux-m68k.org>
9279 Andreas Jaeger <aj@suse.de>
9280
9281 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
9282 * configure: Regenerated.
9283 * config.h.in (LINK_OBSOLETE_RPC): New macro.
9284 * config.make.in (link-obsolete-rpc): New substituted variable.
9285 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
9286 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
9287 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9288 (shared-only-routines): Don't set it under [link-obsolete-rpc],
9289 so that libc.a contains the symbols.
9290 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9291 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
9292 * sunrpc/auth_none.c: Likewise.
9293 * sunrpc/auth_unix.c: Likewise.
9294 * sunrpc/authdes_prot.c: Likewise.
9295 * sunrpc/authuxprot.c: Likewise.
9296 * sunrpc/clnt_gen.c: Likewise.
9297 * sunrpc/clnt_perr.c: Likewise.
9298 * sunrpc/clnt_raw.c: Likewise.
9299 * sunrpc/clnt_simp.c: Likewise.
9300 * sunrpc/clnt_tcp.c: Likewise.
9301 * sunrpc/clnt_udp.c: Likewise.
9302 * sunrpc/clnt_unix.c: Likewise.
9303 * sunrpc/des_crypt.c: Likewise.
9304 * sunrpc/des_soft.c: Likewise.
9305 * sunrpc/get_myaddr.c: Likewise.
9306 * sunrpc/key_call.c: Likewise.
9307 * sunrpc/key_prot.c: Likewise.
9308 * sunrpc/netname.c: Likewise.
9309 * sunrpc/pm_getmaps.c: Likewise.
9310 * sunrpc/pm_getport.c: Likewise.
9311 * sunrpc/pmap_clnt.c: Likewise.
9312 * sunrpc/pmap_prot.c: Likewise.
9313 * sunrpc/pmap_prot2.c: Likewise.
9314 * sunrpc/pmap_rmt.c: Likewise.
9315 * sunrpc/publickey.c: Likewise.
9316 * sunrpc/rpc_cmsg.c: Likewise.
9317 * sunrpc/rpc_common.c: Likewise.
9318 * sunrpc/rpc_dtable.c: Likewise.
9319 * sunrpc/rpc_prot.c: Likewise.
9320 * sunrpc/rpc_thread.c: Likewise.
9321 * sunrpc/rtime.c: Likewise.
9322 * sunrpc/svc.c: Likewise.
9323 * sunrpc/svc_auth.c: Likewise.
9324 * sunrpc/svc_raw.c: Likewise.
9325 * sunrpc/svc_run.c: Likewise.
9326 * sunrpc/svc_tcp.c: Likewise.
9327 * sunrpc/svc_udp.c: Likewise.
9328 * sunrpc/svc_unix.c: Likewise.
9329 * sunrpc/svcauth_des.c: Likewise.
9330 * sunrpc/xcrypt.c: Likewise.
9331 * sunrpc/xdr.c: Likewise.
9332 * sunrpc/xdr_array.c: Likewise.
9333 * sunrpc/xdr_float.c: Likewise.
9334 * sunrpc/xdr_intXX_t.c: Likewise.
9335 * sunrpc/xdr_mem.c: Likewise.
9336 * sunrpc/xdr_rec.c: Likewise.
9337 * sunrpc/xdr_ref.c: Likewise.
9338 * sunrpc/xdr_sizeof.c: Likewise.
9339 * sunrpc/xdr_stdio.c: Likewise.
9340
b5c086a2
RM
93412012-05-10 Roland McGrath <roland@hack.frob.com>
9342
9343 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
9344 change. Update copyright years.
9345
6d74dd09
JM
93462012-05-10 Joseph Myers <joseph@codesourcery.com>
9347
9348 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
9349
28e72501
MK
93502012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
9351 Joseph Myers <joseph@codesourcery.com>
9352 Paul Pluzhnikov <ppluzhnikov@google.com>
9353
9354 [BZ #14012]
9355 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
9356 requiring rpcgen.
9357 [cross-compiling] (extra-libs): Likewise.
9358 [cross-compiling] (extra-libs-others): Likewise.
9359 [cross-compiling] (librpcsvc-routines): Likewise.
9360 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
9361 [cross-compiling] (omit-deps): Likewise.
9362 (sunrpc-CPPFLAGS): New variable.
9363 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
9364 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
9365 (cross-rpcgen-objs): New variable.
9366 (extra-objs): Append $(cross-rpcgen-objs).
9367 ($(cross-rpcgen-objs)): New rule.
9368 ($(objpfx)cross-rpcgen): Likewise.
9369 (rpcgen-cmd): Define to use $(built-program-file). Expand
9370 comment.
9371 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
9372 ($(objpfx)x%.stmp): Likewise.
9373 * sunrpc/proto.h [IS_IN_build] (_): Define.
9374 [IS_IN_build] (_libc_intl_domainname): Likewise.
9375
c8c59454
L
93762012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9377
9378 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
9379 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
9380 and R_X86_64_TPOFF64.
9381
6f27cd16
JM
93822012-05-10 Joseph Myers <joseph@codesourcery.com>
9383
9384 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
9385 sysdeps/unix/sysv/syscalls.list.
9386 (stime): Likewise.
9387 (utime): Likewise.
9388 * sysdeps/unix/sysv/syscalls.list: Remove file.
9389
02467e1c
PE
93902012-05-10 Paul Eggert <eggert@cs.ucla.edu>
9391
9392 [BZ #3440]
9393 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
9394 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
9395 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
9396 (__LC_IDENTIFICATION): Make these macros useful in #if
9397 expressions, as required by C99.
9398
da392631
AS
93992012-05-10 Andreas Schwab <schwab@linux-m68k.org>
9400
9401 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
9402 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
9403 after this.
9404
8115f29b
L
94052012-05-09 H.J. Lu <hongjiu.lu@intel.com>
9406
9407 * stdlib/longlong.h: Updated from GCC.
9408
bdd74070
AJ
94092012-05-09 Andreas Jaeger <aj@suse.de>
9410
edfe0dbe
AJ
9411 * nscd/nscd.c (run_modes): Make named enum, reorder so that
9412 default is first entry.
9413 (run_mode): Set type.
9414 (main): Remove informal message about syslog.
9415 (options): Fix typo.
9416
bcfe3a54
ST
9417 [BZ #14053]
9418 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 9419 to asm.
bcfe3a54
ST
9420 (lrint): Likewise.
9421 (llrintf): Likewise.
9422 (llrint): Likewise.
9423 (rint): Likewise.
9424 (rintf): Likewise.
9425 (nearbyint): Likewise.
9426 (nearbyintf): Likewise.
bdd74070 9427
91d8d69e
AJ
94282012-05-09 Andreas Jaeger <aj@suse.de>
9429 Pedro Alves <palves@redhat.com>
9430
9431 * nscd/nscd.c (run_mode): Use enum.
9432 (main): Cleanup coding style issue.
9433
bb90b80b
AJ
94342012-05-09 Alexandre Oliva <aoliva@redhat.com>
9435 Andreas Jaeger <aj@suse.de>
9436
bcfe3a54
ST
9437 * nscd/nscd.c (go_background): Replaced with...
9438 (run_mode): ... this.
bb90b80b 9439 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
9440 (options): Add -F --foreground.
9441 (main): Implement it.
9442 (parse_opt): Parse it.
bb90b80b 9443
1a4b75a1
AJ
94442012-05-09 Andreas Jaeger <aj@suse.de>
9445
9446 [BZ #14083]
9447 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
9448 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
9449 -Wconversion warning.
9450 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
9451 Likewise.
9452
b1cc2472
JM
94532012-05-09 Joseph Myers <joseph@codesourcery.com>
9454
9455 * conform/data/locale.h-data (NULL): Use macro-constant. Require
9456 == 0.
9457 (LC_ALL): Use macro-int-constant.
9458 (LC_COLLATE): Likewise.
9459 (LC_CTYPE): Likewise.
9460 (LC_MESSAGES): Likewise.
9461 (LC_MONETARY): Likewise.
9462 (LC_NUMERIC): Likewise.
9463 (LC_TIME): Likewise.
9464 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
9465 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9466 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9467 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
9468 Specify type.
9469 [C99-based standards] (float_t): Expect type.
9470 [C99-based standards] (double_t): Expect type.
9471 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
9472 type.
9473 [C99-based standards] (HUGE_VALL): Likewise.
9474 [C99-based standards] (INFINITY): Likewise.
9475 [C99-based standards] (NAN): Likewise.
9476 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
9477 [C99-based standards] (FP_NAN): Likewise.
9478 [C99-based standards] (FP_NORMAL): Likewise.
9479 [C99-based standards] (FP_SUBNORMAL): Likewise.
9480 [C99-based standards] (FP_ZERO): Likewise.
9481 [C99-based standards] (FP_FAST_FMA): Use
9482 optional-macro-int-constant. Specify type. Require == 1.
9483 [C99-based standards] (FP_FAST_FMAF): Likewise.
9484 [C99-based standards] (FP_FAST_FMAL): Likewise.
9485 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
9486 [C99-based standards] (FP_ILOGBNAN): Likewise.
9487 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
9488 Specify type.
9489 [C99-based standards] (MATH_ERREXCEPT): Likewise.
9490 [C99-based standards] (math_errhandling): Specify type.
9491 [ISO99 || ISO11] (signgam): Do not allow.
9492 [non-C99-based standards] (copysignf): Do not allow.
9493 [non-C99-based standards] (exp2f): Likewise.
9494 [non-C99-based standards] (log2f): Likewise.
9495 [non-C99-based standards] (modff): Allow.
9496 [non-C99-based standards] (erff): Do not allow.
9497 [non-C99-based standards] (erfcf): Likewise.
9498 [non-C99-based standards] (gammaf): Likewise.
9499 [non-C99-based standards] (hypotf): Likewise.
9500 [non-C99-based standards] (j0f): Likewise.
9501 [non-C99-based standards] (j1f): Likewise.
9502 [non-C99-based standards] (jnf): Likewise.
9503 [non-C99-based standards] (lgammaf): Likewise.
9504 [non-C99-based standards] (tgammaf): Likewise.
9505 [non-C99-based standards] (y0f): Likewise.
9506 [non-C99-based standards] (y1f): Likewise.
9507 [non-C99-based standards] (ynf): Likewise.
9508 [non-C99-based standards] (isnanf): Likewise.
9509 [non-C99-based standards] (acoshf): Likewise.
9510 [non-C99-based standards] (asinhf): Likewise.
9511 [non-C99-based standards] (atanhf): Likewise.
9512 [non-C99-based standards] (cbrtf): Likewise.
9513 [non-C99-based standards] (expm1f): Likewise.
9514 [non-C99-based standards] (ilogbf): Likewise.
9515 [non-C99-based standards] (log1pf): Likewise.
9516 [non-C99-based standards] (logbf): Likewise.
9517 [non-C99-based standards] (nextafterf): Likewise.
9518 [non-C99-based standards] (remainderf): Likewise.
9519 [non-C99-based standards] (rintf): Likewise.
9520 [non-C99-based standards] (scalbf): Likewise.
9521 [non-C99-based standards] (copysignl): Likewise.
9522 [non-C99-based standards] (exp2l): Likewise.
9523 [non-C99-based standards] (log2l): Likewise.
9524 [non-C99-based standards] (modfl): Allow.
9525 [non-C99-based standards] (erfl): Do not allow.
9526 [non-C99-based standards] (erfcl): Likewise.
9527 [non-C99-based standards] (gammal): Likewise.
9528 [non-C99-based standards] (hypotl): Likewise.
9529 [non-C99-based standards] (j0l): Likewise.
9530 [non-C99-based standards] (j1l): Likewise.
9531 [non-C99-based standards] (jnl): Likewise.
9532 [non-C99-based standards] (lgammal): Likewise.
9533 [non-C99-based standards] (tgammal): Likewise.
9534 [non-C99-based standards] (y0l): Likewise.
9535 [non-C99-based standards] (y1l): Likewise.
9536 [non-C99-based standards] (ynl): Likewise.
9537 [non-C99-based standards] (isnanl): Likewise.
9538 [non-C99-based standards] (acoshl): Likewise.
9539 [non-C99-based standards] (asinhl): Likewise.
9540 [non-C99-based standards] (atanhl): Likewise.
9541 [non-C99-based standards] (cbrtl): Likewise.
9542 [non-C99-based standards] (expm1l): Likewise.
9543 [non-C99-based standards] (ilogbl): Likewise.
9544 [non-C99-based standards] (log1pl): Likewise.
9545 [non-C99-based standards] (logbl): Likewise.
9546 [non-C99-based standards] (nextafterl): Likewise.
9547 [non-C99-based standards] (remainderl): Likewise.
9548 [non-C99-based standards] (rintl): Likewise.
9549 [non-C99-based standards] (scalbl): Likewise.
9550 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9551 [non-C99-based standards] (FP_*): Do not allow.
9552 [C99-based standards] (FP_*): Change to
9553 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9554 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9555 allow.
9556 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
9557 (SIG_ERR): Likewise.
9558 [X/Open-based standards] (SIG_HOLD): Likewise.
9559 (SIG_IGN): Likewise.
9560 (SIGABRT): Use macro-int-constant. Specify type. Require
9561 positive value.
9562 (SIGFPE): Likewise.
9563 (SIGILL): Likewise.
9564 (SIGINT): Likewise.
9565 (SIGSEGV): Likewise.
9566 (SIGTER): Likewise.
9567 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
9568 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
9569 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
9570 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
9571 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
9572 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
9573 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
9574 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
9575 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
9576 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
9577 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
9578 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
9579 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
9580 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
9581 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
9582 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
9583 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
9584 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
9585 [X/Open-based standards] (SIGTRAP): Likewise.
9586 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
9587 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
9588 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
9589 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
9590 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9591 allow.
9592
b9f1922d
IW
95932012-05-08 Ian Wienand <ianw@vmware.com>
9594
9595 [BZ #14080]
9596 * time/tzset.c (__tzset_parse_tz): Update default rules for
9597 daylight time changes in the Energy Policy Act of 2005.
9598
1db86e88
AJ
95992012-05-09 Andreas Jaeger <aj@suse.de>
9600
9601 [BZ #13983]
9602 * elf/ldconfig.c (parse_conf): Change string to make clear that
9603 ldconfig only issued a warning if ld.so.conf does not exist.
9604
dee4a4e3
DM
96052012-05-08 David S. Miller <davem@davemloft.net>
9606
ee0db190
DM
9607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
9608 movxtod instead of popping the value on the stack.
9609
dee4a4e3
DM
9610 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9611
6a43ec98
CD
96122012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
9613
9614 * config.h.in: Add HAVE_ARM_PCS_VFP.
9615
05c2c961
RMG
96162012-05-08 Roland Mc Grath <roland@hack.frob.com>
9617
bcfe3a54
ST
9618 [BZ #13979]
9619 * include/features.h: Warn if user requests __FORTIFY_SOURCE
9620 checking but the checks are disabled for any reason.
05c2c961 9621
4b30f61a
L
96222012-05-08 H.J. Lu <hongjiu.lu@intel.com>
9623
9624 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
9625 and ELF64_R_TYPE with ELFW(R_TYPE).
9626
eee2bc67
JM
96272012-05-08 Joseph Myers <joseph@codesourcery.com>
9628
7ea5391a
JM
9629 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
9630 (ulimit): Likewise.
9631
eee2bc67
JM
9632 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
9633 (settimeofday): Likewise.
9634
abb66a67
MF
96352012-05-08 Mike Frysinger <vapier@gentoo.org>
9636
9637 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
9638 a struct th_u2 inside the union, and move tu_block/tu_code into
9639 a new th_u3 union of tu_block/tu_code inside of that. Move
9640 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
9641 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
9642 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
9643 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
9644 (th_stuff): Change to th_u1.tu_stuff.
9645 (th_data): Define.
9646 (th_msg): Change to th_u1.th_u2.tu_data.
9647
7f18b530
DM
96482012-05-07 David S. Miller <davem@davemloft.net>
9649
05760585
DM
9650 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9651
7f18b530
DM
9652 [BZ #14074]
9653 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
9654 (SETUP_PIC_REG): Use it.
9655 (SETUP_PIC_REG_LEAF): Use it.
9656
495fd99f
JM
96572012-05-07 Joseph Myers <joseph@codesourcery.com>
9658
9659 [BZ #13885]
9660 [BZ #13923]
9661 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9662 USE_AS_EXPM1L.
9663 (EXPL_FINITE): Likewise.
9664 (FLDLOG): Likewise.
9665 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
9666 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
9667 e_expl.S.
9668 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9669 USE_AS_EXPM1L.
9670 (EXPL_FINITE): Likewise.
9671 (FLDLOG): Likewise.
9672 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
9673 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
9674 e_expl.S.
9675 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
9676 test of -max_value argument for long double.
9677 * sysdeps/i386/fpu/libm-test-ulps: Update.
9678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9679
6693d694
DM
96802012-05-06 David S. Miller <davem@davemloft.net>
9681
9682 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
9683 quad soft-float symbols whose references which are compiler
9684 generated.
9685 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9686
6c23e11c
JM
96872012-05-06 Joseph Myers <joseph@codesourcery.com>
9688
d8b82cad
JM
9689 [BZ #13884]
9690 [BZ #13914]
9691 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9692 USE_AS_EXP10L.
9693 (EXPL_FINITE): Likewise.
9694 (FLDLOG): Likewise.
9695 (c0): Likewise.
9696 (c1): Likewise.
9697 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
9698 Adjust comments for base varying.
9699 (__expl_finite): Change alias to EXPL_FINITE.
9700 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
9701 e_expl.S.
9702 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
9703 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
9704 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9705 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
9706 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9707 USE_AS_EXP10L.
9708 (EXPL_FINITE): Likewise.
9709 (FLDLOG): Likewise.
9710 (c0): Likewise.
9711 (c1): Likewise.
9712 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
9713 Adjust comments for base varying.
9714 (__expl_finite): Change alias to EXPL_FINITE.
9715 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
9716 tests for bugs.
9717 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9718
6c23e11c
JM
9719 [BZ #14064]
9720 * math/libm-test.inc (check_float_internal): Correct ulp
9721 calculation for subnormal expected results.
9722
29ba805c
AJ
97232012-05-06 Andreas Jaeger <aj@suse.de>
9724
9725 * Makeconfig (+math-flags): New, set to -frounding-math.
9726 (+cflags): Add +math-flags so that all of glibc gets compiled with
9727 it.
9728
9729 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
9730
7b17aeda
JM
97312012-05-05 Joseph Myers <joseph@codesourcery.com>
9732
5779f134
JM
9733 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
9734 Disable one test.
9735
41498f4d
JM
9736 [BZ #13787]
9737 [BZ #13922]
9738 [BZ #14036]
9739 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
9740 (__ieee754_expl): Allow for and saturate large arguments.
9741 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
9742 (u_threshold): Likewise.
9743 (__exp): Call __ieee754_exp before checking for overflow and
9744 underflow.
9745 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
9746 (u_threshold): Likewise.
9747 (__expf): Call __ieee754_expf before checking for overflow and
9748 underflow.
9749 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
9750 (u_threshold): Likewise.
9751 (__expl): Call __ieee754_expl before checking for overflow and
9752 underflow.
9753 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
9754 (__ieee754_expl): Allow for and saturate large arguments.
9755 * math/libm-test.inc (exp_test): Add another test. Do not allow
9756 missing overflow exception on overflow.
9757 (expm1_test): Do not allow missing overflow exception on overflow.
9758
6698b8bf
JM
9759 * sysdeps/i386/fpu/e_expl.c: Move to ...
9760 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
9761 rather than using inline asm.
9762 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
9763 * sysdeps/x86_64/fpu/e_expl.S: Copy from
9764 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
9765
7b17aeda
JM
9766 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
9767 (nice): Likewise.
9768 (poll): Likewise.
9769 (signal): Likewise.
9770 (time): Likewise.
9771 (times): Likewise.
9772
f7c85819
JM
97732012-05-04 Joseph Myers <joseph@codesourcery.com>
9774
9775 * sysdeps/unix/syscalls.list (adjtime): Add entry from
9776 sysdeps/unix/common/syscalls.list.
9777 (fchmod): Likewise.
9778 (fchown): Likewise.
9779 (ftruncate): Likewise.
9780 (getrusage): Likewise.
9781 (gettimeofday): Likewise.
9782 (setpgid): Likewise.
9783 (setregid): Likewise.
9784 (setreuid): Likewise.
9785 (sigaction): Likewise.
9786 (truncate): Likewise.
9787 (vhangup): Likewise.
9788 * sysdeps/unix/common/syscalls.list: Remove file.
9789 * sysdeps/unix/bsd/Implies: Don't include unix/common.
9790 * sysdeps/unix/sysv/linux/Implies: Likewise.
9791
336270d0
L
97922012-05-04 H.J. Lu <hongjiu.lu@intel.com>
9793
9794 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
9795 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
9796 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
9797 Moved to ...
9798 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
9799 Here.
9800 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
9801 to ...
9802 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
9803 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
9804 to ...
9805 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
9806 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
9807 to ...
9808 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
9809 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
9810 to ...
9811 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
9812 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
9813 to ...
9814 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
9815 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
9816 to ...
9817 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
9818 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
9819 to ...
9820 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
9821 Here.
9822 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
9823 to ...
9824 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
9825 Here.
9826 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
9827 to ...
9828 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
9829 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
9830 Moved to ...
9831 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
9832 Here.
9833 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
9834 to ...
9835 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
9836
d128e450
JM
98372012-05-04 Joseph Myers <joseph@codesourcery.com>
9838
fa8ee516
JM
9839 * sysdeps/unix/common/bits/dirent.h: Remove file.
9840 * sysdeps/unix/common/bits/fcntl.h: Likewise.
9841
d128e450
JM
9842 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
9843 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
9844 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
9845 * sysdeps/unix/bsd/isatty.c: Likewise.
9846 * sysdeps/unix/bsd/tcdrain.c: Likewise.
9847 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
9848 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
9849
ff8faaf0 98502012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 9851
62881be4 9852 [BZ #13563]
31dc8730
AZ
9853 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
9854 long double comparison inaccuracies.
9855 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9856 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9857
6fef930c
AS
98582012-05-04 Andreas Schwab <schwab@linux-m68k.org>
9859
9860 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
9861 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
9862
8f203e6c
JM
98632012-05-04 Joseph Myers <joseph@codesourcery.com>
9864
9865 [BZ #14049]
9866 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
9867 nonzero digits before rounding a hex value.
9868 * stdlib/tst-strtod.c (tests): Add another test.
9869
5197d9c2
AK
98702012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9871
9872 * sysdeps/s390/fpu/libm-test-ulps: Update.
9873
f0c1dedf
AJ
98742012-05-03 Andreas Jaeger <aj@suse.de>
9875
9876 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
9877 does not get optimized out.
9878 (malloc_opt_barrier): New.
9879
a65ef2ae 98802012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 9881 Roland McGrath <roland@hack.frob.com>
a65ef2ae 9882
2b942cb7 9883 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 9884 intermediate file deletion.
2b942cb7 9885 (generated): Add .symlist files.
a65ef2ae 9886
54b71e02
JM
98872012-05-03 Joseph Myers <joseph@codesourcery.com>
9888
9889 [BZ #13775]
9890 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
9891 Redirect under this condition.
9892 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
9893 [__USE_GNU] (__dprintf_chk): Not under this condition.
9894 [__USE_GNU] (__vdprintf_chk): Likewise.
9895 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
9896 under this condition.
9897 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
9898 [__USE_XOPEN2K8] (dprintf): Define under this condition.
9899 [__USE_XOPEN2K8] (vdprintf): Likewise.
9900 [__USE_GNU] (__dprintf_chk): Not under this condition.
9901 [__USE_GNU] (__vdprintf_chk): Likewise.
9902 [__USE_GNU] (dprintf): Likewise.
9903 [__USE_GNU] (vdprintf): Likewise.
9904
d3dfcc41
RM
99052012-05-03 Roland McGrath <roland@hack.frob.com>
9906
9907 * elf/Makefile (common-generated): Set this instead of generated for
9908 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
9909 $(all-built-dso)-derived lists.
9910
7ac30cc5
AJ
99112012-05-03 Andreas Jaeger <aj@suse.de>
9912
0c51e550
AJ
9913 * sysdeps/i386/fpu/libm-test-ulps: Update.
9914
7ac30cc5
AJ
9915 * FAQ: Removed.
9916 * FAQ.in: Likewise.
9917 * scripts/gen-FAQ.pl: Likewise.
9918 * manual/install.texi (Installation): Point to online location of
9919 FAQ.
9920 * Makefile (files-for-dist): Remove FAQ.
9921 (FAQ): Remove.
9922
d4c2917f
AM
99232012-05-02 Allan McRae <allan@archlinux.org>
9924
9925 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
9926 (LDFLAGS-reldepmod5.so): Likewise.
9927 (LDFLAGS-reldep6mod1.so): Likewise.
9928 (LDFLAGS-reldep6mod4.so): Likewise.
9929 (LDFLAGS-reldep8mod3.so): Likewise.
9930 (LDFLAGS-unload4mod1.so): Likewise.
9931 (LDFLAGS-unload4mod2.so): Likewise.
9932 (LDFLAGS-tst-initorder): Likewise.
9933 (LDFLAGS-tst-initordera2.so): Likewise.
9934 (LDFLAGS-tst-initordera3.so): Likewise.
9935 (LDFLAGS-tst-initordera4.so): Likewise.
9936 (LDFLAGS-tst-initorderb2.so): Likewise.
9937 (LDFLAGS-noload): Likewise.
9938 (LDFLAGS-next): Likewise.
9939 (LDFLAGS-order2mod1.so): Likewise.
9940 (LDFLAGS-order2mod2.so): Likewise.
9941 (LDFLAGS-tst-initorder2): Likewise.
9942 (LDFLAGS-tst-initorder2a.so): Likewise.
9943 (LDFLAGS-tst-initorder2b.so): Likewise.
9944 (LDFLAGS-tst-initorder2c.so): Likewise.
9945 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
9946
d77f993f
DM
99472012-05-02 David S. Miller <davem@davemloft.net>
9948
9949 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9950
171a70b4
PP
99512012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
9952
9953 [BZ #14055]
9954 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
9955
0be196ad
AJ
99562012-05-02 Andreas Jaeger <aj@suse.de>
9957
9958 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
9959 since we manipulate rounding mode.
9960 (CPPFLAGS-test-idouble.c): Likewise.
9961 (CPPFLAGS-test-ifloat.c): Likewise.
9962 (CFLAGS-test-ldouble.c): Likewise.
9963 (CFLAGS-test-double.c): Likewise.
9964 (CFLAGS-test-float.c): Likewise.
9965 (CFLAGS-test-misc.c): Likewise.
9966 (CFLAGS-test-test-fenv.c): Likewise.
9967
4f9d04aa
AZ
99682012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9969
2b942cb7
RM
9970 [BZ #2550]
9971 [BZ #2570]
9972 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
9973 comparisons to determine direction to adjust input.
4f9d04aa 9974
82a79e7d
RM
99752012-05-01 Roland McGrath <roland@hack.frob.com>
9976
f5a01ca9
RM
9977 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
9978 output to the target.
9979
90fe4186
RM
9980 * scripts/localplt.awk: New file.
9981 * elf/Makefile ($(objpfx)check-localplt): Target removed.
9982 (check-localplt-CFLAGS): Variable removed.
9983 ($(all-built-dso:=.jmprel)): New static pattern rule.
9984 (generated): Add those targets.
9985 (localplt-built-dso): New variable.
9986 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
9987
9988 * elf/check-localplt.c: File removed.
9989
82397ed6
RM
9990 * scripts/check-execstack.awk: New file.
9991 * elf/Makefile ($(objpfx)check-execstack): Target removed.
9992 (check-execstack-CFLAGS): Variable removed.
9993 ($(objpfx)check-execstack.h): Target removed.
9994 ($(objpfx)execstack-default): New target.
9995 (generated): Add that instead of check-execstack.h.
9996 ($(all-built-dso:=.phdr)): New static pattern rule.
9997 (generated): Add those targets.
9998 * elf/check-execstack.c: File removed.
9999
82a79e7d
RM
10000 * scripts/check-textrel.awk: New file.
10001 * elf/Makefile ($(objpfx)check-textrel): Target removed.
10002 (check-textrel-CFLAGS): Variable removed.
10003 (all-built-dso): Use := to define.o
10004 ($(all-built-dso:=.dyn)): New static pattern rule.
10005 (generated): Add those targets.
10006 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
10007 * config.make.in (READELF): New substituted variable.
10008 * elf/check-textrel.c: File removed.
10009
62fde54f 100102012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 10011
615605c9
JM
10012 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10013 allow.
10014 * conform/data/ctype.h-data [C99-based standards] (isblank):
10015 Expect function.
10016 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
10017 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
10018 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10019 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
10020 Specify type. Require positive value.
10021 (EILSEQ): Likewise.
10022 (ERANGE): Likewise.
10023 [ISO || POSIX] (EILSEQ): Do not expect.
10024 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
10025 Specify type. Require positive value.
10026 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
10027 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
10028 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
10029 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
10030 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
10031 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
10032 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
10033 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
10034 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
10035 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
10036 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
10037 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
10038 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
10039 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
10040 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
10041 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
10042 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
10043 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
10044 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
10045 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
10046 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
10047 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
10048 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
10049 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
10050 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
10051 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
10052 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
10053 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
10054 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
10055 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
10056 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
10057 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
10058 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
10059 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
10060 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
10061 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
10062 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
10063 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
10064 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
10065 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
10066 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
10067 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
10068 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
10069 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
10070 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
10071 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
10072 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
10073 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
10074 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
10075 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
10076 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
10077 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
10078 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
10079 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
10080 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
10081 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
10082 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
10083 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
10084 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
10085 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
10086 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
10087 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
10088 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
10089 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
10090 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
10091 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
10092 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
10093 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
10094 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
10095 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
10096 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
10097 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
10098 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
10099 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
10100 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
10101 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
10102 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
10103 Require >= 2.
10104 (FLT_ROUNDS): Expect as macro, not constant.
10105 (FLT_MANT_DIG): Use macro-int-constant.
10106 (DBL_MANT_DIG): Likewise.
10107 (LDBL_MANT_DIG): Likewise.
10108 (FLT_DIG): Likewise.
10109 (DBL_DIG): Likewise.
10110 (LDBL_DIG): Likewise.
10111 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
10112 (DBL_MIN_EXP): Likewise.
10113 (LDBL_MIN_EXP): Likewise.
10114 (FLT_MAX_EXP): Use macro-int-constant.
10115 (DBL_MAX_EXP): Likewise.
10116 (LDBL_MAX_EXP): Likewise.
10117 (FLT_MAX_10_EXP): Likewise.
10118 (DBL_MAX_10_EXP): Likewise.
10119 (LDBL_MAX_10_EXP): Likewise.
10120 (FLT_MAX): Use macro-constant.
10121 (DBL_MAX): Likewise.
10122 (LDBL_MAX): Likewise.
10123 (FLT_EPSILON): Use macro-constant. Give upper bound.
10124 (DBL_EPSILON): Likewise.
10125 (LDBL_EPSILON): Likewise.
10126 (FLT_MIN): Likewise.
10127 (DBL_MIN): Likewise.
10128 (LDBL_MIN): Likewise.
10129 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
10130 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
10131 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
10132 [ISO11] (FLT_HAS_SUBNORM): Likewise.
10133 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
10134 [ISO11] (DBL_DECIMAL_DIG): Likewise.
10135 [ISO11] (FLT_DECIMAL_DIG): Likewise.
10136 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
10137 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
10138 [ISO11] (FLT_TRUE_MIN): Likewise.
10139 [ISO11] (LDBL_TRUE_MIN): Likewise.
10140 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10141 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
10142 (SCHAR_MIN): Use macro-int-constant. Specify type.
10143 (SCHAR_MAX): Likewise.
10144 (UCHAR_MAX): Likewise.
10145 (CHAR_MIN): Likewise.
10146 (CHAR_MAX): Likewise.
10147 (MB_LEN_MAX): Use macro-int-constant.
10148 (SHRT_MIN): Use macro-int-constant. Specify type.
10149 (SHRT_MAX): Likewise.
10150 (USHRT_MAX): Likewise.
10151 (INT_MAX): Likewise.
10152 (INT_MIN): Use macro-int-constant. Specify type. Make upper
10153 bound negative.
10154 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
10155 bound with "U".
10156 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10157 bound with "L".
10158 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
10159 bound negative. Suffix upper bound with "L".
10160 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10161 bound with "UL".
10162 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
10163 Specify type.
10164 [C99-based standards] (LLONG_MAX): Likewise.
10165 [C99-based standards] (ULLONG_MAX): Likewise.
10166 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
10167 == 0.
10168 [ISO11] (max_align_t): Require type.
10169 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10170
c9140a62
JM
10171 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
10172 from $CFLAGS, without defining away __attribute__ calls.
10173 (checknamespace): Use $CFLAGS_namespace.
10174
9af0bf29
JM
10175 * conform/conformtest.pl (@keywords): Only include C99 keywords
10176 for standards based on C99 or C11.
10177
343222a2
JM
10178 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
10179 Disable tests.
10180 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
10181 UNIX98]: Likewise.
10182
661f8cf0
JM
10183 * conform/conformtest.pl: Handle "macro-int-constant" and test for
10184 usability of symbols in #if.
10185
ee74b9cb
JM
10186 * conform/conformtest.pl: If macro or constant types start
10187 "promoted:", expect the symbol to be of the following type
10188 promoted by the integer promotions.
62fde54f 10189
aafc49b3
JM
10190 * conform/conformtest.pl: Parse all "constant" and "macro" lines
10191 in one place. Also handle "macro-constant".
10192
fefdf574
JM
10193 * conform/conformtest.pl: Only accept expected macro values with
10194 "==". Parse all "macro" lines in one place.
10195 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
10196
f2d922fe
JM
10197 * conform/conformtest.pl: Handle braced types on "constant" lines
10198 instead of handling "typed-constant".
10199 * conform/data/signal.h-data: Use "constant" instead of
10200 "typed-constant".
10201
d22956c9
JM
10202 * conform/conformtest.pl: Handle "optional-" at start of lines in
10203 one place rather than duplicating several cases. Handle each
10204 format of "macro" line with initial "optional-".
10205
028e2e38
JM
10206 * conform/conformtest.pl: Only accept expected constant or
10207 optional-constant values with "==". Parse all "constant" lines in
10208 one place. Parse all "optional-constant" lines in one place.
10209 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
10210 * conform/data/fmtmsg.h-data: Likewise.
10211 * conform/data/netinet/in.h-data: Likewise.
10212 * conform/data/tar.h-data: Likewise.
10213 * conform/data/limits.h-data: Use "==" form on "constant" and
10214 "optional-constant" lines.
10215
1b8f2850
JM
10216 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
10217 Use -std=c99 for XOPEN2K.
10218 (@knownproblems): Remove.
10219 (newtoken): Don't check %isknown.
10220
a05a144b
JM
10221 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
10222 Do not expect macro.
10223 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
10224 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
10225 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
10226 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
10227 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
10228 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
10229 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
10230 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
10231 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
10232 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
10233 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
10234 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
10235 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
10236 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
10237 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
10238 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
10239 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
10240 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
10241 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
10242 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
10243 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
10244 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
10245 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
10246 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
10247 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
10248 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
10249 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
10250 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
10251 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
10252 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
10253 [XPG3] (acosh): Likewise.
10254 [XPG3] (asinh): Likewise.
10255 [XPG3] (atanh): Likewise.
10256 [XPG3] (cbrt): Likewise.
10257 [XPG3] (expm1): Likewise.
10258 [XPG3] (ilogb): Likewise.
10259 [XPG3] (log1p): Likewise.
10260 [XPG3] (logb): Likewise.
10261 [XPG3] (nextafter): Likewise.
10262 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
10263 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
10264 [XPG3] (remainder): Likewise.
10265 [XPG3] (rint): Likewise.
10266 [XPG3 || XPG4 || UNIX98] (round): Likewise.
10267 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
10268 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
10269 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
10270 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
10271 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
10272 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
10273 [UNIX98 || XOPEN2K] (scalb): Expect.
10274 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
10275 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
10276 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
10277 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
10278 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
10279 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
10280 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
10281 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
10282 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
10283 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
10284 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
10285 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
10286 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
10287 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
10288 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
10289 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
10290 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
10291 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
10292 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
10293 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
10294 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
10295 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
10296 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
10297 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
10298 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
10299 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
10300 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
10301 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
10302 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
10303 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
10304 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
10305 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
10306 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
10307 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
10308 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
10309 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
10310 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
10311 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
10312 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
10313 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
10314 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
10315 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
10316 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
10317 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
10318 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
10319 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
10320 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
10321 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
10322 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
10323 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
10324 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
10325 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
10326 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
10327 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
10328 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
10329 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
10330 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
10331 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
10332 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
10333 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
10334 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
10335 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
10336 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
10337 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
10338 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
10339 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
10340 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
10341 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
10342 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
10343 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
10344 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
10345 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
10346 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
10347 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
10348 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
10349 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
10350 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
10351 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
10352 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
10353 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
10354 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
10355 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
10356 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
10357 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
10358 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
10359 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
10360 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
10361 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
10362 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
10363 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
10364 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
10365 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
10366 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
10367 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
10368 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
10369 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
10370 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
10371 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
10372 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
10373 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
10374 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
10375 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
10376 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
10377 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
10378 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
10379 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
10380 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
10381 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
10382 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
10383 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
10384 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
10385 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
10386 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
10387 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
10388 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
10389 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
10390 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
10391 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
10392 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
10393 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
10394 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
10395 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
10396 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
10397 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
10398 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
10399 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
10400 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
10401 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
10402 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
10403 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
10404 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
10405 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
10406 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
10407 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
10408 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
10409 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
10410 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
10411
73c5ebe3
JM
10412 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
10413 _XOPEN_SOURCE_EXTENDED for XPG4.
10414
39c33b6c
JM
10415 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
10416
62fde54f
JM
10417 * Makeconfig (localtime): Remove variable.
10418 (inst_localtime-file): Likewise.
10419
0741d64c
AS
104202012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10421
10422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10423 Update.
10424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10425 Update.
10426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10427 Update.
10428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10429 Update.
10430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10431 Update.
10432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
10433 Update.
10434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10435 Update.
10436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
10437 Update.
10438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10439 Update.
10440
7cb029ee
JM
104412012-05-01 Joseph Myers <joseph@codesourcery.com>
10442
10443 [BZ #2550]
10444 [BZ #2570]
10445 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
10446 comparisons to determine direction to adjust input.
10447 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10448 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
10449 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
10450 Likewise.
10451 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
10452 Likewise.
10453 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10454 Likewise.
10455 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
10456 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10457 Likewise.
10458 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10459 Likewise.
10460 * math/libm-test.inc (nexttoward_test): Add more tests.
10461
412bd966
AS
104622012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10463
10464 [BZ #14040]
10465 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
10466 in version GLIBC_2.1, not GLIBC_2.0.
10467 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
10468 Likewise.
10469
9568c0c2
JM
104702012-04-30 Joseph Myers <joseph@codesourcery.com>
10471
adfbc8ac
JM
10472 [BZ #13942]
10473 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
10474 (1 - x) * (1 + x).
10475 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10476 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
10477 * math/libm-test.inc (acos_test): Add more tests.
10478 (asin_test): Likewise.
10479 * sysdeps/i386/fpu/libm-test-ulps: Update.
10480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10481
5ba3cc69
JM
10482 [BZ #14034]
10483 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
10484 of square root.
10485 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
10486 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10487 * math/libm-test.inc (acos_test_tonearest): New function.
10488 (acos_test_towardzero): Likewise.
10489 (acos_test_downward): Likewise.
10490 (acos_test_upward): Likewise.
10491 (asin_test_tonearest): Likewise.
10492 (asin_test_towardzero): Likewise.
10493 (asin_test_downward): Likewise.
10494 (asin_test_upward): Likewise.
10495 (main): Call the new functions.
10496 * sysdeps/i386/fpu/libm-test-ulps: Update.
10497 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10498
9568c0c2
JM
10499 [BZ #13884]
10500 [BZ #13924]
10501 * math/e_exp10.c: Include <float.h>.
10502 (__ieee754_exp10): Handle underflow here rather than multiplying
10503 large negative argument by M_LN10.
10504 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
10505 of __ieee754_expf.
10506 * math/e_exp10l.c: Include <float.h>.
10507 (__ieee754_exp10l): Handle underflow here rather than multiplying
10508 large negative argument by M_LN10l.
10509 * math/libm-test.inc (exp10_test): Add another test. Do not allow
10510 spurious overflow exception on underflow.
10511
5ac3ea17
MP
105122012-04-29 Marek Polacek <polacek@redhat.com>
10513
10514 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
10515 (__fortify_function): New macro.
10516 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
10517 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
10518 __extern_always_inline.
10519 * libio/bits/stdio2.h: Likewise.
10520 * libio/bits/stdio.h: Likewise.
10521 * string/string.h: Likewise.
10522 * string/bits/string3.h: Likewise.
10523 * include/stdio.h: Likewise.
10524 * stdlib/bits/stdlib.h: Likewise.
10525 * stdlib/stdlib.h: Likewise.
10526 * rt/bits/mqueue2.h: Likewise.
10527 * rt/mqueue.h: Likewise.
10528 * posix/bits/unistd.h: Likewise.
10529 * posix/unistd.h: Likewise.
10530 * io/bits/poll2.h: Likewise.
10531 * io/bits/fcntl2.h: Likewise.
10532 * io/fcntl.h: Likewise.
10533 * io/sys/poll.h: Likewise.
10534 * misc/bits/syslog.h: Likewise.
10535 * misc/bits/syslog-ldbl.h: Likewise.
10536 * misc/sys/syslog.h: Likewise.
10537 * socket/bits/socket2.h: Likewise.
10538 * socket/sys/socket.h: Likewise.
10539 * debug/tst-chk1.c: Likewise.
10540 * wcsmbs/bits/wchar2.h: Likewise.
10541 * wcsmbs/bits/wchar-ldbl.h: Likewise.
10542 * wcsmbs/wchar.h: Likewise.
10543
ecf0ebfb
AJ
105442012-04-29 Andreas Jaeger <aj@suse.de>
10545
10546 * Makerules (tests): Remove enable-check-abi protection.
10547 (check-abi-warn): Remove.
10548 (check-abi-%): Remove check-abi-warn usage.
10549
10550 * configure.in: Remove check-abi configure option.
10551 * configure: Regenerated.
10552 * config.make.in (enable-check-abi): Remove.
10553
6d5c57fa
AS
105542012-04-28 Andreas Schwab <schwab@linux-m68k.org>
10555
24c5d07e 10556 [BZ #14033]
ded5180a
AS
10557 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
10558 double functions to double *_finite functions.
10559
7e0d315d
AS
10560 [BZ #13941]
10561 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
10562 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
10563 LDBL_MIN_EXP.
10564 * stdio-common/Makefile (tests): Add tst-sprintf3.
10565 * stdio-common/tst-sprintf3.c: New file.
10566
6d5c57fa
AS
10567 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
10568 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
10569
0749ff8b
JM
105702012-04-28 Joseph Myers <joseph@codesourcery.com>
10571
10572 * conform/conformtest.pl: Remove duplicate typed-constant
10573 handling.
10574
8dbd5d7b
DM
105752012-04-28 David S. Miller <davem@davemloft.net>
10576
10577 * Makerules (%.abilist): Add vpath on sysdep_dirs.
10578 (check-abi-%): Remove AWK script prerequisite and explicit
10579 abilist directory.
10580 (check-abi): Rewrite to just diff the symlist with the abilist.
10581 (config-tls, config-abi-config): Delete, no longer used.
10582 (update-abi-%): Remove AWK script and explicit abilist directory.
10583 (update-abi): Rewrite to simply compare and conditionally copy the
10584 symlist and the sysdep abilist file. Remove update-abi-config
10585 checks.
10586 * abilist/ld.abilist: Remove.
10587 * abilist/libBrokenLocale.abilist: Remove.
10588 * abilist/libanl.abilist: Remove.
10589 * abilist/libcrypt.abilist: Remove.
10590 * abilist/libdl.abilist: Remove.
10591 * abilist/librt.abilist: Remove.
10592 * abilist/libthread_db.abilist: Remove.
10593 * abilist/libutil.abilist: Remove.
10594 * scripts/extract-abilist.awk: Remove.
10595 * scripts/merge-abilist.awk: Remove.
10596 * sysdeps/generic/libcidn.abilist: New file.
10597 * sysdeps/generic/libnss_compat.abilist: New file.
10598 * sysdeps/generic/libnss_db.abilist: New file.
10599 * sysdeps/generic/libnss_dns.abilist: New file.
10600 * sysdeps/generic/libnss_files.abilist: New file.
10601 * sysdeps/generic/libnss_hesiod.abilist: New file.
10602 * sysdeps/generic/libnss_nis.abilist: New file.
10603 * sysdeps/generic/libnss_nisplus.abilist: New file.
10604 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
10605 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
10606 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
10607 file.
10608 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
10609 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
10610 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
10611 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
10612 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
10613 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
10614 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
10615 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
10616 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
10617 file.
10618 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
10619 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
10620 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
10621 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
10622 file.
10623 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
10624 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
10625 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
10626 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
10627 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
10628 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
10629 file.
10630 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
10631 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
10632 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
10633 file.
10634 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
10635 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
10636 New file.
10637 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
10638 New file.
10639 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
10640 New file.
10641 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
10642 New file.
10643 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
10644 New file.
10645 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
10646 New file.
10647 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
10648 New file.
10649 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
10650 New file.
10651 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
10652 New file.
10653 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
10654 New file.
10655 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
10656 New file.
10657 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
10658 New file.
10659 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
10660 New file.
10661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
10662 file.
10663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
10664 New file.
10665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
10666 New file.
10667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
10668 file.
10669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
10670 New file.
10671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
10672 New file.
10673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
10674 file.
10675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
10676 New file.
10677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10678 New file.
10679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
10680 New file.
10681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
10682 New file.
10683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
10684 New file.
10685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
10686 New file.
10687 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
10688 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
10689 file.
10690 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
10691 New file.
10692 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
10693 file.
10694 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
10695 file.
10696 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
10697 file.
10698 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
10699 file.
10700 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
10701 file.
10702 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10703 New file.
10704 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
10705 file.
10706 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
10707 file.
10708 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
10709 New file.
10710 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
10711 file.
10712 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
10713 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
10714 file.
10715 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
10716 New file.
10717 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
10718 file.
10719 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
10720 file.
10721 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
10722 file.
10723 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
10724 file.
10725 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
10726 file.
10727 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10728 New file.
10729 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
10730 file.
10731 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
10732 file.
10733 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
10734 New file.
10735 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
10736 file.
10737 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
10738 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
10739 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
10740 file.
10741 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
10742 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
10743 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
10744 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
10745 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
10746 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
10747 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
10748 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
10749 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
10750 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
10751 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
10752 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
10753 file.
10754 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10755 New file.
10756 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
10757 file.
10758 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
10759 file.
10760 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
10761 file.
10762 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
10763 file.
10764 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
10765 file.
10766 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10767 New file.
10768 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10769 New file.
10770 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
10771 file.
10772 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10773 New file.
10774 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
10775 file.
10776 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
10777 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
10778 file.
10779 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10780 New file.
10781 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
10782 file.
10783 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
10784 file.
10785 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
10786 file.
10787 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
10788 file.
10789 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
10790 file.
10791 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10792 New file.
10793 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10794 New file.
10795 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
10796 file.
10797 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10798 New file.
10799 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
10800 file.
10801
41d73a1b
JM
108022012-04-28 Joseph Myers <joseph@codesourcery.com>
10803
10804 * conform/conformtest.pl: Fix typo in handling typed-constant from
10805 allow-header.
10806
28aeeda4
JM
108072012-04-27 Joseph Myers <joseph@codesourcery.com>
10808
adae8f5e
JM
10809 * README: Cut down references to pre-2.6 Linux kernels and
10810 Linuxthreads. Update lists of configurations in libc and ports
10811 and sort alphabetically. Say "or newer" with Linux kernel version
10812 requirements.
10813
28aeeda4
JM
10814 * config.h.in [IS_IN_build]: Allow compiling without optimization.
10815
a462cb63
RA
108162012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10817
10818 [BZ #887]
10819 * math/libm-test.inc (logb_test_downward): New test to expose
10820 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
10821 rounding mode.
10822
6ad3493e
JM
108232012-04-27 Joseph Myers <joseph@codesourcery.com>
10824
10825 [BZ #14027]
10826 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
10827 to be done.
10828 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
10829 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
10830
2ce4f015
JM
108312012-04-26 Joseph Myers <joseph@codesourcery.com>
10832
5aeb141a
JM
10833 * sysdeps/unix/i386/brk.S: Remove file.
10834 * sysdeps/unix/i386/dl-brk.S: Likewise.
10835 * sysdeps/unix/i386/pipe.S: Likewise.
10836 * sysdeps/unix/i386/sigreturn.S: Likewise.
10837 * sysdeps/unix/i386/syscall.S: Likewise.
10838 * sysdeps/unix/i386/vfork.S: Likewise.
10839 * sysdeps/unix/i386/wait.S: Likewise.
10840
7143acae
JM
10841 * sysdeps/unix/common/tcsendbrk.c: Move to ...
10842 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
10843
2ce4f015
JM
10844 * configure.in (arm*-none*): Do not allow without
10845 --enable-hacker-mode.
10846 (netbsd*): Remove case setting base_os.
10847 (386bsd*): Likewise.
10848 (freebsd*): Likewise.
10849 (bsdi*): Likewise.
10850 (osf*): Likewise.
10851 (sunos*): Likewise.
10852 (ultrix*): Likewise.
10853 (newsos*): Likewise.
10854 (dynix*): Likewise.
10855 (*bsd*): Likewise.
10856 (sysv*): Likewise.
10857 (isc*): Likewise.
10858 (esix*): Likewise.
10859 (sco*): Likewise.
10860 (minix*): Likewise.
10861 (irix4*): Likewise.
10862 (irix6*): Likewise.
10863 (solaris[2-9]*): Likewise.
10864 (none): Likewise.
10865 * configure: Regenerated.
10866
0ac229c8
AZ
108672012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10868
10869 [BZ #11521]
10870 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
10871 overflow or cancellation in calculating denominator.
10872 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
10873 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
10874 down expression to avoid unexpected rounding in newer GCCs.
10875 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
10876
33f244f4
DM
108772012-04-26 David S. Miller <davem@davemloft.net>
10878
10879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
10880 long-double compat symbols.
10881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
10885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
10886 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
10887 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
10888 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
10889 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
10890 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
10891 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
10892 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
10893 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10894
cfa1f3e8
DM
108952012-04-25 David S. Miller <davem@davemloft.net>
10896
10897 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
10898 HWCAP_* values only after the memory barriers have been defined.
10899 (atomic_full_barrier): Define.
10900 (atomic_read_barrier): Define.
10901 (atomic_write_barrier): Define.
10902
6e236b92
SP
109032012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10904
10905 * shlib-versions: Add libgcc_s version information.
10906 * sysdeps/generic/libgcc_s.h: Remove.
10907 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
10908 libgcc_s.h.
10909 * sysdeps/gnu/unwind-resume.c: Likewise.
10910 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
10911
aab39a09
DM
109122012-04-25 David S. Miller <davem@davemloft.net>
10913
10914 * sysdeps/unix/sparc/brk.S: Delete.
10915 * sysdeps/unix/sparc/dl-brk.S: Delete.
10916 * sysdeps/unix/sparc/pipe.S: Delete.
10917 * sysdeps/unix/sparc/sysdep.S: Delete.
10918 * sysdeps/unix/sparc/sysdep.h: Delete.
10919 * sysdeps/unix/sparc/vfork.S: Delete.
10920 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
10921 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
10922 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
10923 ret_ERRVAL, r0, r1, MOVE): Define.
10924 (JUMPTARGET): Remove.
10925 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
10926 sysdeps/unix/sparc/sysdep.h
10927 (ENTRY, END): Remove.
10928 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10929
a3cc4f48
JM
109302012-04-25 Joseph Myers <joseph@codesourcery.com>
10931
2ed8cda2
JM
10932 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
10933 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
10934 -DIS_IN_build.
10935
35d76d59
JM
10936 * timezone/README: Update upstream location and email address for
10937 tzcode and tzdata.
10938 * timezone/zdump.c: Update from tzcode 2012b.
10939 * timezone/zic.c: Likewise.
10940
a3cc4f48
JM
10941 * configure.in (libc_cv_as_needed): Remove test.
10942 * configure: Regenerated.
10943 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
10944 conditional definition.
10945 [$(have-as-needed) != yes] (no-as-needed): Likewise.
10946 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
10947 * config.make.in (have-as-needed): Remove variable.
10948
ceab42c3
SP
109492012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10950 Paul Pluzhnikov <ppluzhnikov@google.com>
10951
10952 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
10953 strings correctly.
10954
3ce2865f
CLT
109552012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
10956
10957 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
10958 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
10959 * sysdeps/sh/strlen.S: Likewise.
10960
f37e0d68
JM
109612012-04-24 Joseph Myers <joseph@codesourcery.com>
10962
ae186e9a
JM
10963 * sysdeps/unix/fork.S: Remove file.
10964 * sysdeps/unix/i386/fork.S: Likewise.
10965 * sysdeps/unix/sparc/fork.S: Likewise.
10966
b96914af
JM
10967 * sysdeps/unix/system.c: Remove file.
10968 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
10969
f37e0d68
JM
10970 * sysdeps/unix/getegid.S: Remove file.
10971 * sysdeps/unix/geteuid.S: Likewise.
10972
87ef29ca
RM
109732012-04-24 Roland McGrath <roland@hack.frob.com>
10974
83bcd236
RM
10975 * scripts/check-localplt.awk: New file.
10976 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
10977 of diff.
10978 * scripts/data/localplt-generic.data: Add a comment.
10979
87ef29ca
RM
10980 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
10981 NODE when __dir_mkfile failed.
10982 * sysdeps/mach/hurd/symlinkat.c: Likewise.
10983 Reported by Ludovic Courtès <ludo@gnu.org>.
10984
e5a6e567
AJ
109852012-04-24 Andreas Jaeger <aj@suse.de>
10986
10987 * Makerules (common-clean): Also remove gen-as-const-headers
10988 files.
10989
c1820385
JM
109902012-04-24 Joseph Myers <joseph@codesourcery.com>
10991
10992 * Makerules (native-compile): Do not change working directory for
10993 build. Use $(OUTPUT_OPTION) in command.
10994 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
10995
94e02fc4
AZ
109962012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10997
10998 [BZ #13886]
10999 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
11000 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
11001 * math/libm-test.inc (floor_test): Add more tests.
11002 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
11003
3a533ca3
JM
110042012-04-24 Joseph Myers <joseph@codesourcery.com>
11005
940ab4b3
JM
11006 * sysdeps/unix/getdents.c: Remove file.
11007 * sysdeps/unix/sysv/getdents.c: Likewise.
11008 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
11009
90e037bd
JM
11010 * sysdeps/unix/syscalls.list (madvise): Add syscall from
11011 sysdeps/unix/mman/syscalls.list.
11012 (mmap): Likewise.
11013 (mprotect): Likewise.
11014 (msync): Likewise.
11015 (munmap): Likewise.
11016 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
11017 * sysdeps/unix/mman/syscalls.list: Remove.
11018 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
11019
3a533ca3
JM
11020 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
11021 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
11022 * configure: Regenerated.
11023 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
11024 $(libgcc_s_suffix).
11025 * config.make.in (libgcc_s_suffix): Remove variable.
11026
1ad743de
JM
110272012-04-23 Joseph Myers <joseph@codesourcery.com>
11028
4ad451e2
JM
11029 * sysdeps/unix/sysv/gethostname.c: Move to ...
11030 * sysdeps/posix/gethostname.c: ... here.
11031
5e37ce39
JM
11032 * sysdeps/unix/execve.S: Remove file.
11033
1ad743de
JM
11034 * sysdeps/unix/_exit.S: Remove file.
11035
4e681b5b
AJ
110362012-04-23 Andreas Jaeger <aj@suse.de>
11037
11038 [BZ #13739]
11039 * manual/Makefile: Remove make dist support, there's no
11040 need for a stand-alone documentation tar ball.
11041 (TEXI2DVI): Define always, it's not in Makeconfig.
11042 (dist): Removed.
11043 (tar-it): Removed.
11044 (edition): Removed.
11045 (glibc-doc-$(edition).tar): Removed
11046 (%.Z): Removed.
11047 (%.gz): Removed.
11048 (%.uu): Removed.
11049 (ETAGS): Remove, it's in Makeconfig.
11050 (move-if-change): Remove, it's in Makeconfig.
11051
c0baea34
PE
110522013-04-23 Paul Eggert <eggert@cs.ucla.edu>
11053
11054 [BZ #13970]
11055 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
11056 (strtod, strtof, strtold, strtol, strtoul, strtoq)
11057 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
11058 (strtod_l, strtof_l, strtold_l): Remove __wur.
11059 It is not necessarily an error to ignore strtol's return value.
11060 One can reliably look at the stored endptr to decide whether
11061 the number had valid syntax.
11062
7c0616fa
AJ
110632012-04-21 Andreas Jaeger <aj@suse.de>
11064
803cb6b7 11065 [BZ #13739]
7c0616fa
AJ
11066 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
11067
b0fe253f
JM
110682012-04-21 Joseph Myers <joseph@codesourcery.com>
11069
11070 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
11071 * sysdeps/unix/sysv/Versions: Remove file.
11072
8280f22d
MT
110732012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
11074
11075 [BZ #13927]
11076 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11077
75ce411f 110782012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
11079
11080 [BZ #7064]
11081 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
11082 version from __vm86.
11083
097d59fa
JM
110842012-04-20 Joseph Myers <joseph@codesourcery.com>
11085
a90f3bcb
JM
11086 * sysdeps/unix/common/lxstat.c: Remove file.
11087 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
11088
edc7ea78
JM
11089 * sysdeps/unix/sysv/Makefile: Remove file.
11090
cb78c221
JM
11091 * sysdeps/unix/sysv/direct.h: Remove file.
11092
efa6a45f
JM
11093 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
11094 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
11095 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
11096 * sysdeps/unix/sysv/bits/signum.h: Likewise.
11097 * sysdeps/unix/sysv/bits/stat.h: Likewise.
11098 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
11099 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
11100
9c9f2d0c
JM
11101 * sysdeps/unix/sysv/setrlimit.c: Remove file.
11102
4541c83b
JM
11103 * sysdeps/unix/xmknod.c: Remove file.
11104 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
11105
f5d153a0
JM
11106 * sysdeps/unix/sysv/settimeofday.c: Remove file.
11107
aa746595
JM
11108 * sysdeps/unix/sysv/i386/time.S: Remove file.
11109
cce5905e
JM
11110 * sysdeps/unix/fxstat.c: Remove file.
11111 * sysdeps/unix/xstat.c: Likewise.
11112 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
11113
37fa3841
JM
11114 * sysdeps/unix/sysv/sigaction.c: Remove file.
11115
ff1962a3
JM
11116 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
11117 (sysdep_headers): Remove variable.
11118 [termio.h not in sysdep_headers] (generated): Likewise.
11119 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
11120 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
11121 * sysdeps/unix/sysv/tcdrain.c: Likewise.
11122 * sysdeps/unix/sysv/tcflow.c: Likewise.
11123 * sysdeps/unix/sysv/tcflush.c: Likewise.
11124 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
11125 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
11126 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
11127 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
11128 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
11129
e7740d31
JM
11130 * sysdeps/unix/siglist.c: Remove file.
11131
ee06f18b
JM
11132 * sysdeps/unix/getppid.S: Remove file.
11133
097d59fa
JM
11134 * sysdeps/unix/mkdir.c: Remove file.
11135 * sysdeps/unix/rmdir.c: Likewise.
11136
ff3d51ec
AS
111372012-04-19 Andreas Schwab <schwab@linux-m68k.org>
11138
11139 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
11140 ERR_MAX value.
11141 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
11142 errlist-compat value.
11143
50f81fd7
DM
111442012-04-18 David S. Miller <davem@davemloft.net>
11145
11146 * sysdeps/generic/memcopy.h (reg_char): Delete.
11147 * debug/strcat_chk.c: Use char, not reg_char.
11148 * debug/strcpy_chk.c: Likewise.
11149 * debug/strncat_chk.c: Likewise.
11150 * debug/strncpy_chk.c: Likewise.
11151 * string/memchr.c: Likewise.
11152 * string/memrchr.c: Likewise.
11153 * string/rawmemchr.c: Likewise.
11154 * string/strcat.c: Likewise.
11155 * string/strchr.c: Likewise.
11156 * string/strchrnul.c: Likewise.
11157 * string/strcmp.c: Likewise.
11158 * string/strcpy.c: Likewise.
11159 * string/strncat.c: Likewise.
11160 * string/strncmp.c: Likewise.
11161 * string/strncpy.c: Likewise.
11162
8ff41c46
WS
111632012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11164
11165 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
11166 __builtin_memcopy is called when src and dest ranges are known to not
11167 overlap.
11168
6b652f46
WS
111692012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11170
11171 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
11172 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
11173 fwd_align_merge macro call.
11174 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
11175 bwd_align_merge macro call.
11176 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11177
b282631e
WS
111782012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11179
11180 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
11181 bwd_align_merge macros.
11182 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
11183 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
11184 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11185
95aa737c
DM
111862012-04-18 David S. Miller <davem@davemloft.net>
11187
11188 * sysdeps/sparc/sparc64/memcopy.h: Delete.
11189
7a99a614
AJ
111902012-04-18 Andreas Jaeger <aj@suse.de>
11191
11192 [BZ# 6794]
11193 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
11194 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
11195 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11196
11197 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
11198 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
11199 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11200
11201 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
11202 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
11203 Adjust for changed ldbl-128 files.
11204
11205 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
11206 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
11207 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11208
e5270c23
DM
112092012-04-17 David S. Miller <davem@davemloft.net>
11210
11211 * sysdeps/sparc/sparc32/memcopy.h: Delete.
11212
fb5e92c9
AS
112132012-04-17 Andreas Schwab <schwab@linux-m68k.org>
11214
11215 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
11216 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
11217 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
11218 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
11219 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11220 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
11221
76da7265
AZ
112222012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11223
11224 [BZ #6794]
11225 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
11226 * math/libm-test.inc: Add ilogb errno and exception tests.
11227 * math/w_ilogb.c: New file: ilogb wrapper.
11228 * math/w_ilogbf.c: New file: ilogbf wrapper.
11229 * math/w_ilogbl.c: New file: ilogbl wrapper.
11230 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
11231 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
11232 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
11233 exception being thrown with 0.0 as argument.
11234 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
11235 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
11236 exception being thrown with 0.0 as argument.
11237 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
11238 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11239 exception being thrown with 0.0 as argument.
11240 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
11241 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11242 exception being thrown with 0.0 as argument.
11243 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
11244 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 11245 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
11246 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
11247 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
11248 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
11249 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
11250 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
11251 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
11252
0396e69d
PB
112532012-04-17 Petr Baudis <pasky@ucw.cz>
11254
11255 * include/sys/uio.h: Change __vector to __iovec to avoid clash
11256 with altivec.
11257
750b5926
MP
112582012-04-16 Marek Polacek <polacek@redhat.com>
11259
11260 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
11261
751728a1
MP
112622012-04-16 Marek Polacek <polacek@redhat.com>
11263
11264 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
11265 operands of fdivp instruction.
11266
34a27407
L
112672012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11268
11269 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
11270 * elf/tst-auditmod3b.c: Likewise.
11271 * elf/tst-auditmod4b.c: Likewise.
11272 * elf/tst-auditmod5b.c: Likewise.
11273 * elf/tst-auditmod6b.c: Likewise.
11274 * elf/tst-auditmod6c.c: Likewise.
11275 * elf/tst-auditmod7b.c: Likewise.
11276 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
11277 * sysdeps/x86_64/preconfigure.in: Likewise.
11278 * sysdeps/x86_64/preconfigure: Regenerated.
11279
7e73e17d
L
112802012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11281
11282 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
11283 __ILP32__.
11284
c7a6ab72
AB
112852012-04-13 Antoine Balestrat <merkil33@gmail.com>
11286
11287 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11288 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
11289
a9e8e0e0
CL
112902012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
11291
11292 [BZ #13973]
11293 * locale/iso-639.def: Fix gl language name. Spotted by
11294 Yaron Shahrabani.
11295
ec98af7d
RM
112962012-04-12 Roland McGrath <roland@hack.frob.com>
11297
11298 [BZ #2074]
11299 * libio/libio.h (__io_write_fn): Update comment.
11300
247c3ede
PB
113012012-04-12 Petr Baudis <pasky@ucw.cz>
11302
11303 [BZ #2074]
11304 * stdio.texi (Hook Functions): The user provided writer function
11305 is not allowed to return -1.
11306
55939d6d
DM
113072012-04-11 David S. Miller <davem@davemloft.net>
11308
11309 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11310
90020f5a
MF
113112012-04-11 Mike Frysinger <vapier@gentoo.org>
11312
11313 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
11314 Add a leading slash to rtkaio.
11315
288f9098
JM
113162012-04-11 Jim Meyering <meyering@redhat.com>
11317
90020f5a
MF
11318 [BZ #11959]
11319 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
11320 It is not necessarily an error to ignore fwrite's return
11321 value. One can reliably use ferror to test for errors after
11322 the fact.
288f9098 11323
4be2b570
L
113242012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11325
11326 * bits/types.h (__snseconds_t): New type.
11327 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
11328
11329 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
11330 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11331 (__SNSECONDS_T_TYPE): Likewise.
11332 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11333 (__SNSECONDS_T_TYPE): Likewise.
11334 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11335 (__SNSECONDS_T_TYPE): Likewise.
11336
288f9098 113372012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
11338
11339 [BZ #2636]
11340 * manual/time.texi (Processor Time): Return type of times is
11341 elapsed real time since an arbitrary point in the past.
11342 (CPU Time): Move CLK_TCK from here...
11343 (Processor Time): ...to here. Correct description.
11344 * manual/conf.texi (Constants for Sysconf): Correct description of
11345 _SC_CLK_TCK.
11346
d7dd4413
DM
113472012-04-10 David S. Miller <davem@davemloft.net>
11348
11349 [BZ #13967]
11350 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
11351 where the is a gap between DT_REL(A) and DT_JMPREL.
11352
b46068fc
L
113532012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11354
11355 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
11356 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11357 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11358
73d65cc3
SP
113592012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11360
11361 * elf/dl-support.c (_dl_inhibit_cache): New variable.
11362 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
11363 (dl_main): Handle --inhibit-cache.
11364 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
11365 _dl_inhibit_cache.
11366 * elf/dl-load.c (_dl_map_object): Use it.
11367 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
11368
bcc8d661
JM
113692012-04-09 Joseph Myers <joseph@codesourcery.com>
11370
8f9a2fae
JM
11371 [BZ #13872]
11372 * sysdeps/i386/fpu/e_powl.S (p78): New object.
11373 (__ieee754_powl): Saturate large exponents rather than testing for
11374 overflow of y*log2(x).
11375 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11376 * math/libm-test.inc (pow_test): Do not permit spurious overflow
11377 exceptions.
11378
bcc8d661
JM
11379 [BZ #11521]
11380 * math/s_ctan.c: Include <float.h>.
11381 (__ctan): Avoid internal overflow or cancellation in calculating
11382 denominator.
11383 * math/s_ctanf.c: Likewise.
11384 * math/s_ctanl.c: Likewise.
11385 * math/s_ctanh.c: Likewise.
11386 * math/s_ctanhf.c: Likewise.
11387 * math/s_ctanhl.c: Likewise.
11388 * math/libm-test.inc (ctan_test): Add more tests.
11389 (ctanh_test): Likewise.
11390 * sysdeps/i386/fpu/libm-test-ulps: Update.
11391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11392
823fbbb4
AJ
113932012-04-09 Andreas Jaeger <aj@suse.de>
11394
03879793
AJ
11395 [BZ #6894]
11396 * manual/filesys.texi (Directory Entries): Mention that d_namlen
11397 is an optional BSD extension.
11398
823fbbb4
AJ
11399 [BZ #10254]
11400 * manual/stdio.texi (Opening Streams): Document additional fopen
11401 parameters.
11402
8de131cb
RM
114032012-04-09 Roland McGrath <roland@hack.frob.com>
11404
11405 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
11406 %eax without telling the compiler.
11407
c0ed9d7d
CD
114082012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
11409
11410 [BZ # 13963]
11411 * manual/install.texi: Use sourceware.org.
11412
c483f6b4
JM
114132012-04-09 Joseph Myers <joseph@codesourcery.com>
11414
d7dd9453
JM
11415 [BZ #13873]
11416 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
11417 (__ieee754_pow): Generate overflow and underflow using huge*huge
11418 and tiny*tiny rather than just returning constant infinity or zero
11419 for large exponents.
11420 * math/libm-test.inc (pow_test): Require overflow exceptions for
11421 applicable cases of large exponents.
11422
c483f6b4
JM
11423 [BZ #706]
11424 * sysdeps/i386/fpu/e_pow.S (p10): New object.
11425 (__ieee754_pow): Use iterative multiplication algorithm only for
11426 integer exponents with absolute value below 1024. Check for odd
11427 integer exponents when using algorithm for real exponents.
11428 * math/libm-test.inc (pow_test): Add more tests.
11429 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11430
d2de7579
JM
114312012-04-08 Joseph Myers <joseph@codesourcery.com>
11432
11433 [BZ #13705]
11434 * math/libm-test.inc (exp_test): Do not allow overflow exception
11435 on underflow test.
11436
f77f1232
AJ
114372012-04-08 Aurelien Jarno <aurelien@aurel32.net>
11438
11439 [BZ #13705]
11440 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
11441 instead of __kernel_standard_f.
11442
3884932b
MF
114432012-04-08 Mike Frysinger <vapier@gentoo.org>
11444
11445 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
11446 * sysdeps/x86_64/memset_chk.S: Likewise.
11447
54472e9c
AJ
114482012-04-08 Andreas Jaeger <aj@suse.de>
11449
6ab0fbfc
AJ
11450 [BZ #10153]
11451 * manual/startup.texi (Environment Access): Describe return value
11452 for putenv and setenv.
11453
61efba8c
AJ
11454 [BZ #6895]
11455 * manual/filesys.texi (Directory Entries): Add description for
11456 DT_LNK.
11457
95c3f29a
AJ
11458 [BZ #6890]
11459 * manual/filesys.texi (Directory Entries): Clarify that it's file
11460 system not operating system in the description of DT_UNKNOWN.
11461
54472e9c
AJ
11462 [BZ #6578]
11463 * manual/syslog.texi (closelog): Fix reference, it's openlog.
11464
624254b1
SC
114652012-04-08 Stephen Compall <s11@member.fsf.org>
11466
11467 [BZ #6649]
11468 * manual/llio.texi (Opening and Closing Files): Add cross
11469 reference to explain mode argument.
11470
1e4920e0
MF
114712012-04-07 Mike Frysinger <vapier@gentoo.org>
11472
11473 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
11474 * sysdeps/x86_64/memset_chk.S: Likewise.
11475
5ed848f3
DM
114762012-04-07 David S. Miller <davem@davemloft.net>
11477
11478 * elf/elf.h (R_SPARC_WDISP10): Define.
11479 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
11480 R_SPARC_SIZE32.
11481 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
11482 R_SPARC_SIZE64 and R_SPARC_H34.
11483
96154cd8
CD
114842012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
11485
11486 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
11487 conditions and remove no longer applicable assertion.
11488
9904dc47
L
114892012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11490
11491 * bits/byteswap.h: Include <features.h>.
11492 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11493 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11494
f8887d0a
L
114952012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11496
11497 * bits/byteswap.h (__bswap_16): Removed.
11498 Include <bits/byteswap-16.h> to get __bswap_16.
11499 * sysdeps/i386/bits/byteswap.h: Likewise.
11500 * sysdeps/s390/bits/byteswap.h: Likewise.
11501 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11502 * bits/byteswap-16.h: New file.
11503 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11504 * sysdeps/s390/bits/byteswap-16.h: Likewise.
11505 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
11506 * string/Makefile (headers): Add bits/byteswap-16.h.
11507
62470f60
PP
115082012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11509
11510 [BZ #13895]
11511 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
11512 extra indirection.
11513 * nss/Makefile (tests-static, tests): Add tst-nss-static.
11514 * nss/tst-nss-static.c: New.
11515
4dad7bab
RM
115162012-04-06 Robert Millan <rmh@gnu.org>
11517
11518 [BZ #6486]
11519 * manual/llio.texi (File Position Primitive): lseek
11520 refers to WHENCE when it really means OFFSET.
11521
e9142a17
AJ
115222012-04-06 Andreas Jaeger <aj@suse.de>
11523
2c040eff
AJ
11524 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
11525 strncmp declarations.
11526
e9142a17
AJ
11527 * abilist/libc.abilist: Add __poll and __ppoll.
11528
ff9f1c5f
DM
115292012-04-05 David S. Miller <davem@davemloft.net>
11530
dcd2ae90
DM
11531 * scripts/check-local-headers.sh: Accept a host triplet in the
11532 path matched by the exclude regexp.
11533
993eb054
DM
11534 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
11535 definition.
11536 * sysdeps/powerpc/powerpc32/dl-machine.h
11537 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
11538 * sysdeps/s390/s390-32/dl-machine.h
11539 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11540 * sysdeps/sparc/sparc32/dl-machine.h
11541 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11542 * sysdeps/sparc/sparc64/dl-machine.h
11543 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11544
ff9f1c5f
DM
11545 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
11546 lazy binding.
48e2e132 11547 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
11548 undefined symbol errors.
11549
48e2e132 11550 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
11551 DT_NEEDED entries.
11552
e80d6f94
MM
115532012-04-05 Michael Matz <matz@suse.de>
11554
11555 [BZ #13592]
11556 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
11557
349fa79f
AJ
115582012-04-05 Andreas Jaeger <aj@suse.de>
11559
11560 [BZ #13908]
11561 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
11562 comment.
11563
f402708f
KK
115642012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11565
11566 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
11567 which ROUND is no valid rounding mode.
11568
2ecccfc9
KK
115692012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11570
11571 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
11572 read again.
11573 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
11574
8a53f50f
KK
115752012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11576
11577 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
11578 an exception using FPU order intentionally.
11579
115802012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11581
11582 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
11583 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
11584 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
11585 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
11586
d653abb7
SJ
115872012-04-05 Simon Josefsson <simon@josefsson.org>
11588
11589 [BZ #12340]
11590 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
11591 EINVAL when BUFLEN is too smal.
11592
c3b1bf7d
TS
115932012-04-05 Thomas Schwinge <thomas@codesourcery.com>
11594
11595 [BZ #13553]
11596 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
11597 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
11598
b1aa60f3
AJ
115992012-04-03 Andreas Jaeger <aj@suse.de>
11600
c3b1bf7d 11601 [BZ #13938]
67f60a26
AJ
11602 * manual/setjmp.texi (System V contexts): Fix sentence.
11603
b1aa60f3
AJ
11604 [BZ #13926]
11605 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
11606 New macro for this case.
11607 [!__GNUC__] (__bswap_64): New inline function for this case.
11608 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11609 * bits/byteswap.h: Likewise.
11610 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
11611 ull, guard with __GLIBC_HAVE_LONG_LONG.
11612
11613 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
11614 __GLIBC_HAVE_LONG_LONG.
11615
11616 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
11617 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
11618
39c59c35
TMQMF
116192012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11620
11621 [BZ #13691]
11622 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
11623 inptr and inend, rather than using last_ch.
11624
135ffda8
DM
116252012-04-02 David S. Miller <davem@davemloft.net>
11626
11627 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
11628 * stdio-common/printf-parse.h (read_int): Change return type to
11629 'int', return -1 on INT_MAX overflow.
11630 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
11631 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
11632 overflows INT_MAX. Check for overflow of in-format-string precision
11633 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
11634 SIZE_MAX not INT_MAX for integer overflow test.
11635 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
11636 skip the construct in the format string but do not record anything.
11637 * stdio-common/bug22.c: Adjust to test both width/prevision
11638 INT_MAX overflow as well as total length INT_MAX overflow. Check
11639 explicitly for proper errno values.
11640
228c019e
TS
116412012-04-02 Thomas Schwinge <thomas@codesourcery.com>
11642
302cadd3
TS
11643 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
11644 CHAR_MAX.
11645 * string/test-strcmp.c [! WIDE]: Likewise.
11646 * time/tst-mktime2.c: Likewise for INT_MAX.
11647 * string/test-string.h: #include <sys/param.h> for MIN.
11648
228c019e
TS
11649 * csu/init-first.c (__libc_init_first): Call __ctype_init.
11650 * sysdeps/i386/init-first.c (init): Likewise.
11651 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
11652 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
11653 * sysdeps/sh/init-first.c (init): Likewise.
11654
cfa633f5
UD
116552012-04-01 Ulrich Drepper <drepper@gmail.com>
11656
11657 * po/ru.po: Update from translation team.
d1635ef8 11658 * po/vi.po: Likewise.
cfa633f5 11659
6cd0a5ea
SP
116602012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11661
11662 * resolv/nss_dns/dns-host.c: Merge copyright years.
11663
4b43400f
LD
116642012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11665
11666 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
11667 Optimize memcpy with prefetch if
11668 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
11669 src, dst pointers have unequal 16 byte alignments.
11670
48c41d04
SP
116712012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11672
11673 [BZ #13928]
11674 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
11675 from a CNAME entry and return the minimum ttl for the query.
11676 (gaih_getanswer_slice): Likewise.
11677
b8dc394d
JL
116782012-03-30 Jeff Law <law@redhat.com>
11679
11680 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
11681 due to long keys.
11682 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
11683 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11684
2f5a5ed0
JL
11685 * resolv/nss_dns/dns-host.c: Update copyright year.
11686
1d39e359
UD
116872012-03-30 Ulrich Drepper <drepper@gmail.com>
11688
c030f70c 11689 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 11690 requests to save a system call. Fix check that all bytes are sent.
c030f70c 11691
1d39e359
UD
11692 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
11693 comments for sendmmsg.
11694
116952012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
11696
11697 [BZ #13691]
11698 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
11699 with only 1 character between 0x0041 and 0x01b0.
11700 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
11701 * wcsmbs/tst-mbsnrtowcs.c: New file.
11702
20fde227
DM
117032012-03-29 David S. Miller <davem@davemloft.net>
11704
11705 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
11706 small copies by hand.
11707
984a4237
JL
117082012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11709
11710 [BZ #13761]
11711 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
11712 _nss_compat_initgroups_dyn): Fall back to malloc/free
11713 for large group memberships.
11714
18c9d62b
DM
117152012-03-28 David S. Miller <davem@davemloft.net>
11716
88d85d4f
DM
11717 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
11718 that branches into memcpy.
11719 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
11720 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
11721 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11722 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
11723 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
11724 bits.
11725 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
11726 implementation too.
11727 * sysdeps/sparc/mempcpy.S: New file.
11728
e5aa83e1
DM
11729 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
11730 the IFUNC routine in the libc case.
11731 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11732
88570753
DM
11733 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
11734 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
11735 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
11736 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
11737 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
11738 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
11739 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
11740 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
11741
249d7567
DM
11742 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
11743 loop to 256 bytes instead of 64 bytes and fix test signedness.
11744
18c9d62b
DM
11745 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
11746 * sysdeps/sparc/sparc32/Makefile: rather than here...
11747 * sysdeps/sparc/sparc64/Makefile: and here.
11748
05f3d1f6
UD
117492012-03-28 Ulrich Drepper <drepper@gmail.com>
11750
11751 * malloc/mallocbug.c: Avoid warnings about unused variables.
11752
86ae07a8
JL
117532012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11754
11755 [BZ #13760]
11756 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
11757 in the right place. Discard and retry query if response is
11758 larger than input buffer size.
11759
41bf21a1
JM
117602012-03-28 Joseph Myers <joseph@codesourcery.com>
11761
d6270972
JM
11762 [BZ #369]
11763 [BZ #2678]
11764 [BZ #3866]
11765 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
11766 x for large integer exponent.
11767 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11768 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
11769 sign of result as needed afterwards.
11770 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11771 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
11772 result for underflowing pow the same as for overflow.
11773 (__kernel_standard_l): Handle powl overflow and underflow here
11774 rather than calling __kernel_standard.
11775 * math/libm-test.inc (pow_test): Add more tests.
11776
414fca03 11777 [BZ #3868]
41bf21a1
JM
11778 [BZ #13879]
11779 [BZ #13910]
11780 [BZ #13911]
11781 [BZ #13912]
11782 [BZ #13913]
11783 [BZ #13915]
11784 [BZ #13916]
11785 [BZ #13917]
11786 [BZ #13918]
11787 [BZ #13919]
11788 [BZ #13920]
11789 [BZ #13921]
11790 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
11791 * sysdeps/ieee754/k_standard.c: Include <float.h>.
11792 (__kernel_standard_l): New function.
11793 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
11794 __kernel_standard.
11795 * math/w_acosl.c (__acosl): Likewise.
11796 * math/w_asinl.c (__asinl): Likewise.
11797 * math/w_atan2l.c (__atan2l): Likewise.
11798 * math/w_atanhl.c (__atanhl): Likewise.
11799 * math/w_coshl.c (__coshl): Likewise.
11800 * math/w_exp10l.c (__exp10l): Likewise.
11801 * math/w_exp2l.c (__exp2l): Likewise.
11802 * math/w_fmodl.c (__fmodl): Likewise.
11803 * math/w_hypotl.c (__hypotl): Likewise.
11804 * math/w_j0l.c (__j0l, __y0l): Likewise.
11805 * math/w_j1l.c (__j1l, __y1l): Likewise.
11806 * math/w_jnl.c (__jnl, __ynl): Likewise.
11807 * math/w_lgammal.c (__lgammal): Likewise.
11808 * math/w_log10l.c (__log10l): Likewise.
11809 * math/w_log2l.c (__log2l): Likewise.
11810 * math/w_logl.c (__logl): Likewise.
11811 * math/w_powl.c (__powl): Likewise.
11812 * math/w_remainderl.c (__remainderl): Likewise.
11813 * math/w_scalbl.c (sysv_scalbl): Likewise.
11814 * math/w_sinhl.c (__sinhl): Likewise.
11815 * math/w_sqrtl.c (__sqrtl): Likewise.
11816 * math/w_tgammal.c (__tgammal): Likewise.
11817 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
11818 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
11819 * math/libm-test.inc (acos_test): Add more tests.
11820 (acosh_test): Likewise.
11821 (asin_test): Likewise.
11822 (atanh_test): Likewise.
11823 (exp_test): Likewise.
11824 (exp10_test): Likewise.
11825 (exp2_test): Likewise.
11826 (expm1_test): Likewise.
11827 (lgamma_test): Likewise.
11828 (log_test): Likewise.
11829 (log10_test): Likewise.
11830 (log1p_test): Likewise.
11831 (log2_test): Likewise.
11832 (pow_test): Do not allow some spurious overflow exceptions.
11833 (sqrt_test): Add more tests.
11834 (tgamma_test): Likewise.
11835 (y0_test): Likewise.
11836 (y1_test): Likewise.
11837 (yn_test): Likewise.
11838
dd62fda6
AB
118392012-03-27 Anton Blanchard <anton@samba.org>
11840
11841 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
11842 MAP_HUGETLB.
11843 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11844 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11845 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11846
1e3cdfda
AJ
118472012-03-27 David S. Miller <davem@davemloft.net>
11848
b855ab85
DM
11849 * conform/Makefile: Run run-conformtest.sh using $(BASH).
11850
1e3cdfda
AJ
11851 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
11852 have-as-vis3 check.
11853
118542012-03-27 Andreas Jaeger <aj@suse.de>
11855
11856 * sysdeps/x86_64/elf/configure.in: Moved to ...
11857 * sysdeps/x86_64/configure.in: ... here.
11858 * sysdeps/x86_64/elf/start.S: Moved to ...
11859 * sysdeps/x86_64/start.S: ... here.
11860 * sysdeps/x86_64/elf/configure: Delete.
11861
11862 * sysdeps/x86_64/configure.in: Merge contents from
11863 sysdeps/i386/configure.in (without i686 check).
11864
11865 * sysdeps/i386/elf/Versions: Merge into ...
11866 * sysdeps/i386/Versions: ... this.
11867 * sysdeps/i386/elf/Versions: Delete file.
11868 * sysdeps/i386/elf/start.S: Moved to ...
11869 * sysdeps/i386/start.S: ...here.
11870 * sysdeps/i386/elf/configure.in: Merge into...
11871 * sysdeps/i386/configure.in: ...here.
11872 * sysdeps/i386/elf/configure.in: Delete file.
11873 * sysdeps/i386/elf/configure: Delete file.
11874
11875 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
11876 * debug/backtracesyms.c: ... here.
11877 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
11878 * debug/backtracesymsfd.c: ... here.
11879 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
11880 * sysdeps/generic/ifunc-sel.h: ... here.
11881
11882 * sysdeps/unix/i386/start.c: Delete file.
11883 * sysdeps/unix/sparc/start.c: Delete file.
11884 * sysdeps/unix/start.c: Delete file.
11885
11886 * sysdeps/sh/elf/configure.in: Moved to ...
11887 * sysdeps/sh/configure.in: ... here.
11888 * sysdeps/sh/elf/start.S: Moved to ...
11889 * sysdeps/sh/start.S: ... here.
11890 * sysdeps/sh/elf/configure: Delete file.
11891
11892 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
11893 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
11894 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
11895 * sysdeps/powerpc/powerpc64/entry.h: ... here.
11896 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
11897 * sysdeps/powerpc/powerpc64/start.S: here.
11898 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
11899 * sysdeps/powerpc/powerpc64/Makefile: ... this.
11900 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
11901 * sysdeps/powerpc/powerpc64/configure.in: ... this.
11902 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
11903
11904 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
11905 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
11906 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
11907 * sysdeps/powerpc/powerpc32/start.S: ... here.
11908 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
11909 * sysdeps/powerpc/powerpc32/configure.in: ... this.
11910 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
11911
11912 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
11913 * sysdeps/powerpc/ifunc-sel.h: ... here.
11914 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
11915 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
11916
11917 * sysdeps/sparc/elf/configure.in: Moved to ...
11918 * sysdeps/sparc/configure.in: ... here.
11919 * sysdeps/sparc/elf/configure: Delete file.
11920 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
11921 * sysdeps/sparc/sparc32/start.S: ... here.
11922 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
11923 * sysdeps/sparc/sparc64/start.S: ... here.
11924 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
11925 * sysdeps/sparc/sparc32/Makefile: ... this.
11926 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
11927 * sysdeps/sparc/sparc64/Makefile: ... this.
11928
11929 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
11930 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
11931 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
11932 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
11933 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
11934 * sysdeps/s390/s390-32/setjmp.S: ... here.
11935 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
11936 * sysdeps/s390/s390-32/configure.in: ... here.
11937 * sysdeps/s390/s390-32/elf/configure: Delete file.
11938 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
11939 * sysdeps/s390/s390-32/start.S: ... here.
11940
11941 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
11942 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
11943 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
11944 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
11945 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
11946 * sysdeps/s390/s390-64/setjmp.S: ... here.
11947 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
11948 * sysdeps/s390/s390-64/configure.in: ... here
11949 * sysdeps/s390/s390-64/elf/configure: Delete file.
11950 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
11951 * sysdeps/s390/s390-64/start.S: ... here.
11952 * sysdeps/s390/s390-64/elf/configure: Delete.
11953
11954 * configure.in: Remove support for elf directories in sysdeps.
11955
11956 * configure: Regenerated.
11957 * sysdeps/i386/configure: Regenerated.
11958 * sysdeps/powerpc/powerpc32/configure: Regenerated.
11959 * sysdeps/powerpc/powerpc64/configure: Regenerated.
11960 * sysdeps/s390/s390-32/configure: Regenerated.
11961 * sysdeps/s390/s390-64/configure: Regenerated.
11962 * sysdeps/sh/configure: Regenerated.
11963 * sysdeps/sparc/configure: Regenerated.
11964 * sysdeps/x86_64/configure: Regenerated.
11965
a3f61311
AS
119662012-03-26 Andreas Schwab <schwab@linux-m68k.org>
11967
c876e002
AS
11968 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11969
a3f61311
AS
11970 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
11971 denormal result into account.
11972
ac4c54f0
RM
119732012-03-25 Roland McGrath <roland@hack.frob.com>
11974
11975 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
11976 Reported by Allan McRae <allan@archlinux.org>.
11977
6a9b9c02
JL
119782012-03-23 Jeff Law <law@redhat.com>
11979
11980 * nss/getnssent.c (__nss_getent): Fix typo.
11981
4c42a0c1
DM
119822012-03-23 David S. Miller <davem@davemloft.net>
11983
11984 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11985
1532c7ac
L
119862012-03-23 H.J. Lu <hongjiu.lu@intel.com>
11987
11988 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
11989 to pad to uint64_t for each field.
11990 (dl_tls_index): Replace unsigned long with uint64_t.
11991
3ff42526
PP
119922012-03-23 Daniel Jacobowitz <dmj@google.com>
11993 Paul Pluzhnikov <ppluzhnikov@google.com>
11994
11995 [BZ #6528]
11996 * grp/Makefile (otherlibs): Don't set it.
11997 * inet/Makefile (otherlibs): Likewise.
11998 * login/Makefile (otherlibs): Likewise.
11999 * nscd/Makefile (otherlibs): Likewise.
12000 * posix/Makefile (otherlibs): Likewise.
12001 * pwd/Makefile (otherlibs): Likewise.
12002 * rt/Makefile (otherlibs): Likewise.
12003 * sunrpc/Makefile (otherlibs): Likewise.
12004 * nss/Makefile (otherlibs): Likewise.
12005 Add libnss_files to routines and static-only-routines.
12006 ($(objpfx)getent): Remove rule.
12007 * resolv/Makefile: Add libnss_dns and libresolv to routines and
12008 static-only-routines.
12009
7c69cd14
JM
120102012-03-22 Joseph Myers <joseph@codesourcery.com>
12011
12012 [BZ #13892]
12013 * math/s_cexp.c: Include <float.h>.
12014 (__cexp): Handle exp result overflowing not necessarily
12015 overflowing both real and imaginary parts of result.
12016 * math/s_cexpf.c: Likewise.
12017 * math/s_cexpl.c: Likewise.
12018 * math/libm-test.inc (cexp_test): Add more tests.
12019 * sysdeps/i386/fpu/libm-test-ulps: Update.
12020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12021
81b035fe
L
120222012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12023
12024 * include/link.h (ELFW): New macro.
12025 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
12026 Replace ELF64_R_TYPE with ELFW(R_TYPE).
12027
1da7940c
L
120282012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12029
12030 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
12031 with uint64_t.
12032
b749dbb9
L
120332012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12034
12035 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
12036 declaration.
12037 (struct La_x32_retval): Likewise.
12038
2ff87f3f
L
120392012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12040
12041 * sysdeps/x86_64/preconfigure.in: New file.
12042 * sysdeps/x86_64/preconfigure: New generated file.
12043
c0df8e69
JM
120442012-03-22 Joseph Myers <joseph@codesourcery.com>
12045
48e44791
JM
12046 [BZ #13824]
12047 * math/e_exp2l.c: Include <float.h>.
12048 (__ieee754_exp2l): Handle overflow and underflow cases
12049 separately. Only pass fractional part of argument to
12050 __ieee754_expl.
12051 * math/libm-test.inc (exp2_test): Add more tests.
12052
c0df8e69
JM
12053 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
12054 negating x to take absolute value.
12055 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
12056 Likewise.
12057 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12058 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
12059 Likewise.
12060 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
12061 computing low part if x was negated.
12062 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12063
c8e43ba7
L
120642012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12065
12066 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
12067 la_x32_gnu_pltexit.
12068 (pltexit): Cast int_retval to ptrdiff_t.
12069 * elf/tst-auditmod3b.c: Likewise.
12070 * elf/tst-auditmod4b.c: Likewise.
12071 * elf/tst-auditmod5b.c: Likewise.
12072 * elf/tst-auditmod6b.c: Likewise.
12073 * elf/tst-auditmod6c.c: Likewise.
12074 * elf/tst-auditmod7b.c: Likewise.
12075
12076 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
12077 and x32_gnu_pltexit.
12078
12079 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
12080 __ELF_NATIVE_CLASS.
12081 (La_x32_regs): New macro.
12082 (La_x32_retval): Likewise.
12083 (la_x32_gnu_pltenter): New function prototype.
12084 (la_x32_gnu_pltexit): Likewise.
12085
7998fa78
AS
120862012-03-21 Andreas Schwab <schwab@linux-m68k.org>
12087
dcb33988
AS
12088 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
12089 exponent.
12090
233fc563
AS
12091 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12092
7998fa78
AS
12093 * configure.in (libc_cv_cc_nofma): Check for option to disable
12094 generation of FMA instructions.
12095 * configure: Regenerate.
12096 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
12097 * sysdeps/ieee754/dbl-64/Makefile: New file.
12098 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
12099 Remove brandred-fma4.
12100 (CFLAGS-brandred-fma4.c): Remove.
12101 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
12102 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
12103 define.
12104 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
12105 define.
12106
8e95c99a
L
121072012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12108
12109 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12110 LLONG_MAX != LONG_MAX.
12111 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12112 (_fitoa_word): Likewise.
12113 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
12114 LLONG_MAX != LONG_MAX.
12115 * stdio-common/_itowa.h: Include <_itoa.h>.
12116 (_itowa_word): Use _ITOA_WORD_TYPE on value.
12117 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
12118 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
12119 only if not defined.
12120 (_ITOA_WORD_TYPE): Likewise.
12121 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12122 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
12123
6f4db457
DM
121242012-03-21 David S. Miller <davem@davemloft.net>
12125
12126 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12127
7785fe5a
L
121282012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12129
12130 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
12131 of x86_64 when setting libc_cv_slibdir, libdir and
12132 libc_cv_localedir.
12133 * sysdeps/unix/sysv/linux/configure: Regenerated.
12134
4535cd55
JM
121352012-03-21 Joseph Myers <joseph@codesourcery.com>
12136
12137 * manual/lang.texi (Old Varargs): Remove section.
12138 (How Variadic): Update menu.
12139 (va_start): Do not mention varargs.h.
12140
17228132
TS
121412012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12142 Joseph Myers <joseph@codesourcery.com>
12143
12144 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
12145 link test.
12146 * configure: Regenerated.
12147
8149f976
TS
121482012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12149
05f3d1f6
UD
12150 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
12151 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
12152 conformtest.pl
8149f976 12153
1a4ac776
JM
121542012-03-21 Joseph Myers <joseph@codesourcery.com>
12155
be22ce65
JM
12156 * NOTES: Remove.
12157 * Makefile (files-for-dist): Remove NOTES.
12158 (NOTES): Remove rule.
12159 * README: Don't refer to NOTES.
12160 * manual/creature.texi: Don't include macros.texi.
12161 * manual/intro.texi (creature.texi): Remove comment referring to
12162 NOTES.
12163
40b601fb
JM
12164 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
12165 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
12166 * configure: Regenerated.
12167 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
12168 LIBC_TRY_CC_OPTION.
12169 (libc_cv_as_i686): Likewise.
12170 (libc_cv_cc_avx): Likewise.
12171 (libc_cv_cc_sse2avx): Likewise.
12172 (libc_cv_cc_fma4): Likewise.
12173 (libc_cv_cc_novzeroupper): Likewise.
12174 * sysdeps/i386/configure: Regenerated.
12175
1a4ac776
JM
12176 [BZ #13883]
12177 * sysdeps/i386/fpu/s_cexp.S: Remove.
12178 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12179 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12180 * math/libm-test.inc (cexp_test): Add more tests.
12181 * sysdeps/i386/fpu/libm-test-ulps: Update.
12182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12183
a458e7fe
AM
121842012-03-21 Allan McRae <allan@archlinux.org>
12185
12186 * timezone/Makefile: Do not install iso3166.tab and zone.tab
12187
0cb7efc5
JM
121882012-03-21 Joseph Myers <joseph@codesourcery.com>
12189
12190 [BZ #13871]
12191 * math/w_exp2.c: Do not include <float.h>.
12192 (o_threshold, u_threshold): Remove.
12193 (__exp2): Calculate result before checking finiteness and calling
12194 __kernel_standard.
12195 * math/w_exp2f.c: Likewise.
12196 * math/w_exp2l.c: Likewise.
12197 * math/libm-test.inc (exp2_test): Require overflow exception for
12198 1e6 input.
2460d3aa
JM
12199
12200 [BZ #3866]
12201 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
12202 range of signed 64-bit integers before using fistpll. Remove
12203 checks for whether integers fit in mantissa bits.
12204 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
12205 the range of signed 32-bit integers before using fistpl. Remove
12206 checks for whether integers fit in mantissa bits.
12207 * sysdeps/i386/fpu/e_powl.S (p64): New object.
12208 (__ieee754_powl): Test for y outside the range of signed 64-bit
12209 integers before using fistpll. Reduce 64-bit values to 63-bit
12210 ones as needed.
12211 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
12212 divide-by-zero is raised for zero to large negative powers.
12213 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
12214 (__ieee754_powl): Test for y outside the range of signed 64-bit
12215 integers before using fistpll. Reduce 64-bit values to 63-bit
12216 ones as needed.
12217 * math/libm-test.inc (pow_test): Add more tests.
12218
eb96ffb0
L
122192012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12220
12221 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
12222 <stdio-common/_itoa.h>.
12223 * debug/segfault.c: Likewise.
12224 * elf/dl-cache.c: Likewise.
12225 * elf/dl-minimal.c: Likewise.
12226 * elf/dl-misc.c: Likewise.
12227 * elf/dl-sysdep.c: Likewise.
12228 * elf/dl-version.c: Likewise.
12229 * elf/rtld.c: Likewise.
12230 * hurd/hurdsock.c: Likewise.
12231 * hurd/lookup-retry.c: Likewise.
12232 * malloc/malloc.c: Likewise.
12233 * malloc/mtrace.c: Likewise.
12234 * nscd/nscd_getgr_r.c: Likewise.
12235 * nscd/nscd_getpw_r.c: Likewise.
12236 * nscd/nscd_getserv_r.c: Likewise.
12237 * posix/getopt_init.c: Likewise.
12238 * posix/wordexp.c: Likewise.
12239 * stdio-common/_itoa.c: Likewise.
12240 * stdio-common/printf_fphex.c: Likewise.
12241 * stdio-common/vfprintf.c: Likewise.
12242 * string/_strerror.c: Likewise.
12243 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
12244 * sysdeps/i386/i686/hp-timing.h: Likewise.
12245 * sysdeps/mach/_strerror.c: Likewise.
12246 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
12247 * sysdeps/mach/hurd/sethostid.c: Likewise.
12248 * sysdeps/mach/hurd/xmknodat.c: Likewise.
12249 * sysdeps/mach/xpg-strerror.c: Likewise.
12250 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12251 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12252 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
12253 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
12254 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12255 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
12256 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
12257 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
12258 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
12259 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
12260 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
12261 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12262 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
12263 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12264 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12265 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
12266 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
12267 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
12268 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
12269 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12270 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
12271
12272 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
12273
12274 * stdio-common/_itoa.h: Moved to ...
12275 * sysdeps/generic/_itoa.h: Here.
12276
12277 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
12278
12279 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
12280 instead of "_itoa.h" and "_itowa.h".
12281 * stdio-common/vfprintf.: Likewise.
12282
d1af992d
L
122832012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12284
12285 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
12286 <bits/wordsize.h>.
12287 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
12288 (__signbit): Likwise.
12289 (llrintf): Likwise.
12290 (llrint): Likwise.
12291
114883e0
L
122922012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12293
12294 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
12295 __WORDSIZE != 64.
12296
c135cc1b
JM
122972012-03-20 Joseph Myers <joseph@codesourcery.com>
12298
12299 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
12300 OVERFLOW_EXCEPTION_OK.
12301 * math/libm-test.inc ("Philosophy"): Update comment about
12302 exception testing.
12303 (OVERFLOW_EXCEPTION): Define.
12304 (OVERFLOW_EXCEPTION_OK): Likewise.
12305 (INVALID_EXCEPTION_OK): Renumber.
12306 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12307 (IGNORE_ZERO_INF_SIGN): Likewise.
12308 (test_exceptions): Handle FE_OVERFLOW.
12309 (exp10_test): Expect overflow exceptions.
12310 (exp2_test): Likewise.
12311 (expm1_test): Likewise.
12312 (nextafter_test): Likewise.
12313 (pow_test): Likewise.
12314 (scalbn_test): Likewise.
12315 (scalbln_test): Likewise.
12316
95443d88
L
123172012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12318
12319 * sysdeps/x86_64/bits/atomic.h
12320 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
12321 64bit integer.
12322 (atomic_exchange_acq): Likewise.
12323 (__arch_exchange_and_add_body): Likewise.
12324 (__arch_add_body): Likewise.
12325 (atomic_add_negative): Likewise.
12326 (atomic_add_zero): Likewise.
12327
490df6c4
L
123282012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12329
c2722551 12330 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
12331 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
12332
5e52b189
L
123332012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12334
12335 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
12336 Check __x86_64__ instead of __WORDSIZE.
12337
a9879d4c
L
123382012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12339
12340 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
12341
5df98260
DM
123422012-03-19 David S. Miller <davem@davemloft.net>
12343
e1497744
DM
12344 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12345
5df98260
DM
12346 * sysdeps/sparc/fpu/fenv_private.h: New file.
12347 * sysdeps/sparc/fpu/math_private.h: Use it.
12348 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
12349 Remove.
12350 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
12351 (libc_feholdexcept_setroundl): Remove.
12352 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
12353 Remove.
12354 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
12355 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
12356
b4c35121
L
123572012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12358
12359 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
12360 int64_t instead of long int.
12361 (INSERT_WORDS64): Likwise.
12362
56965fd7
L
123632012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12364
12365 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
12366 _Unwind_GetCFA return to _Unwind_Ptr first.
12367
83d1aec8
JM
123682012-03-19 Joseph Myers <joseph@codesourcery.com>
12369
1897ad44
JM
12370 [BZ #13629]
12371 * math/s_clog.c: Include <float.h>.
12372 (__clog): Scale large or subnormal inputs.
12373 * math/s_clogf.c: Likewise.
12374 * math/s_clogl.c: Likewise.
12375 * math/s_clog10.c: Include <float.h>.
12376 (M_LOG10_2): Define.
12377 (__clog10): Scale large or subnormal inputs.
12378 * math/s_clog10f.c: Likewise.
12379 * math/s_clog10l.c: Likewise.
12380 * math/libm-test.inc (clog_test): Add more tests.
12381 (clog10_test): Likewise.
12382 * sysdeps/i386/fpu/libm-test-ulps: Update.
12383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12384
7726d6a9
JM
12385 [BZ #11451]
12386 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
12387 x and y.
12388 * math/libm-test.inc (atan2_test): Add another test.
12389
83d1aec8
JM
12390 * Makerules (common-objdir-compile): Remove.
12391 * sysdeps/unix/Makefile (config-generated): Do not add
12392 $(unix-generated) to variable.
12393 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
12394 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
12395 Remove rule.
12396 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
12397 Likewise.
12398 [generic bits/local_lim.h] (before-compile): Do not append to
12399 variable.
12400 [generic bits/local_lim.h] (common-generated): Likewise.
12401 [generic sys/param.h] (before-compile): Do not append to variable.
12402 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
12403 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
12404 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
12405 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
12406 include.
12407 [generic sys/param.h] (sys/param.h-includes): Remove variable.
12408 [generic sys/param.h] (sys/param.h-includes): Remove rule.
12409 [generic sys/param.h] ($(addprefix
12410 $(common-objpfx),$(sys/param.h-includes))): Likewise.
12411 [generic sys/param.h] (common-generated): Do not append to
12412 variable.
12413 [generic sys/param.h] (sysdep_headers): Likewise.
12414 [generic bits/errno.h] (before-compile): Do not append to
12415 variable.
12416 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
12417 rule.
12418 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
12419 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
12420 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
12421 [generic bits/errno.h] (common-generated): Do not append to
12422 variable.
12423 [generic bits/ioctls.h] (before-compile): Do not append to
12424 variable.
12425 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
12426 rule.
12427 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
12428 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
12429 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
12430 rule.
12431 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
12432 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
12433 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
12434 [generic bits/ioctls.h] (common-generated): Do not append to
12435 variable.
12436 [generic sys/syscall.h] (syscall.h): Remove variable.
12437 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
12438 rule.
12439 [generic sys/syscall.h] (before-compile): Do not append to
12440 variable.
12441 [generic sys/syscall.h] (common-generated): Likewise.
12442 * sysdeps/unix/errnos-tmpl.c: Remove file.
12443 * sysdeps/unix/errnos.awk: Likewise.
12444 * sysdeps/unix/ioctls-tmpl.c: Likewise.
12445 * sysdeps/unix/ioctls.awk: Likewise.
12446 * sysdeps/unix/mk-local_lim.c: Likewise.
12447 * sysdeps/unix/snarf-ioctls: Likewise.
12448
4851a949
RH
124492012-03-19 Richard Henderson <rth@twiddle.net>
12450
bd37f2ee
RH
12451 * sysdeps/i386/fpu/fenv_private.h: New file.
12452 * sysdeps/i386/fpu/math_private.h: Use it.
12453 (math_opt_barrier, math_force_eval): Remove.
12454 (libc_feholdexcept_setround_53bit): Remove.
12455 (libc_feupdateenv_53bit): Remove.
12456 * sysdeps/x86_64/fpu/math_private.h: Likewise.
12457 (math_opt_barrier, math_force_eval): Remove.
12458 (libc_feholdexcept): Remove.
12459 (libc_feholdexcept_setround): Remove.
12460 (libc_fetestexcept, libc_fesetenv): Remove.
12461 (libc_feupdateenv_test): Remove.
12462 (libc_feupdateenv, libc_feholdsetround): Remove.
12463 (libc_feresetround): Remove.
12464
d0adc922
RH
12465 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
12466 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
12467
0fe0f1f8
RH
12468 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
12469 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
12470 (libc_feupdateenv_testl): New.
12471 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
12472 (libc_feupdateenv_testf): New.
12473 (libc_feupdateenv): Use libc_feupdateenv_test.
12474 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
12475 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
12476
eb92c487
RH
12477 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
12478 (libc_feholdsetroundf, libc_feholdsetroundl): New.
12479 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
12480 (libc_feresetround_noex): New.
12481 (libc_feresetround_noexf): New.
12482 (libc_feresetround_noexl): New.
12483 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
12484 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
12485 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
12486 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
12487 SET_RESTORE_ROUND.
12488 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12489 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
12490 (__cos): Likewise.
12491 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
12492 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
12493 SET_RESTORE_ROUND_NOEX.
12494 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
12495 SET_RESTORE_ROUND_NOEXF.
12496 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
12497 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
12498 (libc_feholdsetroundf): New.
12499 (libc_feresetround, libc_feresetroundf): New.
12500
7d2e8012
RH
12501 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
12502 (libc_feholdexcept_setround_53bit): Convert from macro to function.
12503 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
12504
b4dabbb4
RH
12505 * sysdeps/generic/math_private.h: Include <fenv.h>.
12506 (default_libc_feholdexcept): New.
12507 (default_libc_feholdexcept_setround): New.
12508 (default_libc_fesetenv, default_libc_feupdateenv): New.
12509 (libc_feholdexcept): Only define if undefined.
12510 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
12511 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
12512 (libc_feholdexcept_setroundl): Likewise.
12513 (libc_feholdexcept_setround_53bit): Likewise.
12514 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
12515 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
12516 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
12517 (libc_feupdateenv_53bit): Likewise.
12518 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
12519 (libc_feholdexcept): Convert from macro to inline function.
12520 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
12521 (libc_fesetenv, libc_feupdateenv): Likewise.
12522
4851a949
RH
12523 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
12524 not previously defined.
12525 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
12526 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
12527 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
12528 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
12529 * sysdeps/ieee754/flt-32/math_private.h: New file.
12530 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
12531 math_private.h below SET_FLOAT_WORD.
12532 (__isnan, __isinf_ns, __finite): Remove.
12533 (__isnanf, __isinf_nsf, __finitef): Remove.
12534
e79d442e
AS
125352012-03-18 Andreas Schwab <schwab@linux-m68k.org>
12536
12537 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12538
90b80344
DM
125392012-03-17 David S. Miller <davem@davemloft.net>
12540
12541 [BZ #6471]
12542 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
12543 for 2.16.
12544
edc21804
DM
125452012-03-16 David S. Miller <davem@davemloft.net>
12546
77e927af
DM
12547 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
12548 warnings.
12549
374976dd
DM
12550 [BZ #6471]
12551 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
12552 properly.
12553 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
12554 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
12555 sysdep_routines when subdir is sysvipc.
12556 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
12557 __getshmlba helper.
12558
edc21804
DM
12559 * sysdeps/sparc/fpu/libm-test/ulps: Update.
12560
473c3ef3
L
125612012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12562
12563 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
12564 [__LP64__].
12565
eb0f39b6
L
125662012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12567
12568 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
12569 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
12570 (__lround): Renamed to ...
12571 (__llround): This. Replace long int with long long int.
12572 Define lround functions as aliases of llround functions.
12573 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
12574
6b6cd74b
L
125752012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12576
12577 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
12578 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
12579 adresses to uintptr_t. Replace "long int" and "unsigned long
12580 int" with "greg_t" on va_arg.
12581
f1a77b01
L
125822012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12583
12584 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
12585 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
12586
12587 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
12588 Move e_machine check before EI_CLASS check. Handle x32
12589 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
12590 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
12591 SKIP_EM_IA_64 and include
12592 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
12593
12594 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
12595 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
12596 (add_system_dir): New macro.
12597
12598 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
12599 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
12600
11b90b9f
JM
126012012-03-16 Joseph Myers <joseph@codesourcery.com>
12602
c36e1d23
JM
12603 [BZ #2551]
12604 [BZ #2552]
12605 [BZ #2553]
12606 [BZ #2554]
12607 [BZ #2562]
12608 [BZ #2563]
12609 [BZ #2565]
12610 [BZ #2566]
12611 [BZ #2576]
12612 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
12613 (y0): Likewise.
12614 * math/w_j0f.c (j0f): Likewise.
12615 (y0f): Likewise.
12616 * math/w_j0l.c (__j0l): Likewise.
12617 (__y0l): Likewise.
12618 * math/w_j1.c (j1): Likewise.
12619 (y1): Likewise.
12620 * math/w_j1f.c (j1f): Likewise.
12621 (y1f): Likewise.
12622 * math/w_j1l.c (__j1l): Likewise.
12623 (__y1l): Likewise.
12624 * math/w_jn.c (jn): Likewise.
12625 (yn): Likewise.
12626 * math/w_jnf.c (jnf): Likewise.
12627 (ynf): Likewise.
12628 * math/w_jnl.c (__jnl): Likewise.
12629 (__ynl): Likewise.
12630 * math/libm-test.inc (j0_test): Add more tests.
12631 (j1_test): Likewise.
12632 (jn_test): Likewise. Add trailing semicolon to existing test.
12633 (y0_test): Likewise.
12634 (y1_test): Likewise.
12635 * sysdeps/i386/fpu/libm-test-ulps: Update.
12636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12637
11b90b9f
JM
12638 [BZ #13851]
12639 [BZ #13854]
12640 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
12641 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
12642 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
12643 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
12644 (__tanl): Set errno for infinite argument.
12645 * sysdeps/i386/fpu/mptan.c: Remove.
12646 * sysdeps/i386/fpu/s_tan.S: Likewise.
12647 * sysdeps/i386/fpu/s_tanl.S: Likewise.
12648 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
12649 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
12650 * math/libm-test.inc (tan_test): Add more tests and enable more
12651 tests for double and long double.
12652 * sysdeps/i386/fpu/libm-test-ulps: Update.
12653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12654
6a1bd2a1
JK
126552012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12656
12657 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
12658 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
12659
10a803e0
RM
126602012-03-16 Roland McGrath <roland@hack.frob.com>
12661
12662 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
12663 * configure.in: Use it for both main tree and add-ons.
12664 * configure: Regenerated.
12665
f196c7f7
L
126662012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12667
12668 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
12669
8848d99d
JM
126702012-03-16 Joseph Myers <joseph@codesourcery.com>
12671
96cbe7f4
JM
12672 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
12673 in comment.
12674
8848d99d
JM
12675 [BZ #13851]
12676 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
12677 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
12678 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
12679 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
12680 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
12681 infinite argument.
12682 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
12683 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
12684 != 0 for prec == 2.
12685 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
12686 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
12687 * sysdeps/i386/fpu/s_cosl.S: Likewise.
12688 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
12689 * sysdeps/i386/fpu/s_sinl.S: Likewise.
12690 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
12691 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
12692 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
12693 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
12694 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
12695 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
12696 * math/libm-test.inc (cos_test): Add more tests and enable more
12697 tests for long double.
12698 (sin_test): Likewise.
12699 (sincos_test): Likewise.
12700 * sysdeps/i386/fpu/libm-test-ulps: Update.
12701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12702
dd7f4703
DM
127032012-03-16 David S. Miller <davem@davemloft.net>
12704
12705 * sysdeps/sparc/fpu/math_private.h: New file.
12706
006f1daa
DM
127072012-03-15 David S. Miller <davem@davemloft.net>
12708
c0c83bc8
DM
12709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
12710 file.
e6a62e18 12711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
12712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
12713 file.
e6a62e18
DM
12714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
12715 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
12716 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
12717 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
12718 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
12719 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
12720 sysdep routines.
12721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
12722
88cb87d9
DM
12723 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
12724 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
12725
006f1daa 12726 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
12727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
12728 sparc-ifunc.h
006f1daa 12729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
12730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
12731 Likewise.
12732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
12733 Likewise.
006f1daa
DM
12734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
12735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
12736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
12737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
12738 Likewise.
006f1daa
DM
12739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
12740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
12741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
12742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
12743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
12744 Likewise.
12745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
12746 Likewise.
006f1daa
DM
12747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
12748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
12749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
12750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
12751 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12752 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12753 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
12754 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
12755 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12756 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12757 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
12758 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
12759 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
12760 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
12761 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
12762 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
12763 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
12764 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
12765 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
12766 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
12767 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
12768 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
12769 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
12770 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
12771
11e0098e
AS
127722012-03-15 Andreas Schwab <schwab@linux-m68k.org>
12773
12774 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
12775 scaling.
12776 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12777
e85b09d0
AJ
127782012-03-15 Andreas Jaeger <aj@suse.de>
12779
12780 [BZ #13852]
12781 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
12782 ieee754/flt-32 implementation for sin, cos and sincos.
12783 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
12784 * sysdeps/i386/fpu/s_cosf.S: Likewise.
12785 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
12786 * sysdeps/i386/fpu/s_sinf.S: Likewise.
12787 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
12788 ieee754/flt-32 implementation for tan.
12789
12790 * math/libm-test.inc (cos_test): Enable some large input tests for
12791 float as well
12792 (sin_test): Likewise.
12793 (sincos_test): Likewise.
12794 (tan_test): Add tests for large input.
12795
12796 * sysdeps/i386/fpu/libm-test-ulps: Update.
12797
81c64153
AJ
127982012-03-15 Andreas Jaeger <aj@suse.de>
12799
12800 [BZ #13658]
12801 * math/libm-test.inc (cos_test): Add more test cases.
12802 (sin_test): Likewise.
12803 (sincos_test): Likewise.
12804
7bbfa5c6
AJ
128052012-03-15 Andreas Jaeger <aj@suse.de>
12806
12807 [BZ #13837]
12808 * math/libm-test.inc (cos_test): Add a test case for large input
12809 value.
12810 (sin_test): Likewise.
12811 (sincos_test): Likewise.
12812
128132012-03-15 Andreas Jaeger <aj@suse.de>,
12814 Joseph Myers <joseph@codesourcery.com>
12815
12816 [BZ #13658]
0671f479 12817 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
12818 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
12819 * sysdeps/i386/fpu/branred.c: Likewise.
12820 * sysdeps/i386/fpu/dosincos.c: Likewise.
12821 * sysdeps/i386/fpu/mpa.c: Likewise.
12822 * sysdeps/i386/fpu/s_cos.S: Likewise.
12823 * sysdeps/i386/fpu/s_sin.S: Likewise.
12824 * sysdeps/i386/fpu/s_sincos.S: Likewise.
12825 * sysdeps/i386/fpu/sincos32.c: Likewise.
12826
12827 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
12828 Define.
12829 (libc_feupdateenv_53bit): Define.
12830 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
12831 Define.
12832 (libc_feupdateenv_53bit): Define.
12833
12834 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
12835 53 bit (without extend i386 double precision).
12836
12837 * math/libm-test.inc (sincos_test): Add tests for large input.
12838 (sin): Likewise.
12839 (cos): Likewise.
12840
12841 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12842
9cad04ea
AS
128432012-03-15 Andreas Schwab <schwab@linux-m68k.org>
12844
12845 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12846
f7062b9a
DM
128472012-03-15 David S. Miller <davem@davemloft.net>
12848
12849 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
12850 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
12851 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
12852 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
12853 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
12854 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
12855 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
12856 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
12857 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
12858 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
12859 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
12860 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
12861 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
12862 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
12863 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
12864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
12865 file.
f7062b9a 12866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
12867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
12868 file.
f7062b9a 12869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
12870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
12871 file.
f7062b9a 12872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
12873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
12874 file.
f7062b9a
DM
12875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
12876 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
12877 fmin/fmax sysdep routines.
12878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
12879
7bd951ff
DM
128802012-03-14 David S. Miller <davem@davemloft.net>
12881
559398ab
DM
12882 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
12883 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
12884 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
12885 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
12886 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
12887 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
12888 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
12889 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
12890 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
12891 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
12892 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
12893 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
12894 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
12895 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
12896 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
12897 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
12898 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
12899 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
12900 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
12901 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
12902 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
12903 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
12904 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
12905 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
12906 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
12907 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
12908 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
12909 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
12910 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
12911 routines.
12912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
12913 file.
559398ab 12914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
12915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
12916 file.
559398ab 12917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
12918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
12919 file.
559398ab 12920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
12921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
12922 file.
559398ab 12923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
12924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
12925 file.
559398ab 12926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
12927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
12928 file.
12929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
12930 file.
12931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
12932 file.
12933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
12934 file.
12935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
12936 New file.
12937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
12938 file.
12939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
12940 file.
559398ab 12941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
12942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
12943 file.
559398ab 12944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
12945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
12946 file.
559398ab 12947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
12948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
12949 file.
559398ab 12950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
12951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
12952 VIS3 routines.
559398ab
DM
12953
12954 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
12955 New file.
12956
5a1c1e32
DM
12957 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12958
eae47a36
DM
12959 * sysdeps/sparc/configure.in: New file.
12960 * sysdeps/sparc/configure: Generate.
12961 * configure.in (libc_cv_sparc_as_vis3): Substitute.
12962 * configure: Regenerate.
12963 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
12964 * config.make.in (have-as-vis3): New.
12965 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
12966 available use -Av9d instead of -Av9a.
12967 * sysdeps/sparc/sparc64/Makefile: Likewise.
12968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
12969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
12970 New file.
12971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
12972 file.
12973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
12974 New file.
12975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
12976 file.
eae47a36
DM
12977 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
12978 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
12979 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
12980 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
12981 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
12982
c0c83bc8
DM
12983 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
12984 fzeros/fnegs to load 0x80000000 into a float register instead of
12985 using the stack.
7bd951ff
DM
12986 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
12987
bd951ccb
JM
129882012-03-14 Joseph Myers <joseph@codesourcery.com>
12989
12990 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12991 bits/syscall.h.
12992 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
12993 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
12994 ($(inst_includedir)/bits/syscall.h): Remove rule.
12995 ($(objpfx)bits/syscall.d): Include instead of
12996 $(objpfx)syscall-list.d.
12997 (generated): Change syscall-list.h and syscall-list.d to
12998 bits/syscall.h and bits/syscall.d.
12999
bb4e6db2
RM
130002012-03-14 Roland McGrath <roland@hack.frob.com>
13001
13002 [BZ #13846]
13003 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
13004
aa4a2ae1
JM
130052012-03-14 Joseph Myers <joseph@codesourcery.com>
13006
e456826d
JM
13007 [BZ #13841]
13008 * math/s_csqrt.c: Include <float.h>.
13009 (__csqrt): Scale large or subnormal inputs.
13010 * math/s_csqrtf.c: Likewise.
13011 * math/s_csqrtl.c: Likewise.
13012 * math/libm-test.inc (csqrt_test): Add more tests.
13013 * sysdeps/i386/fpu/libm-test-ulps: Update.
13014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13015
aa4a2ae1
JM
13016 [BZ #13840]
13017 * math/libm-test.inc (hypot_test): Add more tests.
13018
7c10fd35
DM
130192012-03-13 David S. Miller <davem@davemloft.net>
13020
13021 [BZ #13840]
13022 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
13023 double-precision for the calculation instead of scaling.
13024
f453b98b
JM
130252012-03-13 Joseph Myers <joseph@codesourcery.com>
13026
13027 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
13028 manipulate bits before adding and subtracting TWO52[sx].
13029 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
13030 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
13031 Likewise.
13032 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
13033
09a3453f
DM
130342012-03-13 David S. Miller <davem@davemloft.net>
13035
8e59da90
DM
13036 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
13037 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
13038 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
13039 rtld-global-offsets.h
13040 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13041
2a8ab7f2
DM
13042 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
13043 large parameters.
13044
10f62770
DM
13045 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
13046
5f0bdb18
DM
13047 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
13048 'err' in the ifdef scope in which it is actually used.
13049
09a3453f
DM
13050 * nss/nss_db/db-init.c: Include string.h
13051
b4b2eb5e
DM
130522012-03-12 David S. Miller <davem@davemloft.net>
13053
98bb2f1c
DM
13054 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13055 masking out of the most significant byte of random value used.
13056 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13057 Fix coding style in previous change.
13058
b4b2eb5e
DM
13059 * sysdeps/unix/sysv/linux/kernel-features.h
13060 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
13061 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
13062 expression.
13063 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
13064 later.
13065
6e226b09
DM
130662012-03-11 David S. Miller <davem@davemloft.net>
13067
a1bcbd40
DM
13068 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13069 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
13070 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
13071 for 'resultvar' otherwise things get truncated on 64-bit.
13072
cb9d6174
DM
13073 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13074 Fix masking out of the most significant byte of random value used.
13075
6e226b09
DM
13076 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13077
058c132d
AS
130782012-03-10 Andreas Schwab <schwab@linux-m68k.org>
13079
13080 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13081
2d2cd515
DM
130822012-03-09 David S. Miller <davem@davemloft.net>
13083
13084 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
13085 variables with appropriate CPP guards.
13086 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
13087 frame pointer, not the stack pointer. Correct layout comments. Fix test
13088 on resulting framesize and the management of the outregs buffer for pltexit.
13089 Preserve floating point return values across _dl_call_pltexit call.
13090 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
13091 framesize and the management of the outregs buffer for pltexit.
13092 Preserve floating point return values across _dl_call_pltexit
13093 call.
13094 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
13095 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
13096 (print_exit): Fix format string for return register value.
13097
9a07f9d0
JM
130982012-03-10 Joseph Myers <joseph@codesourcery.com>
13099
13100 * sunrpc/Makefile (others): Add rpcgen.
13101 ($(objpfx)rpcgen): Remove special build rule and dependency on
13102 libc.
13103 * sunrpc/rpcgen.c: New file.
13104
547b5e30
PE
131052012-03-09 Paul Eggert <eggert@cs.ucla.edu>
13106
c524201a
PE
13107 [BZ #13673]
13108 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
13109 * stdio-common/bug-vfprintf-nargs.c: Likewise.
13110 * sysdeps/i386/crti.S: Likewise.
13111 * sysdeps/i386/crtn.S: Likewise.
13112 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
13113 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
13114 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
13115 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
13116 * sysdeps/sh/crti.S: Likewise.
13117 * sysdeps/sh/crtn.S: Likewise.
13118 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13119
7b6235f2
PE
13120 [BZ #13673]
13121 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
13122 with URL.
13123 * locale/programs/locfile-kw.gperf: Likewise.
13124 * locale/programs/charmap-kw.h: Regenerated.
13125 * locale/programs/locfile-kw.h: Likewise.
13126
547b5e30
PE
13127 [BZ #13673]
13128 * intl/plural.y: Replace FSF snail mail address with URL.
13129 * intl/plural.c: Regenerated.
13130
5f0a5dae
RH
131312012-03-09 Richard Henderson <rth@twiddle.net>
13132
13133 * include/math_private.h: Remove file.
13134 * math/math_private.h: Move file ...
13135 * sysdeps/generic/math_private.h: ... here.
13136
b8c03620
RH
13137 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
13138 * sysdeps/powerpc/fpu/math_private.h: Likewise.
13139 * sysdeps/x86_64/fpu/math_private.h: Likewise.
13140
4e234f5d 13141 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
13142 and <math_private.h>.
13143 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13144 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13145 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13146 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13147 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13148 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
13149 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13150 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13151 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13152 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13153 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13154 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13155 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13156 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13157 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13158 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13159 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13160 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13161 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13162 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13163 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13164 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13165 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13166 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13167 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13168 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13169 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13170 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13171 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13172 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13173 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13174 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13175 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13176 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13177 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13178 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13179 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13180 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13181 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13182 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13183 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
13184 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13185 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13186 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13187 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13188 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13189 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13190 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13191 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13192 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13193 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13194 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13195 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13196 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13197 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13198 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13199 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13200 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13201 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13202 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
13203 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13204 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13205 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13206 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13207 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
13208 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13209 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13210 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13211 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
13212 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
13213 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13214 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13215 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13216 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13217 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
13218 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
13219 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
13220 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13221 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
13222 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13223 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13224 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13225 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13226 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13227 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13228 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
13229 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
13230 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
13231 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13232 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13233 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13234 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13235 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13236 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13237 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13238 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13239 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13240 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13241 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13242 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13243 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13244 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13245 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13246 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13247 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13248 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13249 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13250 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13251 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13252 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13253 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13254 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13255 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13256 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13257 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
13258 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13259 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13260 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13261 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13262 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13263 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13264 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13265 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13266 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
13267 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13268 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13269 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13270 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
13271 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13272 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13273 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13274 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13275 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13276 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13277 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13278 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13279 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13280 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13281 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
13282 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13283 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13284 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13285 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13286 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
13287 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
13288 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13289 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13290 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13291 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
13292 * sysdeps/ieee754/k_standard.c: Likewise.
13293 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13294 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13295 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13296 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13297 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13298 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13299 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13300 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13301 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13302 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13303 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13304 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13305 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13306 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13307 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13308 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13309 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13310 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13311 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13312 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
13313 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13314 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13315 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13316 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13317 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13318 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13319 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13320 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13321 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13322 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13323 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13324 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13325 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13326 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13327 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13328 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13329 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13330 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
13331 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
13332 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13333 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13334 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13335 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13336 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13337 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13338 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13339 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13340 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13341 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13342 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13343 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13344 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13345 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13346 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
13347 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13348 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13349 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
13350 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
13351 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13352 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13353 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13354 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13355 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13356 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13357 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13358 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13359 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13360 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13361 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13362 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13363 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13364 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13365 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13366 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13367 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13368 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13369 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
13370 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13371 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13372 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13373 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13374 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13375 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13376 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13377 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
13378 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13379 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13380 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
13381 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13382 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13383 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
13384 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13385 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
13386 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13387 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13388 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13389 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
13390 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
13391 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
13392 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
13393 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13394 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13395 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13396 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13397 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
13398 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13399 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13400 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
13401 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
13402 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13403 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13404 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13405 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13406 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13407 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13408 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13409 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13410 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13411 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13412 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13413 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13414 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13415 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13416 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13417 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13418 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
13419 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13420 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13421 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13422 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13423 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13424 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13425 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13426 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13427 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13428 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13429 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
13430 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13431 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13432 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13433 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13434 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13435 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13436 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13437 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13438 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13439 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13440 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13441 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13442 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
13443 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13444 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13445 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13446 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13447 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
13448 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
13449 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13450 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13451 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13452 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13453 * sysdeps/ieee754/s_lib_version.c: Likewise.
13454 * sysdeps/ieee754/s_matherr.c: Likewise.
13455 * sysdeps/ieee754/s_signgam.c: Likewise.
13456 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13457 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13458 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
13459 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
13460 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
13461 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13462 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
13463 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
13464 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
13465 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
13466 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13467 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
13468 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13469 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13470 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
13471 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13472 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13473 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13474 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13475 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13476 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 13477
1991fa03
JM
134782012-03-09 Joseph Myers <joseph@codesourcery.com>
13479
13480 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
13481 * sunrpc/rpc_main.c: Likewise.
13482 * sunrpc/rpc_svcout.c: Likewise.
13483
60d6f5a6
DM
134842012-03-09 David S. Miller <davem@davemloft.net>
13485
13486 * include/math_private.h: New file.
13487
4962050e
JM
134882012-03-09 Joseph Myers <joseph@codesourcery.com>
13489
02a6f887
JM
13490 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
13491 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
13492 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
13493 from <bits/socket_type.h>.
13494 (enum __socket_type): Don't define here.
13495 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
13496 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13497 bits/socket_type.h.
13498
c6e013c1
JM
13499 [BZ #13566]
13500 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
13501 checking __USE_GNU.
13502
4962050e
JM
13503 * Makerules ($(inst_includedir)/%.h): New rule.
13504 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
13505 (install-others): Remove variable setting.
13506 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
13507
38842f45
RH
135082012-03-08 Richard Henderson <rth@twiddle.net>
13509
67bb6da6
RH
13510 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
13511 from macro to inline function; merge with the
13512 !__LIBC_INTERNAL_MATH_INLINES version.
13513 (__ieee754_sqrtf): Likewise.
13514
15194b4b
RH
13515 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
13516 to inline function.
13517 (__rintf, __floor, __floorf): Likewise.
13518
64e21ede
RH
13519 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
13520 macro to inline function.
13521 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
13522
38842f45
RH
13523 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
13524 not <math/math_private.h>.
13525
c64bf5fe
DM
135262012-03-08 David S. Miller <davem@davemloft.net>
13527
13528 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
13529 copyright year.
13530 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
13531
82d86f28
TS
135322012-03-08 Thomas Schwinge <thomas@codesourcery.com>
13533
13534 * resolv/gai_misc.c (handle_requests): Fix struct timespec
13535 normalization.
13536 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
13537 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
13538
aea5d727
UD
135392012-03-08 Ulrich Drepper <drepper@gmail.com>
13540
13541 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
13542 be defined individually, they must be defined as a block. Define
13543 S for printing a string instead of hidint the different by using a
13544 macro for adding the 'l'.
13545 * stdio-common/tst-fphex-wide.c: Adjust.
13546
70bca0a3
MP
135472012-03-07 Marek Polacek <polacek@redhat.com>
13548
13549 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
13550
65b81130
MP
135512012-03-08 Marek Polacek <polacek@redhat.com>
13552
13553 [BZ #13806]
13554 * stdio-common/Makefile (tests): Add tst-fphex-wide.
13555 * stdio-common/tst-fphex.c: Define a few macros to make the
13556 test reusable. Use them.
13557 * stdio-common/tst-fphex-wide.c: New file.
13558
07037eeb
JM
135592012-03-08 Joseph Myers <joseph@codesourcery.com>
13560
a7a93d50
JM
13561 [BZ #6911]
13562 * manual/macros.texi (gnusystems): New macro.
13563 (nongnusystems): Likewise.
13564 (gnulinuxhurdsystems): Likewise.
13565 (gnuhurdsystems): Likewise..
13566 (gnulinuxsystems): Likewise.
13567 * manual/charset.texi: Use new macros or @theglibc{} to refer to
13568 variants of the GNU system, not "GNU system".
13569 * manual/conf.texi: Likewise.
13570 * manual/errno.texi: Likewise. Update example of errno macro
13571 expansion.
13572 * manual/filesys.texi: Likewise.
13573 (getumask): Document as specific to GNU/Hurd.
13574 * manual/install.texi: Likewise. Reword some references to
13575 GNU/Linux.
13576 * manual/intro.texi: Likewise.
13577 * manual/io.texi: Likewise.
13578 (File Name Portability): Detail which constraints are inapplicable
13579 to all GNU systems and which are only inapplicable to GNU/Hurd.
13580 * manual/job.texi: Likewise.
13581 * manual/llio.texi: Likewise.
13582 (O_NOCTTY): Document as present on GNU/Linux.
13583 * manual/maint.texi: Likewise.
13584 * manual/memory.texi: Likewise.
13585 * manual/pattern.texi: Likewise.
13586 * manual/pipe.texi: Likewise.
13587 * manual/process.texi: Likewise.
13588 * manual/resource.texi: Likewise.
13589 (RUSAGE_CHILDREN): Remove statement about specifying a particular
13590 child on GNU/Hurd.
13591 * manual/setjmp.texi: Likewise.
13592 * manual/signal.texi: Likewise.
13593 * manual/startup.texi: Likewise.
13594 * manual/stdio.texi: Likewise.
13595 * manual/terminal.texi: Likewise.
13596 (ONLCR): Document as POSIX.
13597 (OXTABS): Document availability on GNU/Linux as XTABS.
13598 (ONOEOT): Document availability separately from other bits.
13599 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
13600 * manual/time.texi: Likewise.
13601 * manual/users.texi: Likewise.
13602 * INSTALL: Regenerated.
13603 * sysdeps/gnu/errlist.c: Regenerated.
13604
07037eeb
JM
13605 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
13606 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
13607 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
13608 puts.
13609 * configure: Regenerated.
13610
d1d3431a
JM
136112012-03-07 Joseph Myers <joseph@codesourcery.com>
13612
af6a1e37
JM
13613 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
13614 default includes instead of AC_HEADER_CHECK.
13615 * sysdeps/i386/configure: Regenerated.
13616
d1d3431a
JM
13617 [BZ #10716]
13618 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
13619 * math/s_cacoshf.c (__cacoshf): Likewise.
13620 * math/s_cacoshl.c (__cacoshl): Likewise.
13621 * math/s_casinh.c (__casinh): Set signs of result from argument.
13622 * math/s_casinhf.c (__casinhf): Likewise.
13623 * math/s_casinhl.c (__casinhl): Likewise.
13624 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
13625 (casinh_test): Add more tests.
13626 * sysdeps/i386/fpu/libm-test-ulps: Update.
13627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13628
482ff4da
UD
136292012-03-07 Ulrich Drepper <drepper@gmail.com>
13630
872fda05
UD
13631 * po/zh_TW.po: Update from translation team.
13632
a4300c7a
UD
13633 * login/Makefile (distribute): Remove variable.
13634 * catgets/Makefile: Likewise.
13635 * mach/Makefile: Likewise.
13636 * malloc/Makefile: Likewise.
13637 * misc/Makefile: Likewise.
13638 * iconv/Makefile: Likewise.
13639 * nscd/Makefile: Likewise.
13640 * hurd/Makefile: Likewise.
13641 * manual/Makefile: Likewise.
13642 * locale/Makefile: Likewise.
13643 * intl/Makefile: Likewise.
13644 * conform/Makefile: Likewise.
13645 * nss/Makefile: Likewise.
13646 * time/Makefile: Likewise.
13647 * soft-fp/Makefile: Likewise.
13648 * dirent/Makefile: Likewise.
13649 * gmon/Makefile: Likewise.
13650 * po/Makefile: Likewise.
13651 * rt/Makefile: Likewise.
13652 * socket/Makefile: Likewise.
13653 * math/Makefile: Likewise.
13654 * signal/Makefile: Likewise.
13655 * debug/Makefile: Likewise.
13656 * elf/Makefile: Likewise.
13657 * timezone/Makefile: Likewise.
13658 * stdlib/Makefile: Likewise.
13659 * iconvdata/Makefile: Likewise.
13660 * sunrpc/Makefile: Likewise.
13661 * io/Makefile: Likewise.
13662 * argp/Makefile: Likewise.
13663 * inet/Makefile: Likewise.
13664 * hesiod/Makefile: Likewise.
13665 * grp/Makefile: Likewise.
13666 * csu/Makefile: Likewise.
13667 * wctype/Makefile: Likewise.
13668 * crypt/Makefile: Likewise.
13669 * libio/Makefile: Likewise.
13670 * string/Makefile: Likewise.
13671 * nis/Makefile: Likewise.
13672 * resolv/Makefile: Likewise.
13673 * stdio-common/Makefile: Likewise.
13674 * wcsmbs/Makefile: Likewise.
13675 * dlfcn/Makefile: Likewise.
13676 * posix/Makefile: Likewise.
13677
3b7c4e74 13678 [BZ #6959]
482ff4da
UD
13679 * timezone/Makefile: Don't install timezone files, just the programs
13680 and scripts.
13681
f72ed77d
UD
136822012-03-06 Ulrich Drepper <drepper@gmail.com>
13683
a000466f
UD
13684 * nss/databases.def: Add missing gshadow entry.
13685
f72ed77d
UD
13686 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
13687
a53b7a4e
MP
136882012-03-06 Marek Polacek <polacek@redhat.com>
13689
13690 [BZ #13726]
13691 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
13692 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13693 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
13694 * stdio-common/tst-long-dbl-fphex.c: New file.
13695
e9258400
DM
136962012-03-06 David S. Miller <davem@davemloft.net>
13697
13698 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13699 (set_obp_int): New function.
13700 (get_obp_int): New function.
13701 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
13702 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
13703 Avoid unused variable warnings on 'val' and use builtin_expect.
13704 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
13705 __builtin_expect.
e9258400
DM
13706 (INLINE_CLONE_SYSCALL): Likewise.
13707
3bd2c723
DM
137082012-03-05 David S. Miller <davem@davemloft.net>
13709
13710 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13711
bbb78d03
AS
137122012-03-05 Andreas Schwab <schwab@linux-m68k.org>
13713
884c5db4
AS
13714 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13715
bbb78d03
AS
13716 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
13717 only for |x| >= 40.
13718 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13719
1c9f702a 137202012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
13721
13722 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
13723 Replace gettimeofday with __vdso_gettimeofday.
13724
7be16f82
RM
13725 * sysdeps/unix/sysv/linux/x86_64/init-first.c
13726 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
13727 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
13728
13729 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
13730 time with __vdso_time.
13731
ed58a00f
JM
137322012-03-05 Joseph Myers <joseph@codesourcery.com>
13733
13734 * manual/lang.texi (size_t): Note types to which size_t may be
13735 equivalent with the GNU C Library, but do not describe when
13736 differences between them are significant.
13737
30ee4ced
AJ
137382012-03-05 Andreas Jaeger <aj@suse.de>
13739
13740 * sysdeps/i386/fpu/libm-test-ulps: Update.
13741
b7cd39e8
JM
137422012-03-05 Joseph Myers <joseph@codesourcery.com>
13743
13744 [BZ #3976]
13745 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
13746 (__ieee754_pow): Save and restore rounding mode and use
13747 round-to-nearest for main computations.
13748 * math/libm-test.inc (pow_test_tonearest): New function.
13749 (pow_test_towardzero): Likewise.
13750 (pow_test_downward): Likewise.
13751 (pow_test_upward): Likewise.
13752 (main): Call the new functions.
13753 * sysdeps/i386/fpu/libm-test-ulps: Update.
13754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
13755
13756 [BZ #3976]
13757 * math/libm-test.inc (cosh_test_tonearest): New function.
13758 (cosh_test_towardzero): Likewise.
13759 (cosh_test_downward): Likewise.
13760 (cosh_test_upward): Likewise.
13761 (sinh_test_tonearest): Likewise.
13762 (sinh_test_towardzero): Likewise.
13763 (sinh_test_downward): Likewise.
13764 (sinh_test_upward): Likewise.
13765 (main): Call the new functions.
13766 * sysdeps/i386/fpu/libm-test-ulps: Update.
13767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13768
6c6a98c9
TV
137692012-03-05 Tom de Vries <tom@codesourcery.com>
13770
13771 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
13772 default stack guard is set in last bytes.
13773 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
13774
21bb2d2e 137752012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 13776
21bb2d2e 13777 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 13778
21bb2d2e
AJ
13779 [BZ #13656]
13780 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
13781 possibly allocate from heap instead of stack.
13782 * stdio-common/bug-vfprintf-nargs.c: New file.
13783 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 13784
c6922934
AS
137852012-03-03 Andreas Schwab <schwab@linux-m68k.org>
13786
13787 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13788
bc957d53
MP
137892012-03-03 Marek Polacek <polacek@redhat.com>
13790
13791 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
13792 * math/math_private.h: Likewise.
13793 * stdlib/tst-strtod.c: Likewise.
13794 * sysdeps/i386/i486/bits/atomic.h: Likewise.
13795 * sysdeps/x86_64/bits/atomic.h: Likewise.
13796
6358490d
DM
137972012-03-02 David S. Miller <davem@davemloft.net>
13798
13799 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
13800 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
13801 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
13802 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
13803 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
13804 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
13805 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
13806 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
13807
01ae168d
RM
138082012-03-02 Roland McGrath <roland@hack.frob.com>
13809
d9a17c07
RM
13810 [BZ #13792]
13811 * manual/examples/README: New file, says the example source files
13812 can be used under GPL>=2.
13813 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
13814 line containing just "*/".
13815 * manual/examples/add.c: Add copyright header (GPL>=2).
13816 * manual/examples/argp-ex1.c: Likewise.
13817 * manual/examples/argp-ex2.c: Likewise.
13818 * manual/examples/argp-ex3.c: Likewise.
13819 * manual/examples/argp-ex4.c: Likewise.
13820 * manual/examples/atexit.c: Likewise.
13821 * manual/examples/db.c: Likewise.
13822 * manual/examples/dir.c: Likewise.
13823 * manual/examples/dir2.c: Likewise.
13824 * manual/examples/execinfo.c: Likewise.
13825 * manual/examples/filecli.c: Likewise.
13826 * manual/examples/filesrv.c: Likewise.
13827 * manual/examples/fmtmsgexpl.c: Likewise.
13828 * manual/examples/genpass.c: Likewise.
13829 * manual/examples/inetcli.c: Likewise.
13830 * manual/examples/inetsrv.c: Likewise.
13831 * manual/examples/isockad.c: Likewise.
13832 * manual/examples/longopt.c: Likewise.
13833 * manual/examples/memopen.c: Likewise.
13834 * manual/examples/memstrm.c: Likewise.
13835 * manual/examples/mkfsock.c: Likewise.
13836 * manual/examples/mkisock.c: Likewise.
13837 * manual/examples/mygetpass.c: Likewise.
13838 * manual/examples/pipe.c: Likewise.
13839 * manual/examples/popen.c: Likewise.
13840 * manual/examples/rprintf.c: Likewise.
13841 * manual/examples/search.c: Likewise.
13842 * manual/examples/select.c: Likewise.
13843 * manual/examples/setjmp.c: Likewise.
13844 * manual/examples/sigh1.c: Likewise.
13845 * manual/examples/sigusr.c: Likewise.
13846 * manual/examples/stpcpy.c: Likewise.
13847 * manual/examples/strdupa.c: Likewise.
13848 * manual/examples/strftim.c: Likewise.
13849 * manual/examples/strncat.c: Likewise.
13850 * manual/examples/subopt.c: Likewise.
13851 * manual/examples/swapcontext.c: Likewise.
13852 * manual/examples/termios.c: Likewise.
13853 * manual/examples/testopt.c: Likewise.
13854 * manual/examples/testpass.c: Likewise.
13855 * manual/examples/timeval_subtract.c: Likewise.
13856
01ae168d
RM
13857 [BZ #13792]
13858 * manual/time.texi (Elapsed Time): Move timeval_subtract example
13859 function to ...
13860 * manual/timeval_subtract.c.texi: ... here, new file.
13861
49efa33d
DM
138622012-03-02 David S. Miller <davem@davemloft.net>
13863
13864 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
13865
28afd92d
JM
138662012-03-02 Joseph Myers <joseph@codesourcery.com>
13867
804360ed
JM
13868 [BZ #3976]
13869 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
13870 (__sin): Save and restore rounding mode and use round-to-nearest
13871 for all computations.
13872 (__cos): Save and restore rounding mode and use round-to-nearest
13873 for all computations.
13874 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
13875 <fenv.h>.
13876 (tan): Save and restore rounding mode and use round-to-nearest for
13877 all computations.
13878 * math/libm-test.inc (cos_test_tonearest): New function.
13879 (cos_test_towardzero): Likewise.
13880 (cos_test_downward): Likewise.
13881 (cos_test_upward): Likewise.
13882 (sin_test_tonearest): Likewise.
13883 (sin_test_towardzero): Likewise.
13884 (sin_test_downward): Likewise.
13885 (sin_test_upward): Likewise.
13886 (tan_test_tonearest): Likewise.
13887 (tan_test_towardzero): Likewise.
13888 (tan_test_downward): Likewise.
13889 (tan_test_upward): Likewise.
13890 (main): Call the new functions.
13891 * sysdeps/i386/fpu/libm-test-ulps: Update.
13892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13893
a6d06d7b
JM
13894 [BZ #10135]
13895 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
13896 small n, then large n, before computing and testing k+n.
13897 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
13898 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
13899 Likewise.
13900 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
13901 Likewise.
13902 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
13903 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
13904 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
13905 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
13906 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13907 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13908 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
13909 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
13910 * math/libm-test.inc (scalbn_test): Add more tests.
13911 (scalbln_test): Likewise.
13912
07e12bb3
JM
13913 * manual/filesys.texi (mode_t): Describe constraints on size and
13914 signedness, not exact equivalence to a particular type.
13915 (ino_t): Likewise.
13916 (ino64_t): Likewise.
13917 (dev_t): Likewise.
13918 (nlink_t): Likewise.
13919 (blkcnt_t): Likewise.
13920 (blkcnt64_t): Likewise.
13921 * manual/llio.texi (off_t): Likewise.
13922
28afd92d
JM
13923 [BZ #3976]
13924 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
13925 (__ieee754_exp): Save and restore rounding mode and use
13926 round-to-nearest for all computations.
13927 * math/libm-test.inc (exp_test_tonearest): New function.
13928 (exp_test_towardzero): Likewise.
13929 (exp_test_downward): Likewise.
13930 (exp_test_upward): Likewise.
13931 (main): Call the new functions.
13932 * sysdeps/i386/fpu/libm-test-ulps: Update.
13933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13934
b1eeb65d
CD
139352012-03-01 Chris Demetriou <cgd@google.com>
13936
13937 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
13938 have predictable order.
13939
53362a4b
DM
139402012-03-01 David S. Miller <davem@davemloft.net>
13941
3c969083
DM
13942 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
13943
759707de
DM
13944 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
13945 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
13946 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
13947 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
13948
dfdb8ff2
DM
13949 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
13950 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
13951 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
13952 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
13953 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
13954 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
13955 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
13956 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
13957 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
13958
ead89f96
DM
13959 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13960
7f66bd07
DM
13961 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
13962 * sysdeps/sparc/fpu/libm-test-ulps: to here.
13963 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
13964
53362a4b
DM
13965 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
13966 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13967 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
13968 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
13969 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
13970 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
13971 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
13972 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13973 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
13974 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
13975 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
13976 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
13977 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13978 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
13979 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13980 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13981 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
13982 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
13983 * sysdeps/sparc/elf/configure: Regenerated.
13984
7b1902cb
JM
139852012-03-01 Joseph Myers <joseph@codesourcery.com>
13986
bec039bc
JM
13987 * configure.in (AS, LD): Require binutils 2.20 or later.
13988 * configure: Regenerated.
13989 * manual/install.texi (Tools for Compilation): Give binutils 2.20
13990 as required minimum version.
13991 * INSTALL: Regenerated.
13992
7b1902cb
JM
13993 [BZ #2541]
13994 [BZ #4108]
13995 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
13996 before squaring exponent.
13997 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
13998 bottom long double and 27 bits of top long double before squaring
13999 exponent.
14000 * math/libm-test.inc (erfc_test): Add more tests.
14001 * sysdeps/i386/fpu/libm-test-ulps: Update.
14002 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14004
f775c276
KT
140052012-03-01 Kai Tietz <ktietz@redhat.com>
14006
14007 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
14008 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
14009 containing bit-fields.
14010 * soft-fp/extended.h (_FP_UNION_E): Likewise.
14011 * soft-fp/single.h (_FP_UNION_S): Likewise.
14012 * soft-fp/double.h (_FP_UNION_D): Likewise.
14013
5b8a4d4a
JM
140142012-02-29 Joseph Myers <joseph@codesourcery.com>
14015
0bab47b6
JM
14016 [BZ #13786]
14017 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
14018 not include ../strcmp.S.
14019 [USE_AS_STRNCASECMP_L]: Likewise.
14020 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
14021 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
14022 * sysdeps/i386/i686/multiarch/strncase_l-c.c
14023 (__strncasecmp_l_ia32): Define as alias to
14024 __strncasecmp_l_nonascii.
14025
0fcad3e2
JM
14026 [BZ #5794]
14027 * math/libm-test.inc (expm1_test): Add test for bug 5794.
14028 * sysdeps/i386/fpu/libm-test-ulps: Update.
14029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14030
5b8a4d4a
JM
14031 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
14032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14033
8fdceb2e
JL
140342012-02-29 Jeff Law <law@redhat.com>
14035
14036 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
14037 out of bounds read.
14038
1f393a11
MP
140392012-02-29 Marek Polacek <polacek@redhat.com>
14040
14041 [BZ #13706]
14042 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
14043 * elf/Makefile: Add rules to run tst-unused-dep.out.
14044
8847f037
DM
140452012-02-28 David S. Miller <davem@davemloft.net>
14046
14047 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
14048 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
14049 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
14050 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
14051 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
14052 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
14053
169d7f11
JM
140542012-02-29 Joseph Myers <joseph@codesourcery.com>
14055
14056 * math/libm-test.inc (llround_test): Move one test from
14057 lround_test. Use TEST_f_L in moved test.
14058 (lround_test): Move misplaced test to llround_test. Add testcase
14059 from bug 2561.
14060
39adf059
UD
140612012-02-28 Ulrich Drepper <drepper@gmail.com>
14062
14063 * sysdeps/x86_64/fpu/e_expf.S: New file.
14064 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
14065
71b5d1c5
SB
140662012-02-28 Stanislav Brabec <sbrabec@suse.cz>
14067
14068 [BZ #13637]
14069 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
14070 of remain_len that may cause incomplete multi-byte character and
14071 false match.
14072 * posix/bug-regex33.c: New file.
14073 * posix/Makefile (tests): Add bug-regex33.
14074
1f77f049
JM
140752012-02-28 Joseph Myers <joseph@codesourcery.com>
14076
14077 * manual/macros.texi: New file.
14078 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
14079 * manual/libc.texinfo: Include macros.texi.
14080 * manual/creatute.texi: Likewise.
14081 * manual/install.texi: Likewise.
14082 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
14083 @glibcadj{} in references to the GNU C Library.
14084 * manual/charset.texi: Likewise.
14085 * manual/conf.texi: Likewise.
14086 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
14087 when not using those macros.
14088 * manual/creature.texi: Likewise.
14089 * manual/crypt.texi: Likewise.
14090 * manual/errno.texi: Likewise.
14091 * manual/filesys.texi: Likewise.
14092 * manual/header.texi: Likewise.
14093 * manual/install.texi: Likewise.
14094 * manual/intro.texi: Likewise.
14095 * manual/io.texi: Likewise.
14096 * manual/job.texi: Likewise.
14097 * manual/lang.texi: Likewise.
14098 * manual/libc.texiinfo: Likewise.
14099 * manual/llio.texi: Likewise.
14100 * manual/locale.texi: Likewise.
14101 * manual/maint.texi: Likewise.
14102 * manual/math.texi: Likewise.
14103 * manual/memory.texi: Likewise.
14104 * manual/message.texi: Likewise.
14105 * manual/nss.texi: Likewise.
14106 * manual/pattern.texi: Likewise.
14107 * manual/process.texi: Likewise.
14108 * manual/resource.texi: Likewise.
14109 * manual/search.texi: Likewise.
14110 * manual/setjmp.texi: Likewise.
14111 * manual/signal.texi: Likewise.
14112 * manual/socket.texi: Likewise.
14113 * manual/startup.texi: Likewise.
14114 * manual/stdio.texi: Likewise.
14115 * manual/string.texi: Likewise.
14116 * manual/sysinfo.texi: Likewise.
14117 * manual/syslog.texi: Likewise.
14118 * manual/terminal.texi: Likewise.
14119 * manual/time.texi: Likewise.
14120 * manual/users.texi: Likewise.
14121 * INSTALL: Regenerated.
14122 * NOTES: Regenerated.
d40c5d54 14123 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 14124
450bf206
AS
141252012-02-28 Andreas Schwab <schwab@linux-m68k.org>
14126
14127 * include/dirent.h: Include <dirstream.h> before
14128 <dirent/dirent.h>.
14129
741a235b
DM
141302012-02-28 David S. Miller <davem@davemloft.net>
14131
14132 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
14133 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
14134 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
14135 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
14136
d6b5aa58
DM
141372012-02-27 David S. Miller <davem@davemloft.net>
14138
1aff59a3
DM
14139 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
14140 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
14141 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
14142 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
14143
d6b5aa58
DM
14144 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
14145 frame pointer instead of stack pointer relative arg slot.
14146 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14147 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14148 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14149
433f48bf
CD
141502012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
14151
14152 [BZ #3992]
14153 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
14154
d674b76d
DM
141552012-02-27 David S. Miller <davem@davemloft.net>
14156
14157 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
14158 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14159 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14160 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
14161 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14162 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14163 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
14164 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
14165
0e7727f7
JM
141662012-02-27 Joseph Myers <joseph@codesourcery.com>
14167
14168 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
14169 later. Allow versions 5-9.
43be4ca2 14170 * configure: Regenerated.
0e7727f7
JM
14171 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
14172 required minimum version and 4.6 as recommended version. Do not
14173 mention bugs in GCC 2.7 and 2.8.
43be4ca2 14174 * INSTALL: Regenerated.
0e7727f7 14175
a78bc654
DM
141762012-02-27 David S. Miller <davem@davemloft.net>
14177
428d5830
DM
14178 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
14179 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
14180 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
14181 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
14182 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
14183 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
14184 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
14185 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
14186
a78bc654
DM
14187 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
14188 manipulate bits before adding and subtracting TWO112[sx].
14189 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14190
4579f81c
RM
141912012-02-27 Roland McGrath <roland@hack.frob.com>
14192
36c8acb4
RM
14193 [BZ #13775]
14194 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
14195 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
14196 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
14197 being in POSIX, because they are in 1003.1-2008.
14198
84ad622b
RM
14199 * rt/tst-aio.c: Include <fcntl.h>.
14200 * rt/tst-aio7.c: Likewise.
14201 * rt/tst-aio64.c: Likewise.
14202
4579f81c
RM
14203 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
14204
abd923db
JM
142052012-02-27 Joseph Myers <joseph@codesourcery.com>
14206
14207 * manual/install.texi (--with-headers): Describe headers as
14208 interface headers, not private headers.
14209 (Specific advice for GNU/Linux systems): Describe use of headers
14210 from "make headers_install", not private headers from older
14211 kernels.
43be4ca2 14212 * INSTALL: Regenerated.
abd923db
JM
14213 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
14214 Change to 2.6.19.
14215 * sysdeps/unix/sysv/linux/configure: Regenerated.
14216
6664049b
JM
14217 * manual/llio.texi (fclean): Remove documentation.
14218
bb8b6697
JM
14219 * manual/Makefile (libc-texi-generated): New variable. Include
14220 version.texi.
14221 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
14222 $(libc-texi-generated), not duplicated list of files.
14223 (version.texi, stamp-version): New rules.
14224 (realclean): Remove $(libc-texi-generated), not individual files
14225 from that list. Do not remove dir-add.texinfo.
14226 * manual/libc.texinfo: Comment out uses of edition numbers and
14227 references to printed manual. Remove last-updated dates.
14228 (EDITION): Comment out.
14229 (ISBN): Likewise.
14230 (VERSION, UPDATED): Remove.
14231 (version.texi): Include.
14232
12e5c3b9
AS
142332012-02-27 Andreas Schwab <schwab@linux-m68k.org>
14234
14235 * sysdeps/posix/spawni.c: Include <signal.h>.
14236 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
14237 * sysdeps/pthread/aio_fsync.c: Likewise.
14238
4efeffc1 142392012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 14240
ba63ba08
UD
14241 * conform/Makefile (tests): Run only when not cross-compiling and
14242 when fast-check is not defined.
14243
d94a4670
UD
14244 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
14245 * conform/data/limits.h-data: Fixes for POSIX2008.
14246 * conform/run-conformtest.sh: Run all tests.
14247 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
14248 headers.
14249 * include/bits/dlfcn.h: Likewise.
14250 * include/langinfo.h: Likewise.
14251 * include/monetary.h: Likewise.
14252 * include/sys/poll.h: Likewise.
14253
14254 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
14255 for __USE_GNU.
14256 * posix/spawn.h: Define __need_sigset_t.
14257 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
14258 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
14259 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
14260 to get sigevent_t only.
14261 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
14262 only for __USE_GNU.
14263 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14264 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14265 process_vm_writev only for __USE_GNU.
14266 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
14267
14268 * conform/Makefile: For now ignore errors from run-conformtest.
14269 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
14270 POSIX to avoid namespace pollution. Don't prepend headers.
14271 * conform/data/aio.h-data: Fixes for POSIX testing.
14272 * conform/data/fcntl.h-data: Likewise.
14273 * conform/data/glob.h-data: Likewise.
14274 * conform/data/grp.h-data: Likewise.
14275 * conform/data/pthread.h-data: Likewise.
14276 * conform/data/pwd.h-data: Likewise.
14277 * conform/data/signal.h-data: Likewise.
14278 * conform/data/spawn.h-data: Likewise.
14279 * conform/data/stdio.h-data: Likewise.
14280 * conform/data/stdlib.h-data: Likewise.
14281 * conform/data/stropts.h-data: Likewise.
14282 * conform/data/sys/mman.h-data: Likewise.
14283 * conform/data/sys/stat.h-data: Likewise.
14284 * conform/data/sys/types.h-data: Likewise.
14285 * conform/data/sys/wait.h-data: Likewise.
14286 * conform/data/time.h-data: Likewise.
14287 * conform/data/unistd.h-data: Likewise.
14288 * conform/data/utime.h-data: Likewise.
14289
14290 * io/sys/stat.h: fchmod was always in POSIX.
14291 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
14292 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
14293 * rt/aio.h: Define __need_timespec before including <time.h>.
14294 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
14295 struct. Add forward declaration of pthread_attr_t and use it in
14296 sigevent.
14297 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14298 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14299 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
14300 always remove CLK_TCK definition.
14301
c20105c3
AS
143022012-02-26 Andreas Schwab <schwab@linux-m68k.org>
14303
14304 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
14305
7a270350
UD
143062012-02-25 Ulrich Drepper <drepper@gmail.com>
14307
31341567
UD
14308 * conform/run-conformtest.sh: New file.
14309 * conform/Makefile: Run run-conformtest for tests.
14310 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
14311 support.
14312
14313 * conform/data/uchar.h-data: New file.
14314 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
14315 * conform/data/arpa/inet.h-data: Likewise.
14316 * conform/data/assert.h-data: Likewise.
14317 * conform/data/complex.h-data: Likewise.
14318 * conform/data/cpio.h-data: Likewise.
14319 * conform/data/ctype.h-data: Likewise.
14320 * conform/data/dirent.h-data: Likewise.
14321 * conform/data/dlfcn.h-data: Likewise.
14322 * conform/data/errno.h-data: Likewise.
14323 * conform/data/fcntl.h-data: Likewise.
14324 * conform/data/float.h-data: Likewise.
14325 * conform/data/fmtmsg.h-data: Likewise.
14326 * conform/data/fnmatch.h-data: Likewise.
14327 * conform/data/ftw.h-data: Likewise.
14328 * conform/data/glob.h-data: Likewise.
14329 * conform/data/grp.h-data: Likewise.
14330 * conform/data/iconv.h-data: Likewise.
14331 * conform/data/inttypes.h-data: Likewise.
14332 * conform/data/langinfo.h-data: Likewise.
14333 * conform/data/libgen.h-data: Likewise.
14334 * conform/data/limits.h-data: Likewise.
14335 * conform/data/locale.h-data: Likewise.
14336 * conform/data/math.h-data: Likewise.
14337 * conform/data/monetary.h-data: Likewise.
14338 * conform/data/mqueue.h-data: Likewise.
14339 * conform/data/ndbm.h-data: Likewise.
14340 * conform/data/net/if.h-data: Likewise.
14341 * conform/data/netdb.h-data: Likewise.
14342 * conform/data/netinet/in.h-data: Likewise.
14343 * conform/data/nl_types.h-data: Likewise.
14344 * conform/data/poll.h-data: Likewise.
14345 * conform/data/pthread.h-data: Likewise.
14346 * conform/data/pwd.h-data: Likewise.
14347 * conform/data/regex.h-data: Likewise.
14348 * conform/data/sched.h-data: Likewise.
14349 * conform/data/search.h-data: Likewise.
14350 * conform/data/semaphore.h-data: Likewise.
14351 * conform/data/setjmp.h-data: Likewise.
14352 * conform/data/signal.h-data: Likewise.
14353 * conform/data/spawn.h-data: Likewise.
14354 * conform/data/stdarg.h-data: Likewise.
14355 * conform/data/stdio.h-data: Likewise.
14356 * conform/data/stdlib.h-data: Likewise.
14357 * conform/data/string.h-data: Likewise.
14358 * conform/data/strings.h-data: Likewise.
14359 * conform/data/stropts.h-data: Likewise.
14360 * conform/data/sys/ipc.h-data: Likewise.
14361 * conform/data/sys/mman.h-data: Likewise.
14362 * conform/data/sys/msg.h-data: Likewise.
14363 * conform/data/sys/resource.h-data: Likewise.
14364 * conform/data/sys/select.h-data: Likewise.
14365 * conform/data/sys/sem.h-data: Likewise.
14366 * conform/data/sys/shm.h-data: Likewise.
14367 * conform/data/sys/socket.h-data: Likewise.
14368 * conform/data/sys/stat.h-data: Likewise.
14369 * conform/data/sys/statvfs.h-data: Likewise.
14370 * conform/data/sys/time.h-data: Likewise.
14371 * conform/data/sys/timeb.h-data: Likewise.
14372 * conform/data/sys/times.h-data: Likewise.
14373 * conform/data/sys/types.h-data: Likewise.
14374 * conform/data/sys/uio.h-data: Likewise.
14375 * conform/data/sys/un.h-data: Likewise.
14376 * conform/data/sys/utsname.h-data: Likewise.
14377 * conform/data/sys/wait.h-data: Likewise.
14378 * conform/data/syslog.h-data: Likewise.
14379 * conform/data/tar.h-data: Likewise.
14380 * conform/data/termios.h-data: Likewise.
14381 * conform/data/utime.h-data: Likewise.
14382 * conform/data/utmpx.h-data: Likewise.
14383 * conform/data/varargs.h-data: Likewise.
14384 * conform/data/wchar.h-data: Likewise.
14385 * conform/data/wctype.h-data: Likewise.
14386 * conform/data/wordexp.h-data: Likewise.
14387
14388 * include/stropts.h: New file.
14389 * include/uchar.h: New file.
14390 * include/aio.h: Changes to allow conformtest.pl to use the headers.
14391 * include/assert.h: Likewise.
14392 * include/ctype.h: Likewise.
14393 * include/dirent.h: Likewise.
14394 * include/dlfcn.h: Likewise.
14395 * include/fcntl.h: Likewise.
14396 * include/fnmatch.h: Likewise.
14397 * include/glob.h: Likewise.
14398 * include/grp.h: Likewise.
14399 * include/libio.h: Likewise.
14400 * include/locale.h: Likewise.
14401 * include/math.h: Likewise.
14402 * include/net/if.h: Likewise.
14403 * include/netdb.h: Likewise.
14404 * include/netinet/in.h: Likewise.
14405 * include/pthread.h: Likewise.
14406 * include/pwd.h: Likewise.
14407 * include/regex.h: Likewise.
14408 * include/sched.h: Likewise.
14409 * include/search.h: Likewise.
14410 * include/setjmp.h: Likewise.
14411 * include/signal.h: Likewise.
14412 * include/stdio.h: Likewise.
14413 * include/stdlib.h: Likewise.
14414 * include/string.h: Likewise.
14415 * include/sys/cdefs.h: Likewise.
14416 * include/sys/mman.h: Likewise.
14417 * include/sys/msg.h: Likewise.
14418 * include/sys/resource.h: Likewise.
14419 * include/sys/select.h: Likewise.
14420 * include/sys/socket.h: Likewise.
14421 * include/sys/stat.h: Likewise.
14422 * include/sys/statvfs.h: Likewise.
14423 * include/sys/time.h: Likewise.
14424 * include/sys/times.h: Likewise.
14425 * include/sys/uio.h: Likewise.
14426 * include/sys/utsname.h: Likewise.
14427 * include/sys/wait.h: Likewise.
14428 * include/termios.h: Likewise.
14429 * include/time.h: Likewise.
14430 * include/ulimit.h: Likewise.
14431 * include/unistd.h: Likewise.
14432 * include/utime.h: Likewise.
14433 * include/wchar.h: Likewise.
14434 * include/wctype.h: Likewise.
14435 * include/wordexp.h: Likewise.
14436
14437 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
14438
7a270350
UD
14439 * time/time.h: TIME_UTC must be a macro.
14440 Make timespec_get available for ISO C11 only as well.
14441
7724defc
UD
144422012-02-24 Ulrich Drepper <drepper@gmail.com>
14443
14444 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
14445 Reported by Peng Haitao <penght@cn.fujitsu.com>.
14446
6b1d1d46
JM
144472012-02-24 Joseph Myers <joseph@codesourcery.com>
14448
14449 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 14450
0f8bbd69
JM
144512012-02-24 Joseph Myers <joseph@codesourcery.com>
14452
14453 * manual/texinfo.tex: Update to version 2012-01-19.16.
14454
66ab80bc
JM
144552012-02-24 Joseph Myers <joseph@codesourcery.com>
14456
14457 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
14458
74981cc5
RM
144592012-02-24 Roland McGrath <roland@hack.frob.com>
14460
ee968201
RM
14461 [BZ #13738]
14462 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
14463 * manual/fdl-1.3.texi: New file.
14464 * manual/fdl-1.1.texi: File removed.
14465
74981cc5
RM
14466 [BZ #13738]
14467 * manual/libc.texinfo (FDL_VERSION): New @set.
14468 Use it for mention of FDL in cover text.
14469 (Documentation License): Use it in @include file name.
14470
7bb764bc
JM
144712012-02-22 Joseph Myers <joseph@codesourcery.com>
14472 Roland McGrath <roland@hack.frob.com>
14473
14474 [BZ #5461]
14475 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
14476 not LONG_LONG_MAX and LONG_LONG_MIN.
14477 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
14478 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
14479 name.
14480 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
14481
6cbeae47
JM
144822012-02-22 Joseph Myers <joseph@codesourcery.com>
14483
14484 [BZ #2547]
14485 [BZ #11365]
14486 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
14487 manipulate bits before adding and subtracting TWO23[sx].
14488 * math/libm-test.inc (nearbyint_test): Add more tests.
14489
fe45ce09
JM
144902012-02-22 Joseph Myers <joseph@codesourcery.com>
14491
14492 [BZ #2548]
14493 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
14494 bits before adding and subtracting TWO23[sx].
14495 * math/libm-test.inc (rint_test): Add more tests.
14496 (rint_test_tonearest): Likewise.
14497 (rint_test_towardzero): Likewise.
14498 (rint_test_downward): Likewise.
14499 (rint_test_upward: Likewise.
14500
ff3b3d82
JM
145012012-02-22 Joseph Myers <joseph@codesourcery.com>
14502
14503 [BZ #10110]
14504 * include/stdc-predef.h: New file. Extracted from features.h.
14505 * include/features.h: Include stdc-predef.h.
14506 * Makefile (headers): Add stdc-predef.h.
14507 * CONFORMANCE (Compiler limitations): Update.
14508
ef0aab35
JM
145092012-02-22 Joseph Myers <joseph@codesourcery.com>
14510
14511 * manual/libc.texinfo (VERSION, UPDATED): Revert.
14512
58639409
DM
145132012-02-21 David S. Miller <davem@davemloft.net>
14514
14515 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
14516 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14517
c0e70b25
DM
145182012-02-20 David S. Miller <davem@davemloft.net>
14519
14520 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
14521 using a normal save/restore sequence, rather than allocating a
14522 dummy stack frame just to store a frame pointer and restore.
14523 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14524
fb06851d
JM
145252012-02-21 Joseph Myers <joseph@codesourcery.com>
14526
14527 * manual/install.texi: Fix stray word in line-wrapped comment.
14528
7a8b71c3
DM
145292012-02-20 David S. Miller <davem@davemloft.net>
14530
d510c123
DM
14531 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
14532 both binutils and gcc support GOTDATA.
14533
0722d7c2
DM
14534 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
14535 "rd %pc" in the PIC register setup sequences.
14536
3d2b3019
DM
14537 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
14538 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
14539 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14540 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
14541 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14542 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
14543 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14544 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14545 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
14546 (SYSCALL_ERROR_HANDLER): Likewise.
14547 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14548 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14549 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
14550 (SYSCALL_ERROR_HANDLER): Likewise.
14551
c80098a9
DM
14552 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
14553 (HAVE_GCC_GOTDATA): New.
14554 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
14555 relocation support in both binutils and gcc.
14556 * sysdeps/sparc/elf/configure: Regenerate.
14557
3a2545a0
DM
14558 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
14559 * sysdeps/sparc/sparc32/elf/configure: Delete.
14560 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
14561 * sysdeps/sparc/sparc64/elf/configure: Delete.
14562 * sysdeps/sparc/elf/configure.in: New file.
14563 * sysdeps/sparc/elf/configure: Generate.
14564
7a8b71c3
DM
14565 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
14566 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
14567 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14568 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
14569 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
14570
f1e86fca
JM
145712012-02-21 Joseph Myers <joseph@codesourcery.com>
14572
14573 * manual/install.texi: Do not mention specific glibc version
14574 numbers.
14575 * manual/libc.texinfo (VERSION, UPDATED): Update.
14576 (@copying): Use @copyright{} and range of years.
14577
0e7dfaef
JM
145782012-02-21 Joseph Myers <joseph@codesourcery.com>
14579
14580 [BZ #13695]
14581 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
14582 [crti.S not in sysdirs] (generated): Do not append.
14583 [crti.S not in sysdirs] (omit-deps): Likewise.
14584 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
14585 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
14586 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
14587 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
14588 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
14589 Likewise.
14590 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
14591 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
14592 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
14593 * csu/defs.awk: Remove file.
14594 * sysdeps/generic/initfini.c: Likewise.
14595 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
14596 variable.
14597 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
14598 Likewise.
14599
599af3ca
JM
146002012-02-20 Joseph Myers <joseph@codesourcery.com>
14601
14602 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
14603 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
14604 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
14605 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
14606 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14607 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
14608 <bits/epoll.h>.
14609 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
14610 (__EPOLL_PACKED): Define to empty if not defined by
14611 <bits/epoll.h>.
14612 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
14613 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14614 bits/epoll.h.
14615
0e499750
JM
146162012-02-20 Joseph Myers <joseph@codesourcery.com>
14617
14618 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
14619 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
14620 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
14621 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
14622 <bits/timerfd.h>.
14623 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
14624 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14625 bits/timerfd.h.
14626
5ad91f6e
JM
146272012-02-20 Joseph Myers <joseph@codesourcery.com>
14628
14629 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
14630 in C locale.
14631 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14632 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14633 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
14634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14635
06b99b02
AJ
146362012-02-20 Aurelien Jarno <aurelien@aurel32.net>
14637
14638 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14639 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14640
7638c0fd
AS
146412012-02-19 Andreas Schwab <schwab@linux-m68k.org>
14642
14643 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
14644 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
14645 defined.
14646 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
14647 Likewise.
14648 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
14649 entry for 2.16.
14650
92221550
AJ
146512012-02-19 Aurelien Jarno <aurelien@aurel32.net>
14652
14653 * math/w_acos.c: Use non-signaling floating-point comparisons.
14654 * math/w_acosf.c: Likewise.
14655 * math/w_acosh.c: Likewise.
14656 * math/w_acoshf.c: Likewise.
14657 * math/w_acoshl.c: Likewise.
14658 * math/w_acosl.c: Likewise.
14659 * math/w_asin.c: Likewise.
14660 * math/w_asinf.c: Likewise.
14661 * math/w_asinl.c: Likewise.
14662 * math/w_atanh.c: Likewise.
14663 * math/w_atanhf.c: Likewise.
14664 * math/w_atanhl.c: Likewise.
14665 * math/w_exp2.c: Likewise.
14666 * math/w_exp2f.c: Likewise.
14667 * math/w_exp2l.c: Likewise.
14668 * math/w_j0.c: Likewise.
14669 * math/w_j0f.c: Likewise.
14670 * math/w_j0l.c: Likewise.
14671 * math/w_j1.c: Likewise.
14672 * math/w_j1f.c: Likewise.
14673 * math/w_j1l.c: Likewise.
14674 * math/w_jn.c: Likewise.
14675 * math/w_jnf.c: Likewise.
14676 * math/w_log.c: Likewise.
14677 * math/w_log10.c: Likewise.
14678 * math/w_log10f.c: Likewise.
14679 * math/w_log10l.c: Likewise.
14680 * math/w_log2.c: Likewise.
14681 * math/w_log2f.c: Likewise.
14682 * math/w_log2l.c: Likewise.
14683 * math/w_logf.c: Likewise.
14684 * math/w_logl.c: Likewise.
14685 * math/w_sqrt.c: Likewise.
14686 * math/w_sqrtf.c: Likewise.
14687 * math/w_sqrtl.c: Likewise.
14688 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14689 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
14690 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14691 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14692 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14693
ebaf36eb
JM
146942012-02-19 Joseph Myers <joseph@codesourcery.com>
14695
14696 [BZ #9739]
14697 * manual/string.texi (strnlen): Use correct parameter name in
14698 equivalent expression.
14699
71c254a6
JM
147002012-02-19 Joseph Myers <joseph@codesourcery.com>
14701
14702 [BZ #11174]
14703 * manual/users.texi (seteuid): Consistently use neweuid for
14704 argument name.
14705
16d2c631
JM
147062012-02-19 Joseph Myers <joseph@codesourcery.com>
14707
14708 [BZ #13704]
14709 * manual/nss.texi (Services in the NSS configuration): Correct
14710 list of services in example configuration file.
14711
cd837b09
NB
147122012-02-19 Nick Bowler <nbowler@draconx.ca>
14713
14714 [BZ #11322]
14715 * manual/arith.texi: Remove statements about negative zero
14716 behaving identically to zero.
14717
02c4bbad
JM
147182012-02-18 Joseph Myers <joseph@codesourcery.com>
14719
14720 [BZ #5993]
14721 * manual/install.texi: Do not document upgrading from libc5.
14722
366842e7
JM
147232012-02-18 Joseph Myers <joseph@codesourcery.com>
14724
14725 [BZ #4596]
14726 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
14727
dd54084d
DM
147282012-02-18 David S. Miller <davem@davemloft.net>
14729
14730 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
14731 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
14732 %o7 across the call.
14733 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
14734 instead.
14735 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
14736 SETUP_PIC_REG_LEAF.
14737 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14738 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
14739 * sysdeps/sparc/crtn.S: Likewise.
14740
2bcc53a3
UD
147412012-02-17 Ulrich Drepper <drepper@gmail.com>
14742
14743 * aout/Makefile: Remove.
14744
09c093b5
RK
147452012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
14746
14747 [BZ #13058]
14748 * manual/examples/argp-ex1.c (main): Format definition in GNU
14749 style.
14750 * manual/examples/argp-ex2.c (main): Likewise.
14751 * manual/examples/argp-ex3.c (main): Likewise.
14752 * manual/examples/argp-ex4.c (main): Likewise.
14753 * manual/examples/longopt.c (main): Use new-style prototype
14754 definition.
14755 * manual/examples/strncat.c (main): Specify return type and use
14756 (void) for arguments.
14757 * manual/examples/subopt.c (main): Use char **argv argument.
14758
2ee633a2
JM
147592012-02-17 Joseph Myers <joseph@codesourcery.com>
14760
14761 [BZ #5077]
14762 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
14763 rounding modes.
14764
0520adde
FB
147652012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
14766
14767 [BZ #6907]
14768 * manual/string.texi (strchr): Change when strchrnul is
14769 recommended.
14770
3f4081cd
DGM
147712012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
14772
14773 [BZ #174]
14774 * manual/locale.texi (setlocale): Document LOCPATH.
14775
d1b10e78
JM
147762012-02-17 Joseph Myers <joseph@codesourcery.com>
14777
14778 [BZ #10210]
14779 * manual/process.texi (execle): Move @dots{} before last argument.
14780
79c6869c
PB
147812012-02-17 Paul Bolle <pebolle@tiscali.nl>
14782
14783 [BZ #12047]
14784 * manual/charset.texi (Generic Charset Conversion): Fix typo
14785 (LC_TYPE -> LC_CTYPE).
14786
cc6e48bc
NB
147872012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
14788
14789 [BZ #5805]
14790 * manual/arith.texi (scalbn): Use @var{} on parameter names.
14791 (scalbnf): Likewise.
14792 (scalbnl): Likewise.
14793 (scalbln): Likewise.
14794 (scalblnf): Likewise.
14795 (scalblnl): Likewise.
14796 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
14797 (vwarnx): Likewise.
14798 (verr): Likewise.
14799 (verrx): Likewise.
14800 * manual/filesys.texi (telldir): Use braces around return type.
14801 * manual/llio.texi (mmap): Add space after comma.
14802 (mmap64): Likewise.
14803 * manual/math.texi (jn): Use @var{} on parameter names.
14804 (jnf): Likewise.
14805 (jnl): Likewise.
14806 (yn): Likewise.
14807 (ynf): Likewise.
14808 (ynl): Likewise.
14809 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
14810 line.
14811 * manual/resource.texi (ulimit): Use @dots{} instead of literal
14812 "...".
14813 (sched_get_priority_min): Remove semicolon on @deftypefun line.
14814 (sched_get_priority_max): Likewise.
14815 * manual/signal.texi (sigvec): Add space after comma.
14816 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
14817 names.
14818 (if_indextoname): Likewise.
14819 (if_freenameindex): Likewise.
14820 (sendto): Use ',' instead of '.' in prototype.
14821 * manual/startup.texi (syscall): Use @dots{} instead of literal
14822 "...".
14823 * manual/stdio.texi (__fpending): Separate initial words of
14824 paragraph from @deftypefun line.
14825 * manual/syslog.texi (syslog): Use @dots{} instead of literal
14826 "...".
14827 (vsyslog): Use @var{} on parameter names.
14828 * manual/terminal.texi (stty): Use @var{} on parameter names.
14829 * manual/users.texi (getutmp): Use @var{} on parameter names.
14830 (getutmpx): Likewise.
14831
5b23062f
JM
148322012-02-17 Joseph Myers <joseph@codesourcery.com>
14833
14834 [BZ #6884]
14835 * manual/stdio.texi (fopen): Fix typos in description of
14836 ",ccs=STRING".
14837
8dee4833
AJ
148382012-02-17 Aurelien Jarno <aurelien@aurel32.net>
14839
14840 [BZ #4026]
14841 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
14842 get clock_id definition.
14843
9078ce93
TS
148442012-02-17 Thomas Schwinge <thomas@schwinge.name>
14845
14846 [BZ #4822]
14847 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
14848 (madvise): Cast every argument to void on its own.
14849
3835c55f
JM
148502012-02-17 Joseph Myers <joseph@codesourcery.com>
14851
14852 [BZ #9902]
14853 * manual/startup.texi (Exit Status): Fix typo.
14854
35c47e37
JM
148552012-02-17 Joseph Myers <joseph@codesourcery.com>
14856
14857 [BZ #10140]
14858 * manual/examples/argp-ex1.c: Include <stdlib.h>.
14859 * manual/examples/argp-ex2.c: Likewise.
14860 * manual/examples/argp-ex3.c: Likewise.
14861
e3b69ca7
RH
148622012-02-16 Richard Henderson <rth@redhat.com>
14863
14864 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
14865 * sysdeps/s390/s390-32/initfini.c: Remove.
14866 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
14867 * sysdeps/s390/s390-64/initfini.c: Remove.
14868
df83af67
KK
148692012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14870
14871 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
14872 compiler output for sysdeps/generic/initfini.c.
14873 * sysdeps/sh/elf/initfini.c: Remove file.
14874
f63f3380
DM
148752012-02-16 David S. Miller <davem@davemloft.net>
14876
fb59b3a4
DM
14877 [BZ #11494]
14878 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
14879
f63f3380
DM
14880 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
14881 * sysdeps/sparc/crti.S: New file.
14882 * sysdeps/sparc/crtn.S: New file.
14883 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
14884 * sysdeps/sparc/sparc64/Makefile: Likewise.
14885
df6a4a4a
MF
148862012-02-15 Mike Frysinger <vapier@gentoo.org>
14887
6dd8f3dc 14888 [BZ #3335]
df6a4a4a
MF
14889 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
14890
1cac7236
RM
148912012-02-15 Roland McGrath <roland@hack.frob.com>
14892
d2c736f8
RM
14893 [BZ #4822]
14894 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
14895
1cac7236
RM
14896 * mach/devstream.c (cookie_io_functions_t): Macro removed.
14897 (write, read, close): Likewise.
14898 Patch by Aurelien Jarno <aurelien@aurel32.net>.
14899
8e475601
JM
149002012-02-15 Joseph Myers <joseph@codesourcery.com>
14901
14902 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
14903 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
14904 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
14905 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
14906 <bits/signalfd.h>.
14907 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
14908 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14909 bits/signalfd.h.
14910
ed656b40
MP
149112012-02-14 Marek Polacek <polacek@redhat.com>
14912
14913 * sysdeps/x86_64/crti.S: New file.
14914 * sysdeps/x86_64/crtn.S: New file.
14915 * sysdeps/x86_64/elf/initfini.c: Remove file.
14916
2a979d3a
JM
149172012-02-13 Joseph Myers <joseph@codesourcery.com>
14918
14919 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
14920 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
14921 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
14922 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
14923 <bits/inotify.h>.
14924 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
14925 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14926 bits/inotify.h.
14927
2a418ac3
JM
149282012-02-13 Joseph Myers <joseph@codesourcery.com>
14929
14930 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
14931 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
14932 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
14933 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
14934 <bits/eventfd.h>.
14935 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
14936 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14937 bits/eventfd.h.
14938
fb779be7
TS
149392012-02-10 Thomas Schwinge <thomas@codesourcery.com>
14940
e19e83c5
RM
14941 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
14942 __feraiseexcept instead of feraiseexcept.
7c35ffed 14943
fb779be7
TS
14944 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
14945 nanosleep invocations.
14946 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
14947 strings, and add error checking for a nanosleep invocations.
14948
59ba27a6
PE
149492012-02-09 Paul Eggert <eggert@cs.ucla.edu>
14950
14951 Replace FSF snail mail address with URLs, as per GNU coding standards.
14952 Most of the snail mail addresses were wrong anyway, and omitting
14953 them makes the source code easier to maintain. Almost all of the
14954 changes are to license notices and to locale LC_IDENTIFICATION
14955 addresses, except for this one:
14956 * manual/libc.texinfo: In "Published by", give the FSF's URL,
14957 not its snail mail address.
14958
57b957eb
RH
149592012-02-09 Richard Henderson <rth@twiddle.net>
14960
af850b1c
RH
14961 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
14962 of kernel-features.h.
14963
57b957eb
RH
14964 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
14965
6b73181a
MP
149662012-02-08 Marek Polacek <polacek@redhat.com>
14967
14968 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
14969 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
14970 * sysdeps/gnu/_G_config.h: Likewise.
14971 * sysdeps/generic/_G_config.h: Likewise.
14972
26ecc33a
AS
149732012-02-08 Andreas Schwab <schwab@linux-m68k.org>
14974
6c6dbc63
AS
14975 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
14976 tests.
14977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14978
e216c012
AS
14979 * sysdeps/powerpc/powerpc32/crti.S: New file.
14980 * sysdeps/powerpc/powerpc32/crtn.S: New file.
14981 * sysdeps/powerpc/powerpc64/crti.S: New file.
14982 * sysdeps/powerpc/powerpc64/crtn.S: New file.
14983
26ecc33a
AS
14984 * Makeconfig (have-initfini): Don't set.
14985 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
14986 * configure.in (nopic_initfini): Don't substitute.
14987 * config.h.in (HAVE_INITFINI): Don't #undef.
14988 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
14989 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
14990
3add8e13
JM
149912012-02-08 Joseph Myers <joseph@codesourcery.com>
14992
14993 Support crti.S and crtn.S provided directly by architectures.
14994 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
14995 [crti.S in sysdirs] (omit-deps): Likewise.
14996 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
14997 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
14998 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
14999 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
15000 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
15001 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
15002 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
15003 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
15004 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
15005 compiler output for sysdeps/generic/initfini.c.
15006 * sysdeps/i386/elf/Makefile: Remove file.
15007 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
15008
a22f12b4
MP
150092012-02-07 Marek Polacek <polacek@redhat.com>
15010
15011 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
15012 * sysdeps/gnu/_G_config.h: Likewise.
15013 * sysdeps/mach/hurd/_G_config.h: Likewise.
15014
148cf100
MP
150152012-02-07 Marek Polacek <polacek@redhat.com>
15016
15017 * math/Makefile (tests): Add tst-CMPLX2.
15018 * math/tst-CMPLX2.c: New file.
15019
cfdc0dd7
AS
150202012-02-07 Andreas Schwab <schwab@linux-m68k.org>
15021
84ba42c4
AS
15022 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15023
cfdc0dd7
AS
15024 * math/libm-test.inc (jn_test): Add missing L suffix.
15025
622c86f4
MP
150262012-02-06 Marek Polacek <polacek@redhat.com>
15027
15028 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
15029 * sysdeps/i386/fpu/e_powf.S: Likewise.
15030 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15031 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15032 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15033 * sysdeps/i386/fpu/e_pow.S: Likewise.
15034 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15035 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15036 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15037 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15038 * sysdeps/i386/fpu/e_log2.S: Likewise.
15039 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15040 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15041 * sysdeps/i386/fpu/e_powl.S: Likewise.
15042 * sysdeps/i386/fpu/s_log1p.S: Likewise.
15043 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15044 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15045 * sysdeps/i386/fpu/e_logl.S: Likewise.
15046 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15047 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
15048 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15049 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15050 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15051 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15052 * sysdeps/i386/fpu/e_log.S: Likewise.
15053 * sysdeps/i386/fpu/s_cexp.S: Likewise.
15054 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15055 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
15056 * sysdeps/i386/fpu/e_logf.S: Likewise.
15057 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15058 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15059 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
15060 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15061 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15062 * sysdeps/i386/fpu/e_log10.S: Likewise.
15063 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15064 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15065 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15066 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15067 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15068 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15069 * sysdeps/i386/asm-syntax.h: Likewise.
15070 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15071 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15072 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15073 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
15074 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
15075 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15076 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15077 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15078 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15079 * sysdeps/powerpc/sysdep.h: Likewise.
15080 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
15081 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15082
d4a54ac6
JM
150832012-02-06 Joseph Myers <joseph@codesourcery.com>
15084
15085 [BZ #411]
15086 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
15087
314054ea
JM
150882012-02-06 Joseph Myers <joseph@codesourcery.com>
15089
15090 * sysdeps/i386/sysdep.h: Include <features.h>.
15091 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
15092 version.
15093
d8e0ca50
JM
150942012-02-05 Joseph Myers <joseph@codesourcery.com>
15095
15096 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
15097 Define.
15098 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
15099 LOAD_PIC_REG_STR.
15100
b1da7dd9
JM
151012012-02-03 Joseph Myers <joseph@codesourcery.com>
15102
15103 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
15104 (SETUP_PIC_REG): Use GET_PC_THUNK.
15105 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
15106 macro.
15107
9a1d9254
JM
151082012-02-03 Joseph Myers <joseph@codesourcery.com>
15109
15110 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
15111 for non-PIC compilation.
15112 (SETUP_PIC_REG): Add .p2align directive.
15113 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
15114 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
15115 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15116 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15117 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15118 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15119 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
15120 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15121 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15122 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15123 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15124 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15125 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15126 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15127 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15128 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15129 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15130 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15131 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15132 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15133 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15134 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15135 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15136 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15137 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15138 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15139 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15140 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15141 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15142 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15143 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15144 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15145 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15146 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15147 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15148 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15149 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15150 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15151 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15152 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15153 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15154
65dc3b75
JM
151552012-02-03 Joseph Myers <joseph@codesourcery.com>
15156
15157 * math/tst-CMPLX.c: Include <stdio.h>.
15158
d55bf177
JM
151592012-01-31 Joseph Myers <joseph@codesourcery.com>
15160
15161 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
15162 float.
15163 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15164 * sysdeps/sparc/bits/mathdef.h: Likewise.
15165
69db4f8f
MP
151662012-01-31 Marek Polacek <polacek@redhat.com>
15167
15168 * libio/libio.h: Don't define _PARAMS.
15169 * locale/programs/config.h: Don't define PARAMS.
15170 * stdlib/strtol_l.c: Likewise.
15171 (__strtol_l): Remove PARAMS from the prototype.
15172
41b81892
UD
151732012-01-31 Ulrich Drepper <drepper@gmail.com>
15174
3b49edc0
UD
15175 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
15176 names. Just use the correct names. Remove unnecessary wrapper
15177 functions.
15178 * malloc/arena.c: Likewise.
15179 * malloc/hooks.c: Likewise.
15180
41b81892
UD
15181 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
15182 ARENA_TEST says not to. Simplify test for creation of a new arena.
15183 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
15184
27a25b6e
UD
151852012-01-30 Ulrich Drepper <drepper@gmail.com>
15186
15187 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
15188 into tail calls.
15189 (update_get_addr): New function.
15190 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
15191 GET_ADDR_MODULE parameter.
15192
c8a89e7d
JM
151932012-01-30 Joseph Myers <joseph@codesourcery.com>
15194
15195 * crypt/cert.c: Remove __STDC__ conditionals.
15196 * crypt/crypt-entry.c: Likewise.
15197 * crypt/crypt_util.c: Likewise.
15198 * libio/filedoalloc.c: Likewise.
15199 * libio/fileops.c: Likewise.
15200 * libio/genops.c: Likewise.
15201 * libio/iofclose.c: Likewise.
15202 * libio/iofdopen.c: Likewise.
15203 * libio/iofopen.c: Likewise.
15204 * libio/iofopen64.c: Likewise.
15205 * libio/iogetdelim.c: Likewise.
15206 * libio/iopopen.c: Likewise.
15207 * libio/obprintf.c: Likewise.
15208 * libio/oldfileops.c: Likewise.
15209 * libio/oldiofclose.c: Likewise.
15210 * libio/oldiofdopen.c: Likewise.
15211 * libio/oldiofopen.c: Likewise.
15212 * libio/oldiopopen.c: Likewise.
15213 * libio/wfiledoalloc.c: Likewise.
15214 * libio/wgenops.c: Likewise.
15215 * locale/programs/xmalloc.c: Likewise.
15216 * misc/syslog.c: Likewise.
15217 * stdio-common/xbug.c: Likewise.
15218 * string/memchr.c: Likewise.
15219 * string/memcmp.c: Likewise.
15220 * string/memrchr.c: Likewise.
15221 * string/rawmemchr.c: Likewise.
15222 * sysdeps/posix/getcwd.c: Likewise.
15223 * time/strftime_l.c: Likewise.
15224
3b100462
JM
152252012-01-30 Joseph Myers <joseph@codesourcery.com>
15226
15227 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
15228 * config.make.in (config-cflags-sse2avx): Define.
15229 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
15230 Fix typo.
15231
607998af
CM
152322012-01-29 Chris Metcalf <cmetcalf@tilera.com>
15233
15234 * scripts/config.guess: Update from upstream config git repository.
15235 * scripts/config.sub: Likewise.
15236
3601428f
CM
152372012-01-28 Chris Metcalf <cmetcalf@tilera.com>
15238
3ac8b282
CM
15239 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
15240 (EM_NUM): Update.
15241 (R_TILEPRO_*, R_TILEGX_*): New macros.
15242
e034841e
CM
15243 * scripts/firstversions.awk: Fix bug in version range handling.
15244
540d7568
CM
15245 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
15246
3601428f
CM
15247 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
15248
463de862
CM
15249 * include/sys/epoll.h: New file.
15250 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
15251 libc_hidden_def.
15252
73139a76
UD
152532012-01-28 Ulrich Drepper <drepper@gmail.com>
15254
96bc5b45
UD
15255 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
15256 Avoid unnecessary __WORDSIZE == 64 test.
15257 (fmaxf): Use VEX format if possible.
15258 (fmax): Likewise.
15259 (fminf): Likewise.
15260 (fmin): Likewise.
15261
56f6f6a2
UD
15262 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
15263 * math/math_private.h: Remove libc_fegetround* and
15264 libc_fesetround*.
15265 * sysdeps/i386/configure.in: Check for -msse2avx.
15266 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
15267 also if SSE2AVX is defined.
15268 Remove libc_fegetround* and libc_fesetround*.
15269 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
15270 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
15271 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
15272 of HAS_YMM_USABLE.
15273 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15274 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15275 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15276 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15277 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15278
73139a76
UD
15279 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
15280
d73f93a4
AZ
152812012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15282
15283 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
15284 size is not set.
15285 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15286
6ee65ed6
UD
152872012-01-27 Ulrich Drepper <drepper@gmail.com>
15288
15289 [BZ #13618]
15290 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
15291 relocation.
15292 * Makeconfig (libm): Define.
15293 * elf/Makefile: Add rules to build and run tst-relsort1.
15294 * elf/tst-relsort1.c: New file.
15295 * elf/tst-relsort1mod1.c: New file.
15296 * elf/tst-relsort1mod2.c: New file.
15297
8db21882
JM
152982012-01-27 Joseph Myers <joseph@codesourcery.com>
15299
15300 * math/s_ldexp.c: Remove __STDC__ conditionals.
15301 * math/s_ldexpf.c: Likewise.
15302 * math/s_ldexpl.c: Likewise.
15303 * math/s_nextafter.c: Likewise.
15304 * math/s_nexttowardf.c: Likewise.
15305 * math/s_significand.c: Likewise.
15306 * math/s_significandf.c: Likewise.
15307 * math/s_significandl.c: Likewise.
15308 * math/w_jnl.c: Likewise.
15309 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
15310 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15311 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15312 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15313 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15314 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15315 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
15316 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15317 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15318 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15319 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15320 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15321 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15322 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15323 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15324 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15325 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15326 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15327 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15328 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15329 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15330 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15331 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15332 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15333 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15334 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15335 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15336 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15337 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
15338 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15339 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15340 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
15341 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15342 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
15343 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
15344 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15345 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15346 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
15347 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
15348 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15349 * sysdeps/ieee754/k_standard.c: Likewise.
15350 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15351 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15352 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15353 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15354 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15355 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15356 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15357 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15358 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15359 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15360 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15361 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
15362 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15363 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15364 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15365 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15366 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15367 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15368 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15369 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15370 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15371 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15372 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15373 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15374 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15375 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15376 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15377 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15378 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15379 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15380 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15381 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
15382 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15383 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
15384 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15385 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
15386 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
15387 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15388 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
15389 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
15390 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
15391 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
15392 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
15393 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
15394 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15395 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15396 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15397 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15398 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15399 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
15400 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
15401 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15402 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15403 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
15404 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15405 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
15406 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
15407 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15408 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15409 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15410 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15411 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15412 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15413 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15414 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15415 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15416 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15417 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15418 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15419 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15420 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15421 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15422 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15423 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15424 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15425 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15426 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15427 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15428 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15429 * sysdeps/ieee754/s_matherr.c: Likewise.
15430 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15431 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15432 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15433 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15434
965a54a4
JM
154352012-01-26 Joseph Myers <joseph@codesourcery.com>
15436
15437 * crypt/md5.h: Remove __STDC__ conditionals.
15438 * libio/libioP.h: Likewise.
15439 * locale/programs/config.h: Likewise.
15440 * sysdeps/generic/sysdep.h: Likewise.
15441 * sysdeps/i386/asm-syntax.h: Likewise.
15442 * sysdeps/s390/asm-syntax.h: Likewise.
15443 * sysdeps/unix/sysdep.h: Likewise.
15444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15446
7071ad79
JM
154472012-01-26 Joseph Myers <joseph@codesourcery.com>
15448
15449 * libio/libio.h: Remove __STDC__ conditionals.
15450 * malloc/obstack.h: Likewise.
15451 * math/complex.h: Likewise.
15452 * math/math.h: Likewise.
15453 * sysdeps/generic/_G_config.h: Likewise.
15454 * sysdeps/gnu/_G_config.h: Likewise.
15455 * sysdeps/mach/hurd/_G_config.h: Likewise.
15456 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15457 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15458 * sysdeps/sparc/bits/mathdef.h: Likewise.
15459
afc5ed09
UD
154602012-01-26 Ulrich Drepper <drepper@gmail.com>
15461
15462 [BZ #13583]
15463 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 15464 Clean up HAS_* macros.
afc5ed09 15465 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
15466 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
15467 possible.
15468 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
15469 HAS_AVX.
15470 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15471 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15472 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15473 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15474 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 15475
bdb6de1d
JM
154762012-01-25 Joseph Myers <joseph@codesourcery.com>
15477
15478 * elf/tst-unique3.cc (gets): Remove declaration.
15479 * elf/tst-unique3lib.cc (gets): Likewise.
15480 * elf/tst-unique3lib2.cc (gets): Likewise.
15481 * elf/tst-unique4.cc (gets): Likewise.
15482
b15549e6
UD
154832012-01-24 Ulrich Drepper <drepper@gmail.com>
15484
15485 * include/stdio.h: Add C++ protection. Add gets declarations and
15486 definitions.
15487 * debug/tst-chk1.c: Don't declare gets here.
15488 * stdio-common/tst-gets.c: Likewise.
15489
a037381f
JM
154902012-01-24 Joseph Myers <joseph@codesourcery.com>
15491
15492 * posix/glob: Remove directory.
15493
f1d4aa75
JM
154942012-01-24 Joseph Myers <joseph@codesourcery.com>
15495
15496 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
15497
81c0c964
PT
154982012-01-22 Pino Toscano <toscano.pino@tiscali.it>
15499
15500 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
15501 of the non-standard EPFNOSUPPORT.
15502
0ea698ae
ST
155032011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
15504
15505 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
15506 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
15507 ANYWHERE set to 1 only on KERN_NO_SPACE error.
15508
d220b117
UD
155092012-01-21 Ulrich Drepper <drepper@gmail.com>
15510
15511 * wcsmbs/uchar.h: Test __STDC_VERSION__.
15512
3e1aa84e
UD
155132012-01-20 Ulrich Drepper <drepper@gmail.com>
15514
15515 * nscd/aicache.c (addhstaiX): Do not cache negative results of
15516 transient errors.
15517 * nscd/grpcache.c (cache_addgr): Likewise.
15518 * nscd/hstcache.c (cache_addhst): Likewise.
15519 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15520 * nscd/pwdcache.c (cache_addpw): Likewise.
15521 * nscd/servicescache.c (cache_addserv): Likewise.
15522
400aa020
UD
155232012-01-16 Ulrich Drepper <drepper@gmail.com>
15524
d77e7869
UD
15525 * malloc/malloc.c: Various cleanups.
15526 * malloc/hooks.c: Likewise.
15527
400aa020
UD
15528 * stdlib/Makefile (tests): Add bug-fmtmsg1.
15529 * stdlib/bug-fmtmsg1.c: New file.
15530
15531 * stdlib/fmtmsg.c (init): Add missing unlock.
15532 Patch by Peng Haitao <penght@cn.fujitsu.com>.
15533
e0a309cf
MP
155342012-01-12 Marek Polacek <polacek@redhat.com>
15535
15536 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
15537 and _GNU_SOURCE.
15538
929d11c7
WS
155392012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15540
15541 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
15542 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
15543 macro to ensure uniqueness of label name.
15544 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
15545 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
15546
41d0e869
UD
155472012-01-11 Ulrich Drepper <drepper@gmail.com>
15548
0cc5ed3b
UD
15549 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
15550
41d0e869
UD
15551 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
15552 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
15553 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15554 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
15555
a47a831a
UD
155562012-01-10 Ulrich Drepper <drepper@gmail.com>
15557
daa891c0
UD
15558 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
15559
15560 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
15561 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
15562 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
15563
e58ef0f2
UD
15564 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
15565
a47a831a 15566 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
15567 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
15568 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 15569 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
15570
15571 * math/bits/math-finite.h: Add ldexp support.
15572
a0bfc9c7
MP
155732012-01-10 Marek Polacek <polacek@redhat.com>
15574
15575 * locale/programs/localedef.h (show_archive_content): Add noreturn
15576 attribute.
15577
d6e97a1d
UD
155782012-01-09 Ulrich Drepper <drepper@gmail.com>
15579
15580 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
15581
d5835c26
UD
155822012-01-08 Ulrich Drepper <drepper@gmail.com>
15583
e5f484c6
UD
15584 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
15585
d5835c26
UD
15586 * io/Makefile (headers): Add bits/poll2.h.
15587
d1f741e9
WS
155882011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
15589
15590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
15591 typo #include statement.
15592
ec09c1c4
UD
155932012-01-08 Ulrich Drepper <drepper@gmail.com>
15594
15595 * include/sys/cdefs.h: Define __attribute_alloc_size.
15596 * catgets/gencat.c: Add alloc_size attribute and apply consistently
15597 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
15598 * elf/pldd.c: Likewise.
15599 * iconv/iconv_charmap.c: Likewise.
15600 * iconv/iconvconfig.c: Likewise.
15601 * iconv/strtab.c: Likewise.
15602 * locale/programs/locale.c: Likewise.
15603 * locale/programs/localedef.h: Likewise.
15604 * locale/programs/simple-hash.c: Likewise.
15605 * nscd/nscd.h: Likewise.
15606 * nss/makedb.c: Likewise.
15607 * sysdeps/generic/ldconfig.h: Likewise.
15608 * locale/programs/localedef.c: Remove xmalloc prototype.
15609 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
15610
20b38e03
PP
156112012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15612
15613 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
15614 appropriate.
15615
a0da5fe1
UD
156162012-01-08 Ulrich Drepper <drepper@gmail.com>
15617
1d5a644a 15618 * math/Makefile (tests): Add tst-CMPLX.
669704fd 15619 * math/tst-CMPLX.c: New file.
1d5a644a 15620
8784a6db
UD
15621 * math/complex.h (CMPLXL): Fix typo.
15622
d9a216c0
UD
15623 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
15624 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
15625 GLIBC_2.16.
15626 * debug/tst-chk1.c: Add poll and ppoll tests.
15627 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
15628 * include/sys/poll.h: Add hidden proto for ppoll.
15629 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
15630 * sysdeps/mach/hurd/ppoll.c: Likewise.
15631 * io/ppoll.c: Likewise.
15632 * debug/poll_chk.c: New file.
15633 * debug/ppoll_chk.c: New file.
15634 * include/bits/poll2.h: New file.
15635 * io/bits/poll2.h: New file.
15636
ac097f5c
UD
15637 [BZ #1350]
15638 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
15639
2119dcfa
UD
15640 * configure.in: static is always set to yes. Remove.
15641 * config.make.in: Don't set build-static.
15642 * Makeconfig: Remove use of build-static.
15643 * dlfcn/Makefile: Likewise.
15644 * elf/Makefile: Likewise.
15645 * math/Makefile: Likewise.
15646 * misc/Makefile: Likewise.
15647 * nptl/Makefile: Likewise.
15648 * sysdeps/mach/hurd/Makefile: Likewise.
15649
121766a9
UD
15650 * configure.in: PWD_P is not used anymore.
15651 * config.make.in: Remove PWD_P entry.
15652
51a1d39c 15653 * configure.in: Remove last remnants of RANLIB.
8720d066 15654 No need to check for signed size_t anymore.
215f4bdc
UD
15655 Don't set libc_commonpagesize and libc_relro_required here for Alpha
15656 and IA-64.
3857022a 15657 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
15658 * aclocal.m4: Likewise.
15659
d3ed7225
UD
15660 * wcsmbs/mbrtoc16.c: Implement using towc function.
15661 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
15662 * wcsmbs/wcsmbsload.c: Likewise.
15663 * iconv/gconv_simple.c: Likewise.
15664 * iconv/gconv_int.h: Likewise.
15665 * iconv/gconv_builtin.h: Likewise.
15666 * iconv/iconv_prog.c: Remove CHAR16 handling.
15667
15668 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
15669
15670 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
15671
a0da5fe1
UD
15672 * configure.in: Remove --with-elf and --enable-bounded options.
15673 Dont set base_machine for ia64. More non-ELF conditions removed.
15674 Remove testing and setting of leading underscore information.
15675 * config.make.in (build-bounded): Set to no.
15676 * config.h.in: Remove NO_UNDERSCORES entry.
15677 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
15678 them.
15679 * csu/start.c: Remove !NO_UNDERSCORE code.
15680 * locale/localeinfo.h: Likewise.
15681 * sysdeps/generic/machine-gmon.h: Likewise.
15682 * sysdeps/generic/sysdep.h: Likewise.
15683 * sysdeps/i386/sysdep.h: Likewise.
15684 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
15685 * sysdeps/mach/sysdep.h: Likewise.
15686 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15687 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15688 * sysdeps/sh/sysdep.h: Likewise.
15689 * sysdeps/sparc/sparc32/alloca.S: Likewise.
15690 * sysdeps/unix/i386/sysdep.S: Likewise.
15691 * sysdeps/unix/sparc/start.c: Likewise.
15692 * sysdeps/unix/sparc/sysdep.S: Likewise.
15693 * sysdeps/unix/sparc/sysdep.h: Likewise.
15694 * sysdeps/unix/start.c: Likewise.
15695 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15696 * sysdeps/x86_64/sysdep.h: Likewise.
15697
df78418a
UD
156982012-01-07 Ulrich Drepper <drepper@gmail.com>
15699
a784e502
UD
15700 [BZ #13553]
15701 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
15702 for non-gcc.
15703 * argp/argp-fmtstream.h: Use const instead __const.
15704 * argp/argp.h: Likewise.
15705 * assert/assert.h: Likewise.
15706 * bits/fenv.h: Likewise.
15707 * bits/sched.h: Likewise.
15708 * bits/sigset.h: Likewise.
15709 * bits/sigthread.h: Likewise.
15710 * catgets/nl_types.h: Likewise.
15711 * conform/data/pthread.h-data: Likewise.
15712 * crypt/crypt-private.h: Likewise.
15713 * crypt/crypt.h: Likewise.
15714 * crypt/crypt_util.c: Likewise.
15715 * ctype/ctype.h: Likewise.
15716 * debug/execinfo.h: Likewise.
15717 * debug/mbsnrtowcs_chk.c: Likewise.
15718 * debug/mbsrtowcs_chk.c: Likewise.
15719 * debug/wcsnrtombs_chk.c: Likewise.
15720 * debug/wcsrtombs_chk.c: Likewise.
15721 * debug/wcstombs_chk.c: Likewise.
15722 * dirent/dirent.h: Likewise.
15723 * dlfcn/dlfcn.h: Likewise.
15724 * elf/neededtest4.c: Likewise.
15725 * grp/grp.h: Likewise.
15726 * gshadow/gshadow.h: Likewise.
15727 * iconv/gconv.h: Likewise.
15728 * iconv/gconv_int.h: Likewise.
15729 * iconv/gconv_simple.c: Likewise.
15730 * iconv/iconv.h: Likewise.
15731 * iconv/loop.c: Likewise.
15732 * iconv/skeleton.c: Likewise.
15733 * include/aio.h: Likewise.
15734 * include/aliases.h: Likewise.
15735 * include/argz.h: Likewise.
15736 * include/arpa/inet.h: Likewise.
15737 * include/assert.h: Likewise.
15738 * include/dirent.h: Likewise.
15739 * include/dlfcn.h: Likewise.
15740 * include/execinfo.h: Likewise.
15741 * include/fcntl.h: Likewise.
15742 * include/fenv.h: Likewise.
15743 * include/glob.h: Likewise.
15744 * include/grp.h: Likewise.
15745 * include/libintl.h: Likewise.
15746 * include/mntent.h: Likewise.
15747 * include/netdb.h: Likewise.
15748 * include/pwd.h: Likewise.
15749 * include/rpc/netdb.h: Likewise.
15750 * include/sched.h: Likewise.
15751 * include/search.h: Likewise.
15752 * include/shadow.h: Likewise.
15753 * include/signal.h: Likewise.
15754 * include/stdio.h: Likewise.
15755 * include/stdlib.h: Likewise.
15756 * include/string.h: Likewise.
15757 * include/sys/socket.h: Likewise.
15758 * include/sys/stat.h: Likewise.
15759 * include/sys/statfs.h: Likewise.
15760 * include/sys/statvfs.h: Likewise.
15761 * include/sys/syslog.h: Likewise.
15762 * include/sys/time.h: Likewise.
15763 * include/sys/uio.h: Likewise.
15764 * include/time.h: Likewise.
15765 * include/unistd.h: Likewise.
15766 * include/utmp.h: Likewise.
15767 * include/wchar.h: Likewise.
15768 * include/wctype.h: Likewise.
15769 * inet/aliases.h: Likewise.
15770 * inet/arpa/inet.h: Likewise.
15771 * inet/netinet/ether.h: Likewise.
15772 * inet/netinet/in.h: Likewise.
15773 * intl/libintl.h: Likewise.
15774 * io/bits/fcntl2.h: Likewise.
15775 * io/fcntl.h: Likewise.
15776 * io/ftw.h: Likewise.
15777 * io/sys/poll.h: Likewise.
15778 * io/sys/stat.h: Likewise.
15779 * io/sys/statfs.h: Likewise.
15780 * io/sys/statvfs.h: Likewise.
15781 * io/utime.h: Likewise.
15782 * libio/bits/stdio.h: Likewise.
15783 * libio/bits/stdio2.h: Likewise.
15784 * libio/libio.h: Likewise.
15785 * libio/libioP.h: Likewise.
15786 * libio/stdio.h: Likewise.
15787 * locale/lc-ctype.c: Likewise.
15788 * locale/locale.h: Likewise.
15789 * login/utmp.h: Likewise.
15790 * malloc/arena.c: Likewise.
15791 * malloc/malloc.c: Likewise.
15792 * malloc/malloc.h: Likewise.
15793 * malloc/mcheck.c: Likewise.
15794 * malloc/mtrace.c: Likewise.
15795 * math/bits/mathcalls.h: Likewise.
15796 * math/fenv.h: Likewise.
15797 * math/math_private.h: Likewise.
15798 * misc/bits/error.h: Likewise.
15799 * misc/bits/syslog.h: Likewise.
15800 * misc/err.h: Likewise.
15801 * misc/error.h: Likewise.
15802 * misc/fstab.h: Likewise.
15803 * misc/mntent.h: Likewise.
15804 * misc/regexp.h: Likewise.
15805 * misc/search.h: Likewise.
15806 * misc/sgtty.h: Likewise.
15807 * misc/sys/mman.h: Likewise.
15808 * misc/sys/syslog.h: Likewise.
15809 * misc/sys/uio.h: Likewise.
15810 * misc/sys/xattr.h: Likewise.
15811 * misc/ttyent.h: Likewise.
15812 * nis/rpcsvc/ypclnt.h: Likewise.
15813 * nss/nss.h: Likewise.
15814 * posix/bits/unistd.h: Likewise.
15815 * posix/fnmatch.h: Likewise.
15816 * posix/glob.h: Likewise.
15817 * posix/sched.h: Likewise.
15818 * posix/spawn.h: Likewise.
15819 * posix/sys/wait.h: Likewise.
15820 * posix/unistd.h: Likewise.
15821 * posix/wordexp.h: Likewise.
15822 * pwd/pwd.h: Likewise.
15823 * resolv/netdb.h: Likewise.
15824 * resource/sys/resource.h: Likewise.
15825 * rt/aio.h: Likewise.
15826 * rt/bits/mqueue2.h: Likewise.
15827 * rt/mqueue.h: Likewise.
15828 * shadow/shadow.h: Likewise.
15829 * signal/signal.h: Likewise.
15830 * socket/send.c: Likewise.
15831 * socket/sendto.c: Likewise.
15832 * socket/sys/socket.h: Likewise.
15833 * stdio-common/printf.h: Likewise.
15834 * stdlib/bits/stdlib.h: Likewise.
15835 * stdlib/fmtmsg.h: Likewise.
15836 * stdlib/monetary.h: Likewise.
15837 * stdlib/stdlib.h: Likewise.
15838 * stdlib/ucontext.h: Likewise.
15839 * streams/stropts.h: Likewise.
15840 * string/argz.h: Likewise.
15841 * string/bits/string2.h: Likewise.
15842 * string/string.h: Likewise.
15843 * string/strings.h: Likewise.
15844 * sunrpc/rpc/auth.h: Likewise.
15845 * sunrpc/rpc/auth_des.h: Likewise.
15846 * sunrpc/rpc/clnt.h: Likewise.
15847 * sunrpc/rpc/netdb.h: Likewise.
15848 * sunrpc/rpc/pmap_clnt.h: Likewise.
15849 * sunrpc/rpc/xdr.h: Likewise.
15850 * sysdeps/generic/inttypes.h: Likewise.
15851 * sysdeps/generic/net/if.h: Likewise.
15852 * sysdeps/generic/sys/swap.h: Likewise.
15853 * sysdeps/gnu/net/if.h: Likewise.
15854 * sysdeps/gnu/utmpx.h: Likewise.
15855 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
15856 * sysdeps/i386/i486/bits/string.h: Likewise.
15857 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
15858 * sysdeps/s390/bits/string.h: Likewise.
15859 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
15860 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
15861 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
15862 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
15863 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
15864 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
15865 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
15866 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
15867 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
15868 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
15869 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
15870 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15871 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
15872 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15873 * sysdeps/unix/sysv/linux/readv.c: Likewise.
15874 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
15875 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
15876 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15877 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15878 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15879 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
15880 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
15881 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
15882 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
15883 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
15884 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
15885 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
15886 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15887 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
15888 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
15889 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
15890 * sysvipc/sys/ipc.h: Likewise.
15891 * sysvipc/sys/msg.h: Likewise.
15892 * sysvipc/sys/sem.h: Likewise.
15893 * sysvipc/sys/shm.h: Likewise.
15894 * termios/termios.h: Likewise.
15895 * time/sys/time.h: Likewise.
15896 * time/time.h: Likewise.
15897 * wcsmbs/bits/wchar2.h: Likewise.
15898 * wcsmbs/uchar.h: Likewise.
15899 * wcsmbs/wchar.h: Likewise.
15900 * wctype/wctype.h: Likewise.
15901
0269750c
UD
15902 [BZ #13551]
15903 * Makeconfig: Remove all but ELF support including AIX support.
15904 * Makerules: Likewise.
15905 * config.h.in: Likewise.
15906 * config.make.in: Likewise.
15907 * configure: Likewise.
15908 * configure.in: Likewise.
15909 * csu/Makefile: Likewise.
15910 * csu/version.c: Likewise.
15911 * debug/Makefile: Likewise.
15912 * dlfcn/Makefile: Likewise.
15913 * elf/Makefile: Likewise.
15914 * extra-lib.mk: Likewise.
15915 * iconv/Makefile: Likewise.
15916 * include/libc-symbols.h: Likewise.
15917 * include/shlib-compat.h: Likewise.
15918 * resolv/Makefile: Likewise.
15919 * resolv/res_libc.c: Likewise.
15920 * rt/Makefile: Likewise.
15921 * sysdeps/i386/asm-syntax.h: Likewise.
15922 * sysdeps/i386/sysdep.h: Likewise.
15923 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
15924 * sysdeps/mach/sysdep.h: Likewise.
15925 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
15926 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
15927 * sysdeps/s390/asm-syntax.h: Likewise.
15928 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15929 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15930 * sysdeps/sh/sysdep.h: Likewise.
15931 * sysdeps/unix/sparc/sysdep.h: Likewise.
15932 * sysdeps/wordsize-32/divdi3.c: Likewise.
15933 * sysdeps/x86_64/sysdep.h: Likewise.
15934
00bbd29b
UD
15935 * argp/Versions: Remove _argp_unlock_xxx.
15936
15937 [BZ #13559]
15938 * abilist/ld.abilist: Update. Adjust for removal of tls option.
15939 * abilist/libBrokenLocale.abilist: Likewise.
15940 * abilist/libanl.abilist: Likewise.
15941 * abilist/libc.abilist: Likewise.
15942 * abilist/libcrypt.abilist: Likewise.
15943 * abilist/libdl.abilist: Likewise.
15944 * abilist/libm.abilist: Likewise.
15945 * abilist/libnsl.abilist: Likewise.
15946 * abilist/libpthread.abilist: Likewise.
15947 * abilist/libresolv.abilist: Likewise.
15948 * abilist/librt.abilist: Likewise.
15949 * abilist/libthread_db.abilist: Likewise.
15950 * abilist/libutil.abilist: Likewise.
15951 * abilist/libnss_db.abilist: New file.
15952
15953 * scripts/abilist.awk: Add support for indirect functions.
15954
a2693a0e
UD
15955 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
15956
3f05895f
UD
15957 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
15958
ecb6fb48
UD
15959 * shlib-versions: Remove entries for ports architectures.
15960
664f8cb9
UD
15961 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
15962 files in ports.
15963 * elf/stackguard-macros.h: Remove support for IA-64.
15964 * elf/tst-auditmod1.c: Likewise.
15965 * sysdeps/generic/ldsodefs.h: Likewise.
15966
7ae81d88
UD
15967 * sysdeps/unix/sysv/linux/configure.in: Ports should define
15968 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
15969 configure files.
15970
bdeba135
UD
15971 [BZ #13552]
15972 * configure.in: Remove --enable-omitfp support.
15973 * FAQ.in: Adjust.
15974 * config.make.in: Likewise.
15975 * Makeconfig: Likewise.
15976 * manual/install.texi: Likewise.
15977
d75a0a62
UD
15978 In case anyone cares, the IA-64 architecture could move to ports.
15979 * sysdeps/ia64/*: Removed.
15980 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 15981 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 15982
dcc9756b
UD
15983 [BZ #13555]
15984 * configure.in: Remove entries for unsupported architectures.
15985
d3761ebc 15986 [BZ #13533]
9954432e
UD
15987 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
15988 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
15989 routines.
15990 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
15991 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
15992 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
15993 fall back to using wcrtomb.
15994 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
15995 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
15996 renaming.
15997 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
15998 * wcsmbs/tst-c16c32-1.c: New file.
15999
16000 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
16001 local variable.
16002
c3a87236
UD
16003 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
16004
28926a1b
UD
16005 * elf/tst-unique3.cc: Add explicit declaration of gets.
16006 * elf/tst-unique3lib.cc: Likewise.
16007 * elf/tst-unique3lib2.cc: Likewise.
16008 * elf/tst-unique4.cc: Likewise.
16009
df78418a
UD
16010 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
16011
8ecd6b2a
JM
160122012-01-06 Joseph Myers <joseph@codesourcery.com>
16013
16014 [BZ #13566]
16015 * assert/assert.h (static_assert): Don't define for C++.
16016 * libio/stdio.h (gets): Do declare for C++ <= C++11.
16017 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
16018
9f115170
UD
160192012-01-03 Ulrich Drepper <drepper@gmail.com>
16020
5e0d0300
UD
16021 * iconv/loop.c (single loop): Fix assertion in storing of
16022 remaining bytes.
16023
9f115170
UD
16024 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
16025
81fb02b0
UD
160262012-01-01 Ulrich Drepper <drepper@gmail.com>
16027
16028 * posix/getconf.c: Update copyright year.
16029 * nss/getent.c: Likewise.
a316c1f6 16030 * nss/makedb.c: Likewise.
81fb02b0
UD
16031 * iconv/iconvconfig.c: Likewise.
16032 * iconv/iconv_prog.c: Likewise.
16033 * elf/ldconfig.c: Likewise.
a316c1f6
UD
16034 * elf/pldd.c: Likewise.
16035 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
16036 * catgets/gencat.c: Likewise.
16037 * csu/version.c: Likewise.
16038 * elf/ldd.bash.in: Likewise.
16039 * elf/sprof.c (print_version): Likewise.
16040 * locale/programs/locale.c: Likewise.
16041 * locale/programs/localedef.c: Likewise.
a316c1f6 16042 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
16043 * nscd/nscd.c (print_version): Likewise.
16044 * debug/xtrace.sh: Likewise.
16045 * malloc/memusage.sh: Likewise.
16046 * malloc/mtrace.pl: Likewise.
16047 * debug/catchsegv.sh: Likewise.
16048
2ba92745
JJ
160492011-12-30 Jakub Jelinek <jakub@redhat.com>
16050
16051 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
16052 pure attribute.
16053
dadebdae
UD
160542011-12-24 Ulrich Drepper <drepper@gmail.com>
16055
d3761ebc 16056 [BZ #13533]
db6af3eb
UD
16057 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
16058 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
16059 transformations.
16060 * iconv/gconv_int.h: Likewise.
16061 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
16062 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
16063 from libc for GLIBC_2.16.
16064 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
16065 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
16066 * wcsmbs/uchar.h: Really define mbstate_t.
16067 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
16068 * wcsmbs/c16rtomb.c: New file.
16069 * wcsmbs/mbrtoc16.c: New file.
16070 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
16071 for C/POSIX locale.
16072 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
16073 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
16074
dadebdae
UD
16075 * wcsmbs/wchar.h: Add missing __restrict.
16076
67371b56
UD
160772011-12-23 Ulrich Drepper <drepper@gmail.com>
16078
74033a25
UD
16079 [BZ #13532]
16080 * time/Makefile (routines): Add timespec_get.
16081 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
16082 * time/time.h: Define TIME_UTC and declare timespec_get. Define
16083 timespec for ISO C11.
16084 * time/timespec_get.c: New file.
16085 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
16086 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
16087
380d7e87
UD
16088 [BZ #13531]
16089 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
16090 * stdlib/stdlib.h: Declare aligned_alloc.
16091 * Versions.def: Add GLIBC_2.16 for libc.
16092 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
16093
4e9e7a35
UD
16094 [BZ 13527]
16095 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
16096 ISO C11.
16097
380d7e87 16098 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
16099 code.
16100
03a71829
UD
16101 [BZ #13528]
16102 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
16103
839e283e
UD
16104 [BZ #13529]
16105 * assert/assert.h (static_assert): Define.
16106
ce5294e2 16107 * version.h: Update for 2.16 development version.
90fa7312 16108
8d44e150 16109 [BZ #13526]
d7809905
UD
16110 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
16111 _ISOC11_SOURCE.
16112
c0da14cd
UD
16113 * version.h (RELEASE): Bump for 2.15 release.
16114 * include/features.h (__GLIBC_MINOR__): Bump to 15.
16115
530a3249
MP
16116 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
16117 Patch by Marek Polacek <mpolacek@redhat.com>.
16118
67371b56
UD
16119 * bits/byteswap.h: Protect long long constants with __extension__.
16120 * sysdeps/i386/bits/byteswap.h: Likewise.
16121 * sysdeps/ia64/bits/byteswap.h: Likewise.
16122 * sysdeps/s390/bits/byteswap.h: Likewise.
16123 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16124
15db4de1
LD
161252011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16126
16127 [BZ #13540]
bbe315ea
LD
16128 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
16129 destination buffer.
15db4de1
LD
16130 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
16131
2b2596b1
MP
161322011-12-23 Marek Polacek <polacek@redhat.com>
16133
16134 * elf/dl-addr.c (determine_info): Add inline keyword.
16135 * elf/tst-auditmod4b.c (check_avx): Likewise.
16136 * elf/tst-auditmod6b.c (check_avx): Likewise.
16137 * elf/tst-auditmod6c.c (check_avx): Likewise.
16138 * elf/tst-auditmod7b.c (check_avx): Likewise.
16139
70c6c246
UD
161402011-12-23 Ulrich Drepper <drepper@gmail.com>
16141
16142 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
16143 !__SSE_MATH__.
16144
c044cf14
LD
161452011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16146
15db4de1 16147 [BZ #13540]
c044cf14
LD
16148 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
16149 processing for last bytes.
16150
6b13d9d9
BH
161512011-08-06 Bruno Haible <bruno@clisp.org>
16152
d455f537
BH
16153 [BZ #13061]
16154 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
16155 U+0385, not to U+1FEE.
16156
6b13d9d9
BH
16157 [BZ #13062]
16158 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
16159 entry for U+00A5 U+0301.
16160
db910efd
UD
161612011-12-22 Ulrich Drepper <drepper@gmail.com>
16162
27deeafc
UD
16163 [BZ #13166]
16164 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
16165 buffer for the output is too small.
16166
aed9d171
UD
16167 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
16168 optimization.
16169
db910efd
UD
16170 [BZ #13185]
16171 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
16172 SSE flags if possible.
16173
2bd779ae
LD
161742011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16175
e7f9dac3 16176 [BZ #13540]
2bd779ae
LD
16177 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
16178 processing for last bytes.
16179
154bfc16
JM
161802011-12-22 Joseph Myers <joseph@codesourcery.com>
16181
16182 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
16183 (syscall-list-default-options, syscall-list-default-condition)
16184 (syscall-list-includes): Define.
16185 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
16186 list of ABIs and options and #if conditions for each ABI. Do not
16187 handle common syscalls between ABIs specially.
16188 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
16189 Remove.
16190 (syscall-list-variants, syscall-list-32bit-options)
16191 (syscall-list-32bit-condition, syscall-list-64bit-options)
16192 (syscall-list-64bit-condition): Define.
16193 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
16194 (syscall-list-variants, syscall-list-32bit-options)
16195 (syscall-list-32bit-condition, syscall-list-64bit-options)
16196 (syscall-list-64bit-condition): Define.
16197 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
16198 Remove.
16199 (syscall-list-variants, syscall-list-32bit-options)
16200 (syscall-list-32bit-condition, syscall-list-64bit-options)
16201 (syscall-list-64bit-condition): Define.
16202 * sysdeps/unix/sysv/linux/x86_64/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
21eaf3a5
UD
162082011-12-22 Ulrich Drepper <drepper@gmail.com>
16209
16c6f992
UD
16210 * locale/iso-639.def: Add brx entry.
16211
41043168
UD
16212 [BZ #13328]
16213 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
16214 Proposed by Mariusz_Cukr <marcukr@op.pl>.
16215
21eaf3a5
UD
16216 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
16217 __feraiseexcept_renamed.
16218
e3a851a2
UD
162192011-12-21 Ulrich Drepper <drepper@gmail.com>
16220
4920765e
UD
16221 [BZ #13538]
16222 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
16223 EPOLLET with unsigned values.
16224 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16225 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16226
e3a851a2
UD
16227 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
16228 to large cancellation.
16229 * math/s_cacoshf.c: Likewise.
16230 * math/s_cacoshl.c: Likewise.
16231
b27e24b8
RK
162322011-11-18 Richard B. Kreckel <kreckel@ginac.de>
16233
16234 [BZ #13305]
aebefeee 16235 [BZ #12786]
b27e24b8
RK
16236 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
16237 * math/s_cacoshf.c: Likewise.
16238 * math/s_cacoshl.c: Likewise.
16239
ee190f67
UD
162402011-12-21 Ulrich Drepper <drepper@gmail.com>
16241
16242 [BZ #13439]
16243 * iconv/gconv.h: Define __GCONV_SWAP.
16244 * iconvdata/unicode.c: The swap bit must be stored in __flags.
16245 * iconvdata/utf-16.c: Likewise.
16246 * iconvdata/utf-32.c: Likewise.
16247
707f25df
AS
162482011-12-21 Andreas Schwab <schwab@linux-m68k.org>
16249
16250 [BZ #13524]
16251 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
16252 numerator after shifting it by one limb.
16253
d2daaa1e
RÁE
162542011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
16255
16256 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
16257 under [__USE_EXTERN_INLINES].
16258
a4647e72
UD
162592011-12-17 Ulrich Drepper <drepper@gmail.com>
16260
16261 [BZ #13446]
16262 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
16263
f0b264f1
AZ
162642011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16265
16266 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
16267 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
16268 optimized code.
16269 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
16270 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
16271 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
16272 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
16273 for strncasecmp/strncasecmp_l compilation.
16274 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
16275 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
16276
8ef4f244
MP
162772011-12-08 Marek Polacek <mpolacek@redhat.com>
16278
16279 [BZ #13484]
16280 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
16281 of __asm__.
16282
97ac2654
UD
162832011-12-17 Ulrich Drepper <drepper@gmail.com>
16284
16285 [BZ #13506]
16286 * time/tzfile.c (__tzfile_read): Check values from file header.
16287
91d2a845
WS
162882011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
16289
16290 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
16291 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
16292 * powerpc/powerpc32/dl-start.S: Likewise.
16293 * powerpc/powerpc32/elf/start.S: Likewise.
16294 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16295 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
16296 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
16297 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
16298 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16299 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
16300 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
16301 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16302 * powerpc/powerpc32/fpu/s_round.S: Likewise.
16303 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16304 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16305 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16306 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
16307 * powerpc/powerpc32/memset.S: Likewise.
16308 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16309 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16310 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16311 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16312 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16313 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16314 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16315 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16316 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
16317 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
16318 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
16319 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16320 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16321
a1267ba1
AZ
163222011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16323
16324 * math/libm-test.inc: Added more nearbyint tests.
16325 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
16326 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
16327 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
16328 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
16329
ad8ac1bd
RL
163302011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
16331
16332 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
16333 FD_CLOEXEC.
16334
1d3e4b61
UD
163352011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16336
16337 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
16338 Add wcscpy-ssse3 wcscpy-c.
16339 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
16340 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
16341 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
16342 * sysdeps/x86_64/wcschr.S: New file.
16343 * sysdeps/x86_64/wcsrchr.S: New file.
16344 * string/test-strcmp.c: Remove checking of wcscmp function for
16345 wrong alignments.
16346 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
16347 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
16348 wcsrchr-sse2 wcsrchr-c.
16349 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
16350 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
16351 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
16352 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
16353 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
16354 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
16355 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
16356 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
16357 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
16358 * wcsmbc/wcschr.c (WCSCHR): New macro.
16359
5b330a2d
UD
163602011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16361
16362 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
16363 * wcsmbs/test-wcsrchr.c: New file.
16364 * string/test-strrchr.c: Add wcsrchr support.
16365 (WIDE): New macro.
16366 * wcsmbs/test-wcscpy.c: New file.
16367 * string/test-strcpy.c: Add wcscpy support.
16368 (WIDE): New macro.
26428b7c 16369
f039c043
UD
163702011-12-10 Ulrich Drepper <drepper@gmail.com>
16371
16372 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
16373 the inner loop.
16374
850fb039
AS
163752011-12-06 Andreas Schwab <schwab@linux-m68k.org>
16376
16377 [BZ #13472]
16378 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
16379
4efbd5cb
UD
163802011-12-04 Ulrich Drepper <drepper@gmail.com>
16381
52ff5dd0 16382 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 16383 Minor optimizations.
52ff5dd0 16384
4efbd5cb
UD
16385 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
16386 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
16387 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
16388
8a426e12
UD
163892011-12-03 Ulrich Drepper <drepper@gmail.com>
16390
aff2453d
UD
16391 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
16392 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
16393 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
16394 for gcc to avoid warnings.
16395 * inet/Makefile (tests): Add tst-checks.
16396 * inet/tst-checks.c: New file.
16397
16398 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
16399 warning.
16400
16401 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
16402 __wmemcmp_sse2.
16403
16404 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
16405 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
16406
8a426e12
UD
16407 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
16408
9bea3473
UD
164092011-12-02 Ulrich Drepper <drepper@gmail.com>
16410
3a965496
UD
16411 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
16412 problem.
16413
9bea3473
UD
16414 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
16415
f101631b
UD
164162011-11-29 Joseph Myers <joseph@codesourcery.com>
16417
16418 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
16419 conditional on GCC version.
16420 (__arch_compare_and_exchange_val_8_acq)
16421 (__arch_compare_and_exchange_val_16_acq)
16422 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
16423 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
16424 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
16425
a98275aa
UD
164262011-12-02 Joseph Myers <joseph@codesourcery.com>
16427
16428 * sysdeps/sh/backtrace.c: New file.
16429
d4cc29a2
AS
164302011-12-02 Andreas Schwab <schwab@redhat.com>
16431
16432 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
16433 parenthesis.
16434
6257af2d
AS
164352011-12-01 Andreas Schwab <schwab@redhat.com>
16436
16437 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
16438 falling back to utime.
16439
b5f44c1a
AS
164402011-11-30 Andreas Schwab <schwab@redhat.com>
16441
16442 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
16443 expectations for float.
16444
f3a6cc0a
AS
164452011-11-29 Andreas Schwab <schwab@redhat.com>
16446
16447 * locale/weight.h (findidx): Add parameter len.
16448 * locale/weightwc.h (findidx): Likewise.
16449 * posix/fnmatch_loop.c (FCT): Adjust caller.
16450 * posix/regcomp.c (build_equiv_class): Likewise.
16451 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
16452 * posix/regexec.c (check_node_accept_bytes): Likewise.
16453 * string/strcoll_l.c (STRCOLL): Likewise.
16454 * string/strxfrm_l.c (STRXFRM): Likewise.
16455
9d65ea3a
UD
164562011-11-17 Ulrich Drepper <drepper@gmail.com>
16457
16458 * Makefile.in: Remove CVSOPT handling.
16459 * configure.in: Remove use of AC_REVISION.
16460 * iconvdata/Makefile (distribute): No need to filter out CVS.
16461 * scripts/list-sources.sh: Remove CVS, subversion and monotone
16462 handling.
16463
5583a086
AS
164642011-11-16 Andreas Schwab <schwab@redhat.com>
16465
16466 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
16467 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
16468 [USE_AS_STRNCASECMP_L]: Likewise.
16469 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
16470 NO_TLS_DIRECT_SEG_REFS.
16471 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
16472 Fix argument offsets for non-PIC.
16473 [USE_AS_STRNCASECMP_L]: Likewise.
16474 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
16475 NO_TLS_DIRECT_SEG_REFS.
16476
d62a8200
UD
164772011-11-15 Ulrich Drepper <drepper@gmail.com>
16478
9d65ea3a 16479 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
16480 O_CLOEXEC.
16481 * locale/loadlocale.c (_nl_load_locale): Likewise.
16482
09f93bd3
AS
164832011-11-15 Andreas Schwab <schwab@redhat.com>
16484
446514f9
AS
16485 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
16486 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
16487 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
16488 (SYSCALL_GETTIME): Set errno on error.
16489
09f93bd3
AS
16490 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
16491 count references to noai6ai_cached.
16492
312be3f9
UD
164932011-11-15 Ulrich Drepper <drepper@gmail.com>
16494
16495 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
16496
16497 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
16498 FD_CLOEXEC for /proc/self/maps.
16499
16500 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
16501 FD_CLOEXEC for /proc/meminfo.
16502
16503 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
16504 gai.conf.
16505
16506 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
16507 FD_CLOEXEC for given file.
16508
16509 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
16510
16511 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
16512 FD_CLOEXEC for /etc/hosts.
16513 (_gethtent): Likewise.
16514
16515 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
16516
16517 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
16518 cancellation and set FD_CLOEXEC for /etc/netgroup.
16519
16520 * nss/nss_files/files-key.c (search): Don't allow cancellation when
16521 reading /etc/publickey.
16522
16523 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
16524 allow cancellation when reading /etc/group.
16525
16526 * nss/nss_files/files-alias.c (internal_setent): Don't allow
16527 cancellation.
16528 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
16529
16530 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
16531 when using data file.
16532
16533 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
16534
16535 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
16536 (write_nis_obj): Use "c" and "e" in fopen.
16537
16538 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
16539
16540 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
16541
16542 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
16543
16544 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
16545
16546 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
16547 locale.alias.
16548
16549 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
16550
16551 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
16552
16553 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
16554
16555 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
16556 file parsing and set FD_CLOEXEC.
16557
82af0fa8
UD
165582011-11-14 Ulrich Drepper <drepper@gmail.com>
16559
16560 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
16561
a5fb313c
AS
165622011-11-14 Andreas Schwab <schwab@redhat.com>
16563
16564 * malloc/arena.c (arena_get2): Don't call reused_arena when
16565 _int_new_arena failed.
16566
6abf3465
UD
165672011-11-14 Ulrich Drepper <drepper@gmail.com>
16568
16569 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
16570 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
16571 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
16572 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16573 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16574 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
16575 to compile strcasecmp and strncasecmp.
16576 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
16577 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
16578
16579 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
16580
76e3966e
UD
165812011-11-13 Ulrich Drepper <drepper@gmail.com>
16582
16583 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
16584 locale-defines.sym to gen-as-const-headers.
16585 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
16586 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
16587 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
16588 to compile strcasecmp and strncasecmp.
16589 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
16590 strcasecmp_l and strncasecmp_l.
16591 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
16592 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
16593 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
16594 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
16595 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
16596 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
16597 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
16598 * sysdeps/i386/i686/multiarch/strncase.S: New file.
16599 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
16600 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
16601 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
16602
ab26144e
UD
166032011-11-12 Ulrich Drepper <drepper@gmail.com>
16604
7edb22ef
UD
16605 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
16606 result of SYSDEP_GETTIME_CPU to retval.
16607 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
16608 parameter list to macro. Remove trailing semicolon. Adjust users.
16609
9694fc44
UD
16610 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
16611 variable.
16612
8ad89ef8
UD
16613 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
16614 mantissa words.
16615 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16616
0c822ef9
UD
16617 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
16618 from unused variable.
16619
874e0564
UD
16620 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
16621 DWARF definitions.
16622 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
16623 for assembling.
16624
3a2edc79
UD
16625 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
16626 over namespaces.
16627
f3c2577f
UD
16628 * sunrpc/rpc_prot.c (rejected): Fix case value.
16629
294ce126
UD
16630 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
16631 unsigned long long int to avoid warnings in shift.
16632
5e2b63c6
UD
16633 * posix/regex_internal.c (re_string_reconstruct): Actually use result
16634 of use of trans.
16635 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
16636 variable tmp.
16637
e7f4b08e
UD
16638 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
16639 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
16640 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
16641
ab26144e
UD
16642 * nis/nis_table.c (nis_list): Use variable of correct type for
16643 result of __follow_path call.
16644
8a6d5255
AZ
166452011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16646
16647 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
16648 of math functions ceil, trunc, floor, round, and sqrt, when
16649 avaliable on the platform.
16650 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
16651 name clash.
16652 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16653 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
16654 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
16655
aaddc98c
MP
166562011-10-30 Marek Polacek <mpolacek@redhat.com>
16657
16658 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
16659 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
16660
95b7042b
RM
166612011-11-11 Roland McGrath <roland@hack.frob.com>
16662
16663 * include/unistd.h: Fix __readlink return type.
16664 Reported by Chris Metcalf <cmetcalf@tilera.com>.
16665
57769839
UD
166662011-11-11 Ulrich Drepper <drepper@gmail.com>
16667
16668 * stdlib/ucontext.h: Undo last change for makecontext.
16669
edc5984d
AS
166702011-11-11 Andreas Schwab <schwab@redhat.com>
16671
98591e58
AS
16672 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
16673
edc5984d
AS
16674 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
16675 * setjmp/setjmp.h: Mark functions as non-leaf.
16676 * setjmp/bits/setjmp2.h: Likewise.
16677 * stdlib/ucontext.h: Likewise.
16678
77cdc054
AS
166792011-11-10 Andreas Schwab <schwab@redhat.com>
16680
16681 * malloc/arena.c (_int_new_arena): Don't increment narenas.
16682 (reused_arena): Don't check arena limit.
16683 (arena_get2): Atomically check arena limit.
16684
fe72eebd
UD
166852011-11-08 Ulrich Drepper <drepper@gmail.com>
16686
5f078c32
UD
16687 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
16688 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
16689
fe72eebd
UD
16690 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
16691 instructions.
16692
ae1bc2fa
AS
166932011-11-07 Andreas Schwab <schwab@redhat.com>
16694
7583a88d
AS
16695 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
16696 handler when locking.
16697
ae1bc2fa
AS
16698 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16699 Fix size of allocated buffer.
16700
10fb0bfa
AS
167012011-11-04 Andreas Schwab <schwab@redhat.com>
16702
998832a4
AS
16703 [BZ #10103]
16704 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
16705 declarations for long double functions.
16706 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
16707
10fb0bfa
AS
16708 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
16709
3d7ba52b
AS
167102011-11-03 Andreas Schwab <schwab@redhat.com>
16711
a9ae54a1
AS
16712 * nscd/nscd.c (main): Don't start AVC thread until credentials are
16713 installed.
16714
3d7ba52b
AS
16715 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
16716 is disabled.
16717
bc8db248
ST
167182011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16719
16720 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
16721
45b96dd6
AS
167222011-11-01 Andreas Schwab <schwab@linux-m68k.org>
16723
647776f6
AS
16724 * include/alloca.h (stackinfo_alloca_round): Define.
16725 (extend_alloca): Use it.
16726 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
16727 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
16728 here.
16729
d91a8b93
AS
16730 * scripts/check-local-headers.sh: Ignore libaudit.h.
16731
45b96dd6
AS
16732 * nscd/Makefile (extra-objs): Make recursively expanded.
16733
432d41ce
UD
167342011-11-01 Ulrich Drepper <drepper@gmail.com>
16735
34372fc6
UD
16736 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
16737 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16738
fadb59f8
UD
16739 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
16740 * posix/tst-rfc3484-2.c: Likewise.
16741 * posix/tst-rfc3484-3.c: Likewise.
16742
78239589
UD
16743 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
16744 process_vm_writev.
16745 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
16746 process_vm_writev.
16747 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
16748 process_vm_writev from libc using GLIBC_2.15 version.
16749
432d41ce
UD
16750 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
16751
02f9c6cf
PP
167522011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
16753
16754 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
16755 stack usage.
16756
3a2c0242
UD
167572011-10-31 Ulrich Drepper <drepper@gmail.com>
16758
f4ec4833
UD
16759 [BZ #13367]
16760 * nss/getent.c (initgroups_keys): Show error message in case no group
16761 names are given.
16762
3a2c0242
UD
16763 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
16764 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
16765 __bump_nl_timestamp.
16766 * nscd/connections (nscd_init): When host database is served open
16767 netlink socket and request notification about configuration changes.
16768 (main_loop_poll): Track netlink file descriptor and bump timestamp
16769 in case data becomes available.
16770 (main_loop_epoll): Likewise.
16771 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
16772 (database_pers_head): Add extra_data fileds.
16773 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
16774 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
16775 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
16776 Adjust caller.
16777 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
16778 in6ai data, call __free_in6ai.
16779 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
16780 Add -DHAVE_NETLINK.
16781 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
16782 interface information. Reuse previous data if netlink timestamp
16783 is not changed.
16784 (__bump_nl_timestamp): New function.
16785 (__free_in6ai): New function.
16786
636064eb
UD
167872011-10-30 Ulrich Drepper <drepper@gmail.com>
16788
16789 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
16790 close_not_cancel_no_status here.
16791 (__check_pf): Reorganize code a bit to not call close twice if OOM.
16792
9beb2334
UD
167932011-10-29 Ulrich Drepper <drepper@gmail.com>
16794
6ef76f3b
UD
16795 [BZ #13276]
16796 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
16797 return value.
16798
0ffc4f3e 16799 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
16800 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
16801 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
16802
cb95113e
UD
168032011-07-03 Andreas Jaeger <aj@suse.de>
16804
16805 [BZ #10709]
16806 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
16807 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
16808 * math/libm-test.inc (sin_test): Add test case.
16809
a1b560ff
UD
168102011-10-29 Ulrich Drepper <drepper@gmail.com>
16811
c9aaface
UD
16812 [BZ #13337]
16813 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
16814 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16815
d272e7f1
UD
16816 * elf/chroot_canon.c (chroot_canon): Cleanups.
16817
1bc33071
UD
16818 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
16819
1760874d
TJ
16820 [BZ #13335]
16821 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
16822 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16823
51d91b18
UD
16824 * string/test-strchr.c: Make usable for strchrnul testing.
16825 * string/test-strchrnul.c: New file.
16826 * string/Makefile (strop-tests): Add strchrnul.
16827
a1b560ff 16828 * po/it.po: Update from translation team.
b611fb81 16829 * po/es.po: Likewise.
a1b560ff 16830
a5b81e1f
UD
168312011-10-28 Ulrich Drepper <drepper@gmail.com>
16832
fd52bc6d
UD
16833 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
16834 the three constants needed as parameters. Drop the others.
16835 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
16836 __m128i_strloadu_tolower.
52e4b9eb
UD
16837 Create and initialize variable zero and use it in all the places
16838 where _mm_setzero_si128 was used.
fd52bc6d 16839
a5b81e1f
UD
16840 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
16841 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
16842 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
16843 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
16844 anymore.
16845 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
16846 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
16847 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
16848 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
16849 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
16850 __mpranred, __mptan.
16851 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
16852 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
16853 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
16854 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
16855 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
16856 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
16857 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
16858 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
16859 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
16860
b4343346
AS
168612011-10-28 Andreas Schwab <schwab@redhat.com>
16862
0c92d8a8
AS
16863 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
16864 redefine if SHARED.
16865 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
16866
b4343346
AS
16867 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
16868 wide char related routines to wcsmbs subdir.
16869
3871f58f
AS
168702011-10-27 Andreas Schwab <schwab@redhat.com>
16871
16872 [BZ #13344]
16873 * misc/sys/cdefs.h (__THROWNL): Define.
16874 * posix/unistd.h: Use __THREADNL instead of __THREAD
16875 for memory synchronization functions.
16876
94d44d9f
RM
168772011-10-26 Roland McGrath <roland@hack.frob.com>
16878
21b64b15 16879 [BZ #13349]
94d44d9f
RM
16880 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
16881 doesn't exist.
16882 * manual/stdio.texi (Obstack Streams): Node removed.
16883
f6ce9294
AS
168842011-10-26 Andreas Schwab <schwab@redhat.com>
16885
80479147
AS
16886 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
16887 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16888 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16889
f6ce9294
AS
16890 * math/math_private.h (math_force_eval): Allow non-addressable
16891 arguments.
16892 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
16893
618280a1
UD
168942011-10-25 Ulrich Drepper <drepper@gmail.com>
16895
e0016b11
UD
16896 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
16897 file is not needed.
16898
16899 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
16900 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
16901 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16902 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16903 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16904 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16905 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16906 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
16907 Add AVX variants.
16908 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
16909 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
16910 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
16911 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
16912 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
16913 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
16914 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
16915 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
16916 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
16917 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
16918 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
16919 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
16920 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
16921 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
16922 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
16923 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
16924 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
16925 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
16926 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
16927
16928 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
16929 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
16930
618280a1
UD
16931 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
16932 place. Use VEX encoding when compiling for AVX.
16933
37822576
AS
169342011-10-25 Andreas Schwab <schwab@redhat.com>
16935
1f1e1947
AS
16936 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
16937 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16938
37822576
AS
16939 * string/test-strchr.c (do_test): Don't generate NUL bytes.
16940
31ea014d
UD
169412011-10-25 Ulrich Drepper <drepper@gmail.com>
16942
d7826aa1 16943 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 16944 useless if() expression.
d7826aa1
UD
16945 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16946 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16947 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16948 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16949 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16950 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16951 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16952 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16953 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16954 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16955 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16956 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16957 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16958 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16959 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16960 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16961 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16962 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16963 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
16964
31ea014d
UD
16965 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
16966
16437fec
AS
169672011-10-25 Andreas Schwab <schwab@redhat.com>
16968
16969 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
16970 condition.
16971 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16972
31d3cc00
UD
169732011-10-25 Ulrich Drepper <drepper@gmail.com>
16974
16975 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
16976 .text section. Avoid duplicate constants.
16977 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16978 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16979 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16980 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16981 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16982 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16983 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16984 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16985 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16986 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
16987 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16988 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16989 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
16990 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
16991 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
16992 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
16993 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
16994 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16995 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16996 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16997 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16998 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16999 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17000 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
17001 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
17002 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
17003 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
17004 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
17005 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
17006 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17007 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
17008 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17009 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17010 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
17011 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
17012 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17013 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17014 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
17015 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
17016 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
17017 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
17018 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
17019 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
17020 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17021 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17022
58985aa9
UD
170232011-10-24 Ulrich Drepper <drepper@gmail.com>
17024
202c9deb
UD
17025 * sysdeps/x86_64/dla.h: Move to ...
17026 * sysdeps/x86_64/fpu/dla.h: ...here.
17027 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
17028 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 17029
af968f62
UD
17030 * config.make.in: Add have-mfma4 entry.
17031 * configure.in: Substitute libc_cv_cc_fma4.
17032 * math/Makefile (dbl-only-routines): Add sincostab.
17033 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
17034 Use __sincostab not sincos.
17035 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
17036 name is a macro.
17037 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17038 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17039 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17040 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
17041 using __copysign.
17042 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
17043 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
17044 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
17045 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
17046 and __inv.
17047 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
17048 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
17049 __copysign.
17050 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
17051 define aliases when function name is a macro.
17052 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
17053 sysdeps/ieee754/dbl-64/sincos.tbl.
17054 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
17055 fma4-enabled routines.
17056 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
17057 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
17058 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
17059 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
17060 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
17061 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
17062 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
17063 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
17064 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
17065 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
17066 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
17067 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
17068 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
17069 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
17070 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
17071 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
17072 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
17073 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
17074 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
17075 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
17076 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
17077 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
17078 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
17079 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
17080 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
17081 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
17082 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
17083 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
17084 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
17085 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
17086
58985aa9
UD
17087 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
17088 rename.
17089 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17090 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17091 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17092 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17093 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17094 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17095 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17096 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17097
a201fbcf
AS
170982011-10-24 Andreas Schwab <schwab@redhat.com>
17099
17100 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
17101
fc2ee42a
LD
171022011-10-23 Ulrich Drepper <drepper@gmail.com>
17103
bb3129bd
UD
17104 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
17105
0275fff8
UD
17106 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
17107 prediction.
17108 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
17109
2fa2ae85
UD
17110 * string/strnlen.c: Don't define STRNLEN, reverse logic.
17111 Remove unused variable magic_bits.
17112 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
17113
fc2ee42a
LD
17114 * string/strnlen.c: Define and use STRNLEN macro.
17115 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
17116 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
17117 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
17118 * wcsmbs/wcslen.c: Define and use WCSLEN.
17119 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
17120 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
17121 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
17122 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
17123 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
17124 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
17125 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17126
ce7dd29f
LD
171272011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17128
17129 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17130 strnlen-sse2-no-bsf.
17131 Rename strlen-no-bsf to strlen-sse2-no-bsf.
17132 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
17133 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
17134 Add strnlen support.
17135 (USE_AS_STRNLEN): New macro.
17136 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
17137 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
17138 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
17139 * sysdeps/x86_64/wcslen.S: New file.
17140
979c70a3
MZ
171412011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
17142
17143 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17144 XMM-moves are used for copying on small sizes.
17145
2d09f82f
LD
171462011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17147
17148 * wcsmbs/Makefile (strop-tests): Add wcschr.
17149 * wcsmbs/test-wcschr.c: New file.
17150 * string/test-strchr.c: Update.
17151 Add wcschr support.
17152 (WIDE): New macro.
17153
619fccca
LD
171542011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17155
2d09f82f 17156 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
17157 * wcsmbs/test-wcslen.c: New file.
17158 * string/test-strlen.c: Update.
17159 Add wcslen support.
17160 (WIDE): New macro.
17161
09f699ea
UD
171622011-10-23 Ulrich Drepper <drepper@gmail.com>
17163
17164 * po/it.po: Update from translation team.
17165
95584d3b
LD
171662011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17167
17168 * sysdeps/x86_64/wcscmp.S: Update.
17169 Fix wrong comparison semantics.
17170 wcscmp shall use signed comparison not unsigned.
17171 Don't use substraction to avoid overflow bug.
17172 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
17173 * wcsmbc/wcscmp.c: Likewise.
17174 * string/test-strcmp.c: Likewise.
17175 Add new tests to check cases with negative values.
17176
c8b3296b
UD
171772011-10-23 Ulrich Drepper <drepper@gmail.com>
17178
17179 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
17180 * sysdeps/x86_64/dla.h: ...here. New file.
17181 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
17182 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17183 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17184 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17185 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17186 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17187 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17188 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17189 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17190
246ad57a
AS
171912011-10-23 Andreas Schwab <schwab@linux-m68k.org>
17192
17193 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
17194 __ynl_finite aliases.
17195
a1a87169
UD
171962011-10-22 Ulrich Drepper <drepper@gmail.com>
17197
0d355eb7
UD
17198 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17199
a1a87169
UD
17200 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
17201 define DLA_FMA.
17202 [DLA_FMA] (EMULV): Use DLA_FMA.
17203 [DLA_FMA] (MUL12): Use EMULV.
17204 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
17205 that are not needed.
17206 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17207 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17208 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17209 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17210 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17211 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17212 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17213
ee2aafe0
AS
172142011-10-22 Andreas Schwab <schwab@linux-m68k.org>
17215
17216 * math/s_nan.c: Undef __nan.
17217 * math/s_nanf.c: Undef __nanf.
17218 * math/s_nanl.c: Undef __nanl.
17219 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
17220 "math_private.h".
17221
bc62c2fb
UD
172222011-10-22 Ulrich Drepper <drepper@gmail.com>
17223
77425c63
UD
17224 * math/s_catan.c: Add branch predictions.
17225 * math/s_catanf.c: Likewise.
17226 * math/s_catanh.c: Likewise.
17227 * math/s_catanhf.c: Likewise.
17228 * math/s_catanhl.c: Likewise.
17229 * math/s_catanl.c: Likewise.
17230 * math/s_cexp.c: Likewise.
17231 * math/s_cexpf.c: Likewise.
17232 * math/s_cexpl.c: Likewise.
17233 * math/s_clog.c: Likewise.
17234 * math/s_clog10.c: Likewise.
17235 * math/s_clog10f.c: Likewise.
17236 * math/s_clog10l.c: Likewise.
17237 * math/s_clogf.c: Likewise.
17238 * math/s_clogl.c: Likewise.
17239 * math/s_csqrt.c: Likewise.
17240 * math/s_csqrtf.c: Likewise.
17241 * math/s_csqrtl.c: Likewise.
17242 * math/s_ctanf.c: Likewise.
17243 * math/s_ctanh.c: Likewise.
17244 * math/s_ctanhf.c: Likewise.
17245 * math/s_ctanhl.c: Likewise.
17246 * math/s_ctanl.c: Likewise.
17247
bc62c2fb
UD
17248 * math/math_private.h: Define __nan, __nanf, __nanl.
17249 * math/s_cacosh.c: Include <math_private.h>.
17250 * math/s_cacoshl.c: Likewise.
17251 * math/s_casinh.c: Likewise.
17252 * math/s_casinhf.c: Likewise.
17253 * math/s_casinhl.c: Likewise.
17254 * math/s_ccos.c: Rely entire on ccosh.
17255 * math/s_ccosf.c: Rely entire on ccoshf.
17256 * math/s_ccosl.c: Rely entirely on ccoshl.
17257 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
17258 Remove tests for FE_INVALID.
17259 * math/s_ccoshf.c: Likewise.
17260 * math/s_ccoshl.c: Likewise.
17261 * math/s_csin.c: Likewise.
17262 * math/s_csinf.c: Likewise.
17263 * math/s_csinh.c Likewise.
17264 * math/s_csinhf.c: Likewise.
17265 * math/s_csinhl.c: Likewise.
17266 * math/s_csinl.c: Likewise.
17267 * math/s_ctan.c: Likewise.
17268 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
17269 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
17270 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
17271
8ec250a4
UD
172722011-10-21 Ulrich Drepper <drepper@gmail.com>
17273
c196fed8
UD
17274 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
17275 compilation problems.
17276
8ec250a4
UD
17277 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
17278 __builtin_expect.
17279
8d4f46c6
UD
172802011-10-20 Ulrich Drepper <drepper@gmail.com>
17281
ed72b654
UD
17282 * sysdeps/i386/configure.in: Test for -mfma4 option.
17283 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
17284 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
17285 COMMON_CPUID_INDEX_80000001.
17286 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
17287 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
17288 use it if FMA3 is not supported.
17289 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
17290
8d4f46c6
UD
17291 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
17292 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17293
d45c60c2
AS
172942011-10-20 Andreas Schwab <schwab@redhat.com>
17295
17296 [BZ #12892]
17297 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
17298 it would create a cycle with a link time dependency.
17299
d9a4d2ab
UD
173002011-10-19 Ulrich Drepper <drepper@gmail.com>
17301
855d1560
UD
17302 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
17303 instruction.
17304 * string/Makefile (strop-tests): Add rawmemchr.
17305 * string/test-rawmemchr.c: New file.
17306
d9a4d2ab
UD
17307 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
17308 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
17309 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
17310 when compiling str{,n}casecmp and when AVX is available. Hook up
17311 new optimized code in initializers.
17312
8f3b1ffe
AS
173132011-10-19 Andreas Schwab <schwab@redhat.com>
17314
17315 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
17316 __feraiseexcept instead of feraiseexcept.
17317
d38f1dba
UD
173182011-10-18 Ulrich Drepper <drepper@gmail.com>
17319
d9a8d0ab
UD
17320 * math/math_private.h: Define defaults for libc_fetestexcept and
17321 libc_feupdateenv.
17322 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
17323 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
17324 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17325 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17326 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17327 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17328 libc_fetestexcept and libc_feupdateenv.
17329
4855e3dd
UD
17330 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
17331 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
17332 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
17333 * sysdeps/x86_64/fpu/math_private.h: Define special version of
17334 libc_feholdexcept_setround.
17335
581d30e3
UD
17336 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
17337 Add s_nearbyint-c and s_nearbyintf-c.
17338 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
17339 nearbyintf inlines.
17340 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
17341 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
17342 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
17343 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
17344
d38f1dba
UD
17345 * math/math_private.h: Define defaults for libc_fegetround,
17346 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
17347 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
17348 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
17349 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
17350 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
17351 standard functions.
17352 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17353 Remove comments and hacks for old compiler versions.
17354 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17355 libc_fegetround, libc_fesetround, libc_feholdexcept, and
17356 libc_feholdexceptl.
17357
caa6c9d8
AS
173582011-10-18 Andreas Schwab <schwab@redhat.com>
17359
17360 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
17361 (__feraiseexcept_renamed): Add __NTH.
17362 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
17363 namespace violations.
17364
97c066e6
UD
173652011-10-17 Ulrich Drepper <drepper@gmail.com>
17366
99ce7b04
UD
17367 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
17368
1004d182
UD
17369 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
17370
228a984d
UD
17371 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
17372 recently added interfaces.
17373 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
17374
c8553a6a
UD
17375 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
17376 about macro parameter expansion.
17377
ed22dcf6
UD
17378 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
17379 __NO_MATH_INLINES is defined. Cleanups.
17380
17381 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
17382 and __floorf is target has SSE4.1.
17383 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
17384 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
17385 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
17386 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
17387
b171c137
UD
17388 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
17389 name.
17390 (floorf): Likewise.
17391
97c066e6
UD
17392 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
17393
629f62ef
AS
173942011-10-17 Andreas Schwab <schwab@redhat.com>
17395
49a43d80
AS
17396 * misc/sys/cdefs.h: Fix last change.
17397
629f62ef
AS
17398 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
17399 database lookup.
17400
e453f6cd
UD
174012011-10-16 Ulrich Drepper <drepper@gmail.com>
17402
aa78043a
UD
17403 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
17404
ad0f5cad
UD
17405 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
17406 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17407 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17408 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17409 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17410 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17411 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17412 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17413 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17414 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
17415 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
17416 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
17417 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
17418 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
17419 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
17420 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
17421 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
17422 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
17423 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
17424 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
17425 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
17426 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
17427
17428 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
17429 ceil, ceilf, floor, floorf.
17430
17431 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
17432 Perform IRELATIVE relocations last.
17433
e453f6cd
UD
17434 * elf/do-rel.h: Add another parameter nrelative, replacing the
17435 local variable with the same name. Change name of the function
17436 to end in Rel or Rela (uppercase).
17437 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
17438 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
17439 elf_dynamic_do_##reloc function.
17440
fd5bdc09
UD
174412011-10-15 Ulrich Drepper <drepper@gmail.com>
17442
79b195b5
UD
17443 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
17444 is sufficient, at least on modern CPUs.
17445
d4a28569
UD
17446 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
17447
b61099b5
UD
17448 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
17449 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
17450
bcf01e6d
UD
17451 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
17452 __expl_finite.
17453 * math/bits/math-finite.h: Add entries for exp.
17454 * math/e_expl.c: Add __*_finite alias.
17455 * sysdeps/i386/fpu/e_exp.S: Likewise.
17456 * sysdeps/i386/fpu/e_expf.S: Likewise.
17457 * sysdeps/i386/fpu/e_expl.c: Likewise.
17458 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17459 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17460 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17461 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17462 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
17463 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17464 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17465
ba1a0d59
UD
17466 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
17467 is sufficient, at least on modern CPUs.
17468
fd5bdc09
UD
17469 * ctype/ctype-info.c (__ctype_init): Define.
17470 * include/ctype.h (__ctype_init): Declare.
17471 (__ctype_b_loc): The variable is always initialized.
17472 (__ctype_toupper_loc): Likewise.
17473 (__ctype_tolower_loc): Likewise.
17474 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
17475 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
17476
7872cfb0
AS
174772011-10-15 Andreas Schwab <schwab@linux-m68k.org>
17478
b468825a
AS
17479 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
17480
7872cfb0
AS
17481 * configure.in: Also look in $cxxmachine/include for C++ system
17482 headers.
17483
be13f7bf
LD
174842011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17485
17486 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
17487 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
17488 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
17489 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
17490 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
17491 (USE_AS_WMEMCMP): New macro.
17492 Fixing indents.
17493 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
17494 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
17495 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
17496 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
17497 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17498 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
17499 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
17500 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
17501 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
17502 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
17503 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
17504 (USE_AS_WMEMCMP): New macro.
17505 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
17506 * sysdeps/string/test-memcmp.c: Update.
17507 Fix simple_wmemcmp.
17508 Add new tests.
17509 * wcsmbs/wmemcmp.c: Update.
17510 (WMEMCMP): New macro.
17511 Fix overflow bug.
17512
556a2007
AJ
175132011-10-12 Andreas Jaeger <aj@suse.de>
17514
17515 [BZ #13268]
17516 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
17517
538faaa7
UD
175182011-10-15 Ulrich Drepper <drepper@gmail.com>
17519
ab6737ff
UD
17520 * libio/iofwide.c (do_length): Avoid warning.
17521
538faaa7
UD
17522 * ctype/ctype.h (__isctype_f): Add missing __THROW.
17523
396a21b1
UD
175242011-10-14 Ulrich Drepper <drepper@gmail.com>
17525
cdf2901f
UD
17526 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
17527
38ad40ce
UD
17528 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
17529 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
17530 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
17531 * sysdeps/i386/i686/fpu/e_log.S: New file.
17532 * sysdeps/i386/i686/fpu/e_logf.S: New file.
17533 * sysdeps/i386/i686/fpu/e_logl.S: New file.
17534
396a21b1
UD
17535 * ctype/ctype.h: Add support for inlined isXXX functions when
17536 compiling C++ code.
17537
6b1f68c9
AS
175382011-10-14 Andreas Schwab <schwab@redhat.com>
17539
349290c0
AS
17540 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17541
6b1f68c9
AS
17542 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
17543
f2282d42
RM
175442011-10-13 Roland McGrath <roland@hack.frob.com>
17545
17546 [BZ #13291]
17547 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
17548
5298ffa8
AS
175492011-10-13 Andreas Schwab <schwab@redhat.com>
17550
714fad23
AS
17551 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
17552 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
17553 feraiseexcept.
17554
81dcc7fb
AS
17555 * sysdeps/x86_64/memrchr.S: Check for zero size.
17556
5298ffa8
AS
17557 * string/stratcliff.c: Add memrchr tests.
17558
951fbcec
LD
175592011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17560
17561 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17562 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
17563 rawmemchr-sse2 rawmemchr-sse2-bsf.
17564 * sysdeps/i386/i686/multiarch/memchr.S: New file.
17565 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
17566 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
17567 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
17568 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
17569 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
17570 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
17571 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
17572 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
17573 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
17574 * string/memrchr.c (MEMRCHR): New macro.
17575
0ac5ae23
UD
175762011-10-12 Ulrich Drepper <drepper@gmail.com>
17577
17578 Add integration with gcc's -ffinite-math-only and optimize wrapper
17579 functions in libm.
17580 * Versions.def: Define GLIBC_2.15 version for libm.
17581 * math/Makefile (headers): Add bits/math-finite.h.
17582 * math/bits/math-finite.h: New file.
17583 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
17584 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
17585 * math/e_acoshl.c: Add __*_finite alias.
17586 * math/e_acosl.c: Likewise.
17587 * math/e_asinl.c: Likewise.
17588 * math/e_atan2l.c: Likewise.
17589 * math/e_atanhl.c: Likewise.
17590 * math/e_coshl.c: Likewise.
17591 * math/e_exp10.c: Likewise.
17592 * math/e_exp10f.c: Likewise.
17593 * math/e_exp10l.c: Likewise.
17594 * math/e_exp2l.c: Likewise.
17595 * math/e_fmodl.c: Likewise.
17596 * math/e_gammal_r.c: Likewise.
17597 * math/e_hypotl.c: Likewise.
17598 * math/e_j0l.c: Likewise.
17599 * math/e_j1l.c: Likewise.
17600 * math/e_jnl.c: Likewise.
17601 * math/e_lgammal_r.c: Likewise.
17602 * math/e_log10l.c: Likewise.
17603 * math/e_log2l.c: Likewise.
17604 * math/e_logl.c: Likewise.
17605 * math/e_powl.c: Likewise.
17606 * math/e_sinhl.c: Likewise.
17607 * math/e_sqrtl.c: Likewise.
17608 * math/e_scalb.c: Completely rewritten and optimized.
17609 * math/e_scalbf.c: Likewise.
17610 * math/e_scalbl.c: Likewise.
17611 * math/w_acos.c: Likewise.
17612 * math/w_acosf.c: Likewise.
17613 * math/w_acosl.c: Likewise.
17614 * math/w_acosh.c: Likewise.
17615 * math/w_acoshf.c: Likewise.
17616 * math/w_acoshl.c: Likewise.
17617 * math/w_asin.c: Likewise.
17618 * math/w_asinf.c: Likewise.
17619 * math/w_asinl.c: Likewise.
17620 * math/w_atan2.c: Likewise.
17621 * math/w_atan2f.c: Likewise.
17622 * math/w_atan2l.c: Likewise.
17623 * math/w_atanh.c: Likewise.
17624 * math/w_atanhf.c: Likewise.
17625 * math/w_atanhl.c: Likewise.
17626 * math/w_exp10.c: Likewise.
17627 * math/w_exp10f.c: Likewise.
17628 * math/w_exp10l.c: Likewise.
17629 * math/w_fmod.c: Likewise.
17630 * math/w_fmodf.c: Likewise.
17631 * math/w_fmodl.c: Likewise.
17632 * math/w_j0.c: Likewise.
17633 * math/w_j0f.c: Likewise.
17634 * math/w_j0l.c: Likewise.
17635 * math/w_j1.c: Likewise.
17636 * math/w_j1f.c: Likewise.
17637 * math/w_j1l.c: Likewise.
17638 * math/w_jn.c: Likewise.
17639 * math/w_jnf.c: Likewise.
17640 * math/w_log.c: Likewise.
17641 * math/w_logf.c: Likewise.
17642 * math/w_logl.c: Likewise.
17643 * math/w_log10.c: Likewise.
17644 * math/w_log10f.c: Likewise.
17645 * math/w_log10l.c: Likewise.
17646 * math/w_log2.c: Likewise.
17647 * math/w_log2f.c: Likewise.
17648 * math/w_log2l.c: Likewise.
17649 * math/w_pow.c: Likewise.
17650 * math/w_powf.c: Likewise.
17651 * math/w_powl.c: Likewise.
17652 * math/w_remainder.c: Likewise.
17653 * math/w_remainderf.c: Likewise.
17654 * math/w_remainderl.c: Likewise.
17655 * math/w_scalb.c: Likewise.
17656 * math/w_scalbf.c: Likewise.
17657 * math/w_scalbl.c: Likewise.
17658 * math/w_sqrt.c: Likewise.
17659 * math/w_sqrtf.c: Likewise.
17660 * math/w_sqrtl.c: Likewise.
17661 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
17662 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
17663 used.
17664 * math/math_private.h: Declare __kernel_standard_f.
17665 * math/w_cosh.c: Remove cruft and optimize a bit.
17666 * math/w_coshf.c: Likewise.
17667 * math/w_coshl.c: Likewise.
17668 * math/w_exp2.c: Likewise.
17669 * math/w_exp2f.c: Likewise.
17670 * math/w_exp2l.c: Likewise.
17671 * math/w_hypot.c: Likewise.
17672 * math/w_hypotf.c: Likewise.
17673 * math/w_hypotl.c: Likewise.
17674 * math/w_lgamma.c: Likewise.
17675 * math/w_lgamma_r.c: Likewise.
17676 * math/w_lgammaf.c: Likewise.
17677 * math/w_lgammaf_r.c: Likewise.
17678 * math/w_lgammal.c: Likewise.
17679 * math/w_lgammal_r.c: Likewise.
17680 * math/w_sinh.c: Likewise.
17681 * math/w_sinhf.c: Likewise.
17682 * math/w_sinhl.c: Likewise.
17683 * math/w_tgamma.c: Likewise.
17684 * math/w_tgammaf.c: Likewise.
17685 * math/w_tgammal.c: Likewise.
17686 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17687 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17688 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
17689 Minor optimizations. Pretty printing. Remove cruft.
17690 * sysdeps/i386/fpu/e_acosf.S: Likewise.
17691 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17692 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17693 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17694 * sysdeps/i386/fpu/e_acosl.c: Likewise.
17695 * sysdeps/i386/fpu/e_asin.S: Likewise.
17696 * sysdeps/i386/fpu/e_asinf.S: Likewise.
17697 * sysdeps/i386/fpu/e_atan2.S: Likewise.
17698 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
17699 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
17700 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17701 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17702 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17703 * sysdeps/i386/fpu/e_exp10.S: Likewise.
17704 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
17705 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
17706 * sysdeps/i386/fpu/e_exp2.S: Likewise.
17707 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
17708 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
17709 * sysdeps/i386/fpu/e_fmod.S: Likewise.
17710 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
17711 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
17712 * sysdeps/i386/fpu/e_hypot.S: Likewise.
17713 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
17714 * sysdeps/i386/fpu/e_log.S: Likewise.
17715 * sysdeps/i386/fpu/e_log10.S: Likewise.
17716 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17717 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17718 * sysdeps/i386/fpu/e_log2.S: Likewise.
17719 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17720 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17721 * sysdeps/i386/fpu/e_logf.S: Likewise.
17722 * sysdeps/i386/fpu/e_logl.S: Likewise.
17723 * sysdeps/i386/fpu/e_pow.S: Likewise.
17724 * sysdeps/i386/fpu/e_powf.S: Likewise.
17725 * sysdeps/i386/fpu/e_powl.S: Likewise.
17726 * sysdeps/i386/fpu/e_remainder.S: Likewise.
17727 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
17728 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
17729 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17730 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17731 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17732 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
17733 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
17734 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
17735 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17736 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17737 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17738 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17739 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17740 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17741 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17742 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17743 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17744 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17745 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17746 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17747 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17748 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17749 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17750 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17751 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17752 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17753 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17754 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17755 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17756 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17757 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17758 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17759 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17760 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17761 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17762 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17763 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17764 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17765 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17766 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17767 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17768 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17769 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17770 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17771 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17772 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17773 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17774 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17775 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17776 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17777 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17778 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17779 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17780 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17781 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17782 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17783 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17784 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17785 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17786 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17787 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17788 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17789 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17790 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17791 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17792 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17793 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17794 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17795 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17796 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
17797 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17798 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17799 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
17800 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17801 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
17802 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
17803 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
17804 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17805 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
17806 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
17807 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
17808 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17809 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
17810 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17811 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
17812 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
17813 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17814 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
17815 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17816 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
17817 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
17818 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17819 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17820 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17821 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17822 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
17823 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17824 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17825 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17826 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17827 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17828 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17829 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17830 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17831 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17832 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
17833 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
17834 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
17835 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
17836 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
17837 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
17838 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
17839 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17840 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17841 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17842 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17843 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
17844 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17845 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
17846 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
17847 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
17848 (__isnanf): Likewise.
17849 (__isinf_ns): Likewise.
17850 (__isinf_nsf): Likewise.
17851 (__finite): Likewise.
17852 (__finitef): Likewise.
17853 (__ieee754_sqrt): Define as macro.
17854 (__ieee754_sqrtf): Define as macro.
17855 (__ieee754_sqrtl): Define as macro.
17856 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
17857 inlined copy.
17858 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
17859 __FINITE_MATH_ONLY__ consistent.
17860 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
17861
12cc2fcd
AS
178622011-10-10 Andreas Schwab <schwab@linux-m68k.org>
17863
a843a204
AS
17864 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
17865 of rawmemchr.
17866
12cc2fcd
AS
17867 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
17868
c853acd5
UD
178692011-10-09 Ulrich Drepper <drepper@gmail.com>
17870
17871 * po/ja.po: Update from translation team.
17872
c658d255
RM
178732011-10-08 Roland McGrath <roland@hack.frob.com>
17874
110946e4
RM
17875 * locale/programs/locarchive.c (prepare_address_space): New function.
17876 (create_archive, enlarge_archive, open_archive): Use it.
17877
50604220
RM
17878 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
17879 inside [SHARED], where it is used.
17880
c658d255
RM
17881 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
17882
17883 * nss/getent.c (netgroup_keys): Remove unused variable.
17884 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
17885
6a621eb7
UD
178862011-10-08 Ulrich Drepper <drepper@gmail.com>
17887
7edb55ce
UD
17888 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
17889 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
17890 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
17891 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
17892 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
17893 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
17894 * math/Makefile (libm-calls): Add s_isinf_ns.
17895 * math/divtc3.c: Use __isinf_nsl instead of isinf.
17896 * math/multc3.c: Likewise.
17897 * math/s_casin.c: Likewise.
17898 * math/s_casinf.c: Likewise.
17899 * math/s_casinl.c: Likewise.
17900 * math/s_ccos.c: Likewise.
17901 * math/s_ccosf.c: Likewise.
17902 * math/s_ccosl.c: Likewise.
17903 * math/s_ctan.c: Likewise.
17904 * math/s_ctanf.c: Likewise.
17905 * math/s_ctanh.c: Likewise.
17906 * math/s_ctanhf.c: Likewise.
17907 * math/s_ctanhl.c: Likewise.
17908 * math/s_ctanl.c: Likewise.
17909 * math/w_fmod.c: Likewise.
17910 * math/w_fmodf.c: Likewise.
17911 * math/w_fmodl.c: Likewise.
17912 * math/w_remainder.c: Likewise.
17913 * math/w_remainderf.c: Likewise.
17914 * math/w_remainderl.c: Likewise.
17915 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
17916 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
17917 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
17918 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
17919 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
17920 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
17921 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
17922 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
17923
187da0ae
UD
17924 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
17925 of the number.
17926 * stdio-common/printf_fphex.c: Likewise.
17927 * stdio-common/printf_size.c: Likewise.
17928
9277c064
UD
17929 * math/e_exp10.c: Include math_private.h using <...> not "...".
17930 * math/e_exp10f.c: Likewise.
17931 * math/e_exp10l.c: Likewise.
17932 * math/e_exp2l.c: Likewise.
17933 * math/e_j0l.c: Likewise.
17934 * math/e_j1l.c: Likewise.
17935 * math/e_jnl.c: Likewise.
17936 * math/e_lgammal_r.c: Likewise.
17937 * math/e_rem_pio2l.c: Likewise.
17938 * math/e_scalb.c: Likewise.
17939 * math/e_scalbf.c: Likewise.
17940 * math/e_scalbl.c: Likewise.
17941 * math/k_cosl.c: Likewise.
17942 * math/k_sinl.c: Likewise.
17943 * math/k_tanl.c: Likewise.
17944 * math/s_cacoshf.c: Likewise.
17945 * math/s_catan.c: Likewise.
17946 * math/s_catanf.c: Likewise.
17947 * math/s_catanh.c: Likewise.
17948 * math/s_catanhf.c: Likewise.
17949 * math/s_catanhl.c: Likewise.
17950 * math/s_catanl.c: Likewise.
17951 * math/s_ccosh.c: Likewise.
17952 * math/s_ccoshf.c: Likewise.
17953 * math/s_ccoshl.c: Likewise.
17954 * math/s_cexp.c: Likewise.
17955 * math/s_cexpf.c: Likewise.
17956 * math/s_cexpl.c: Likewise.
17957 * math/s_clog.c: Likewise.
17958 * math/s_clog10.c: Likewise.
17959 * math/s_clog10f.c: Likewise.
17960 * math/s_clog10l.c: Likewise.
17961 * math/s_clogf.c: Likewise.
17962 * math/s_clogl.c: Likewise.
17963 * math/s_csin.c: Likewise.
17964 * math/s_csinf.c: Likewise.
17965 * math/s_csinh.c: Likewise.
17966 * math/s_csinhf.c: Likewise.
17967 * math/s_csinhl.c: Likewise.
17968 * math/s_csinl.c: Likewise.
17969 * math/s_csqrt.c: Likewise.
17970 * math/s_csqrtf.c: Likewise.
17971 * math/s_csqrtl.c: Likewise.
17972 * math/s_ctan.c: Likewise.
17973 * math/s_ctanf.c: Likewise.
17974 * math/s_ctanh.c: Likewise.
17975 * math/s_ctanhf.c: Likewise.
17976 * math/s_ctanhl.c: Likewise.
17977 * math/s_ctanl.c: Likewise.
17978 * math/s_ldexp.c: Likewise.
17979 * math/s_ldexpf.c: Likewise.
17980 * math/s_ldexpl.c: Likewise.
17981 * math/s_significand.c: Likewise.
17982 * math/s_significandf.c: Likewise.
17983 * math/s_significandl.c: Likewise.
17984 * math/w_acos.c: Likewise.
17985 * math/w_acosf.c: Likewise.
17986 * math/w_acosh.c: Likewise.
17987 * math/w_acoshf.c: Likewise.
17988 * math/w_acoshl.c: Likewise.
17989 * math/w_acosl.c: Likewise.
17990 * math/w_asin.c: Likewise.
17991 * math/w_asinf.c: Likewise.
17992 * math/w_asinl.c: Likewise.
17993 * math/w_atan2.c: Likewise.
17994 * math/w_atan2f.c: Likewise.
17995 * math/w_atan2l.c: Likewise.
17996 * math/w_atanh.c: Likewise.
17997 * math/w_atanhf.c: Likewise.
17998 * math/w_atanhl.c: Likewise.
17999 * math/w_cosh.c: Likewise.
18000 * math/w_coshf.c: Likewise.
18001 * math/w_coshl.c: Likewise.
18002 * math/w_dremf.c: Likewise.
18003 * math/w_exp10.c: Likewise.
18004 * math/w_exp10f.c: Likewise.
18005 * math/w_exp10l.c: Likewise.
18006 * math/w_exp2.c: Likewise.
18007 * math/w_exp2f.c: Likewise.
18008 * math/w_fmod.c: Likewise.
18009 * math/w_fmodf.c: Likewise.
18010 * math/w_fmodl.c: Likewise.
18011 * math/w_hypot.c: Likewise.
18012 * math/w_hypotf.c: Likewise.
18013 * math/w_hypotl.c: Likewise.
18014 * math/w_j0.c: Likewise.
18015 * math/w_j0f.c: Likewise.
18016 * math/w_j0l.c: Likewise.
18017 * math/w_j1.c: Likewise.
18018 * math/w_j1f.c: Likewise.
18019 * math/w_j1l.c: Likewise.
18020 * math/w_jn.c: Likewise.
18021 * math/w_jnf.c: Likewise.
18022 * math/w_jnl.c: Likewise.
18023 * math/w_lgamma.c: Likewise.
18024 * math/w_lgamma_r.c: Likewise.
18025 * math/w_lgammaf.c: Likewise.
18026 * math/w_lgammaf_r.c: Likewise.
18027 * math/w_lgammal.c: Likewise.
18028 * math/w_lgammal_r.c: Likewise.
18029 * math/w_log.c: Likewise.
18030 * math/w_log10.c: Likewise.
18031 * math/w_log10f.c: Likewise.
18032 * math/w_log10l.c: Likewise.
18033 * math/w_log2.c: Likewise.
18034 * math/w_log2f.c: Likewise.
18035 * math/w_log2l.c: Likewise.
18036 * math/w_logf.c: Likewise.
18037 * math/w_logl.c: Likewise.
18038 * math/w_pow.c: Likewise.
18039 * math/w_powf.c: Likewise.
18040 * math/w_powl.c: Likewise.
18041 * math/w_remainder.c: Likewise.
18042 * math/w_remainderf.c: Likewise.
18043 * math/w_remainderl.c: Likewise.
18044 * math/w_scalb.c: Likewise.
18045 * math/w_scalbf.c: Likewise.
18046 * math/w_scalbl.c: Likewise.
18047 * math/w_sinh.c: Likewise.
18048 * math/w_sinhf.c: Likewise.
18049 * math/w_sinhl.c: Likewise.
18050 * math/w_sqrt.c: Likewise.
18051 * math/w_sqrtf.c: Likewise.
18052 * math/w_sqrtl.c: Likewise.
18053 * math/w_tgamma.c: Likewise.
18054 * math/w_tgammaf.c: Likewise.
18055 * math/w_tgammal.c: Likewise.
18056
6a621eb7
UD
18057 * po/ja.po: Update from translation team.
18058
bf582445
AJ
180592011-09-29 Andreas Jaeger <aj@suse.de>
18060
f9efbf3a
AJ
18061 [BZ #13179]
18062 * sunrpc/netname.c (netname2host): Fix logic.
18063
bf582445
AJ
18064 [BZ #6779]
18065 [BZ #6783]
18066 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
18067 correctly.
18068 * math/w_remainder.c (__remainder): Likewise.
18069 * math/w_remainderf.c (__remainderf): Likewise.
18070 * math/libm-test.inc (remainder_test): Add test cases.
18071
48693bea
AK
180722011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18073
18074 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
18075 sdiv_qrnnd.
18076
42622229
LD
180772011-10-07 Ulrich Drepper <drepper@gmail.com>
18078
18079 * string/test-memcmp.c: Avoid unncessary #defines.
18080 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18081
093ecf92
LD
180822011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18083
18084 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
18085 Use new sse2 version for core i3 - i7 as it's faster
18086 than sse42 version.
18087 (bit_Prefer_PMINUB_for_stringop): New.
18088 * sysdeps/x86_64/rawmemchr.S: Update.
18089 Replace with faster SSE2 version.
18090 * sysdeps/x86_64/memrchr.S: New file.
18091 * sysdeps/x86_64/memchr.S: Update.
18092 Replace with faster SSE2 version.
18093
fde56e5c
MP
180942011-09-12 Marek Polacek <mpolacek@redhat.com>
18095
18096 * elf/dl-load.c (lose): Add cast to avoid warning.
18097
21fd49a9
UD
180982011-10-07 Ulrich Drepper <drepper@gmail.com>
18099
5a06e643
UD
18100 * po/ca.po: Update from translation team.
18101
684ae515
UD
18102 * inet/getnetgrent_r.c: Hook up nscd.
18103 * nscd/Makefile (routines): Add nscd_netgroup.
18104 (nscd-modules): Add netgroupcache.
18105 (CFLAGS-netgroupcache.c): Define.
18106 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
18107 (cache_search): Add const to second parameter.
18108 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
18109 INNETGR.
18110 (dbs): Add netgrdb entry.
18111 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
18112 (verify_persistent_db): Handle netgrdb.
18113 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
18114 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
18115 GETFDNETGR.
18116 (netgroup_response_header): Define.
18117 (innetgroup_response_header): Define.
18118 (datahead): Add netgroup_response_header and innetgroup_response_header
18119 elements.
18120 * nscd/nscd.conf: Add entries for netgroup cache.
18121 * nscd/nscd.h (dbtype): Add netgrdb.
18122 (_PATH_NSCD_NETGROUP_DB): Define.
18123 (netgroup_iov_disabled): Declare.
18124 (xmalloc, xcalloc, xrealloc): Move declarations here.
18125 (cache_search): Adjust prototype.
18126 Add netgroup-related prototypes.
18127 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
18128 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
18129 (__nscd_innetgr): Declare.
18130 * nscd/selinux.c (perms): Use access_vector_t as element type and
18131 add netgroup-related initializers.
18132 * nscd/netgroupcache.c: New file.
18133 * nscd/nscd_netgroup.c: New file.
18134 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
18135 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
18136 For four parameters use innetgr.
18137 * nss/nss_files/files-init.c: Add definition and callback for netgr.
18138 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
18139 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
18140 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
18141
21fd49a9
UD
18142 * nscd/connections.c (register_traced_file): Don't register file
18143 for disabled databases.
18144
054c0457
UD
181452011-10-06 Ulrich Drepper <drepper@gmail.com>
18146
32b63198
UD
18147 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
18148
054c0457
UD
18149 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
18150 from tree and freeing node.
18151
64031225
JO
181522011-09-25 Jiri Olsa <jolsa@redhat.com>
18153
18154 * nss/nsswitch.c (__nss_database_lookup): Handle
18155 nss_parse_service_list out of memory case.
18156
0490345c
JO
181572011-09-15 Jiri Olsa <jolsa@redhat.com>
18158
18159 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
18160 out of memory case.
18161
3a62d00d
AS
181622011-10-04 Andreas Schwab <schwab@redhat.com>
18163
18164 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
18165 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
18166 pass it down.
18167 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
18168 elf_machine_rela, elf_machine_lazy_rel.
18169 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
18170 (ELF_DYNAMIC_DO_REL): Likewise.
18171 (ELF_DYNAMIC_DO_RELA): Likewise.
18172 (ELF_DYNAMIC_RELOCATE): Likewise.
18173 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
18174 to ELF_DYNAMIC_DO_REL.
18175 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
18176 (dl_main): In trace mode always set __RTLD_NOIFUNC.
18177 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
18178 elf_machine_rela.
18179 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
18180 skip_ifunc, don't call ifunc function if non-zero.
18181 (elf_machine_rela): Likewise.
18182 (elf_machine_lazy_rel): Likewise.
18183 (elf_machine_lazy_rela): Likewise.
18184 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
18185 (elf_machine_lazy_rel): Likewise.
18186 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
18187 Likewise.
18188 (elf_machine_lazy_rel): Likewise.
18189 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18190 Likewise.
18191 (elf_machine_lazy_rel): Likewise.
18192 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
18193 (elf_machine_lazy_rel): Likewise.
18194 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
18195 (elf_machine_lazy_rel): Likewise.
18196 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18197 (elf_machine_lazy_rel): Likewise.
18198 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
18199 (elf_machine_lazy_rel): Likewise.
18200 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
18201 (elf_machine_lazy_rel): Likewise.
18202 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18203 (elf_machine_lazy_rel): Likewise.
18204
68577918
UD
182052011-09-28 Ulrich Drepper <drepper@gmail.com>
18206
18207 * nss/nss_files/files-init.c (_nss_files_init): Use static
18208 initialization for all the *_traced_file variables.
18209
68822d74
AS
182102011-09-28 Andreas Schwab <schwab@redhat.com>
18211
18212 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18213
2056100b
RM
182142011-09-27 Roland McGrath <roland@hack.frob.com>
18215
18216 [BZ #13226]
18217 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
18218
32c76b63
AS
182192011-09-27 Andreas Schwab <schwab@redhat.com>
18220
18221 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18222 Reread the line before reparsing it.
18223
bf972c9d
AS
182242011-09-26 Andreas Schwab <schwab@redhat.com>
18225
18226 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
18227
e057a1b5
JM
182282011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
18229 Maxim Kuvyrkov <maxim@codesourcery.com>
18230 Joseph Myers <joseph@codesourcery.com>
18231
18232 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
18233 if needed for __stack_chk_guard.
18234
bc7e1c36
RM
182352011-09-19 Roland McGrath <roland@hack.frob.com>
18236
ecb1482f
RM
18237 * sysdeps/posix/spawni.c (script_execute): Always define it.
18238 It will be optimized away if unused.
18239 (maybe_script_execute): New function.
18240 (__spawni): Call it.
18241
bc7e1c36
RM
18242 * Makerules: Don't include tls.make.
18243 (config-tls): Always set to thread.
18244 * tls.make.c: File removed.
18245
1c3b002b
MF
182462011-09-19 Mike Frysinger <vapier@gentoo.org>
18247
18248 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
18249 * config.make.in (CPPFLAGS-config): New substituted variable.
18250
2840865d
UD
182512011-09-15 Ulrich Drepper <drepper@gmail.com>
18252
88738eb6
UD
18253 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
18254
cbf645a6 18255 [BZ #13192]
2840865d
UD
18256 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
18257 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
18258
b402e91a
RM
182592011-09-15 Roland McGrath <roland@hack.frob.com>
18260
18261 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
18262 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
18263 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18264 (CALL_FAIL): Likewise.
18265 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
18266 (CALL_FAIL): Macro removed.
18267 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
18268
4c1a1f71
UD
182692011-09-15 Ulrich Drepper <drepper@gmail.com>
18270
18271 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
18272 for __FINITE_MATH_ONLY__ == 1.
18273
edc121be
AS
182742011-09-15 Andreas Schwab <schwab@redhat.com>
18275
18276 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
18277 __ieee754_sqrt instead of sqrt.
18278 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
18279 __ieee754_sqrtf instead of sqrtf.
18280 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
18281 __floorf instead of floorf.
18282 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
18283 __floorf, __truncf instead of floorf, truncf.
18284
cd205654
UD
182852011-09-14 Ulrich Drepper <drepper@gmail.com>
18286
ee4d0315
UD
18287 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
18288
cd205654
UD
18289 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
18290 __extern_always_inline.
18291 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
18292 32-bit.
18293
48b67d71
AS
182942011-09-14 Andreas Schwab <schwab@redhat.com>
18295
18296 * elf/rtld.c (dl_main): Also relocate in dependency order when
18297 doing symbol dependency testing.
18298
1ae12c75
AS
182992011-09-13 Andreas Schwab <schwab@linux-m68k.org>
18300
18301 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18302 Always define `refsym'.
18303
995a80df
AS
183042011-09-13 Andreas Schwab <schwab@redhat.com>
18305
e529793b
AS
18306 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
18307 (__FD_ELT): Renamed from __FDELT.
18308 * misc/bits/select2.h (__FD_ELT): Likewise.
18309 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
18310 __FD_MASK instead of __FDELT, __FDMASK.
18311 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18312 Likewise.
18313 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18314 Likewise.
18315
52d4fef8
AS
18316 * elf/Makefile (gen-ldd): Fix pattern.
18317
995a80df
AS
18318 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
18319 (init_tls): Likewise.
18320
8682f8b0
UD
183212011-09-12 Ulrich Drepper <drepper@gmail.com>
18322
18323 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
18324
de82006d
AS
183252011-09-12 Andreas Schwab <schwab@redhat.com>
18326
a7c8e6a1
AS
18327 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
18328 `struct cmsghdr *' instead of `void *'.
18329 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
18330 Likewise.
18331
0f31fe77
AS
183322011-09-11 Andreas Schwab <schwab@linux-m68k.org>
18333
18334 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
18335 if non-absolute.
18336 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
18337 ldd_rewrite_script.
0f31fe77 18338
32b4c839
UD
183392011-09-11 Ulrich Drepper <drepper@gmail.com>
18340
83cd1420
UD
18341 * configure.in: Remove --with-tls option.
18342 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
18343 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
18344 out in case it is missing.
18345 * sysdeps/ia64/elf/configure.in: Likewise.
18346 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
18347 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
18348 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
18349 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
18350 * sysdeps/sh/elf/configure.in: Likewise.
18351 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
18352 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18353 * sysdeps/x86_64/elf/configure.in: Likewise.
18354 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
18355 * sysdeps/mach/hurd/tls.h: Likewise.
18356
633f745d
UD
18357 [BZ #13067]
18358 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
18359
f318beb8
UD
18360 [BZ #13090]
18361 * configure.in: Fix use of AC_INIT.
18362
32b4c839
UD
18363 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
18364
3ce1f295
UD
183652011-09-10 Ulrich Drepper <drepper@gmail.com>
18366
bb016596
UD
18367 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
18368 __set_errno.
8e58439c
UD
18369 * malloc/hooks.c: Likewise.
18370
aebae053 18371 [BZ #11929]
02d46fc4
UD
18372 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
18373 variables statically.
18374 (narenas): Initialize.
18375 (list_lock): Initialize.
bb016596
UD
18376 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
18377 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
18378 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
18379 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
18380 Add initializers to main_arena and mp_.
18381 (malloc_state): Remove pagesize member. Change all users to use
18382 GLRO(dl_pagesize).
18383
18384 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
18385 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
18386 is always initialized.
18387
22a89187
UD
18388 * malloc/malloc.c: Removed unused configurations and dead code.
18389 * malloc/arena.c: Likewise.
18390 * malloc/hooks.c: Likewise.
02d46fc4 18391 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 18392
d063d164
UD
18393 * include/tls.h: Removed. USE___THREAD must always be defined.
18394 * bits/libc-tsd.h: Don't handle !USE___THREAD.
18395 * elf/dl-libc.c: Likewise.
18396 * elf/dl-tsd.c: Likewise.
18397 * include/errno.h: Likewise.
18398 * include/netdb.h: Likewise.
18399 * include/resolv.h: Likewise.
18400 * inet/herrno-loc.c: Likewise.
18401 * inet/herrno.c: Likewise.
18402 * malloc/arena.c: Likewise.
18403 * malloc/hooks.c: Likewise.
18404 * malloc/malloc.c: Likewise.
18405 * resolv/res-state.c: Likewise.
18406 * resolv/res_libc.c: Likewise.
18407 * sysdeps/i386/dl-machine.h: Likewise.
18408 * sysdeps/ia64/dl-machine.h: Likewise.
18409 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
18410 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18411 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
18412 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18413 * sysdeps/sh/dl-machine.h: Likewise.
18414 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18415 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18416 * sysdeps/unix/i386/sysdep.S: Likewise.
18417 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18418 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
18419 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
18420 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18421 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
18422 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18423 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18424 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18425 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18426 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18427 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18428 * sysdeps/x86_64/dl-machine.h: Likewise.
18429 * tls.make.c: Likewise.
18430
3ce1f295
UD
18431 * configure.in: Remove --with-__thread option. Make tests for
18432 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
18433 tls_model attribute fail if no support is available. Remove
18434 USE_IN_LIBIO.
18435 * Makeconfig: Adjust for dropped configure option. All features are
18436 now mandatory.
18437 * Makerules: Likewise.
18438 * Versions.def: Likewise.
18439 * argp/argp-fmtstream.c: Likewise.
18440 * argp/argp-fmtstream.h: Likewise.
18441 * argp/argp-help.c: Likewise.
18442 * assert/assert.c: Likewise.
18443 * config.h.in: Likewise.
18444 * config.make.in: Likewise.
18445 * configure: Likewise.
18446 * configure.in: Likewise.
18447 * csu/Versions: Likewise.
18448 * csu/init.c: Likewise.
18449 * elf/tst-audit2.c: Likewise.
18450 * elf/tst-tls10.c: Likewise.
18451 * elf/tst-tls10.h: Likewise.
18452 * elf/tst-tls11.c: Likewise.
18453 * elf/tst-tls12.c: Likewise.
18454 * elf/tst-tls14.c: Likewise.
18455 * elf/tst-tlsmod11.c: Likewise.
18456 * elf/tst-tlsmod12.c: Likewise.
18457 * elf/tst-tlsmod13.c: Likewise.
18458 * elf/tst-tlsmod13a.c: Likewise.
18459 * elf/tst-tlsmod14a.c: Likewise.
18460 * elf/tst-tlsmod15b.c: Likewise.
18461 * elf/tst-tlsmod16a.c: Likewise.
18462 * elf/tst-tlsmod16b.c: Likewise.
18463 * elf/tst-tlsmod7.c: Likewise.
18464 * elf/tst-tlsmod8.c: Likewise.
18465 * elf/tst-tlsmod9.c: Likewise.
18466 * gmon/gmon.c: Likewise.
18467 * grp/fgetgrent_r.c: Likewise.
18468 * grp/putgrent.c: Likewise.
18469 * hurd/fopenport.c: Likewise.
18470 * include/libc-symbols.h: Likewise.
18471 * include/tls.h: Likewise.
18472 * intl/gettextP.h: Likewise.
18473 * intl/loadinfo.h: Likewise.
18474 * locale/global-locale.c: Likewise.
18475 * locale/localeinfo.h: Likewise.
18476 * mach/devstream.c: Likewise.
18477 * malloc/arena.c: Likewise.
18478 * malloc/set-freeres.c: Likewise.
18479 * misc/err.c: Likewise.
18480 * misc/getttyent.c: Likewise.
18481 * misc/mntent_r.c: Likewise.
18482 * posix/getopt.c: Likewise.
18483 * posix/wordexp.c: Likewise.
18484 * pwd/fgetpwent_r.c: Likewise.
18485 * resolv/Versions: Likewise.
18486 * resolv/res_hconf.c: Likewise.
18487 * shadow/fgetspent_r.c: Likewise.
18488 * shadow/putspent.c: Likewise.
18489 * stdio-common/printf_fphex.c: Likewise.
18490 * stdio-common/tmpfile.c: Likewise.
18491 * stdlib/abort.c: Likewise.
18492 * stdlib/fmtmsg.c: Likewise.
18493 * sunrpc/auth_unix.c: Likewise.
18494 * sunrpc/clnt_perr.c: Likewise.
18495 * sunrpc/clnt_tcp.c: Likewise.
18496 * sunrpc/clnt_udp.c: Likewise.
18497 * sunrpc/clnt_unix.c: Likewise.
18498 * sunrpc/openchild.c: Likewise.
18499 * sunrpc/svc_simple.c: Likewise.
18500 * sunrpc/svc_tcp.c: Likewise.
18501 * sunrpc/svc_udp.c: Likewise.
18502 * sunrpc/svc_unix.c: Likewise.
18503 * sunrpc/xdr.c: Likewise.
18504 * sunrpc/xdr_array.c: Likewise.
18505 * sunrpc/xdr_rec.c: Likewise.
18506 * sunrpc/xdr_ref.c: Likewise.
18507 * sunrpc/xdr_stdio.c: Likewise.
18508
1248c1c4
PB
185092011-09-09 Ulrich Drepper <drepper@gmail.com>
18510
18511 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18512
185132011-07-03 Andreas Jaeger <aj@suse.de>
18514
18515 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
18516 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
18517 regenerate with gen-libm-tests.pl.
18518
185192010-05-12 Petr Baudis <pasky@suse.cz>
18520
18521 [BZ #11589]
18522 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
18523 around j0() zero points by switching to j1().
18524 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18525 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18526 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18527 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18528
f22e1074
UD
185292011-09-09 Ulrich Drepper <drepper@gmail.com>
18530
f19009c1
UD
18531 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
18532 instead of 0.
18533 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
18534 instead of 0. .
18535 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18536 Patch in part by Pavel Roskin <proski@gnu.org>.
18537
3f8cc204
UD
18538 [BZ #13138]
18539 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
18540 realloc.
18541 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
18542 Free memory block if necessary.
18543
f22e1074
UD
18544 [BZ #12847]
18545 * libio/genops.c (INTDEF): For string streams the _lock pointer can
18546 be NULL. Don't lock in this case.
18547
0a2349f9
RM
185482011-09-09 Roland McGrath <roland@hack.frob.com>
18549
18550 * elf/elf.h (ELFOSABI_GNU): New macro.
18551 (ELFOSABI_LINUX): Define to that.
18552
f3cdd467
DZ
185532011-07-29 Denis Zaitceff <zaitceff@gmail.com>
18554
18555 * string/strncat.c (strncat): Undef the symbol in case it has been
18556 defined in bits/string.h.
18557
74718d13
UD
185582011-09-09 Ulrich Drepper <drepper@gmail.com>
18559
633e9e0f
UD
18560 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
18561
0a2349f9 18562 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
18563 link map.
18564
f9924780
AJ
185652011-08-17 Andreas Jaeger <aj@suse.de>
18566
18567 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
18568
7f5517aa
PP
185692011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
18570 Ian Lance Taylor <iant@google.com>
18571
18572 * math/libm-test.inc (lround_test): New testcase.
18573 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
18574
762011fe
UD
185752011-09-08 Ulrich Drepper <drepper@gmail.com>
18576
92963737
UD
18577 * Makefile: Remove support for automatic cvs check-ins.
18578 * Makerules: Likewise.
18579 * config.make.in: Likewise.
18580 * configure.in: Likewise.
18581 * intl/Makefile: Likewise.
18582 * locale/Makefile: Likewise.
18583 * po/Makefile: Likewise.
18584 * posix/Makefile: Likewise.
18585 * sysdeps/gnu/Makefile: Likewise.
18586 * sysdeps/mach/hurd/Makefile: Likewise.
18587 * sysdeps/sparc/sparc32/Makefile: Likewise.
18588
b0727fd8
JS
18589 [BZ #13118]
18590 * posix/Makefile (bug-regex32-ENV): Define.
18591 Patch by John Stanley <jpsinthemix@verizon.net>.
18592
a0f33f99
UD
18593 * misc/Makefile (headers): Add bits/select2.h.
18594 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
18595 * misc/bits/select2.h: New file.
18596 * include/bits/select2.h: New file.
18597 * debug/Makefile (routines): Add fdelt_chk.
18598 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
18599 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
18600 FD_ISSET.
18601 * debug/fdelt_chk.c: New file.
18602
762011fe
UD
18603 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
18604 * wcsmbs/test-wmemcmp.c: Likewise.
18605 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 18606 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
18607
186082011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18609
18610 * string/Makefile (strop-tests): Add memcmp.
18611 * string/test-wmemcmp.c: New file.
18612 * string/test-memcmp.c: Add wmemcmp support.
18613
7f513ec8
RM
186142011-09-08 Roland McGrath <roland@hack.frob.com>
18615
0442afb4
RM
18616 [BZ #13153]
18617 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
18618 2011-07-19 change.
18619
7f513ec8
RM
18620 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
18621 garbage value in a __mach_port_mod_refs call in the cases of the
18622 task-self and thread-self ports.
18623
a12b2239
ST
186242011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18625
18626 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
18627
610f9ab4
AS
186282011-09-08 Andreas Schwab <schwab@redhat.com>
18629
7f513ec8 18630 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 18631
48882a1a
LD
186322011-09-07 Ulrich Drepper <drepper@gmail.com>
18633
b49865be
UD
18634 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
18635
fdc86bc9
UD
18636 * elf/dl-libc.c (dlerror_run): Pass back error code from
18637 dl_catch_error.
18638
c966526a
UD
18639 [BZ #13123]
18640 * elf/dl-load.c (lose): Free l_origin if it is valid.
18641
48882a1a
LD
18642 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
18643 names.
18644 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
18645 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18646 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18647 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18648 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
18649 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
18650
77a2a8b4
AZ
186512011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18652
18653 * sysdeps/powerpc/fpu/e_hypot.c: New file.
18654 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
18655 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
18656 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
18657 * sysdeps/powerpc/fpu/k_cosf.c: New file.
18658 * sysdeps/powerpc/fpu/k_sinf.c: New file.
18659 * sysdeps/powerpc/fpu/s_cosf.c: New file.
18660 * sysdeps/powerpc/fpu/s_sinf.c: New file.
18661 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
18662 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
18663
24f579d8
AM
186642011-08-15 Alan Modra <amodra@gmail.com>
18665
18666 [BZ #13092]
18667 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
18668 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
18669 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
18670 ppc_mcount to static-only-routines.
18671 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
18672 __mcount_internal.
18673 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
18674 __mcount_internal with usual JUMPTARGET. Remove useless nop.
18675
3d4837df
UD
186762011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
18677
18678 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
18679 for finite and infinity parameters.
18680
22700377
WS
186812011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
18682
18683 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
18684 and add nop instructions for throughput optimization.
18685 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18686
5025581e
WS
186872011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
18688
18689 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
18690 aligned copy for power7 with vector-scalar instructions.
18691 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18692
08a300c9
L
186932011-07-24 H.J. Lu <hongjiu.lu@intel.com>
18694
18695 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
18696 AVX check.
18697
59178ef9
AS
186982011-09-07 Andreas Schwab <schwab@redhat.com>
18699
18700 [BZ #13144]
18701 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
18702 last change.
18703
e38ba7ab
UD
187042011-09-07 Ulrich Drepper <drepper@gmail.com>
18705
18706 * sysdeps/unix/sysv/linux/x86_64/init-first.c
18707 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
18708 syscall wrapper around clock_gettime in __vdso_clock_gettime.
18709 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
18710 clock_gettime.
18711
d53a73ac
UD
187122011-09-06 Ulrich Drepper <drepper@gmail.com>
18713
fc8bffcc
UD
18714 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
18715 Forgot to demangle the pointer.
18716
ceaa0c5d
UD
18717 * sysdeps/i386/sysdep.h: Define atom_text_section.
18718 * sysdeps/x86_64/sysdep.h: Likewise.
18719 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
18720 section with atom_text_section.
18721 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18722 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18723 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
18724 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
18725 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
18726
a77d3c17
UD
18727 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
18728 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
18729 already be defined. Change to take two parameters and don't assign
18730 result to variable. Adjust all users.
18731 Define INTERNAL_GETTIME if not already defined.
18732 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
18733 call.
18734 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
18735 HAVE_CLOCK_GETTIME_VSYSCALL.
18736 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
18737
d53a73ac
UD
18738 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
18739 gettimeofday vsyscall, just use time.
18740
a8f84144
AS
187412011-09-06 Andreas Schwab <schwab@redhat.com>
18742
18743 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
18744 <errno.h>.
18745
ef606249
UD
187462011-09-06 Ulrich Drepper <drepper@gmail.com>
18747
18748 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
18749 syscall on x86-64.
18750 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
18751 syscall.
18752 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
18753 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
18754 syscall if possible.
18755
6585cb60
UD
187562011-09-05 Ulrich Drepper <drepper@gmail.com>
18757
18758 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
18759 e_ident. Don't pass to find_mapsXX.
18760 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
18761
a5f524e4
LD
187622011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18763
18764 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18765 strchr-sse2-no-bsf strrchr-sse2-no-bsf
18766 * sysdeps/x86_64/multiarch/strchr.S: Update.
18767 Check bit_slow_BSF bit.
18768 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18769 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
18770 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
18771
554881ef
UD
187722011-09-05 Ulrich Drepper <drepper@gmail.com>
18773
d96de963
UD
18774 [BZ #13134]
18775 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
18776 before glibc 2.15.
18777 (tryshell): Define.
18778 (__spawni): Change last parameter to be flag. Test
18779 SPAWN_XFLAGS_USE_PATH flag to use path or not.
18780 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
18781 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
18782 * posix/spawni.c: Likewise.
18783 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
18784 * posix/spawnp.c: Likewise. Change normal version to use
18785 SPAWN_XFLAGS_USE_PATH.
18786 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
18787 SPAWN_XFLAGS_TRY_SHELL.
18788
d48e5868
UD
18789 [BZ #13150]
18790 * posix/glob.h: Remove gcc 1.x support.
18791
554881ef
UD
18792 [BZ #13068]
18793 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
18794
693fb948
LD
187952011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18796
18797 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18798 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
18799 strrchr-sse2-bsf
18800 * sysdeps/i386/i686/multiarch/strchr.S: New file.
18801 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
18802 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
18803 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
18804 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
18805 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
18806
1b48c537
UD
188072011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18808
49d42c37
UD
18809 * sysdeps/x86_64/wcscmp.S: New file.
18810
1b48c537
UD
18811 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
18812 wcscmp-c wcscmp-sse2
18813 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
18814 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
18815 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
18816 * wcsmbs/wcscmp.c: Allow renaming.
18817
15c95c5d
DM
188182011-09-05 David S. Miller <davem@davemloft.net>
18819
18820 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
18821 stack slot, rather than the struct return pointer slot.
18822 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
18823 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
18824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
18825 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
18826
2f0ad8f3
UD
188272011-09-05 Ulrich Drepper <drepper@gmail.com>
18828
d88ae418
UD
18829 * po/ja.po: Update from translation team.
18830
2f0ad8f3
UD
18831 [BZ #13144]
18832 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
18833 kernel in 64-bit binaries.
18834
5f4318d1
DM
188352011-09-01 David S. Miller <davem@davemloft.net>
18836
18837 * elf/elf.h (HWCAP_SPARC_*): Move to..
18838 * sysdeps/sparc/sysdep.h: this new file and add new values.
18839 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
18840 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
18841 _DL_HWCAP_COUNT to 24.
18842 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
18843 entries.
18844 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
18845 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
18846 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
18847 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
18848 instead of magic constants.
18849 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18850
3ba57516
DM
188512011-08-31 David S. Miller <davem@davemloft.net>
18852
18853 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
18854 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
18855 Reimplement to do errno handling inline.
18856 (SYSCALL_ERROR_HANDLER): New macro.
18857 (__SYSCALL_STRING): Do not do errno handling in asm.
18858 (__CLONE_SYSCALL_STRING): Delete.
18859 (__INTERNAL_SYSCALL_STRING): Delete.
18860 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
18861 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
18862 (PSEUDO): Reimplement to do errno handling inline.
18863 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
18864 (SYSCALL_ERROR_HANDLER): New macro.
18865 (__SYSCALL_STRING): Do not do errno handling in asm.
18866 (__CLONE_SYSCALL_STRING): Delete.
18867 (__INTERNAL_SYSCALL_STRING): Delete.
18868 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
18869 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
18870 i386.
18871 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
18872 (inline_syscall*): Add 'err' argument.
18873 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
18874 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
18875 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
18876 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
18877
18878 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
18879 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18880
2bc17433
AS
188812011-08-30 Andreas Schwab <schwab@redhat.com>
18882
18883 * elf/rtld.c (dl_main): Relocate objects in dependency order.
18884
fbeb5f4d
JO
188852011-08-29 Jiri Olsa <jolsa@redhat.com>
18886
18887 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
18888 directive.
18889
ad69cc26
DM
188902011-08-24 David S. Miller <davem@davemloft.net>
18891
18892 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
18893
39dd69df
AS
188942011-08-24 Andreas Schwab <schwab@redhat.com>
18895
18896 * elf/Makefile: Add rules to build and run unload8 test.
18897 * elf/unload8.c: New file.
18898 * elf/unload8mod1.c: New file.
18899 * elf/unload8mod1x.c: New file.
18900 * elf/unload8mod2.c: New file.
18901 * elf/unload8mod3.c: New file.
18902
18903 * elf/dl-close.c (_dl_close_worker): Reset private search list if
18904 it wasn't used.
18905
2c0b250a
DM
189062011-08-23 David S. Miller <davem@davemloft.net>
18907
18908 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
18909 subtract stack bias.
18910 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
18911 %sp not %fp in calculations.
18912 (_JMPBUF_UNWINDS_ADJ): Likewise.
18913
22044b48
DM
18914 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
18915 (aio_suspend): Call it to force an exception region around the
18916 AIO_MISC_WAIT() invocation.
18917
2cae4995
AS
189182011-08-23 Andreas Schwab <schwab@redhat.com>
18919
18920 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
18921 backslash.
18922
873a772e
AJ
189232011-07-04 Aurelien Jarno <aurelien@aurel32.net>
18924
18925 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
18926 protection macro.
18927 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
18928 and <dl-machine.h>.
18929 (Elf64_FuncDesc): Remove.
18930
25ad0df1
DM
189312011-08-22 David S. Miller <davem@davemloft.net>
18932
18933 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
18934 sigaltstack check, add missing cfi directives.
18935 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
18936 missing cfi directives, and sigaltstack handling.
18937
e888bcbe
AS
189382011-08-16 Andreas Schwab <schwab@redhat.com>
18939
18940 [BZ #11724]
18941 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
18942 object is seen twice.
18943 * elf/dl-fini.c (_dl_sort_fini): Likewise.
18944
18945 * elf/Makefile (distribute): Add tst-initorder2.c.
18946 (tests): Add tst-initorder2.
18947 (modules-names): Add tst-initorder2a tst-initorder2b
18948 tst-initorder2c tst-initorder2d. Add rules to build them.
18949 ($(objpfx)tst-initorder2.out): New rule.
18950 * elf/tst-initorder2.c: New file.
18951 * elf/tst-initorder2.exp: New file.
18952
87162f46
AS
189532011-08-22 Andreas Schwab <schwab@redhat.com>
18954
70538b7f
AS
18955 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
18956
f55ffe58
AS
18957 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
18958 dependencies back to end of function.
18959
87162f46
AS
18960 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18961 $(elfobjdir)/ld.so.
18962
91b392a4
UD
189632011-08-21 Ulrich Drepper <drepper@gmail.com>
18964
18965 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
18966 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
18967 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
18968 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
18969 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
18970 of __vdso_gettimeofday.
18971 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
18972 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
18973 attribute_hidden.
18974 (_libc_vdso_platform_setup): Remove initialization of
18975 __vdso_gettimeofday and __vdso_time.
18976
5c43483f
UD
189772011-08-20 Ulrich Drepper <drepper@gmail.com>
18978
775a77e7
UD
18979 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
18980 and fgetc_unlocked.
18981 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
18982 getc_unlocked.
89f447ed 18983
49c74ba9
UD
18984 * elf/dl-open.c (add_to_global): Report additions to the global scope
18985 for LD_DEBUG=scopes.
18986 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 18987 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 18988
5c43483f
UD
18989 [BZ #13114]
18990 * stdio-common/Makefile (tests): Add bug24.
18991 * stdio-common/bug24.c: New file.
18992
a101b025
AJ
189932011-08-19 Andreas Jaeger <aj@suse.de>
18994
18995 [BZ #13114]
18996 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
18997 non-existant file when using close-on-exec mode.
18998
c88f1766
UD
189992011-08-20 Ulrich Drepper <drepper@gmail.com>
19000
0276a718
UD
19001 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
19002 the very first instruction.
19003
c88f1766
UD
19004 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
19005 the CFI state in the end.
19006 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
19007 inclusion of dl-trampoline.h.
19008 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
19009
51ccffa0
AS
190102011-08-19 Andreas Schwab <schwab@redhat.com>
19011
94d7165f
AS
19012 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
19013 expectations for long double.
19014
51ccffa0
AS
19015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
19016 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
19017
fd708658 190182011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
19019
19020 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
19021 artificual limit depends upon the system page size.
19022
44f0a71e
UD
190232011-08-17 Ulrich Drepper <drepper@gmail.com>
19024
19025 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
19026 * resolv/Makefile: Define CFLAGS-libresolv.
19027
8de79a24
AS
190282011-08-17 Andreas Schwab <schwab@redhat.com>
19029
19030 * nss/makedb.c (compute_tables): Make variables used in nested
19031 function static.
19032
27724598
UD
190332011-08-17 Ulrich Drepper <drepper@gmail.com>
19034
c5305d88
UD
19035 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
19036 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
19037 if buffer was too small.
19038
27724598
UD
19039 * elf/pldd.c (main): Attach to all threads in the process.
19040 Rewrite /proc handling to use *at functions.
19041
076fe015
UD
190422011-08-16 Ulrich Drepper <drepper@gmail.com>
19043
174baab3
UD
19044 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
19045 specifies first scope to show.
19046 (dl_open_worker): Update callers. Move printing scope of new
19047 object to before the relocation.
44f0a71e 19048 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
19049 * sysdeps/generic/ldsodefs.h: Update declaration.
19050
076fe015
UD
19051 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
19052 string for the scope number.
19053
a60df2c3
UD
190542011-08-14 Ulrich Drepper <drepper@gmail.com>
19055
19056 * nscd/servicescache.c (cache_addserv): Make sure written is always
19057 initialized.
19058
5e4287d1
RM
190592011-08-14 Roland McGrath <roland@hack.frob.com>
19060
85ae0589
RM
19061 * sysdeps/i386/i486/bits/atomic.h
19062 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
19063 statement expression, so as to suppress "set but not used" warning.
19064 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
19065
69f63097
RM
19066 * string/strncat.c (STRNCAT): Use prototype definition.
19067
675456ef
RM
19068 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
19069 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
19070 -Iprograms here.
19071 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
19072 (localedef-modules): Add localedef.
19073 (locale-modules): Add locale.
19074
5e4287d1
RM
19075 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
19076 * elf/rtld.c (dl_main): Invert order of assignment in last change,
19077 to avoid a warning.
19078
9c96ff23
DM
190792011-08-14 David S. Miller <davem@davemloft.net>
19080
19081 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
19082 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
19083
f9ddf089
UD
190842011-08-13 Ulrich Drepper <drepper@gmail.com>
19085
44f0a71e 19086 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
19087 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
19088 * elf/rtld.c (dl_main): Set l_name of vDSO.
19089 Call _dl_show_scope when DL_DEBUG_SCOPES.
19090 (process_dl_debug): Recognize scopes flag and also set it for all.
19091 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
19092 Declare _dl_show_scope.
19093
1dc27704
UD
19094 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
19095 (do_dlopen): Pass caller_dlopen to dl_open.
19096 (__libc_dlopen_mode): Initialize caller_dlopen.
19097
f9ddf089
UD
19098 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
19099 of libc. Make tolower call locale-independent. Optimize a bit by
19100 using isdigit instead of isalnum.
19101 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
19102
9ac533d3
UD
191032011-08-12 Ulrich Drepper <drepper@gmail.com>
19104
19105 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
19106 was a dependency or dynamically loaded.
19107
89edf2e9
UD
191082011-08-11 Ulrich Drepper <drepper@gmail.com>
19109
8e999d29
UD
19110 * intl/l10nflist.c: Allow architecture-specific pop function.
19111 * sysdeps/x86_64/l10nflist.c: New file.
19112
89edf2e9
UD
19113 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
19114 classification.
19115
14d96785
AS
191162011-08-10 Andreas Schwab <schwab@redhat.com>
19117
19118 * include/dirent.h: Add libc_hidden_proto for scandirat and
19119 scandirat64. Don't declare __scandirat64.
19120 * dirent/scandirat.c: Add libc_hidden_def.
19121 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
19122 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
19123
6761ac04
DM
191242011-08-10 David S. Miller <davem@davemloft.net>
19125
19126 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
19127 enum.
19128 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19129 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19130 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19131
c55fbd1e
UD
191322011-08-09 Ulrich Drepper <drepper@gmail.com>
19133
19134 * Versions.def [libc]: Add GLIBC_2.15.
19135 * dirent/Makefile (routines): Add scandirat and scandirat64.
19136 * dirent/Versions [libc]: Export scandirat and scandirat64 for
19137 GLIBC_2.15.
19138 * dirent/dirent.h: Declare scandirat and scandirat64.
19139 * dirent/scandirat.c: New file.
19140 * dirent/scandirat64.c: New file.
19141 * sysdeps/wordsize-64/scandirat.c: New file.
19142 * sysdeps/wordsize-64/scandirat64.c: New file.
19143 * dirent/opendir.c: Define opendirat.
19144 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
19145 using scandirat.
19146 * dirent/scandir64.c: Adjust for scandir.c change.
19147 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
19148 __scandirat64, and __scandir_cancel_handler.
19149 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
19150 additional parameter and use openat instead of open (outside of ld.so).
19151 Add new __opendir as wrapper around __opendirat.
19152 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
19153 here without requiring old scandirat implementation.
19154
879165f2
UD
191552011-08-08 Ulrich Drepper <drepper@gmail.com>
19156
19157 * dirent/scandir.c (cancel_handler): Renamed to
19158 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
19159 defined. Adjust users.
19160 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
19161 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
19162
cb7e923b
UD
191632011-08-04 Ulrich Drepper <drepper@gmail.com>
19164
16292edd
UD
19165 * string/test-string.h (IMPL): Use __STRING to expand name and then
19166 stringify it.
19167
cb7e923b
UD
19168 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
19169 of cleanups.
19170
cff82933
LD
191712011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19172
19173 * string/Makefile: Update.
19174 (strop-tests): Append strncat.
19175 * string/test-wcscmp.c: New file.
19176 New comprehensive test for wcscmp.
19177 * string/test-strcmp.c: Update.
19178 (WIDE): New define.
19179
9be9bfcc
AS
191802011-07-22 Andreas Schwab <schwab@redhat.com>
19181
19182 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
19183 line.
19184
2e96f1c7
AS
191852011-07-26 Andreas Schwab <schwab@redhat.com>
19186
19187 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19188 encoding to ACE if AI_IDN.
19189
85188888
JJ
191902011-08-01 Jakub Jelinek <jakub@redhat.com>
19191
19192 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
19193 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
19194
5fa16e9b
LD
191952011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19196
19197 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
19198 Fix overflow bug in strncat.
19199 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
19200
19201 * string/test-strncat.c: Update.
19202 Add new tests for checking overflow bugs.
19203
192042011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19205
19206 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19207 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
19208 * sysdeps/i386/i686/multiarch/strcat.S: New file.
19209 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
19210 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
19211 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
19212 * sysdeps/i386/i686/multiarch/strncat.S: New file.
19213 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
19214 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
19215
19216 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
19217 (USE_AS_STRCAT): Define.
19218 Add strcat and strncat support.
19219 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19220
8c1a459f
AS
192212011-07-25 Andreas Schwab <schwab@redhat.com>
19222
19223 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
19224 __n bigger than INT_MAX+1.
19225 (__strncmp_g): Likewise.
19226
bba33c28
UD
192272011-07-23 Ulrich Drepper <drepper@gmail.com>
19228
798be72d
UD
19229 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
19230 * libio/stido.h: Likewise.
19231
8accd4dc
UD
19232 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
19233 (AF_NFC): Define.
19234 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
19235 (AF_NFC): Define.
19236
cbff0d96
UD
19237 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
19238 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19239 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19240 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19241 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19242
9191c04a
UD
19243 [BZ #13021]
19244 * scripts/test-installation.pl: Don't expect libnss_test1 to be
19245 installed.
19246
bba33c28
UD
19247 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
19248 typo.
19249 (_dl_x86_64_save_sse): Likewise.
19250
90f139dd
UD
192512011-07-22 Ulrich Drepper <drepper@gmail.com>
19252
1aae088a
UD
19253 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
19254 OSXSAVE.
19255 (_dl_x86_64_save_sse): Likewise.
19256
8e2045f5
UD
19257 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
19258
90f139dd
UD
19259 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
19260
1d002f25
AS
192612011-07-21 Andreas Schwab <schwab@redhat.com>
19262
19263 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
19264 change.
19265 (_dl_x86_64_save_sse): Use correct AVX check.
19266
21137f89
UD
192672011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19268
19269 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
19270 bug in strncpy/strncat.
19271 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
19272
a65c0b7a
UD
192732011-07-21 Ulrich Drepper <drepper@gmail.com>
19274
19275 * string/tester.c (test_strcat): Add tests for different alignments
19276 of source and destination.
19277 (test_strncat): Likewise.
19278
6986b98a
UD
192792011-07-20 Ulrich Drepper <drepper@gmail.com>
19280
90bb2039
UD
19281 [BZ #12852]
19282 * posix/glob.c (glob): Check passed in values before using them in
19283 expressions to avoid some overflows.
19284 (glob_in_dir): Likewise.
19285
5644ef54
UD
19286 [BZ #13007]
19287 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
19288 check for AVX enablement so that we don't crash with old kernels and
19289 new hardware.
19290 * elf/tst-audit4.c: Add same checks here.
19291 * elf/tst-audit6.c: Likewise.
19292
19293 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 19294
bfc9dc9b
AS
192952011-07-09 Andreas Schwab <schwab@linux-m68k.org>
19296
19297 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
19298
702e64bb
UD
192992011-07-20 Ulrich Drepper <drepper@gmail.com>
19300
19301 * po/cs.po: Update from translation team.
19302 * po/bg.po: Likewise.
19303
295e904f
MP
193042011-07-12 Marek Polacek <mpolacek@redhat.com>
19305
19306 * misc/sys/cdefs.h: Add support for const attribute.
19307 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
19308 to gnu_dev_{major,minor,makedev} functions.
19309
3ff94596
MP
193102011-07-20 Marek Polacek <mpolacek@redhat.com>
19311
19312 * intl/dcigettext.c (get_output_charset): Add missing bracket.
19313
28b59fca
AS
193142011-07-20 Andreas Schwab <schwab@redhat.com>
19315
19316 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
19317 strlen results.
19318
19df733e
AK
193192011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19320
19321 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
19322 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
19323 register in order to avoid conflicts with the soft frame pointer
19324 being held in r11 when necessary.
19325 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19326 (INTERNAL_VSYSCALL_NCS): Likewise.
19327
c8835729
MP
193282011-07-14 Marek Polacek <mpolacek@redhat.com>
19329
19330 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
19331 * elf/dl-fini.c (_dl_fini): Adjust caller.
19332 * elf/dl-close.c (_dl_close_worker): Likewise.
19333 * sysdeps/generic/ldsodefs.h: Adjust declaration.
19334
b902330c
MP
193352011-07-15 Marek Polacek <mpolacek@redhat.com>
19336
8991e135
MP
19337 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
19338 "aux_cache->nlibs < 0".
19339
b902330c
MP
19340 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
19341 in the reload-count case.
19342
99710781
LD
193432011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19344
19345 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19346 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
19347 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
19348 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
19349 * sysdeps/x86_64/multiarch/strcat.S: New file.
19350 * sysdeps/x86_64/multiarch/strncat.S: New file.
19351 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
19352 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
19353 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
19354 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
19355 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
19356 (USE_AS_STRCAT): Define.
19357 Add strcat and strncat support.
19358 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19359 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19360 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
19361 * string/strncat.c: Update.
19362 (USE_AS_STRNCAT): Define.
19363 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19364 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
19365 and i7.
19366 * sysdeps/x86_64/multiarch/init-arch.h
19367 (bit_Prefer_PMINUB_for_stringop): New.
19368 (index_Prefer_PMINUB_for_stringop): Likewise.
19369 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
19370 bit_Prefer_PMINUB_for_stringop.
19371
7dc6bd90
UD
193722011-07-19 Ulrich Drepper <drepper@gmail.com>
19373
19374 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
19375 buffer64.
19376 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
19377 of casting of buffer.
19378 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
19379 buffer32 and buffer64.
19380 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
19381 writes instead of casting of buffer.
19382 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
19383 buffer32.
19384 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
19385 casting of buffer.
19386
e0e72284
AS
193872011-07-19 Andreas Schwab <schwab@redhat.com>
19388
19389 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
19390
feb1eb0b
UD
193912011-07-19 Ulrich Drepper <drepper@gmail.com>
19392
19393 * nscd/nscd.c (termination_handler): Don't do anything for a database
19394 if it has not yet been initialized.
19395
298711ff
UD
193962011-07-18 Ulrich Drepper <drepper@gmail.com>
19397
19398 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19399
194002011-07-15 Marek Polacek <mpolacek@redhat.com>
19401
19402 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19403
f9d68389
UD
194042011-07-18 Ulrich Drepper <drepper@gmail.com>
19405
19406 * po/nl.po: Update from translation team.
19407 * po/sv.po: Likewise.
19408
db290cf5
RM
194092011-07-16 Roland McGrath <roland@hack.frob.com>
19410
19411 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
19412 now disallowed by GCC.
5c550700 19413
fd5e21c7
RM
19414 * configure.in (use-default-link): Default to yes if a test -shared
19415 link meets our qualifications.
19416 * configure: Regenerated.
19417
5c550700
RM
19418 * config.make.in (output-format): New variable.
19419 * configure.in: Check for ld --print-output-format support.
19420 * configure: Regenerated.
19421 * Makerules ($(common-objpfx)format.lds)
19422 [$(output-format) != unknown]: Just use $(output-format),
19423 instead of the linker-script munging.
19424
9fa2c032
RM
194252011-07-14 Roland McGrath <roland@hack.frob.com>
19426
a6928d51
RM
19427 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
19428 of $(common-objpfx)shlib.lds.
19429 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
19430
661607b3
RM
19431 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
19432 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
19433
9fa2c032
RM
19434 * configure.in (-z relro check): Adjust test code to add a large
19435 writable data section after it.
19436 * configure: Regenerated.
19437
defe9061
RM
194382011-07-11 Roland McGrath <roland@hack.frob.com>
19439
19440 * configure.in (-z relro check): Fix test code to make the variable
19441 truly const.
19442 * configure: Regenerated.
19443
319b9ad4
UD
194442011-07-11 Ulrich Drepper <drepper@gmail.com>
19445
19446 * nscd/nscd.h (struct traced_file): Define.
19447 (struct database_dyn): Remove inotify_descr, reset_res, and filename
19448 elements. Add traced_files.
19449 (inotify_fd): Declare.
19450 (register_traced_file): Declare.
19451 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
19452 (inotify_fd): Export.
19453 (resolv_conf_descr): Remove.
19454 (nscd_init): Move inotify descriptor creation to main.
19455 Don't register files for notification here.
19456 (register_traced_file): New function.
19457 (invalidate_cache): Don't use reset_res to determine whether to call
19458 res_init, go through the list of registered files.
19459 (main_loop_poll): The inotify descriptors are now stored in the
19460 structures for the traced files.
19461 (main_loop_epoll): Likewise
19462 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
19463 to __nss_disable_nscd.
19464 * nscd/cache.c (prune_cache): There is no single inotify descriptor
19465 for a database anymore. Check the records for all the registered
19466 files instead.
19467 * nss/Makefile (libnss_files-routines): Add files-init.
19468 (libnss_db-routines): Add db-init.
19469 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
19470 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
19471 * nss/nss_db/db-init.c: New file.
19472 * nss/nss_files/files-init.c: New file.
19473 * nss/nsswitch.c (nss_load_library): New function. Broken out of
19474 __nss_lookup_function.
19475 (__nss_lookup_function): Call nss_load_library.
19476 (nss_load_all_libraries): New function.
19477 (__nss_disable_nscd): Take parameter with callback function for files
19478 to register. Set is_nscd. Load all the DSOs for the NSS modules
19479 used for the cached services.
19480 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
19481 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
19482 options for features to all the files in nscd.
19483
19484 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
19485
23bee3e8
RM
194862011-07-10 Roland McGrath <roland@hack.frob.com>
19487
19488 * csu/elf-init.c (__libc_csu_init): Comment typo.
19489
46a5b7f0
UD
194902011-07-09 Ulrich Drepper <drepper@gmail.com>
19491
19492 * po/pl.po: Update from translation team.
19493 * po/ja.po: Likewise.
19494 * po/ru.po: Likewise.
19495 * po/ko.po: Likewise.
19496 * po/fr.po: Likewise.
19497
d30cf5bb
RM
194982011-07-09 Roland McGrath <roland@hack.frob.com>
19499
113ddea4
RM
19500 * configure.in (.ctors/.dtors header and trailer check):
19501 Use an empirical test on a built program.
19502 * configure: Regenerated.
19503
574920b4
RM
19504 * configure.in (-z relro check): Use an empirical test on a built DSO.
19505 Detect, but do not require, on ia64.
19506 * configure: Regenerated.
19507
d30cf5bb
RM
19508 * configure.in (READELF): Find it with AC_CHECK_TOOL.
19509 Update tests that use readelf to use $READELF instead.
19510 * configure: Regenerated.
19511
8538fdb3
UD
195122011-07-08 Ulrich Drepper <drepper@gmail.com>
19513
19514 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
19515 if the result is not used.
19516
04d08991
AJ
195172011-07-05 Andreas Jaeger <aj@suse.de>
19518
19519 [BZ#9696]
19520 * stdlib/tst-strtod.c: Add testcase.
19521
de283087
AD
195222011-07-07 Ulrich Drepper <drepper@gmail.com>
19523
4e5f31c8 19524 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 19525 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
19526 The latter has a higher limit. Take additional parameter to pass to
19527 the new function.
19528 (__pathconf): Pass file to __statfs_link_max.
19529 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
19530 __statfs_link_max.
19531 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
19532 __statfs_link_max.
19533
de283087
AD
19534 [BZ #12868]
19535 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
19536 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19537 Handle Lustre.
19538 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
19539 (__statfs_filesize_max): Likewise.
19540 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
19541
c75fa153
AJ
195422011-07-05 Andreas Jaeger <aj@suse.de>
19543
19544 * resolv/res_comp.c (dn_skipname): Remove unused variable.
19545
1a544854
UD
195462011-07-06 Marek Polacek <mpolacek@redhat.com>
19547
19548 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
19549 `status' variable.
19550 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
19551 Likewise.
19552
6f0eec67
UD
195532011-07-04 H.J. Lu <hongjiu.lu@intel.com>
19554
19555 * Makefile (strop-tests): Add strncat.
19556 * string/test-strncat.c: New file.
19557
aae30307
UD
195582011-06-30 Marek Polacek <mpolacek@redhat.com>
19559
19560 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
19561
c0cfb5eb
UD
195622011-06-21 Andreas Jaeger <aj@suse.de>
19563
19564 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
19565 Copy rule from iconvdata/Makefile.
19566
01636b21
UD
195672011-07-06 Ulrich Drepper <drepper@gmail.com>
19568
19569 [BZ #12922]
19570 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
19571 but no long options are defined, just return 'W'.
19572
9895c8bc
UD
195732011-06-22 Marek Polacek <mpolacek@redhat.com>
19574
19575 [BZ #9696]
19576 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
19577
5d4cf042
UD
195782011-07-06 Ulrich Drepper <drepper@gmail.com>
19579
19580 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
19581 netgroups to read.
960e5535 19582 (innetgr): Likewise.
5d4cf042 19583
751eb97e
RM
195842011-07-05 Roland McGrath <roland@hack.frob.com>
19585
19586 * config.make.in (install_root): Default to $(DESTDIR).
19587
f15f1e45
UD
195882011-07-05 Ulrich Drepper <drepper@gmail.com>
19589
19590 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
19591
4e34ac6a
RM
195922011-07-02 Roland McGrath <roland@hack.frob.com>
19593
5e9b6af4
RM
19594 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
19595
84f9ea0f
RM
19596 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
19597 containing directory rather than embedding absolute directory names.
19598
ea5ee9f7
RM
19599 * scripts/check-local-headers.sh: Rewritten using awk.
19600 Match by word, not by line. Print error messages for matches.
19601 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
19602
1b74661a
RM
19603 * Makerules [shlib-lds-flags empty]:
19604 ($(common-objpfx)libc_pic.opts): New target.
19605 ($(common-objpfx)libc_pic.os.clean): New target.
19606 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
19607
19608 * config.make.in (OBJCOPY): New variable.
19609 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
19610 * configure: Regenerated.
19611
f781ef40
RM
19612 * config.make.in (use-default-link): New variable.
19613 * configure.in (use_default_link): Grok --with-default-link to set it.
19614 * configure: Regenerated.
19615 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
19616 (shlib-lds, shlib-lds-flags): Define to empty.
19617
2d4fa81e
RM
19618 * Makerules (shlib-lds): New variable.
19619 (shlib-lds-flags): New variable.
19620 (build-shlib, build-moduile, build-module-asneeded): Use it.
19621 ($(common-objpfx)libc.so): Use $(shlib-lds).
19622 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
19623 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
19624
31fffa6b
RM
19625 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
19626 DT_FLAGS/DT_FLAGS_1 with zero flags.
19627
4e34ac6a
RM
19628 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
19629 linker script munging.
19630
fcfc776b
UD
196312011-07-02 Ulrich Drepper <drepper@gmail.com>
19632
19633 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
19634 as 128-bit value.
19635 * crypt/sha512.c (sha512_process_block): Perform total addition using
19636 128-bit if possible.
19637 (__sha512_finish_ctx): Likewise.
19638 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
19639 as 64-bit value.
19640 * crypt/sha256.c (SWAP64): Define.
19641 (sha256_process_block): Perform total addition using 64-bit if
19642 possible.
19643 (__sha256_finish_ctx): Likewise.
19644
99231d9a
UD
196452011-07-01 Ulrich Drepper <drepper@gmail.com>
19646
19647 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
19648 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19649 * nscd/hstcache.c (cache_addhst): Likewise.
19650 * nscd/grpcache.c (cache_addgr): Likewise.
19651 * nscd/aicache.c (addhstaiX): Likewise
19652 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
19653
445b4a53
TK
196542011-07-01 Thorsten Kukuk <kukuk@suse.de>
19655
19656 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
19657 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19658 * nscd/hstcache.c (cache_addhst): Likewise.
19659 * nscd/grpcache.c (cache_addgr): Likewise.
19660 * nscd/aicache.c (addhstaiX): Likewise
19661
6d4d8e8e
AS
196622011-07-01 Andreas Schwab <schwab@redhat.com>
19663
19664 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
19665 domain only when needed.
19666
89f654c5
AS
196672011-06-30 Andreas Schwab <schwab@redhat.com>
19668
19669 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
19670 is always restored.
19671
cf3b23ff
UD
196722011-06-29 Ulrich Drepper <drepper@gmail.com>
19673
19674 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
19675 are re-adding the entry.
19676 * nscd/servicescache.c (cache_addserv): Likewise.
19677
751626f9
AJ
196782011-06-30 Aurelien Jarno <aurelien@aurel32.net>
19679
19680 * sysdeps/generic/dl-irel.h: fix protection against multiple
19681 inclusions.
19682 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
19683
9113ea1f
UD
196842011-06-28 Ulrich Drepper <drepper@gmail.com>
19685
5c0b8d90
UD
19686 [BZ #12935]
19687 * malloc/memusage.sh: Fix quoting in message.
19688 * debug/xtrace.sh: Likewise.
19689
9113ea1f
UD
19690 * configure.in: Remove support for --experimental-malloc option, make
19691 it the default.
19692 * config.make.in: Likewise.
19693 * malloc/Makefile: Likewise.
19694
a4172181
AS
196952011-06-27 Andreas Schwab <schwab@redhat.com>
19696
19697 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
19698 two-byte characters.
19699
78a7eee7
RM
197002011-06-27 Roland McGrath <roland@hack.frob.com>
19701
62bede13
RM
19702 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
19703 AC_CACHE_CHECK invocation.
19704 * configure: Regenerated.
19705
78a7eee7
RM
19706 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
19707
5ce33a62
UD
197082011-06-27 Ulrich Drepper <drepper@gmail.com>
19709
034807a9
UD
19710 [BZ #12350]
19711 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
19712 bit from old_res_options.
19713
4902da17
UD
19714 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
19715
5ce33a62
UD
19716 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
19717 value type for setfct.
19718
c2344f56
L
197192011-06-23 H.J. Lu <hongjiu.lu@intel.com>
19720
19721 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19722 __gettimeofday instead of gettimeofday.
19723
68468076
UD
197242011-06-26 Ulrich Drepper <drepper@gmail.com>
19725
19726 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
19727
acb0d739
L
197282011-06-24 H.J. Lu <hongjiu.lu@intel.com>
19729
19730 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
19731
19732 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
19733 info.
19734
8912479f
L
197352011-06-22 H.J. Lu <hongjiu.lu@intel.com>
19736
19737 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19738 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19739 strcpy-sse2-unaligned strncpy-sse2-unaligned
19740 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
19741 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
19742 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
19743 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
19744 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
19745 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
19746 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
19747 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
19748 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
19749 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
19750 (STRCPY): Support SSE2 and SSSE3 versions.
19751
d5495a11
UD
197522011-06-24 Ulrich Drepper <drepper@gmail.com>
19753
19754 [BZ #12874]
19755 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
19756 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
19757 kernels which artificially limit size of requests.
19758
0b1cbaae
L
197592011-06-22 H.J. Lu <hongjiu.lu@intel.com>
19760
19761 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19762 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19763 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
19764 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
19765 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
19766 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
19767 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
19768 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
19769 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
19770 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
19771 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
19772 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
19773 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
19774 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
19775 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
19776 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19777 Enable unaligned load optimization for Intel Core i3, i5 and i7
19778 processors.
19779 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
19780 Define.
19781 (index_Fast_Unaligned_Load): Define.
19782 (HAS_FAST_UNALIGNED_LOAD): Define.
19783
07f494a0
MP
197842011-06-23 Marek Polacek <mpolacek@redhat.com>
19785
19786 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
19787
fa3fc0fe
UD
197882011-06-22 Ulrich Drepper <drepper@gmail.com>
19789
19790 [BZ #12907]
19791 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
19792 until it is clear that the information is realy needed.
19793 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
19794
e12df166
AS
197952011-06-22 Andreas Schwab <schwab@redhat.com>
19796
19797 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
19798
852eb34d
UD
197992011-06-22 Ulrich Drepper <drepper@gmail.com>
19800
84e2a551
UD
19801 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19802 /sys/devices/system/cpu/online if it is usable.
19803
852eb34d
UD
19804 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
19805 reading the information from the /proc filesystem to once a second.
19806
6e502e19
UD
198072011-06-21 Andreas Jaeger <aj@suse.de>
19808
19809 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
19810 NULL after inclusion of kernel headers.
19811
75d39ff2
UD
198122011-06-21 Ulrich Drepper <drepper@gmail.com>
19813
51f9aa6a
UD
19814 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
19815 calls to internal_setent.
19816
c0244a9d
UD
19817 [BZ #12885]
19818 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
19819 addresses using gethostbyname4_r ignore IPv4 addresses.
19820
c5e3c2ae
UD
19821 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
19822 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
19823
75d39ff2
UD
19824 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
19825
42675c6f
DM
198262011-06-20 David S. Miller <davem@davemloft.net>
19827
19828 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
19829 inclusions.
19830 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
19831
19832 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
19833 (elf_irel): Use it.
19834 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
19835 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
19836 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
19837 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
19838 * sysdeps/x86_64/dl-irel.h: Likewise.
19839
19840 * elf/dl-runtime.c: Use elf_ifunc_invoke.
19841 * elf/dl-sym.c: Likewise.
19842
57912a71
UD
198432011-06-15 Ulrich Drepper <drepper@gmail.com>
19844
19845 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
19846 need to dereference resplen2.
19847
ee22793d
AS
198482011-06-14 Andreas Schwab <schwab@redhat.com>
19849
19850 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
19851
a9e836b0
UD
198522011-06-15 Ulrich Drepper <drepper@gmail.com>
19853
77fb9117
UD
19854 * Makeconfig: Define vardbdir and inst_vardbdir.
19855 * nss/Makefile: Add rules to install db-Makefile.
19856
40c1b22c
UD
19857 * nss/nss_db/db-XXX.c: Cleanup.
19858
9f2da732
UD
19859 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
19860 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
19861 GLIBC_PRIVATE.
19862 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
19863 * nss/makedb.c: Implement -g option to specify that value strings
19864 are generated and should not be added to table iterated over for
19865 get*ent calls.
19866 * nss/nss_db/db-initgroups.c: New file.
19867
82e9a1f7
UD
19868 * nss/getent.c: Add support for initgroups lookups through getgrouplist
19869 interface.
19870
c41af17e
UD
19871 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
19872 (internal_getgrouplist): Adjust to name change.
19873 Update use_initgroups_entry if this is not the first call.
19874 * nss/databases.def: Add initgroups entry.
19875
a9e836b0
UD
19876 * nss/makedb.c (compute_tables): Check result of multiple hash table
19877 sizes to minimize maximum chain length.
19878
2666d441
UD
198792011-06-14 Ulrich Drepper <drepper@gmail.com>
19880
19881 * Versions.def: Add entry for libnss_db.
19882 * shlib-versions: Likewise.
19883 * nss/Makefile: Add rules to build libnss_db.
19884 * nss/Versions: Add libnss_db information. Organize libnss_files
19885 entries better.
19886 * nss/db-Makefile: Add gshadow support. Change rules for the new
19887 makedb progra. Some minor improvements to generate smaller files.
19888 * nss/nss_db/nss_db.h: Move NSS database header data structures to
19889 here from...
19890 * nss/makedb.c: ...here.
19891 Improve database format to be smaller and require less memory at
19892 runtime.
19893 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
19894 db anymore.
19895 * nss/nss_db/db-netgrp.c: Likewise.
19896 * nss/nss_db/db-open.c: Likewise.
19897 * nss/nss_files/flies-XXX.x: Adjust comments.
19898 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
19899 * nss/nss_files/files-grp.c: Likewise.
19900 * nss/nss_files/files-hosts.c: Likewise.
19901 * nss/nss_files/files-network.c: Likewise.
19902 * nss/nss_files/files-proto.c: Likewise.
19903 * nss/nss_files/files-pwd.c: Likewise.
19904 * nss/nss_files/files-rpc.c: Likewise.
19905 * nss/nss_files/files-service.c: Likewise.
19906 * nss/nss_files/files-sgrp.c: Likewise.
19907 * nss/nss_files/files-spwd.c: Likewise.
19908 * nss/nss_db/db-alias.c: Removed.
19909 * nss/nss_db/dummy-db.h: Removed.
19910
9ee76b5a
UD
199112011-06-02 Ulrich Drepper <drepper@gmail.com>
19912
19913 * nss/makedb.c: Rewritten to not use database library.
19914 * nss/Makefile: Update to build new makedb program.
19915
c71ca1f8
AJ
199162011-06-14 Andreas Jaeger <aj@suse.de>
19917
19918 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
19919 memset declaration.
19920
3154bfb8
UD
199212011-06-10 Andreas Schwab <schwab@redhat.com>
19922
19923 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
19924 tmpbuf.
19925
b350afab
RM
199262011-06-10 Roland McGrath <roland@hack.frob.com>
19927
decd4e50
RM
19928 * Makerules (shlib.lds): Fail if the linker script comes out empty.
19929 * elf/Makefile ($(objpfx)ld.so): Likewise.
19930
5615eaf2
RM
19931 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
19932 Don't list ld.so twice in dependencies.
19933
19934 * posix/bug-regex31.c: Include <stdlib.h>.
19935
19936 * nscd/hstcache.c (cache_addhst): Remove unused variable.
19937
19938 * nis/nss_compat/compat-spwd.c
19939 (getspent_next_nss_netgr): Remove unused variable.
19940 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
19941
19942 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
19943 nonmembers" output to use the right array.
19944
19945 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
19946
19947 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
19948
19949 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
19950 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
19951 * catgets/gencat.c (read_input_file): Likewise.
19952 * locale/programs/locarchive.c (enlarge_archive): Likewise.
19953
19954 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
19955 variable definition inside #if's controlling its use.
19956
19957 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
19958
19959 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
19960
19961 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
19962
19963 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
19964 unreachable code.
19965
19966 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
19967
b68e08db
RM
19968 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
19969 * configure: Regenerated.
19970
b350afab
RM
19971 * Makerules: Revert last change.
19972 * elf/Makefile: Likewise.
19973
28368601
RM
199742011-06-09 Roland McGrath <roland@hack.frob.com>
19975
19976 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
19977 * elf/Makefile ($(objpfx)librtld.os): Likewise.
19978 (reloc-link): Likewise.
19979
11988f8f
UD
199802011-06-09 Ulrich Drepper <drepper@gmail.com>
19981
19982 * elf/Makefile: Add rules to build pldd.
19983 * elf/pldd.c: New file.
19984 * elf/pldd-xx.c: New file.
19985
e80fab37
UD
199862011-06-07 Ulrich Drepper <drepper@gmail.com>
19987
19988 * version.h: Update for 2.15 development version.
19989
9b849836
DM
199902011-06-07 David S. Miller <davem@davemloft.net>
19991
19992 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
19993 ifuncs.
19994 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
19995 elf_machine_lazy_rel): Likewise.
19996 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
19997 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
19998 elf_machine_lazy_rel): Likewise.
19999 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
20000 dl_hwcap via passed in argument.
20001 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
20002 Likewise.
20003
5a31b283
AK
200042011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20005
20006 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
20007
069e52f8
RM
200082011-06-06 Roland McGrath <roland@hack.frob.com>
20009
20010 [BZ #12849]
20011 * manual/fdl-1.1.texi: New file, verbatim from:
20012 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
20013 * manual/lgpl-2.1.texi: New file, verbatim from:
20014 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
20015 * manual/Makefile (licenses): New variable, list those new file names.
20016 (texis): Use it.
20017 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
20018
20019 * manual/fdl.texi: File removed.
20020 * manual/lesser.texi: File removed.
20021 * manual/libc.texinfo (Copying, Documentation License):
20022 Use new @include file names, put @appendix directive before @include.
20023
f16846a5
JJ
200242011-06-04 Jakub Jelinek <jakub@redhat.com>
20025
20026 [BZ #12841]
20027 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
20028 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
20029 (mq_open): Add __NTH.
20030
3d29045b
L
200312011-06-02 H.J. Lu <hongjiu.lu@intel.com>
20032
20033 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20034 Assume Intel Core i3/i5/i7 processor if AVX is available.
20035
8c297311
UD
200362011-05-31 Ulrich Drepper <drepper@gmail.com>
20037
20038 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20039 typo.
20040
c8fc0c91
UD
200412011-05-31 Andreas Schwab <schwab@redhat.com>
20042
20043 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
20044 memory. Use alloca_account. Fix memory leak when retrying.
20045
5b27a807
UD
200462011-05-31 Ulrich Drepper <drepper@gmail.com>
20047
356f8bc6
UD
20048 * version.h (RELEASE): Bump for 2.14 release.
20049 * include/features.h (__GLIBC_MINOR__): Bump to 14.
20050
5b27a807
UD
20051 * config.make.in (RANLIB): Remove entry.
20052
01f16ab0
UD
200532011-05-30 Ulrich Drepper <drepper@gmail.com>
20054
41fce8bd
UD
20055 * po/Makefile (po-sed-cmd): Add ksh to extensions.
20056 (libc.pot): Work around missing support for .ksh extension in xgettext.
20057
4769ae77
UD
20058 [BZ #12684]
20059 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
20060 if both request failed.
20061 (send_dg): In case of server errors clear resplen or *resplen2.
20062
6b1e7d19
UD
20063 [BZ #12454]
20064 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
20065 when there are multiple maps.
20066 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
20067 (_dl_fini): Remove test here.
20068
01f16ab0
UD
20069 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
20070
b1ebd700
UD
200712011-05-29 Ulrich Drepper <drepper@gmail.com>
20072
7ae22829
UD
20073 [BZ #12350]
20074 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
20075 bit from old_res_options.
20076 (gaih_inet): Likewise.
20077
553149f6 20078 [BZ #11099]
18a84741 20079 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
20080 as signed.
20081
652ffab1
UD
20082 * resolv/res_init.c (res_setoptions): Make the code more compact.
20083
16985fd0
UD
20084 [BZ #11558]
20085 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
20086 set RES_USEVC.
20087
0464f746
UD
20088 [BZ #11634]
20089 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
20090
7d17596c
UD
20091 * malloc/malloc.h: Mark malloc hook variables as deprecated.
20092
cf6bbbd7
UD
20093 [BZ #11781]
20094 * malloc/malloc.h: Declare malloc hook variables as volatile.
20095
13f1ab36
UD
20096 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
20097 in last patch.
20098
b1ebd700
UD
20099 [BZ #11799]
20100 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 20101 raise in the comment.
80e2212d
UD
20102 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20103 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20104 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 20105
ce67228d
UD
201062011-05-28 Ulrich Drepper <drepper@gmail.com>
20107
8887a920
UD
20108 [BZ #12811]
20109 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
20110 grow the buffers more if it already has to be sufficient.
20111 (build_wcs_upper_buffer): Likewise.
20112 * posix/regexec.c (check_matching): Likewise.
20113 (clean_state_log_if_needed): Likewise.
20114 (extend_buffers): Don't enlarge buffers beyond size of the input
20115 buffer.
20116 Patches mostly by Emil Wojak <emil@wojak.eu>.
20117 * posix/bug-regex32.c: New file.
20118 * posix/Makefile (tests): Add bug-regex32.
20119
4f031072
UD
20120 * locale/findlocale.c (_nl_find_locale): Return right away if
20121 _nl_explode_name failed.
20122 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
20123
d0478f0c
UD
20124 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
20125
de81b246
UD
20126 * debug/xtrace.sh: Unify messages.
20127 * malloc/memusage.sh: Likewise.
20128
c738465a
UD
20129 [BZ #12813]
20130 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
20131 time symbol from vDSO. Substitute with vsyscall if not available.
20132 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
20133 __vdso_time.
20134
f1f929d7
UD
20135 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
20136 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
20137 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
20138 Add sendmmsg and internal_sendmmsg.
20139 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
20140 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
20141 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
20142
ce67228d
UD
20143 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
20144 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
20145 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
20146
e57420c6
UD
201472011-05-27 Ulrich Drepper <drepper@gmail.com>
20148
a8509ca5
UD
20149 [BZ #12813]
20150 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
20151 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
20152 available.
20153 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
20154 __vdso_getcpu.
20155
e57420c6
UD
20156 [BZ #12814]
20157 * iconvdata/Makefile (tests): Add bug-iconv9.
20158 * iconvdata/bug-iconv9.c: New file.
20159
4d07db15
AS
201602011-05-27 Andreas Schwab <schwab@redhat.com>
20161
20162 [BZ #12814]
20163 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
20164
ea486f69
JJ
201652011-05-25 Jakub Jelinek <jakub@redhat.com>
20166
20167 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20168 (struct user_regs_struct): Change intcs field back to cs.
20169
6f038433
UD
201702011-05-25 Ulrich Drepper <drepper@gmail.com>
20171
20172 * po/ja.po: Update from translation team.
20173
67f86a25
UD
201742011-05-23 Ulrich Drepper <drepper@gmail.com>
20175
20176 [BZ #12795]
20177 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
20178 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
20179
def7fbd6
AS
201802011-05-20 Andreas Schwab <schwab@redhat.com>
20181
20182 * stdlib/longlong.h: Update from GCC.
20183
f50ef8f1
AS
201842011-05-23 Andreas Schwab <schwab@redhat.com>
20185
20186 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
20187 parameter name.
20188 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
20189 Add parameter name.
20190 (__sysconf): Pass it down.
20191
de7ce8f1
UD
201922011-05-22 Ulrich Drepper <drepper@gmail.com>
20193
f2962a71
UD
20194 [BZ #12671]
20195 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
20196 some situations.
20197 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
20198 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
20199 add in in __libc_use_alloca calls. Adjust callers.
20200 (glob): Use malloc in some situations.
20201
de7ce8f1
UD
20202 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
20203 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
20204 pltexit.
20205
aec84f53
UD
202062011-05-21 Ulrich Drepper <drepper@gmail.com>
20207
05bb4a68
UD
20208 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
20209 and CLOCK_BOOTTIME_ALARM.
20210
7ea72f99
UD
20211 [BZ #12782]
20212 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
20213 is returned.
20214
7e4afad5
UD
20215 * string/_strerror.c (__strerror_r): Print negative errors as signed
20216 numbers.
20217
8e211fec
UD
20218 [BZ #12777]
20219 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
20220 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
20221 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
20222
f7d82dc9
UD
20223 * configure.in: Fix typo in redirection and correct removal of test
20224 files in two cases.
20225
cc9e536d
UD
20226 [BZ #12788]
20227 * locale/setlocale.c (new_composite_name): Fix test to check for
20228 identical name of all categories.
20229
aec84f53
UD
20230 [BZ #12792]
20231 * libio/filedoalloc.c (local_isatty): New function.
20232 (_IO_file_doallocate): Use local_isatty.
20233 * stdio-common/perror.c (perror): In case a new stream is used
20234 forward the stream error.
20235 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
20236 error flag.
20237
78e64fdc
RT
202382011-05-20 Ulrich Drepper <drepper@gmail.com>
20239
34a9094f
UD
20240 [BZ #11869]
20241 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
20242 alloca.
20243 * include/alloca.h (extend_alloca_account): Define.
20244
78e64fdc
RT
20245 [BZ #11857]
20246 * posix/regex.h: Fix comments with documentation of user-accessible
20247 fields after compilation and describe correct free'ing of pattern
20248 after re_compile_pattern.
20249 Patch by Reuben Thomas <rrt@sc3d.org>.
20250
457bddfc
RA
202512011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
20252
20253 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
20254 and -mno-altivec to prevent the compiler from using Altivec and/or
20255 VSX instructions when the corresponding registers are not available.
20256
a4527b51
AS
202572011-05-19 Andreas Schwab <schwab@redhat.com>
20258
20259 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
20260
ed690b2f
UD
202612011-05-19 Ulrich Drepper <drepper@gmail.com>
20262
20263 * libio/freopen.c (freopen): Use __dup2, not dup2.
20264 * libio/freopen64.c (freopen64): Likewise.
20265
8db73634
L
202662011-05-17 H.J. Lu <hongjiu.lu@intel.com>
20267
20268 [BZ #12775]
20269 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
20270 * math/Makefile (tests): Add test-powl.
20271 (CFLAGS-test-powl.c): Define.
20272 * math/test-powl.c: New file.
20273
0a197a9d
L
202742011-05-16 H.J. Lu <hongjiu.lu@intel.com>
20275
20276 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
20277
ee30c380
UD
202782011-05-17 Ulrich Drepper <drepper@gmail.com>
20279
20280 [BZ #11837]
20281 * iconvdata/gb18030.c: Update to GB18020-2005.
20282
6ce75379
UD
202832011-05-16 Ulrich Drepper <drepper@gmail.com>
20284
a4b89fd8
AR
20285 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
20286 RE_SYNTAX_POSIX_AWK): Update to match recent development.
20287 Patch by Aharon Robbins <arnold@skeeve.com>.
20288
ea389b12
UD
20289 [BZ #11892]
20290 * stdlib/putenv.c (putenv): Don't always create copy of the variable
20291 on the stack.
20292
68a3f91f
UD
20293 [BZ #11895]
20294 * misc/pselect.c (__pselect): Handle timeout value errors hidden
20295 through underflows.
20296
15cc7dd1
UD
20297 [BZ #12766]
20298 * misc/error.c (error_at_line): Ensure file_name and old_file_name
20299 point to strings before performing equality test for error_one_per_line
20300 mode.
20301
f3799213
UD
20302 [BZ #11697]
20303 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
20304
d79a9c94
UD
20305 [BZ #11820]
20306 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20307 (struct user_fpregs_struct): Avoid __uint*_t types.
20308
56e5eb46
UD
20309 [BZ #6420]
20310 * malloc/mtrace.c (tr_where): Add additional parameter to point to
20311 symbol info. Use it instead of calling _dl_addr locally.
20312 (lock_and_info): New function.
20313 (tr_freehook): Call lock_and_info and pass symbol info as additional
20314 parameter to tr_where.
20315 (tr_mallochook): Likewise.
20316 (tr_reallochook): Likewise.
20317 (tr_memalignhook): Likewise.
20318
6ce75379
UD
20319 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
20320 used and couldn't be at all thread-safe.
20321
f8a3b5bf
UD
203222011-05-15 Ulrich Drepper <drepper@gmail.com>
20323
94b7cc37
UD
20324 * libio/freopen.c (freopen): Don't close old file descriptor
20325 before the new one is opened. Instead dup the new file descriptor
20326 to the old one after the new stream is created.
20327 * libio/freopen64.c (freopen64): Likewise.
20328 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
20329 * libio/fileops.c (_IO_new_file_close_it): Handle new
20330 _IO_FLAGS2_NOCLOSE flag.
20331 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
20332 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
20333 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
20334 _IO_FLAGS2_NOCLOSE flag.
20335 * include/unistd.h: Add hidden_proto for dup3.
20336 Define __have_dup3.
20337 * io/dup3.c: Define hidden symbol.
20338 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
20339
bd25564e
UD
20340 [BZ #7101]
20341 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
20342 when an incomplete long option is used.
20343 * posix/tst-getopt_long1.c: New file.
20344 * posix/Makefile (tests): Add tst-getopt_long1.
20345
c84cfef4
UD
20346 [BZ #10138]
20347 * scripts/config.guess: Update from autoconf-2.68.
20348 * scripts/config.sub: Likewise.
20349
3b85df27
UD
20350 [BZ #10157]
20351 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
20352 tests into ...
20353 (has_cpuclock): ...this. New function.
20354 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
20355 macro here based on has_cpuclock code.
20356
15a856b1
UD
20357 [BZ #10149]
20358 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20359 First byte (not low byte) is now always NUL.
20360 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
20361
05f399e6
UD
20362 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20363 Use non-cancelable interfaces.
20364
10a52685 20365 [BZ #9809]
94ecc67d
UD
20366 * locale/iso-639.def: Add entry for Sorani.
20367
f8a3b5bf
UD
20368 [BZ #11901]
20369 * include/stdlib.h: Move include protection to the right place.
20370 Define abort_msg_s. Declare __abort_msg with it.
20371 * stdlib/abort.c (__abort_msg): Adjust type.
20372 * assert/assert.c (__assert_fail_base): New function. Majority
20373 of code from __assert_fail. Allocate memory for __abort_msg with
20374 mmap.
20375 (__assert_fail): Now call __assert_fail_base.
20376 * assert/assert-perr.c: Remove bulk of implementation. Use
20377 __assert_fail_base.
20378 * include/assert.hL Declare __assert_fail_base.
20379 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
20380 mmap.
20381 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
20382
1af4e298
UD
203832011-05-14 Ulrich Drepper <drepper@gmail.com>
20384
f8a3b5bf 20385 [BZ #11952]
d26dfc60
MG
20386 [BZ #12453]
20387 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
20388 until all modules are registered in the DTV.
20389 * elf/Makefile: Add rules to build and run tst-tls19.
20390 * elf/tst-tls19.c: New file.
20391 * elf/tst-tls19mod1.c: New file.
20392 * elf/tst-tls19mod2.c: New file.
20393 * elf/tst-tls19mod3.c: New file.
20394 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
20395
2fc54d6f
UD
20396 [BZ #12083]
20397 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
20398 correctly.
20399
98d76b46
UD
20400 [BZ #12601]
20401 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
20402 two-byte sequence errors.
20403 * iconvdata/Makefile (tests): Add bug-iconv8.
20404 * iconvdata/bug-iconv8.c: New file.
20405
da3c19ef
UD
20406 [BZ #12626]
20407 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
20408 buf2 definition.
20409
ca408c15
UD
20410 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
20411
d6f67f7d
UD
20412 [BZ #12432]
20413 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
20414 (dummy_getcfa): New function.
20415 (init): Get _Unwind_GetCFA address, use dummy if not found.
20416 (backtrace_helper): In recursion check, also check whether CFA changes.
20417 (__backtrace): Completely initialize arg.
20418
1af4e298 20419 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
20420 storing incomplete byte sequence in state object. Avoid testing for
20421 guaranteed too small input if we know there is enough data available.
1af4e298 20422
da62f81b
AS
204232011-05-11 Andreas Schwab <schwab@redhat.com>
20424
20425 * Makeconfig (+link-pie): Indent.
20426 * Rules (binaries-pie): Define if $(have-fpie) and
20427 $(build-shared).
20428 (binaries-shared): Also filter out $(binaries-pie).
20429 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
20430 * nscd/Makefile (others-pie): Add nscd.
20431 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
20432 ($(objpfx)nscd): Remove command override.
20433 * login/Makefile (others-pie): Add pt_chown.
20434 ($(objpfx)pt_chown): Remove command override.
20435 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
20436 remove command overrides.
20437
fcabc0f8
UD
204382011-05-13 Ulrich Drepper <drepper@gmail.com>
20439
20030ae6
UD
20440 * libio/tst_putwc.c: Fix error messages.
20441
fcabc0f8
UD
20442 [BZ #12724]
20443 * libio/fileops.c (_IO_new_file_close_it): Always flush when
20444 currently writing and seek to current position when not.
20445 * libio/Makefile (tests): Add bug-fclose1.
20446 * libio/bug-fclose1.c: New file.
20447
320a5dc0
PB
204482011-05-12 Ulrich Drepper <drepper@gmail.com>
20449
20450 [BZ #12511]
20451 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
20452 don't set DF_1_NODELETE here.
20453 (do_lookup_x): When entering new entry test for copy relocation
20454 and if necessary set DF_1_NODELETE flag.
20455 * elf/tst-unique4.cc: New file.
20456 * elf/tst-unique4.h: New file.
20457 * elf/tst-unique4lib.cc: New file.
20458 * elf/Makefile: Add rules to build and run tst-unique4.
20459 Patch by Piotr Bury <pbury@goahead.com>.
20460
22836f52
UD
204612011-05-11 Ulrich Drepper <drepper@gmail.com>
20462
f574184a
UD
20463 [BZ #12052]
20464 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
20465
e1fb097f
UD
20466 [BZ #12625]
20467 * misc/mntent_r.c (addmntent): Flush the stream after the output
20468
22836f52
UD
20469 [BZ #12393]
20470 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
20471 (is_trusted_path_normalize): Skip initial colon. Append slash
20472 to empty buffer. Duplicate is_trusted_path code but allow
20473 constructed patch to be prefix.
20474 (is_dst): Allow $ORIGIN followed by /.
20475 (_dl_dst_substitute): Correct clearing of check_for_trusted.
20476 Correct testing of result of is_trusted_path_normalize
20477 (decompose_rpath): Fix warning.
20478
7b3b0b2a
UD
204792011-05-10 Ulrich Drepper <drepper@gmail.com>
20480
20481 [BZ #11257]
20482 * grp/initgroups.c (internal_getgrouplist): When we found the service
20483 list through the initgroups entry in nsswitch.conf do not always
20484 continue on a successful lookup. Don't always use the
eac80ce2 20485 __nss_group_database value if it is set.
7b3b0b2a
UD
20486 * nss/nsswitch.conf (initgroups): Change action for successful db
20487 lookup to continue for compatibility.
20488
2a81eaa5
UD
204892011-05-09 Ulrich Drepper <drepper@gmail.com>
20490
be97a69e
UD
20491 [BZ #11532]
20492 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
20493 and CP774 modules.
20494 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
20495 and CP774 modules.
20496 * iconvdata/tst-tables.sh: Likewise.
20497 * iconvdata/cp770.c: New file.
20498 * iconvdata/cp771.c: New file.
20499 * iconvdata/cp772.c: New file.
20500 * iconvdata/cp773.c: New file.
20501 * iconvdata/cp774.c: New file.
20502 * iconvdata/testdata/CP770: New file.
20503 * iconvdata/testdata/CP770..UTF8: New file.
20504 * iconvdata/testdata/CP771: New file.
20505 * iconvdata/testdata/CP771..UTF8: New file.
20506 * iconvdata/testdata/CP772: New file.
20507 * iconvdata/testdata/CP772..UTF8: New file.
20508 * iconvdata/testdata/CP773: New file.
20509 * iconvdata/testdata/CP773..UTF8: New file.
20510 * iconvdata/testdata/CP774: New file.
20511 * iconvdata/testdata/CP774..UTF8: New file.
20512
20513 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
20514 END CHARMAP line.
20515 * iconvdata/gen-8bit-gap.sh: Likewise.
20516 * iconvdata/gen-8bit.sh: Likewise.
20517
c1e9e399
UD
20518 * locale/iso-639.def: Add ary entry.
20519
24c55fb3 20520 [BZ #11258]
96b4b1b0
UD
20521 * locale/C-translit.h.in: Add U20A1 transliteration.
20522
bdc2f971
KB
20523 [BZ #12178]
20524 * locale/iso-639.def: Add wae entry.
20525 Patch by Kevin Bortis <bortis@translate-wae.ch>.
20526
2952b117
UD
20527 [BZ #12545]
20528 * locale/programs/localedef.c (construct_output_path): Use ssize_t
20529 for n.
20530
2a81eaa5
UD
20531 [BZ #12711]
20532 * locale/C-translit.h.in: Add entry for U20B9.
20533 Patch by pravin.d.s@gmail.com.
20534
28377d1b
UD
205352011-05-08 Ulrich Drepper <drepper@gmail.com>
20536
7fb90fb8
UD
20537 [BZ #12713]
20538 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
20539 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
20540 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
20541 in rtld. Use *stat64.
7fb90fb8 20542 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 20543 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 20544 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
20545 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
20546 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
20547 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
20548 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
20549 __fstatat64 macros.
7fb90fb8
UD
20550 * include/dirent.h: Add libc_hidden_proto for rewinddir.
20551 * dirent/rewinddir.c: Add libc_hidden_def.
20552 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 20553 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 20554
28377d1b
UD
20555 * include/dirent.h (__alloc_dir): Add flags parameter.
20556 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
20557 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
20558 __alloc_dir.
20559 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
20560 from fdopendir if O_CLOEXEC is already set.
20561
66bdbaa4
AM
205622011-03-15 Alan Modra <amodra@gmail.com>
20563
20564 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
20565 l_tls_firstbyte_offset non-zero. Save padding offset in
20566 l_tls_firstbyte_offset for later use.
20567 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
20568 freeing static tls block.
20569
95721191
JN
205702011-03-05 Jonathan Nieder <jrnieder@gmail.com>
20571
20572 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
20573 where #ifdef was intended. The intent is to prevent ARG_MAX from
20574 being defined by the kernel headers.
20575
f87dfb1f
UD
205762011-05-07 Ulrich Drepper <drepper@gmail.com>
20577
20578 [BZ #12734]
20579 * resolv/resolv.h: Define RES_NOTLDQUERY.
20580 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
20581 no-tld-query and set RES_NOTLDQUERY.
20582 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
20583 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
20584 modern BIND to search name as TLD unless forbidden.
20585
47c3cd7a
UD
205862011-05-07 Petr Baudis <pasky@suse.cz>
20587 Ulrich Drepper <drepper@gmail.com>
20588
20589 [BZ #12393]
20590 * elf/dl-load.c (fillin_rpath): Move trusted path check...
20591 (is_trusted_path): ...to here.
c1e9ea35 20592 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 20593 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 20594 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 20595
8a35c912
PP
205962011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20597
20598 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
20599 __BEGIN/__END_DECLS.
20600
acd41f47
UD
206012011-05-06 Ulrich Drepper <drepper@gmail.com>
20602
20603 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
20604 NSS_STATUS_NOTFOUND if no record was found.
20605
597df647
AS
206062011-05-05 Andreas Schwab <schwab@redhat.com>
20607
20608 * sunrpc/Makefile (headers): Add rpc/netdb.h.
20609 (headers-not-in-tirpc): Remove rpc/netdb.h
20610 * resolv/netdb.h: Revert last change.
20611
b9af1301
PP
206122011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20613
20614 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
20615 circular dependency between libgcc.a and libc.a.
20616
4e34d5f5
AS
206172011-05-05 Andreas Schwab <schwab@redhat.com>
20618
20619 * resolv/netdb.h: Don't include <rpc/netdb.h>.
20620 * nis/Makefile: Don't install rpcsvc/*.
20621 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
20622 instead of <rpc/types.h>.
20623 (MAXHOSTNAMELEN): Define.
20624
00ee369c
AS
206252011-05-03 Andreas Schwab <schwab@redhat.com>
20626
20627 * elf/ldconfig.c (add_dir): Don't crash on empty path.
20628
0b592a30
MB
206292011-04-28 Maciej Babinski <mbabinski@google.com>
20630
20631 [BZ #12714]
20632 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
20633 gethostbyname4_r when IPv6 results are possible.
20634
6e04cbbe
UD
206352011-05-02 Ulrich Drepper <drepper@gmail.com>
20636
20637 [BZ #12723]
20638 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
20639 _PC_PIPE_BUF handling.
20640
e4ecafe0
BH
206412011-04-30 Bruno Haible <bruno@clisp.org>
20642
20643 [BZ #12717]
20644 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
20645 * resolv/netdb.h (getnameinfo): Change type of flags parameter
20646 to 'int'.
20647 * inet/getnameinfo.c (getnameinfo): Likewise.
20648
125ee683
UD
206492011-04-29 Ulrich Drepper <drepper@gmail.com>
20650
20651 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
20652 to groups setting in database lookup.
20653 * nss/nsswitch.conf: Add initgroups entry.
20654
b722481a
EB
206552011-04-22 Ulrich Drepper <drepper@gmail.com>
20656
20657 [BZ #12685]
20658 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
20659 mode string.
20660 Patch by Eric Blake <eblake@redhat.com>.
20661
4df46dbd
L
206622011-04-20 H.J. Lu <hongjiu.lu@intel.com>
20663
20664 * sunrpc/Makefile (need-export-routines): Add svc_run.
20665 (routines): Remove svc_run.
20666 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
20667 * sunrpc/clnt_perr.c (clnt_perrno): Export.
20668 * sunrpc/svc_run.c (svc_run): Likewise.
20669 * sunrpc/svc_udp.c (svcudp_create): Likewise.
20670
e84142d2
UD
206712011-04-21 Ulrich Drepper <drepper@gmail.com>
20672
20673 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
20674 problem in reallocation in last patch.
20675
877175d8
UD
206762011-04-20 Ulrich Drepper <drepper@gmail.com>
20677
20678 * sunrpc/Makefile: Move inclusion of Rules.
20679
ab8eed78
UD
206802011-04-19 Ulrich Drepper <drepper@gmail.com>
20681
20682 * nss/nss_files/files-initgroups.c: New file.
20683 * nss/Makefile (libnss_files-routines): Add files-initgroups.
20684 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
20685 _nss_files_initgroups_dyn.
20686
e3d8f584
RS
206872011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
20688
20689 * elf/elf.h (R_ARM_IRELATIVE): Define.
20690
af190f45
UD
206912011-04-19 Ulrich Drepper <drepper@gmail.com>
20692
20693 * po/ru.po: Update from translation team.
20694
53cf59ef
UD
206952011-04-17 Ulrich Drepper <drepper@gmail.com>
20696
20697 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
20698 dependencies.
20699
4c559bcd
MF
207002011-02-06 Mike Frysinger <vapier@gentoo.org>
20701
20702 [BZ #12653]
20703 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
20704 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
20705 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20706 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20707 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20708
4420675c
AS
207092011-03-28 Andreas Schwab <schwab@linux-m68k.org>
20710
20711 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
20712 differing bytes.
20713 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20714 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20715 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20716
75ea32ab
UD
207172011-04-17 Ulrich Drepper <drepper@gmail.com>
20718
20719 [BZ #12420]
20720 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
20721 storing it.
20722 * stdlib/bug-getcontext.c: New file.
20723 * stdlib/Makefile: Add rules to build and run bug-getcontext.
20724
27390476
AK
207252011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20726
20727 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
20728 instructions into .machine "z9-109".
20729 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
20730 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
20731
10442705
AK
207322011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20733
20734 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
20735 between environment variables and auxiliary vector.
20736
7b57bfe5
UD
207372011-04-16 Ulrich Drepper <drepper@gmail.com>
20738
20739 * Makefile: Add rules to build linkobj/libc.so.
20740 * include/libc-symbols.h: Define libc_hidden_nolink.
20741 * include/rpc/auth.h: Mark functions which are to be hidden.
20742 * include/rpc/auth_des.h: Likewise.
20743 * include/rpc/auth_unix.h: Likewise.
20744 * include/rpc/clnt.h: Likewise.
20745 * include/rpc/des_crypt.h: Likewise.
20746 * include/rpc/key_prot.h: Likewise.
20747 * include/rpc/pmap_clnt.h: Likewise.
20748 * include/rpc/pmap_prot.h: Likewise.
20749 * include/rpc/pmap_rmt.h: Likewise.
20750 * include/rpc/rpc_msg.h: Likewise.
20751 * include/rpc/svc.h: Likewise.
20752 * include/rpc/svc_auth.h: Likewise.
20753 * include/rpc/xdr.h: Likewise.
20754 * nis/Makefile: Link all DSOs against linkobj/libc.so.
20755 * nss/Makefile: Likewise.
20756 * sunrpc/Makefile: Don't install headers. Build library with normal
20757 entry points. Don't build rpcinfo. Link RPC tests appropriately.
20758 * sunrpc/auth_des.c: Hide exported symbols by default, export some
20759 for the compat linking library. Remove use of INTDEF/INTUSE.
20760 * sunrpc/auth_none.c: Likewise.
20761 * sunrpc/auth_unix.c: Likewise.
20762 * sunrpc/authdes_prot.c: Likewise.
20763 * sunrpc/authuxprot.c: Likewise.
20764 * sunrpc/clnt_gen.c: Likewise.
20765 * sunrpc/clnt_perr.c: Likewise.
20766 * sunrpc/clnt_raw.c: Likewise.
20767 * sunrpc/clnt_simp.c: Likewise.
20768 * sunrpc/clnt_tcp.c: Likewise.
20769 * sunrpc/clnt_udp.c: Likewise.
20770 * sunrpc/clnt_unix.c: Likewise.
20771 * sunrpc/des_crypt.c: Likewise.
20772 * sunrpc/des_soft.c: Likewise.
20773 * sunrpc/get_myaddr.c: Likewise.
20774 * sunrpc/key_call.c: Likewise.
20775 * sunrpc/key_prot.c: Likewise.
20776 * sunrpc/netname.c: Likewise.
20777 * sunrpc/pm_getmaps.c: Likewise.
20778 * sunrpc/pm_getport.c: Likewise.
20779 * sunrpc/pmap_clnt.c: Likewise.
20780 * sunrpc/pmap_prot.c: Likewise.
20781 * sunrpc/pmap_prot2.c: Likewise.
20782 * sunrpc/pmap_rmt.c: Likewise.
20783 * sunrpc/publickey.c: Likewise.
20784 * sunrpc/rpc_cmsg.c: Likewise.
20785 * sunrpc/rpc_common.c: Likewise.
20786 * sunrpc/rpc_dtable.c: Likewise.
20787 * sunrpc/rpc_prot.c: Likewise.
20788 * sunrpc/rpc_thread.c: Likewise.
20789 * sunrpc/rtime.c: Likewise.
20790 * sunrpc/svc.c: Likewise.
20791 * sunrpc/svc_auth.c: Likewise.
20792 * sunrpc/svc_authux.c: Likewise.
20793 * sunrpc/svc_raw.c: Likewise.
20794 * sunrpc/svc_run.c: Likewise.
20795 * sunrpc/svc_simple.c: Likewise.
20796 * sunrpc/svc_tcp.c: Likewise.
20797 * sunrpc/svc_udp.c: Likewise.
20798 * sunrpc/svc_unix.c: Likewise.
20799 * sunrpc/svcauth_des.c: Likewise.
20800 * sunrpc/xcrypt.c: Likewise.
20801 * sunrpc/xdr.c: Likewise.
20802 * sunrpc/xdr_array.c: Likewise.
20803 * sunrpc/xdr_float.c: Likewise.
20804 * sunrpc/xdr_intXX_t.c: Likewise.
20805 * sunrpc/xdr_mem.c: Likewise.
20806 * sunrpc/xdr_rec.c: Likewise.
20807 * sunrpc/xdr_ref.c: Likewise.
20808 * sunrpc/xdr_sizeof.c: Likewise.
20809 * sunrpc/xdr_stdio.c: Likewise.
20810
e6c61494
UD
208112011-04-10 Ulrich Drepper <drepper@gmail.com>
20812
20813 [BZ #12650]
20814 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
20815 * sysdeps/ia64/dl-tls.h: Likewise.
20816 * sysdeps/powerpc/dl-tls.h: Likewise.
20817 * sysdeps/s390/dl-tls.h: Likewise.
20818 * sysdeps/sh/dl-tls.h: Likewise.
20819 * sysdeps/sparc/dl-tls.h: Likewise.
20820 * sysdeps/x86_64/dl-tls.h: Likewise.
20821 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
20822
34fe483e
AS
208232011-03-14 Andreas Schwab <schwab@redhat.com>
20824
20825 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
20826 rpath element also skip the following colon.
20827 (expand_dynamic_string_token): Add is_path parameter and pass
20828 down to DL_DST_REQUIRED and _dl_dst_substitute.
20829 (decompose_rpath): Call expand_dynamic_string_token with
20830 non-zero is_path. Ignore empty rpaths.
20831 (_dl_map_object_from_fd): Call expand_dynamic_string_token
20832 with zero is_path.
20833
f12a32e6
AS
208342011-04-08 Andreas Schwab <schwab@linux-m68k.org>
20835
20836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
20837 Make cancelable.
20838
38a7d692
UD
208392011-04-09 Ulrich Drepper <drepper@gmail.com>
20840
20841 [BZ #12655]
20842 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
20843 Patch by Filipe David Manana <fdmanana@apache.org>.
20844
e451d22b
AS
208452011-04-07 Andreas Schwab <schwab@redhat.com>
20846
20847 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
20848 Maintain aligned stack.
20849 (CHECK_RSP): Remove unused macro.
20850
dedc7c7b
UD
208512011-04-03 Ulrich Drepper <drepper@gmail.com>
20852
20853 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
20854 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
20855
94521213
UD
208562011-04-02 Ulrich Drepper <drepper@gmail.com>
20857
20858 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
20859
8cb700c0 20860 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 20861
0354e355
L
208622011-03-26 H.J. Lu <hongjiu.lu@intel.com>
20863
20864 [BZ #12518]
20865 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
20866 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
20867 * sysdeps/x86_64/memmove.c: New file.
20868 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
20869 (memcpy): Renamed to ...
20870 (__new_memcpy): This.
20871 (memcpy): Provide GLIBC_2_14 memcpy.
20872 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
20873 (memcpy): Provide GLIBC_2_2_5 memcpy.
20874
8593482f
UD
208752011-04-01 Ulrich Drepper <drepper@gmail.com>
20876
20877 [BZ #12631]
20878 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
20879
81a5726b
AS
208802011-03-30 Andreas Schwab <schwab@redhat.com>
20881
20882 * misc/syncfs.c: New file.
20883 * misc/Makefile (routines): Add syncfs.
20884 * posix/unistd.h: Declare syncfs.
20885 * sysdeps/unix/syscalls.list: Add syncfs.
20886
00e5419f
AS
208872011-04-01 Andreas Schwab <schwab@redhat.com>
20888
20889 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
20890 open_by_handle_at.
20891 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
20892 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20893 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20894 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20895 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20896 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
20897 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20898
748876bf
UD
208992011-04-01 Ulrich Drepper <drepper@gmail.com>
20900
658e451d
UD
20901 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
20902 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20903 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
20904 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20905 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20906 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20907 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20908
748876bf
UD
20909 * io/Makefile: Compile fallocate.c, fallocate64.c, and
20910 sync_file_range.c with -fexceptions.
20911 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
20912 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
20913 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
20914 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
20915 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
20916 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
20917 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
20918 sync_file_range as cancellation point
20919 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
20920 now a wrapper around __call_sync_file_range with cancellation handling.
20921 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
20922 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
20923 function name to __call_sync_file_range.
20924 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
20925 Add call_sync_file_range.
748876bf 20926
6e63d5e1
AS
209272011-04-01 Andreas Schwab <schwab@redhat.com>
20928
20929 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 20930 bits/timex.h.
6e63d5e1 20931
46998f74
UD
209322011-04-01 Ulrich Drepper <drepper@gmail.com>
20933
4c1423ed
UD
20934 * iconv/iconv.h: Fix typo in comment.
20935 * io/fcntl.h: Likewise.
20936 * libio/stdio.h: Likewise.
20937 * posix/spawn.h: Likewise.
20938 * posix/unistd.h: Likewise.
20939 * stdlib/stdlib.h: Likewise.
20940 * time/time.h: Likewise.
20941 * wcsmbs/wchar.h: Likewise.
20942
158648c0
UD
20943 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
20944 open_by_handle): Add.
20945 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
20946 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
20947 Augment a few comments.
20948 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20949 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20950 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20951 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20952 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20953 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
20954 open_by_handle.
20955
46998f74
UD
20956 * io/fcntl.h (AT_EMPTY_PATH): Define.
20957
83fe108b
UD
209582011-03-30 Ulrich Drepper <drepper@gmail.com>
20959
20960 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
20961 * sysdeps/unix/sysv/linux/bits/time.h: New file.
20962 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
20963 to...
20964 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
20965 * Versions.def: Add GLIBC_2.14.
20966 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
20967 Export.
83fe108b 20968
bb242059
UD
209692011-03-22 Ulrich Drepper <drepper@gmail.com>
20970
20971 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
20972 round counter.
20973 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
20974
c97a1282
L
209752011-03-20 H.J. Lu <hongjiu.lu@intel.com>
20976
20977 [BZ #12597]
20978 * string/test-strncmp.c (do_page_test): New function.
20979 (check2): Likewise.
20980 (test_main): Call check2.
20981 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
20982
2a115601
UD
209832011-03-20 Ulrich Drepper <drepper@gmail.com>
20984
20985 [BZ #12587]
20986 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
20987 Handle cache information in CPU leaf 4.
20988 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
20989
8126d904
UD
209902011-03-18 Ulrich Drepper <drepper@gmail.com>
20991
042c49c6 20992 [BZ #12583]
8126d904
UD
20993 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
20994 character representation.
20995 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
20996
ccfe366e
RA
209972011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
20998
20999 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
21000 END(__isnan) to END(__isnanf) to match function entry point/label
21001 EALIGN(__isnanf,...).
21002
c6e13027
JJ
210032011-03-10 Jakub Jelinek <jakub@redhat.com>
21004
21005 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
21006
33f85a3f
UD
210072011-03-10 Ulrich Drepper <drepper@gmail.com>
21008
028478fa
UD
21009 [BZ #12510]
21010 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
21011 copy from the symbol referenced in the relocation to initialize the
21012 used variable.
21013 Patch by Piotr Bury <pbury@goahead.com>.
21014 * elf/Makefile: Add rules to build and tst-unique3.
21015 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
21016 * elf/tst-unique3.cc: New file.
21017 * elf/tst-unique3.h: New file.
21018 * elf/tst-unique3lib.cc: New file.
21019 * elf/tst-unique3lib2.cc: New file.
21020
33f85a3f
UD
21021 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
21022
03592fc7
MF
210232011-03-10 Mike Frysinger <vapier@gentoo.org>
21024
21025 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
21026 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
21027 to _start.
03592fc7 21028
6a5ee102
UD
210292011-03-06 Ulrich Drepper <drepper@gmail.com>
21030
21031 * elf/dl-load.c (_dl_map_object): If we are looking for the first
21032 to-be-loaded object along a path to loader is ld.so.
21033
7e4ba49c
HJ
210342011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21035 Ulrich Drepper <drepper@gmail.com>
21036
21037 * sysdeps/x86_64/memset.S: After aligning destination, code
21038 branches to different locations depending on the value of
21039 misalignment, when multiarch is enabled. Fix this.
21040
210412011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21042
21043 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
21044 Set _x86_64_preferred_memory_instruction for AMD processsors.
21045 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21046 Set bit_Prefer_SSE_for_memop for AMD processors.
21047
13a804de
UD
210482011-03-04 Ulrich Drepper <drepper@gmail.com>
21049
21050 * libio/fmemopen.c (fmemopen): Optimize a bit.
21051
9d25c392
AS
210522011-03-03 Andreas Schwab <schwab@redhat.com>
21053
21054 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
21055
a5543c6a
RM
210562011-03-03 Roland McGrath <roland@redhat.com>
21057
21058 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
21059
012d35f7
DM
210602011-02-28 Aurelien Jarno <aurelien@aurel32.net>
21061
7e4ba49c 21062 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
21063 __bzero_ultra1 instead of __memset_ultra1.
21064
4bff6e01
AS
210652011-02-23 Andreas Schwab <schwab@redhat.com>
21066 Ulrich Drepper <drepper@gmail.com>
21067
21068 [BZ #12509]
21069 * include/link.h (struct link_map): Add l_orig_initfini.
21070 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
21071 returning unsuccessfully.
21072 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
21073 close of a file loaded at startup, restore the original l_initfini
21074 list.
21075 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
21076 list, store the pointer.
21077 * elf/Makefile ($(objpfx)noload-mem): New rule.
21078 (noload-ENV): Define.
21079 (tests): Add $(objpfx)noload-mem.
21080 * elf/noload.c: Include <memcheck.h>.
21081 (main): Call mtrace. Close all opened handles.
21082
f2092faf
AS
210832011-02-17 Andreas Schwab <schwab@redhat.com>
21084
21085 [BZ #12454]
21086 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
21087 dependencies are missing.
21088
6c8a2e88
ST
210892011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
21090
f2092faf 21091 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
21092 Hurd needs munmap.
21093 * sysdeps/mach/hurd/ifreq.h: New file.
21094
84a42118
PB
210952011-01-27 Petr Baudis <pasky@suse.cz>
21096 Ulrich Drepper <drepper@gmail.com>
21097
071f805e 21098 [BZ 12445]#
84a42118
PB
21099 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
21100 to extend_alloca().
21101 * stdio-common/bug23.c: New file.
21102 * stdio-common/Makefile (tests): Add bug23.
21103
e23fe25b
AS
211042010-09-28 Andreas Schwab <schwab@redhat.com>
21105 Ulrich Drepper <drepper@gmail.com>
21106
21107 [BZ #12489]
21108 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
21109 before performing relro protection. At old place add assertion
21110 to make sure nothing changed.
21111
d3f02e10
NS
211122011-02-17 Nathan Sidwell <nathan@codesourcery.com>
21113 Glauber de Oliveira Costa <glommer@gmail.com>
21114
21115 * elf/elf.h: Add new ARM TLS relocs.
21116
d55fd7a5
RA
211172011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
21118
21119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21120 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
21121 cast from r3.
21122 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
21123 'tests' variable.
21124 * sysdeps/wordsize-64/tst-writev.c: New file.
21125
2206397e
RA
211262011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
21127
21128 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
21129 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
21130 insns in _dl_start to prevent a TOC reference before relocs are
21131 resolved.
21132
e9433893
UD
211332011-02-15 Ulrich Drepper <drepper@gmail.com>
21134
21135 [BZ #12469]
21136 * Makeconfig: Remove RANLIB definition.
21137 * Makerules: Don't use RANLIB.
21138 * aclocal.m4: Remove ranlib test.
21139 * configure.in: No need to check for ranlib.
21140 * elf/rtld-Rules: Don't use RANLIB.
21141
f75286c6
ST
211422011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
21143
8e31c82d
ST
21144 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
21145 protection macro.
21146 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
21147 inclusion protection macro.
21148
f75286c6
ST
21149 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
21150 SIGRTMIN and SIGRTMAX and print information in that case only when
21151 SIGRTMIN is defined.
21152
c1d0e639
JJ
211532011-02-11 Jakub Jelinek <jakub@redhat.com>
21154
21155 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
21156 arginfo fn returning -1.
21157
21158 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
21159 and thousands string is zero terminated.
21160
edf9294e
AS
211612011-02-03 Andreas Schwab <schwab@redhat.com>
21162
21163 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
21164 sysdeps/unix/sysv/linux/bits/socket.h.
21165
2b7e92df
ST
211662011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
21167
edf9294e
AS
21168 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
21169 (__CPU_COUNT): Remove old macros.
21170 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
21171 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
21172 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
21173 (__sched_cpualloc, __sched_cpufree): Add declarations.
21174
a4c7ea7b
UD
211752011-02-05 Ulrich Drepper <drepper@gmail.com>
21176
21177 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
21178 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
21179 * nscd/aicache.c (addhstaiX): Return timeout of added value.
21180 (readdhstai): Return value of addhstaiX call.
21181 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
21182 (addgrbyX): Return value returned by cache_addgr.
21183 (readdgrbyname): Return value returned by addgrbyX.
21184 (readdgrbygid): Likewise.
21185 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
21186 (addpwbyX): Return value returned by cache_addpw.
21187 (readdpwbyname): Return value returned by addhstbyX.
21188 (readdpwbyuid): Likewise.
21189 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
21190 (addservbyX): Return value returned by cache_addserv.
21191 (readdservbyname): Return value returned by addservbyX:
21192 (readdservbyport): Likewise.
21193 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
21194 (addhstbyX): Return value returned by cache_addhst.
21195 (readdhstbyname): Return value returned by addhstbyX.
21196 (readdhstbyaddr): Likewise.
21197 (readdhstbynamev6): Likewise.
21198 (readdhstbyaddrv6): Likewise.
21199 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
21200 (readdinitgroups): Return value returned by addinitgroupsX.
21201 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
21202 (prune_cache): Keep track of timeout value of re-added entries.
21203 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
21204 * nscd/nscd.h: Adjust prototypes of readd* functions.
21205
a0bf67cc
RM
212062011-02-04 Roland McGrath <roland@redhat.com>
21207
21208 * nis/nis_server.c (nis_servstate): Use the right name for 0.
21209 (nis_stats): Likewise.
21210 * nis/nis_modify.c (nis_modify): Likewise.
21211 * nis/nis_remove.c (nis_remove): Likewise.
21212 * nis/nis_add.c (nis_add): Likewise.
21213
21214 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
21215
21216 * posix/fnmatch_loop.c: Add some consts.
21217
21218 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
21219
435b95eb
L
212202011-02-02 H.J. Lu <hongjiu.lu@intel.com>
21221
21222 [BZ #12460]
21223 * config.make.in (config-cflags-novzeroupper): Define.
21224 * configure.in: Substitute libc_cv_cc_novzeroupper.
21225 * elf/Makefile (AVX-CFLAGS): Define.
21226 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
21227 (CFLAGS-tst-auditmod4a.c): Likewise.
21228 (CFLAGS-tst-auditmod4b.c): Likewise.
21229 (CFLAGS-tst-auditmod6b.c): Likewise.
21230 (CFLAGS-tst-auditmod6c.c): Likewise.
21231 (CFLAGS-tst-auditmod7b.c): Likewise.
21232 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
21233
8517b15e
UD
212342011-02-02 Ulrich Drepper <drepper@gmail.com>
21235
21236 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
21237 function to the callback.
21238 Patch partly by Jiri Olsa <jolsa@redhat.com>.
21239
10a656fe
AS
212402011-02-02 Andreas Schwab <schwab@redhat.com>
21241
21242 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
21243 of errno.
21244
968dad0a
UD
212452011-01-19 Ulrich Drepper <drepper@gmail.com>
21246
9f94d2ea 21247 [BZ #11724]
968dad0a
UD
21248 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
21249 of constructors.
21250 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
21251 of destructors.
21252 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
21253
21254 [BZ #11724]
21255 * elf/Makefile: Add rules to build and run new test.
21256 * elf/tst-initorder.c: New file.
21257 * elf/tst-initorder.exp: New file.
21258 * elf/tst-initordera1.c: New file.
21259 * elf/tst-initordera2.c: New file.
21260 * elf/tst-initordera3.c: New file.
21261 * elf/tst-initordera4.c: New file.
21262 * elf/tst-initorderb1.c: New file.
21263 * elf/tst-initorderb2.c: New file.
21264 * elf/tst-order-a1.c: New file.
21265 * elf/tst-order-a2.c: New file.
21266 * elf/tst-order-a3.c: New file.
21267 * elf/tst-order-a4.c: New file.
21268 * elf/tst-order-b1.c: New file.
21269 * elf/tst-order-b2.c: New file.
21270 * elf/tst-order-main.c: New file.
21271 New test case by George Gensure <werkt0@gmail.com>.
21272
86e92359
UD
212732010-10-01 Andreas Schwab <schwab@redhat.com>
21274
21275 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21276 decoding ACE if AI_CANONIDN.
21277
5d5732b0
UD
212782011-01-18 Ulrich Drepper <drepper@gmail.com>
21279
21280 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
21281
a77e8cbc
UD
212822011-01-17 Ulrich Drepper <drepper@gmail.com>
21283
6392473f
UD
21284 * version.h (RELEASE): Bump for 2.13 release.
21285 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
21286
620a0529
UD
21287 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
21288
18ba70a5
UD
21289 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
21290 MADV_NOHUGEPAGE.
32465c3e
UD
21291 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
21292 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21293 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21294 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21295 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21296 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21297
c0dafcf1
UD
21298 * posix/getconf.c: Update copyright year.
21299 * catgets/gencat.c: Likewise.
21300 * csu/version.c: Likewise.
21301 * debug/catchsegv.sh: Likewise.
21302 * debug/xtrace.sh: Likewise.
21303 * elf/ldconfig.c: Likewise.
21304 * elf/ldd.bash.in: Likewise.
21305 * elf/sprof.c (print_version): Likewise.
21306 * iconv/iconv_prog.c: Likewise.
21307 * iconv/iconvconfig.c: Likewise.
21308 * locale/programs/locale.c: Likewise.
21309 * locale/programs/localedef.c: Likewise.
21310 * malloc/memusage.sh: Likewise.
21311 * malloc/mtrace.pl: Likewise.
21312 * nscd/nscd.c (print_version): Likewise.
21313 * nss/getent.c: Likewise.
21314
a77e8cbc
UD
21315 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
21316 PF_CAIF, and PF_ALG.
21317 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21318
77e8bddf
AS
213192011-01-16 Andreas Schwab <schwab@linux-m68k.org>
21320
1f20b93a
AS
21321 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
21322 (modules-names): Use them.
21323 (ifunc-test-modules, ifunc-pie-tests): Define.
21324 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
21325 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
21326 (test-extras): Likewise.
21327 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
21328 $(compile-command.c).
21329 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
21330 (all-built-dso): Define.
21331 (check-textrel.out, check-execstack.out): Depend on it.
21332
77e8bddf
AS
21333 * configure.in: Don't override --enable-multi-arch.
21334
bc425b33
UD
213352011-01-15 Ulrich Drepper <drepper@gmail.com>
21336
21337 [BZ #6812]
21338 * nscd/hstcache.c (tryagain): Define.
21339 (cache_addhst): Return tryagain not notfound for temporary errors.
21340 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
21341 failed.
21342
794c3ad3
UD
213432011-01-14 Ulrich Drepper <drepper@gmail.com>
21344
70181fdd
UD
21345 [BZ #10563]
21346 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
21347 to make the syscall.
21348 * sysdeps/unix/sysv/linux/setgroups.c: New file.
21349
794c3ad3
UD
21350 [BZ #12378]
21351 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
21352 and fall back to matching as normal character if the string ends before
21353 the matching ']' is found. This is what POSIX requires.
21354 * posix/testfnm.c: Adjust test result.
21355 * posix/globtest.sh: Adjust test result. Add new test.
21356 * posix/tst-fnmatch.input: Likewise.
21357 * posix/tst-fnmatch2.c: Add new test.
21358
68dc9497
AS
213592010-12-28 Andreas Schwab <schwab@linux-m68k.org>
21360
21361 * elf/Makefile (check-execstack): Revert last change. Depend on
21362 check-execstack.h.
21363 (check-execstack.h): New target.
21364 (generated): Add check-execstack.h.
21365 * elf/check-execstack.c: Include "check-execstack.h".
21366 (main): Revert last change.
21367 (handle_file): Return zero if GNU_STACK is absent and
21368 DEFAULT_STACK_PERMS doesn't include PF_X.
21369
451f001b
UD
213702011-01-13 Ulrich Drepper <drepper@gmail.com>
21371
cfa28e56
UD
21372 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
21373 in child fails because the descriptor is already closed.
8cf8ce17
UD
21374 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
21375 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
21376 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 21377
1086d70d
UD
21378 [BZ #12397]
21379 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
21380 syscall.
21381
451f001b
UD
21382 [BZ #10484]
21383 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
21384 temporary buffer used to handle multi lookups locally.
a85b5cb4 21385 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 21386
08769175
UD
213872011-01-12 Ulrich Drepper <drepper@gmail.com>
21388
21389 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
21390 loader is ld.so.
21391
5e49c52e
UD
213922011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
21393
21394 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
21395 alignment for SSE2.
21396
60522a5f
UD
213972011-01-12 Ulrich Drepper <drepper@gmail.com>
21398
21399 [BZ #12394]
21400 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
21401 characters. When rounding increased number of integer digits recompute
21402 number of groups.
21403 * stdio-common/tst-grouping.c: New file.
21404 * stdio-common/Makefile: Add rules to build and run tst-grouping.
21405
f257bbd7
UD
214062011-01-09 Ulrich Drepper <drepper@gmail.com>
21407
21408 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
21409 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
21410
21411 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
21412 void.
21413 * bits/select.h: Likewise.
21414
fa9c15cb
UD
214152011-01-08 Ulrich Drepper <drepper@gmail.com>
21416
21417 * po/ja.po: Update from translation team.
21418
16c2895f
DM
214192011-01-04 David S. Miller <davem@sunset.davemloft.net>
21420
21421 [BZ #11155]
21422 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
21423 implementation just like for lxstat, fxstatat, et al.
21424
2543fef2
JM
214252010-12-27 Jim Meyering <meyering@redhat.com>
21426
21427 [BZ #12348]
21428 * posix/regexec.c (build_trtable): Return failure indication upon
21429 calloc failure. Otherwise, re_search_internal could infloop on OOM.
21430
98727dbe
UD
214312010-12-25 Ulrich Drepper <drepper@gmail.com>
21432
5bd6dc5c
UD
21433 [BZ #12201]
21434 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
21435 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
21436 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
21437 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
21438
97983464
UD
21439 [BZ #12207]
21440 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
21441
98727dbe
UD
21442 [BZ #12204]
21443 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
21444 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
21445
4a531bb0
L
214462010-12-15 H.J. Lu <hongjiu.lu@intel.com>
21447
21448 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
21449 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
21450 script has SORT_BY_INIT_PRIORITY.
21451 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
21452 NO_CTORS_DTORS_SECTIONS is defined.
21453 * elf/soinit.c: Likewise.
21454 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
21455 NO_CTORS_DTORS_SECTIONS is defined.
21456 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
21457 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
21458 * sysdeps/sh/init-first.c: Likewise.
21459 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
21460
07eb4b71
UD
214612010-12-24 Ulrich Drepper <drepper@gmail.com>
21462
21463 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
21464 always use the slow path.
21465
30950a5f
RA
214662010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
21467
21468 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
21469 similar rule which adds the sysdep directories to the header search in
21470 order to pick up the correct platform stackinfo.h.
21471 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
21472 perform test if it is, otherwise return successfully without testing.
21473 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
21474 DEFAULT_STACK_PERMS define in stackinfo.h.
21475 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
21476 defined in stackinfo.h.
21477 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
21478 DEFAULT_STACK_PERMS defined in stackinfo.h.
21479 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
21480 * sysdeps/ia64/stackinfo.h: Likewise.
21481 * sysdeps/s390/stackinfo.h: Likewise.
21482 * sysdeps/sh/stackinfo.h: Likewise.
21483 * sysdeps/sparc/stackinfo.h: Likewise.
21484 * sysdeps/x86_64/stackinfo.h: Likewise.
21485 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
21486 PF_X for powerpc64. Retain PF_X for powerpc32.
21487
db753e2c
UD
214882010-12-19 Ulrich Drepper <drepper@gmail.com>
21489
14b697f7
UD
21490 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
21491 accurately.
db753e2c
UD
21492 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
21493 GETDENTS_64BIT_ALIGNED.
21494
28300719
UD
214952010-12-14 Ulrich Drepper <dreper@gmail.com>
21496
14b697f7 21497 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 21498
4f197237
AS
214992010-12-10 Andreas Schwab <schwab@redhat.com>
21500
dbb0472f
AS
21501 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
21502 _GNU_SOURCE.
21503
4f197237
AS
21504 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
21505 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
21506 Remove __restrict.
21507 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
21508 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
21509
fb88ac72
UD
215102010-12-09 Ulrich Drepper <drepper@gmail.com>
21511
21512 [BZ #11655]
21513 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
21514 are initialized.
21515
42acbb92
JJ
215162010-12-09 Jakub Jelinek <jakub@redhat.com>
21517
21518 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
21519
c038d98d
UD
215202010-12-03 Ulrich Drepper <drepper@gmail.com>
21521
21522 * po/it.po: Update from translation team.
21523
3a4a2499
L
215242010-12-01 H.J. Lu <hongjiu.lu@intel.com>
21525
21526 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
21527 unused codes.
21528
1e24cf6e
UD
215292010-11-30 Ulrich Drepper <drepper@gmail.com>
21530
21531 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
21532
a7690819
AS
215332010-11-24 Andreas Schwab <schwab@redhat.com>
21534
21535 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
21536 specially.
21537 (gaih_getanswer_slice): Likewise.
21538
3bf8d1b1
JJ
215392010-10-20 Jakub Jelinek <jakub@redhat.com>
21540
21541 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
21542
6db52fbb
PB
215432010-05-31 Petr Baudis <pasky@suse.cz>
21544
21545 [BZ #11149]
21546 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
21547 silently even in the chroot mode.
21548
eaca7569
UD
215492010-11-22 Ulrich Drepper <drepper@gmail.com>
21550
21551 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
21552 last patch a bit. Pretty printing
21553
3056dcdb
UD
215542010-05-31 Petr Baudis <pasky@suse.cz>
21555
21556 [BZ #10085]
21557 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
21558 initialization of skip_initgroups_dyn.
21559
cf7c9078
UD
215602010-11-19 Ulrich Drepper <drepper@gmail.com>
21561
21562 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
21563 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21564
a1fb5e3e
UD
215652010-11-16 Ulrich Drepper <drepper@gmail.com>
21566
21567 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
21568
3540d66b
AS
215692010-11-11 Andreas Schwab <schwab@redhat.com>
21570
21571 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
21572 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
21573 (tst-fnmatch-ENV): Set MALLOC_TRACE.
21574 ($(objpfx)tst-fnmatch-mem): New rule.
21575 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
21576 * posix/tst-fnmatch.c (main): Call mtrace.
21577
13b69574
L
215782010-11-11 H.J. Lu <hongjiu.lu@intel.com>
21579
21580 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21581 Support Intel processor model 6 and model 0x2c.
21582
da93d214
LM
215832010-11-10 Luis Machado <luisgpm@br.ibm.com>
21584
21585 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
21586 signed comparison.
21587
8ca52c6e
L
215882010-11-09 H.J. Lu <hongjiu.lu@intel.com>
21589
21590 [BZ #12205]
21591 * string/test-strncasecmp.c (check_result): New function.
21592 (do_one_test): Use it.
21593 (check1): New function.
21594 (test_main): Use it.
21595 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
21596 Support strcasecmp and strncasecmp.
21597
69da074d
UD
215982010-11-08 Ulrich Drepper <drepper@gmail.com>
21599
21600 [BZ #12194]
21601 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
21602 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21603
ff02d528
L
216042010-11-07 H.J. Lu <hongjiu.lu@intel.com>
21605
21606 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
21607 IFUNC support.
21608 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21609 memset-x86-64.
21610 * sysdeps/x86_64/multiarch/bzero.S: New file.
21611 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
21612 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
21613 * sysdeps/x86_64/multiarch/memset.S: New file.
21614 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
21615 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21616 Set bit_Prefer_SSE_for_memop for Intel processors.
21617 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
21618 Define.
21619 (index_Prefer_SSE_for_memop): Define.
21620 (HAS_PREFER_SSE_FOR_MEMOP): Define.
21621
344d0b54
LM
216222010-11-04 Luis Machado <luisgpm@br.ibm.com>
21623
21624 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
21625 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
21626
c0dde15b
UD
216272010-11-03 H.J. Lu <hongjiu.lu@intel.com>
21628
21629 [BZ #12191]
21630 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21631 (__x86_64_raw_data_cache_size_half): Likewise.
21632 (__x86_64_raw_shared_cache_size): Likewise.
21633 (__x86_64_raw_shared_cache_size_half): Likewise.
21634
21635 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21636 (__x86_64_raw_data_cache_size_half): Likewise.
21637 (__x86_64_raw_shared_cache_size): Likewise.
21638 (__x86_64_raw_shared_cache_size_half): Likewise.
21639 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
21640 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
21641 and __x86_64_raw_shared_cache_size_half. Round
21642 __x86_64_data_cache_size_half, __x86_64_data_cache_size
21643 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
21644 to multiple of 256 bytes.
21645
0e516e0e
MS
216462010-11-03 Ulrich Drepper <drepper@gmail.com>
21647
21648 [BZ #12167]
21649 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
21650 of inacessible symlinks. Verify result of symlink before returning it.
21651 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
21652 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
21653
0e012e87
ER
216542010-10-28 Erich Ritz <erichritz@gmail.com>
21655
21656 * math/math.h (isinf): Fix typo in comment.
21657
de0ff7bc
UD
216582010-11-01 Ulrich Drepper <drepper@gmail.com>
21659
21660 * po/da.po: Update from translation team.
21661
fa41c84d
UD
216622010-10-26 Ulrich Drepper <drepper@gmail.com>
21663
21664 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
21665 is added to the list.
21666
f0967738
AK
216672010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21668 Ulrich Drepper <drepper@gmail.com>
21669
21670 * elf/dl-object.c (_dl_new_object): Don't append the new object to
21671 the global list here. Move code to...
21672 (_dl_add_to_namespace_list): ...here. New function.
21673 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
21674 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
21675 * elf/dl-load.c (lose): Don't remove the element from the list.
21676 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
21677 (_dl_map_object): Likewise.
21678
216792010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
21680
21681 [BZ #12159]
21682 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
21683 into all bytes of SSE register.
21684 Patch by Richard Li <richardpku@gmail.com>.
21685
f0967738 216862010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
21687
21688 [BZ #12140]
21689 * malloc/malloc.c (_int_free): Fill correct number of bytes when
21690 perturbing.
21691
d0b9e94f
MB
216922010-10-20 Michael B. Brutman <brutman@us.ibm.com>
21693
21694 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
21695 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
21696 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
21697 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
21698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
21699 submachine.
21700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
21701
8e9f92e9
AS
217022010-10-22 Andreas Schwab <schwab@redhat.com>
21703
21704 * include/dlfcn.h (__RTLD_SECURE): Define.
21705 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
21706 mode & __RTLD_SECURE instead.
21707 (open_path): Rename preloaded parameter to secure.
21708 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
21709 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
21710 * elf/dl-deps.c (openaux): Likewise.
21711 * elf/rtld.c (struct map_args): Remove is_preloaded.
21712 (map_doit): Don't use it.
21713 (dl_main): Likewise.
21714 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
21715 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
21716
bc96fbda
AS
217172010-09-09 Andreas Schwab <schwab@redhat.com>
21718
21719 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
21720 (sysd-rules-targets): Remove duplicates.
21721 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
21722 rtld-%.$o dependency.
21723
22cd1c9b
AS
217242010-10-18 Andreas Schwab <schwab@redhat.com>
21725
21726 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
21727 _dl_map_object do it.
21728
18edac48
UD
217292010-10-19 Ulrich Drepper <drepper@gmail.com>
21730
21731 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
21732 fast fma builtins, define the macros in the C99 standard.
21733 (FP_FAST_FMAF): Likewise.
21734 (FP_FAST_FMAL): Likewise.
21735 * sysdeps/x86_64/bits/mathdef.h: Likewise.
21736
21737 * bits/mathdef.h: Update copyright year.
21738 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21739
d2050124
MM
217402010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
21741
21742 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
21743 builtins, define the macros in the C99 standard.
21744 (FP_FAST_FMAF): Likewise.
21745 (FP_FAST_FMAL): Likewise.
21746 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
21747 multiply/add.
21748 (FP_FAST_FMAF): Likewise.
21749
475facd1
JJ
217502010-10-15 Jakub Jelinek <jakub@redhat.com>
21751
21752 [BZ #3268]
21753 * math/libm-test.inc (fma_test): Some new testcases.
21754 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
21755 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
21756 y and infinite z. Do multiplication by C already in long double.
21757 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
21758 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
21759 y and infinite z. Do bitwise or of inexact bit into u.d.
21760 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
21761 * sysdeps/i386/fpu/s_fmaf.S: Removed.
21762 * sysdeps/i386/fpu/s_fma.S: Removed.
21763 * sysdeps/i386/fpu/s_fmal.S: Removed.
21764
7c08a05c
JJ
217652010-10-16 Jakub Jelinek <jakub@redhat.com>
21766
21767 [BZ #3268]
21768 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
21769 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
21770 computation is not scheduled after fetestexcept. Fix value
21771 of minimum denormal long double.
21772
f3f7372d
JJ
217732010-10-14 Jakub Jelinek <jakub@redhat.com>
21774
21775 [BZ #3268]
21776 * math/libm-test.inc (fma_test): Add some more tests.
21777 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
21778 correctly.
21779
14d43591
AS
217802010-10-15 Andreas Schwab <schwab@redhat.com>
21781
21782 * scripts/data/localplt-s390-linux-gnu.data: New file.
21783 * scripts/data/localplt-s390x-linux-gnu.data: New file.
21784
5e908464
JJ
217852010-10-13 Jakub Jelinek <jakub@redhat.com>
21786
21787 [BZ #3268]
21788 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
21789 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
21790 instead of dbl-64.
21791 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
21792 inlines.
21793 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
21794 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
21795 if one of x and y is very large and the other is subnormal.
21796 * sysdeps/s390/fpu/s_fmaf.c: New file.
21797 * sysdeps/s390/fpu/s_fma.c: New file.
21798 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
21799 * sysdeps/powerpc/fpu/s_fma.S: New file.
21800 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
21801 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
21802 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
21803
218042010-10-12 Jakub Jelinek <jakub@redhat.com>
21805
21806 [BZ #3268]
21807 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
21808 fma tests.
21809 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
21810 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
21811 * sysdeps/i386/i686/multiarch/s_fma.c: Include
21812 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
21813 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
21814 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
21815 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
21816
b833d51f
UD
218172010-10-12 Ulrich Drepper <drepper@redhat.com>
21818
21819 [BZ #12078]
21820 * posix/regcomp.c (parse_branch): One more memory leak plugged.
21821 * posix/bug-regex31.input: Add test case.
21822
1751705d
UD
218232010-10-11 Ulrich Drepper <drepper@gmail.com>
21824
e9b9cbf5
UD
21825 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
21826 * posix/bug-regex31.input: New file.
21827
21828 [BZ #12078]
21829 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
21830 (parse_sub_exp): Fix last change, use postorder.
21831
ef06edbe
UD
21832 * posix/bug-regex31.c: New file.
21833 * posix/Makefile: Add rules to build and run bug-regex31.
21834
a129c80d
UD
21835 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
21836
21837 [BZ #12078]
21838 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
21839
b76b818e
UD
21840 [BZ #12108]
21841 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
21842 to have entries in sys_siglist.
21843
1751705d
UD
21844 [BZ #12093]
21845 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
21846 be NULL.
21847
9ff8d36f
JJ
218482010-10-07 Jakub Jelinek <jakub@redhat.com>
21849
21850 [BZ #3268]
21851 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
21852 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
21853 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
21854 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
21855 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
21856 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
21857 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
21858 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
21859 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
21860 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
21861 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
21862 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
21863 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
21864 * math/ftestexcept.c (fetestexcept): Likewise.
21865 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
21866 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
21867 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
21868 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
21869 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
21870 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
21871 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21872
af325969
UD
218732010-10-11 Ulrich Drepper <drepper@gmail.com>
21874
c579b202 21875 [BZ #12107]
af325969
UD
21876 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
21877 newline.
21878
67a67b95
UD
218792010-10-06 Ulrich Drepper <drepper@gmail.com>
21880
21881 * string/bug-strstr1.c: New file.
21882 * string/Makefile: Add rules to build and run bug-strstr1.
21883
5fb308bc
EB
218842010-10-05 Eric Blake <eblake@redhat.com>
21885
21886 [BZ #12092]
21887 * string/str-two-way.h (two_way_long_needle): Always clear memory
21888 when skipping input due to the shift table.
21889
45db99c7
UD
218902010-10-03 Ulrich Drepper <drepper@gmail.com>
21891
3b111893
UD
21892 [BZ #12005]
21893 * malloc/mcheck.c: Handle large requests.
21894
45db99c7
UD
21895 [BZ #12077]
21896 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
21897 for strncmp and strncasecmp.
21898 * string/stratcliff.c: Add tests for strcmp and strncmp.
21899 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
21900
cf7a1eb8
NI
219012010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21902
21903 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
21904 __set_fpscr.
21905
6484ba5e
AJ
219062010-09-30 Andreas Jaeger <aj@suse.de>
21907
21908 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
21909 (CGROUP_SUPER_MAGIC): Define.
21910 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21911 Handle btrfs and cgroup file systems.
21912 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21913 Likewise.
21914
91c42559
LM
219152010-09-27 Luis Machado <luisgpm@br.ibm.com>
21916
21917 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
21918 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
21919
87a97932
AK
219202010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21921
21922 [BZ #12067]
21923 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
21924 trying to locate the ELF header.
21925
c21cc9bc
AS
219262010-09-27 Andreas Schwab <schwab@redhat.com>
21927
21928 [BZ #11611]
21929 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
21930 Mask out sign-bit copies when constructing f_fsid.
21931
315970f6
PB
219322010-09-24 Petr Baudis <pasky@suse.cz>
21933
21934 * debug/stack_chk_fail_local.c: Add missing licence exception.
21935 * debug/warning-nop.c: Likewise.
21936
1ac7a2c7
JM
219372010-09-15 Joseph Myers <joseph@codesourcery.com>
21938
21939 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
21940 implementing getdents64 using getdents syscall, set d_type if
21941 __ASSUME_GETDENTS32_D_TYPE.
21942
56801c50
AS
219432010-09-16 Andreas Schwab <schwab@redhat.com>
21944
21945 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
21946 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
21947
dda51327
UD
219482010-09-21 Ulrich Drepper <drepper@redhat.com>
21949
21950 [BZ #12037]
21951 * posix/unistd.h: Undo change of feature selection for ftruncate from
21952 2010-01-11.
21953
8ffcee4a
UD
219542010-09-20 Ulrich Drepper <drepper@redhat.com>
21955
a545ecd9 21956 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
21957 detection.
21958
e24f0a8b
AS
219592010-09-20 Andreas Schwab <schwab@redhat.com>
21960
21961 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
21962 fanotify_mark.
21963 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
21964
7291c56f
AS
219652010-09-14 Andreas Schwab <schwab@redhat.com>
21966
21967 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
21968 variables after CHECK_SP call.
21969 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
21970
bc5fb037
AS
219712010-09-13 Andreas Schwab <schwab@redhat.com>
21972 Ulrich Drepper <drepper@redhat.com>
21973
21974 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
21975 re-relocationg ld.so.
21976 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
21977 _dl_init_paths call.
21978 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
21979 here anymore.
21980
e66e7419
UD
219812010-09-14 Ulrich Drepper <drepper@redhat.com>
21982
21983 * resolv/res_init.c (__res_vinit): Count the default server we added.
21984
c044aa75
CLT
219852010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
21986 Ulrich Drepper <drepper@redhat.com>
21987
21988 [BZ #11968]
21989 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
21990 (____longjmp_chk): Use %ebx for saving value across system call.
21991 Add unwind info.
21992
32cf4069
AS
219932010-09-06 Andreas Schwab <schwab@redhat.com>
21994
21995 * manual/Makefile: Don't mix pattern rules with normal rules.
21996
817328ee
AS
219972010-09-05 Andreas Schwab <schwab@linux-m68k.org>
21998
21999 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
22000 operation.
22001 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
22002 * libio/iofopncook.c (_IO_cookie_init): Likewise.
22003 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
22004 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22005 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22006 Likewise.
22007
29fddf61
UD
220082010-09-04 Ulrich Drepper <drepper@redhat.com>
22009
22010 [BZ #11979]
22011 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
22012 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
22013
0959ffc9
UD
220142010-09-02 Ulrich Drepper <drepper@redhat.com>
22015
22016 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
22017 * sysdeps/x86_64/addmul_1.S: Likewise.
22018 * sysdeps/x86_64/lshift.S: Likewise.
22019 * sysdeps/x86_64/mul_1.S: Likewise.
22020 * sysdeps/x86_64/rshift.S: Likewise.
22021 * sysdeps/x86_64/sub_n.S: Likewise.
22022 * sysdeps/x86_64/submul_1.S: Likewise.
22023
ece29840
ST
220242010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
22025
0959ffc9
UD
22026 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
22027 Define __sched_param instead of SCHED_* and sched_param when
ece29840 22028 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 22029 * bits/sched.h [__need_schedparam]
ece29840 22030 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
22031 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
22032 (__defined_schedparam): Define to 1.
ece29840
ST
22033 (__sched_param): New structure, identical to sched_param.
22034 (__need_schedparam): Undefine.
22035
e53a31fe
MF
220362010-08-31 Mike Frysinger <vapier@gentoo.org>
22037
fdc0c10d
MF
22038 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
22039 (epoll_create1): Declare.
22040
e53a31fe
MF
22041 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
22042
a726d796
AS
220432010-08-31 Andreas Schwab <schwab@redhat.com>
22044
22045 [BZ #7066]
22046 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
22047 shifting retval into place.
22048
2f3e3dc7
UD
220492010-09-01 Ulrich Drepper <drepper@redhat.com>
22050
f2933da9
UD
22051 * nis/rpcsvc/nis.h: Update copyright notice.
22052 * nis/rpcsvc/nis.x: Likewise.
22053 * nis/rpcsvc/nis_callback.h: Likewise.
22054 * nis/rpcsvc/nis_callback.x: Likewise.
22055 * nis/rpcsvc/nis_object.x: Likewise.
22056 * nis/rpcsvc/nis_tags.h: Likewise.
22057 * nis/rpcsvc/yp.h: Likewise.
22058 * nis/rpcsvc/yp.x: Likewise.
22059 * nis/rpcsvc/ypupd.h: Likewise.
22060 * nis/yp_xdr.c: Likewise.
22061 * nis/ypupdate_xdr.c: Likewise.
22062
2f3e3dc7
UD
22063 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
22064 mainly the body of pmap_getport. Add parameters to specify timeouts.
22065 (pmap_getport): Use __libc_rpc_getport.
22066 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
22067 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
22068 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
22069
f3dcc2f9
AS
220702010-08-31 Andreas Schwab <schwab@linux-m68k.org>
22071
22072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
22073 fanotify_mark.
22074
6d34eb5b
RM
220752010-08-27 Roland McGrath <roland@redhat.com>
22076
22077 * sysdeps/i386/i686/multiarch/Makefile
22078 (CFLAGS-varshift.c): New variable.
22079
9ea3de11
UD
220802010-08-27 Ulrich Drepper <drepper@redhat.com>
22081
c96d23fc
UD
22082 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
22083 * sysdeps/i386/i686/multiarch/varshift.c: New file.
22084
9ea3de11
UD
22085 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
22086
22087 * sysdeps/x86_64/strlen.S: Minimal code improvement.
22088
623aac7f
L
220892010-08-26 H.J. Lu <hongjiu.lu@intel.com>
22090
22091 * sysdeps/x86_64/strlen.S: Unroll the loop.
22092 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22093 strlen-sse2 strlen-sse2-bsf.
22094 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
22095 __strlen_no_bsf if bit_Slow_BSF is set.
22096 (__strlen_sse42): Removed.
22097 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
22098 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
22099
8b2b7715
RM
221002010-08-25 Roland McGrath <roland@redhat.com>
22101
22102 * sysdeps/x86_64/multiarch/varshift.S: File removed.
22103 * sysdeps/x86_64/multiarch/varshift.c: New file.
22104 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
22105 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
22106 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
22107 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22108
e73015f2
L
221092010-08-25 H.J. Lu <hongjiu.lu@intel.com>
22110
22111 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22112 strlen-sse2 strlen-sse2-bsf.
22113 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
22114 __strlen_sse2_bsf if bit_Slow_BSF is unset.
22115 (__strlen_sse2): Removed.
22116 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
22117 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
22118 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22119 bit_Slow_BSF for Atom.
22120 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
22121 (index_Slow_BSF): Define.
22122 (HAS_SLOW_BSF): Define.
22123
df24a73e
UD
221242010-08-25 Ulrich Drepper <drepper@redhat.com>
22125
22126 [BZ #10851]
22127 * resolv/res_init.c (__res_vinit): When no server address at all
22128 is given default to loopback.
22129
f2ac4868
RM
221302010-08-24 Roland McGrath <roland@redhat.com>
22131
09055553
RM
22132 * configure.in: Remove config-name.h generation.
22133 * configure: Regenerated.
22134 * config-name.in: File removed.
22135 * scripts/config-uname.sh: New file.
22136 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
22137 ($(objdir)config-name.h): New target.
22138
f2ac4868
RM
22139 * sunrpc/rpc_parse.h: Avoid nested comment.
22140
73f27d5e
RH
221412010-08-24 Richard Henderson <rth@redhat.com>
22142 Ulrich Drepper <drepper@redhat.com>
22143 H.J. Lu <hongjiu.lu@intel.com>
22144
22145 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
22146 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
22147 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
22148 Replace _mm_srli_si128 with __m128i_shift_right. Replace
22149 _mm_alignr_epi8 with _mm_loadu_si128.
22150 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
22151 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
22152 (__m128i_shift_right): Removed.
22153 * sysdeps/i386/i686/multiarch/varshift.h: New file.
22154 * sysdeps/i386/i686/multiarch/varshift.S: New file.
22155 * sysdeps/x86_64/multiarch/varshift.h: New file.
22156 * sysdeps/x86_64/multiarch/varshift.S: New file.
22157
84b9230c
MF
221582010-08-21 Mike Frysinger <vapier@gentoo.org>
22159
22160 * configure.in: Move assembler checks to before sysdep dir checking.
22161
9bbd0ddc
PB
221622010-08-20 Petr Baudis <pasky@suse.cz>
22163
22164 * LICENSES: Sync the sunrpc license.
22165
9da4bb31
UD
221662010-08-19 Ulrich Drepper <drepper@redhat.com>
22167
a7ab6ec8
UD
22168 * sunrpc/auth_des.c: Update copyright notice once again.
22169 * sunrpc/auth_none.c: Likewise.
22170 * sunrpc/auth_unix.c: Likewise.
22171 * sunrpc/authdes_prot.c: Likewise.
22172 * sunrpc/authuxprot.c: Likewise.
22173 * sunrpc/bindrsvprt.c: Likewise.
22174 * sunrpc/clnt_gen.c: Likewise.
22175 * sunrpc/clnt_perr.c: Likewise.
22176 * sunrpc/clnt_raw.c: Likewise.
22177 * sunrpc/clnt_simp.c: Likewise.
22178 * sunrpc/clnt_tcp.c: Likewise.
22179 * sunrpc/clnt_udp.c: Likewise.
22180 * sunrpc/clnt_unix.c: Likewise.
22181 * sunrpc/des_crypt.c: Likewise.
22182 * sunrpc/des_soft.c: Likewise.
22183 * sunrpc/get_myaddr.c: Likewise.
22184 * sunrpc/getrpcport.c: Likewise.
22185 * sunrpc/key_call.c: Likewise.
22186 * sunrpc/key_prot.c: Likewise.
22187 * sunrpc/openchild.c: Likewise.
22188 * sunrpc/pm_getmaps.c: Likewise.
22189 * sunrpc/pm_getport.c: Likewise.
22190 * sunrpc/pmap_clnt.c: Likewise.
22191 * sunrpc/pmap_prot.c: Likewise.
22192 * sunrpc/pmap_prot2.c: Likewise.
22193 * sunrpc/pmap_rmt.c: Likewise.
22194 * sunrpc/rpc/auth.h: Likewise.
22195 * sunrpc/rpc/auth_unix.h: Likewise.
22196 * sunrpc/rpc/clnt.h: Likewise.
22197 * sunrpc/rpc/des_crypt.h: Likewise.
22198 * sunrpc/rpc/key_prot.h: Likewise.
22199 * sunrpc/rpc/netdb.h: Likewise.
22200 * sunrpc/rpc/pmap_clnt.h: Likewise.
22201 * sunrpc/rpc/pmap_prot.h: Likewise.
22202 * sunrpc/rpc/pmap_rmt.h: Likewise.
22203 * sunrpc/rpc/rpc.h: Likewise.
22204 * sunrpc/rpc/rpc_des.h: Likewise.
22205 * sunrpc/rpc/rpc_msg.h: Likewise.
22206 * sunrpc/rpc/svc.h: Likewise.
22207 * sunrpc/rpc/svc_auth.h: Likewise.
22208 * sunrpc/rpc/types.h: Likewise.
22209 * sunrpc/rpc/xdr.h: Likewise.
22210 * sunrpc/rpc_clntout.c: Likewise.
22211 * sunrpc/rpc_cmsg.c: Likewise.
22212 * sunrpc/rpc_common.c: Likewise.
22213 * sunrpc/rpc_cout.c: Likewise.
22214 * sunrpc/rpc_dtable.c: Likewise.
22215 * sunrpc/rpc_hout.c: Likewise.
22216 * sunrpc/rpc_main.c: Likewise.
22217 * sunrpc/rpc_parse.c: Likewise.
22218 * sunrpc/rpc_parse.h: Likewise.
22219 * sunrpc/rpc_prot.c: Likewise.
22220 * sunrpc/rpc_sample.c: Likewise.
22221 * sunrpc/rpc_scan.c: Likewise.
22222 * sunrpc/rpc_scan.h: Likewise.
22223 * sunrpc/rpc_svcout.c: Likewise.
22224 * sunrpc/rpc_tblout.c: Likewise.
22225 * sunrpc/rpc_util.c: Likewise.
22226 * sunrpc/rpc_util.h: Likewise.
22227 * sunrpc/rpcinfo.c: Likewise.
22228 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
22229 * sunrpc/rpcsvc/key_prot.x: Likewise.
22230 * sunrpc/rpcsvc/klm_prot.x: Likewise.
22231 * sunrpc/rpcsvc/mount.x: Likewise.
22232 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
22233 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
22234 * sunrpc/rpcsvc/rex.x: Likewise.
22235 * sunrpc/rpcsvc/rstat.x: Likewise.
22236 * sunrpc/rpcsvc/rusers.x: Likewise.
22237 * sunrpc/rpcsvc/sm_inter.x: Likewise.
22238 * sunrpc/rpcsvc/spray.x: Likewise.
22239 * sunrpc/rpcsvc/yppasswd.x: Likewise.
22240 * sunrpc/rtime.c: Likewise.
22241 * sunrpc/svc.c: Likewise.
22242 * sunrpc/svc_auth.c: Likewise.
22243 * sunrpc/svc_authux.c: Likewise.
22244 * sunrpc/svc_raw.c: Likewise.
22245 * sunrpc/svc_run.c: Likewise.
22246 * sunrpc/svc_simple.c: Likewise.
22247 * sunrpc/svc_tcp.c: Likewise.
22248 * sunrpc/svc_udp.c: Likewise.
22249 * sunrpc/svc_unix.c: Likewise.
22250 * sunrpc/svcauth_des.c: Likewise.
22251 * sunrpc/xcrypt.c: Likewise.
22252 * sunrpc/xdr.c: Likewise.
22253 * sunrpc/xdr_array.c: Likewise.
22254 * sunrpc/xdr_float.c: Likewise.
22255 * sunrpc/xdr_mem.c: Likewise.
22256 * sunrpc/xdr_rec.c: Likewise.
22257 * sunrpc/xdr_ref.c: Likewise.
22258 * sunrpc/xdr_sizeof.c: Likewise.
22259 * sunrpc/xdr_stdio.c: Likewise.
22260
9da4bb31
UD
22261 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
22262 handling.
22263
bdaa77bc
AS
222642010-08-19 Andreas Schwab <schwab@redhat.com>
22265
22266 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
22267
fe2f79db
LM
222682010-08-19 Luis Machado <luisgpm@br.ibm.com>
22269
22270 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
22271 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
22272 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
22273 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
22274 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
22275 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
22276 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
22277 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
22278 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
22279 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
22280 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
22281 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
22282 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
22283 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
22284
b9b42ee0
AB
222852010-07-26 Anton Blanchard <anton@samba.org>
22286
22287 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
22288 * malloc/arena.c (heap_trim): Likewise.
22289
1c06ba31
UD
222902010-08-16 Ulrich Drepper <drepper@redhat.com>
22291
22292 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
22293 here. Not...
22294 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
22295 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
22296
f8392f40
L
222972010-08-12 H.J. Lu <hongjiu.lu@intel.com>
22298
22299 * sysdeps/i386/elf/Makefile: New file.
22300
3162f12e
AS
223012010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22302
22303 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
22304 from fanotify_init.
22305 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
22306 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22307
28c90b2c
UD
223082010-08-15 Ulrich Drepper <drepper@redhat.com>
22309
22310 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
22311 of strncasecmp_l.
1feccb6c 22312 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 22313
ca6bb004
UD
223142010-08-14 Ulrich Drepper <drepper@redhat.com>
22315
e9f82e0d
UD
22316 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22317 strncase_l-nonascii.
22318 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22319 Add strncase_l-ssse3.
22320 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
22321 * sysdeps/x86_64/strcmp.S: Likewise.
22322 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
22323 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
22324 * sysdeps/x86_64/strncase.S: New file.
22325 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
22326 * sysdeps/x86_64/strncase_l.S: New file.
22327 * string/Makefile (strop-tests): Add strncasecmp.
22328 * string/test-strncasecmp.c: New file.
22329
22330 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
22331 warning.
22332
ca6bb004
UD
22333 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
22334 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
22335
052fa7b3
AS
223362010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22337
22338 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
22339
962dba78
UD
223402010-08-12 Ulrich Drepper <drepper@redhat.com>
22341
22342 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
22343 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
22344 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
22345
bebff237
AM
223462010-05-01 Alan Modra <amodra@gmail.com>
22347
22348 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
22349 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
22350 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
22351 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
22352 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
22353 tidying. Don't tail-call __sigjmp_save for static lib.
22354 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
22355 save location.
22356 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
22357 (CALL_MCOUNT): Add eh info, and nop after bl.
22358 (TAIL_CALL_SYSCALL_ERROR): New macro.
22359 (PSEUDO_RET): Use it.
22360 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22361 Correct save location of integer regs and cr.
22362 (_dl_profile_resolve): Correct cr save location. Delete nops
22363 after bl when SHARED. Reduce cfi size a little by better
22364 placement of cfi directives.
22365 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
22366 make a stack frame. Instead use parm save area as a temp.
22367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
22368 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
22369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22370 Don't make a stack frame for parent, use parm save area.
22371 Increase child stack frame to 112 bytes. Don't save unused reg,
22372 and adjust reg usage. Set up cfi on error recovery and
22373 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
22374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22375 (__makecontext): Add dummy nop after jump to exit.
22376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
22377 Use correct parm save area and cr save, reduce stack frame.
22378 Correct cfi for possible PSEUDO_RET frame setup.
22379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
22380 Branch to local label emitted by PSEUDO_RET rather than
22381 __syscall_error.
22382
02637374
AS
223832010-08-12 Andreas Schwab <schwab@redhat.com>
22384
22385 [BZ #11904]
22386 * locale/programs/locale.c (print_assignment): New function.
22387 (show_locale_vars): Use it.
22388
c3e2f19b
UD
223892010-08-11 Ulrich Drepper <drepper@redhat.com>
22390
3cdaa6ad
UD
22391 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
22392 field.
22393 (struct statfs64): Likewise.
22394 (_STATFS_F_FLAGS): Define.
22395 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
22396 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22397 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
22398 (ST_VALID): Define locally.
22399 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
22400 __statvfs_getflags, use the provided value.
22401 * sysdeps/unix/sysv/linux/kernel-features.h: Define
22402 __ASSUME_STATFS_F_FLAGS.
22403
754f7da3
UD
22404 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
22405
10b3bedc
UD
22406 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
22407 Add sys/fanotify.h.
22408 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
22409 fanotify_mask for GLIBC_2.13.
22410 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
22411 fanotify_init and fanotify_mark.
22412 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22413 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
22414
c08fb0d7
UD
22415 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
22416 Add prlimit.
22417 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
22418 prlimit64 for GLIBC_2.13.
22419 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
22420 prlimit64.
22421 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
22422 syscall.
22423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
22424 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22425 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
22426 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
22427 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
22428 add prlimit alias.
22429 * sysdeps/unix/sysv/linux/prlimit.c: New file.
22430
15bac72b
UD
22431 [BZ #11903]
22432 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
22433 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
22434
c3e2f19b
UD
22435 * nss/Makefile: Add rules to build and run tst-nss-test1.
22436 * shlib-versions: Add entry for libnss_test1.
22437 * nss/nss_test1.c: New file.
22438 * nss/tst-nss-test1.c: New file.
22439
22440 * nss/nsswitch.c (__nss_database_custom): Define new variable.
22441 (__nss_configure_lookup): Set appropriate entry in
22442 __nss_configure_lookup to true.
22443 * nss/nsswitch.h: Define enum with indeces of databases in
22444 databases and __nss_database_custom arrays. Declare
22445 __nss_database_custom.
22446 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
22447 to avoid using nscd when custom rules are installed.
22448 * nss/getXXbyYY_r.c: Likewise.
22449 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22450
22451 * nss/nss_files/files-parse.c: Whitespace fixes.
22452
f15ce4d8
UD
224532010-08-09 Ulrich Drepper <drepper@redhat.com>
22454
22455 [BZ #11883]
22456 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
22457 * posix/fnmatch_loop.c: Likewise.
22458
d22e4cc9
AK
224592010-07-17 Andi Kleen <ak@linux.intel.com>
22460
22461 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
22462 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
22463 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
22464 * Versions.def [GLIBC_2.13]: Add.
22465
805bc17d
UD
224662010-08-06 Ulrich Drepper <drepper@redhat.com>
22467
22468 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22469 Also fail if tpwd after pwuid call is NULL.
22470
5a42321d
ST
224712010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
22472
22473 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
22474 when converting to ms.
22475
fd3ebeda
ST
224762010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22477
22478 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
22479 EOPNOTSUPP errors with ENOTTY.
22480 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
22481 EOPNOTSUPP errors with ENOTTY.
22482
73507d3a
UD
224832010-07-31 Ulrich Drepper <drepper@redhat.com>
22484
22485 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22486 Add strcasecmp_l-ssse3.
22487 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
22488 strcasecmp.
22489 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
22490 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
22491 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
22492
fe36dd02
UD
224932010-07-30 Ulrich Drepper <drepper@redhat.com>
22494
66f6765a
UD
22495 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
22496
42e08a54
UD
22497 * string/Makefile (strop-tests): Add strcasecmp.
22498 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22499 strcasecmp_l-nonascii.
22500 (gen-as-const-headers): Add locale-defines.sym.
22501 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
22502 * sysdeps/x86_64/strcasecmp.S: New file.
22503 * sysdeps/x86_64/strcasecmp_l.S: New file.
22504 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
22505 * sysdeps/x86_64/locale-defines.sym: New file.
22506 * string/test-strcasecmp.c: New file.
22507
fe36dd02
UD
22508 * string/test-strcasestr.c: Test both ends of the range of characters.
22509 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
22510
48cbc0d6
RM
225112010-07-29 Roland McGrath <roland@redhat.com>
22512
76e6d6bc 22513 [BZ #11856]
48cbc0d6
RM
22514 * manual/locale.texi (Yes-or-No Questions): Fix example code.
22515
880113d9
UD
225162010-07-27 Ulrich Drepper <drepper@redhat.com>
22517
22518 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
22519 for ld.so.
22520
deb9cabb
AS
225212010-07-27 Andreas Schwab <schwab@redhat.com>
22522
22523 * manual/memory.texi (Malloc Tunable Parameters): Document
22524 M_PERTURB.
22525
1c7570ff
RM
225262010-07-26 Roland McGrath <roland@redhat.com>
22527
22528 [BZ #11840]
22529 * configure.in (-fgnu89-inline check): Set and substitute
22530 gnu89_inline, not libc_cv_gnu89_inline.
22531 * configure: Regenerated.
22532 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
22533
24fb0f88
UD
225342010-07-26 Ulrich Drepper <drepper@redhat.com>
22535
22536 * string/test-strnlen.c: New file.
22537 * string/Makefile (strop-tests): Add strnlen.
22538 * string/tester.c (test_strnlen): Add a few more test cases.
22539 * string/tst-strlen.c: Better error reporting.
22540
22541 * sysdeps/x86_64/strnlen.S: New file.
22542
8e96b93a
UD
225432010-07-24 Ulrich Drepper <drepper@redhat.com>
22544
22545 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
22546 lower-latency instructions.
22547
dbc676d4
UD
225482010-07-23 Ulrich Drepper <drepper@redhat.com>
22549
22550 * string/test-strcasestr.c: New file.
22551 * string/test-strstr.c: New file.
22552 * string/Makefile (strop-tests): Add strstr and strcasestr.
22553 * string/str-two-way.h: Don't undefine MAX.
22554 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
22555
f6a31e0e
AS
225562010-07-21 Andreas Schwab <schwab@redhat.com>
22557
22558 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22559 strcasestr-nonascii.
22560 (CFLAGS-strcasestr-nonascii.c): Define.
22561 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
22562 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
22563 Remove unused attribute.
22564
5dbc3b6c
RM
225652010-07-20 Roland McGrath <roland@redhat.com>
22566
22567 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
22568 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
22569 ld.so.cache was broken. With it, there is no way to disable dsocaps
22570 like LD_HWCAP_MASK can disable hwcaps.
22571
23d101d8
EPM
225722010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22573
22574 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
22575
cc9f2e47
UD
225762010-07-16 Ulrich Drepper <drepper@redhat.com>
22577
22578 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
22579 call in strcasestr.
22580 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
22581 __strcasestr_sse42_nonascii.
22582 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
22583 strcasestr-nonascii.c.
22584 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
22585
77c1b069
LM
225862010-06-15 Luis Machado <luisgpm@br.ibm.com>
22587
22588 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
22589 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
22590 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
22591 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
22592
440566c3
UD
225932010-07-09 Ulrich Drepper <drepper@redhat.com>
22594
22595 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
22596 fcntl.
22597
5be9d05d
AS
225982010-07-06 Andreas Schwab <schwab@redhat.com>
22599
c30b7ee2 22600 [BZ #11577]
5be9d05d
AS
22601 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
22602 dl_signal_cerror.
22603
8a492a67
UD
226042010-07-06 Ulrich Drepper <drepper@redhat.com>
22605
22606 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
22607 _PC_PIPE_BUF using F_GETPIPE_SZ.
22608
713df3d5
RM
226092010-07-05 Roland McGrath <roland@redhat.com>
22610
22611 * manual/arith.texi (Rounding Functions): Fix rint description
22612 implicit in round description.
22613
702e8f14
UD
226142010-07-02 Ulrich Drepper <drepper@redhat.com>
22615
22616 * elf/Makefile: Fix linking for a few tests to make recent linker
22617 happy.
22618
52ed8be9
AS
226192010-06-30 Andreas Schwab <schwab@redhat.com>
22620
22621 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
22622 $(common-objpfx)libc_nonshared.a.
22623
f47c9a11
LM
226242010-06-21 Luis Machado <luisgpm@br.ibm.com>
22625
22626 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
22627 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
22628 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22629 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22630 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
22631 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
22632 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22633 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
22635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
22636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
22637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
22639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
22641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
22642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
22643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
22644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
22646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
22648 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
22649 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
22650 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
22651 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
22652 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
22653 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
22654 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
22655 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
22656 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
22657 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
22658 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
22659 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
22660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
22661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
22662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
22663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
22664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
22665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
22666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
22667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
22668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
22669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
22670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
22671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
22672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
22673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
22674
6fb8cbcb
L
226752010-06-25 H.J. Lu <hongjiu.lu@intel.com>
22676
22677 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
22678 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
22679 * string/memmove.c (memmove): Renamed to ...
22680 (MEMMOVE): ...this. Default to memmove.
22681 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
22682 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
22683 (END_CHK): Define.
22684 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22685 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
22686 mempcpy-ssse3-back memmove-ssse3-back.
22687 * sysdeps/x86_64/multiarch/bcopy.S: New file .
22688 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
22689 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
22690 * sysdeps/x86_64/multiarch/memcpy.S: New file.
22691 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
22692 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
22693 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
22694 * sysdeps/x86_64/multiarch/memmove.c: New file.
22695 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
22696 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
22697 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
22698 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
22699 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
22700 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
22701 Define.
22702 (index_Fast_Copy_Backward): Define.
22703 (HAS_ARCH_FEATURE): Define.
22704 (HAS_FAST_REP_STRING): Define.
22705 (HAS_FAST_COPY_BACKWARD): Define.
22706
4e733bac 227072010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
22708
22709 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22710 Restore proper fallback handling.
22711
63c4ed22
UD
227122010-06-19 Ulrich Drepper <drepper@redhat.com>
22713
ac2b484c
UD
22714 [BZ #11701]
22715 * posix/group_member.c (__group_member): Correct checking loop.
22716
63c4ed22
UD
22717 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
22718 OOM in getpwuid_r correctly. Return error number when the caller
22719 should return, otherwise -1.
22720 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
22721 call returning > 0 value.
22722 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
22723
765ade4b
AS
227242010-06-07 Andreas Schwab <schwab@redhat.com>
22725
22726 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
22727 libc_nonshared.a from targets in modules-names.
22728
80da2e09
KS
227292010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
22730
22731 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
22732 requires it.
22733
158db122
LM
227342010-06-10 Luis Machado <luisgpm@br.ibm.com>
22735
22736 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
22737 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
22738 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
22739 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
22740
caa78cf8
AS
227412010-06-02 Andreas Schwab <schwab@redhat.com>
22742
22743 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
22744
b2ef2c01
UD
227452010-06-14 Ulrich Drepper <drepper@redhat.com>
22746
22747 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
22748 and F_GETPIPE_SZ.
22749 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
22750 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22751 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22752 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22753 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22754 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
22755
fbd643b6
RM
227562010-06-14 Roland McGrath <roland@redhat.com>
22757
22758 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
22759
f32f2869
JJ
227602010-06-07 Jakub Jelinek <jakub@redhat.com>
22761
22762 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
22763 __REDIRECT followed by __THROW.
22764 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
22765 * posix/getopt.h (getopt): Likewise.
22766
2a50c078
EPM
227672010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22768
22769 * hurd/lookup-at.c (__file_name_lookup_at): Accept
22770 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
22771 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
22772 in AT_FLAGS.
22773 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
22774 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
22775
eb5ad2eb
LM
227762010-05-28 Luis Machado <luisgpm@br.ibm.com>
22777
22778 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
22779
3c88fe1e
L
227802010-05-26 H.J. Lu <hongjiu.lu@intel.com>
22781
22782 [BZ #11640]
22783 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22784 Properly check family and model.
22785
d2f73151
TY
227862010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
22787
22788 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
22789
ebd2e13d
LM
227902010-05-24 Luis Machado <luisgpm@br.ibm.com>
22791
22792 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
22793
b32b8b45
UD
227942010-05-21 Ulrich Drepper <drepper@redhat.com>
22795
22796 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
22797 symbol reference.
22798
9acbe24d
AS
227992010-05-19 Andreas Schwab <schwab@redhat.com>
22800
22801 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
22802 symbol reference.
22803
f0ccf6ea
AS
228042010-05-21 Andreas Schwab <schwab@redhat.com>
22805
3d04ff3a
AS
22806 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
22807 and internal_recvmmsg.
22808 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
22809 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
22810 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
22811 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
22812
f0ccf6ea
AS
22813 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
22814 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
22815 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
22816
5b08ac57
AS
228172010-05-20 Andreas Schwab <schwab@redhat.com>
22818
22819 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
22820
4828935d
LM
228212010-05-17 Luis Machado <luisgpm@br.ibm.com>
22822
22823 POWER7 optimizations.
22824 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
22825 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
22826
373d545e
UD
228272010-05-19 Ulrich Drepper <drepper@redhat.com>
22828
22829 * version.h: Update for 2.13 development version.
22830
21a2b1ae
AS
228312010-05-12 Andrew Stubbs <ams@codesourcery.com>
22832
22833 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
22834 exceptions. Return 0.
22835
3f7dcb2b
RM
228362010-05-07 Roland McGrath <roland@redhat.com>
22837
22838 * elf/ldconfig.c (main): Add a const.
22839
5f24d53a 228402010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 22841
a160f8d8
UD
22842 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
22843 (args_options): Add no-idn option.
22844 (ahosts_keys_int): Add idn_flags to ai_flags.
22845 (parse_option): Handle 'i' option to clear idn_flags.
22846
5f24d53a
UD
22847 * malloc/malloc.c (_int_free): Possible race in the most recently
22848 added check. Only act on the data if no current modification
22849 happened.
265bb1ce
UD
22850
22851See ChangeLog.17 for earlier changes.