]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Make ARM fesetenv (FE_NOMASK_ENV) detect failure (bug 14866).
[thirdparty/glibc.git] / ChangeLog
CommitLineData
7e1be741
L
12012-11-21 H.J. Lu <hongjiu.lu@intel.com>
2
3 * elf/elf.h (DF_1_NODIRECT): New macro.
4 (DF_1_IGNMULDEF): Likewise.
5 (DF_1_NOKSYMS): Likewise.
6 (DF_1_NOHDR): Likewise.
7 (DF_1_EDITED): Likewise.
8 (DF_1_NORELOC): Likewise.
9 (DF_1_SYMINTPOSE): Likewise.
10 (DF_1_GLOBAUDIT): Likewise.
11 (DF_1_SINGLETON): Likewise.
12 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
13 DT_1_SUPPORTED_MASK bits.
14 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
15
105ce2ce
CD
162012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
17
18 * sysdeps/unix/make-syscalls.sh: Document prefixes.
19
123be9de
TS
202012-11-20 Thomas Schwinge <thomas@codesourcery.com>
21
d072f3f7
TS
22 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
23 macro.
24
123be9de
TS
25 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
26 (sendmmsg): Move declarations...
27 * socket/sys/socket.h: ... here.
28 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
29 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
30 include it from...
31 * socket/recvmmsg.c: ... this new file.
32 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
33 (sendmmsg): Rename to __sendmmsg, create weak alias and make
34 definition of __sendmmsg hidden.
35 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
36 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
37 Move ENOSYS stub into and include it from...
38 * socket/sendmmsg.c: ... this new file.
39 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
40 (sysdep_routines): Move recvmmsg and sendmmsg...
41 * socket/Makefile (routines): ... here.
42 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
43 (GLIBC_PRIVATE): Add __sendmmsg.
44 * include/sys/socket.h (__sendmmsg): Add declarations.
45 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
46 sendmmsg.
47
cf9a5d18
JM
482012-11-20 Joseph Myers <joseph@codesourcery.com>
49
50 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
51 variable I1 with __attribute__ ((unused)).
52 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
53
ecd4caf9
JM
542012-11-19 Joseph Myers <joseph@codesourcery.com>
55
be14d48f
JM
56 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
57 DUMMY variables with __attribute__ ((unused)).
58
ecd4caf9
JM
59 * bits/byteswap.h: Include <bits/types.h>.
60 (__bswap_64): Use __uint64_t instead of unsigned long long int.
61
986cab95
PT
622012-11-19 Pino Toscano <toscano.pino@tiscali.it>
63
64 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
65 string_t. Do not manually set errno.
66 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
67 length with __strnlen. Make sure to both set errno and return it on
68 failure.
69
6d33cc9d
DM
702012-11-19 David S. Miller <davem@davemloft.net>
71
72 With help from Joseph Myers.
73 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
74 very large arguments properly.
75 * math/libm-test.inc (atan_test): New tests.
76 (atan2_test): New tests.
77 * sysdeps/sparc/fpu/libm-test-ulps: Update.
78 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
79
ee663277
JM
802012-11-19 Joseph Myers <joseph@codesourcery.com>
81
877f2d8e
JM
82 [BZ #14856]
83 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
84 Define to 3.
85
116fc08a
JM
86 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
87 [POSIX] (EADDRNOTAVAIL): Likewise.
88 [POSIX] (EAFNOSUPPORT): Likewise.
89 [POSIX] (EALREADY): Likewise.
90 [POSIX] (ECONNABORTED): Likewise.
91 [POSIX] (ECONNREFUSED): Likewise.
92 [POSIX] (ECONNRESET): Likewise.
93 [POSIX] (EDESTADDRREQ): Likewise.
94 [POSIX] (EDQUOT): Likewise.
95 [POSIX] (EHOSTUNREACH): Likewise.
96 [POSIX] (EIDRM): Likewise.
97 [POSIX] (EISCONN): Likewise.
98 [POSIX] (ELOOP): Likewise.
99 [POSIX] (EMULTIHOP): Likewise.
100 [POSIX] (ENETDOWN): Likewise.
101 [POSIX] (ENETUNREACH): Likewise.
102 [POSIX] (ENOBUFS): Likewise.
103 [POSIX] (ENODATA): Likewise.
104 [POSIX] (ENOLINK): Likewise.
105 [POSIX] (ENOMSG): Likewise.
106 [POSIX] (ENOPROTOOPT): Likewise.
107 [POSIX] (ENOSR): Likewise.
108 [POSIX] (ENOSTR): Likewise.
109 [POSIX] (ENOTCONN): Likewise.
110 [POSIX] (ENOTSOCK): Likewise.
111 [POSIX] (EOPNOTSUPP): Likewise.
112 [POSIX] (EOVERFLOW): Likewise.
113 [POSIX] (EPROTO): Likewise.
114 [POSIX] (EPROTONOSUPPORT): Likewise.
115 [POSIX] (EPROTOTYPE): Likewise.
116 [POSIX] (ESTALE): Likewise.
117 [POSIX] (ETIME): Likewise.
118 [POSIX] (ETXTBSY): Likewise.
119 [POSIX] (EWOULDBLOCK): Likewise.
120 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
121 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
122 [POSIX] (SEEK_CUR): Likewise.
123 [POSIX] (SEEK_END): Likewise.
124 [POSIX || UNIX98] (mode_t): Do not require.
125 [POSIX] (off_t): Likewise.
126 [POSIX] (pid_t): Likewise.
127 [POSIX] (sys/stat.h): Do not allow header.
128 [POSIX] (unistd.h): Likewise.
129 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
130 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
131 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
132 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
133 require.
134 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
135 sigevent): Specify elements.
136 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
137 entry.
138 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
139 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
140
a483863f
JM
141 * conform/data/cpio.h-data [POSIX]: Disable whole file.
142 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
143 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
144 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
145 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
146 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
147 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
148 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
149 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
150 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
151 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
152 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
153 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
154 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
155 Likewise.
156 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
157 Likewise.
158 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
159 Likewise.
160 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
161 Likewise.
162 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
163 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
164 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
165 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
166 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
167 Specify lower bound on value.
168 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
169 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
170 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
171 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
172 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
173 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
174 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
175 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
176 value.
177 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
178 as optional.
179 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
180 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
181 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
182 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
183 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
184 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
185 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
186 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
187 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
188 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
189 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
190 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
191 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
192 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
193 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
194 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
195 entry.
196 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
197 optional.
198 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
199 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
200 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
201 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
202 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
203 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
204 Likewise.
205 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
206 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
207 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
208 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
209 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
210 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
211 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
212 as optional.
213 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
214 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
215 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
216 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
217 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
218 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
219 specify as optional.
220 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
221 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
222 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
223 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
224 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
225 [XPG3] (NL_LANGMAX): Likewise.
226 [POSIX || XPG3] (NL_MSGMAX): Likewise.
227 [POSIX || XPG3] (NL_NMAX): Likewise.
228 [POSIX || XPG3] (NL_SETMAX): Likewise.
229 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
230 [XPG3] (NZERO): Likewise.
231 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
232 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
233 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
234 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
235 (REG_ERANGE): Expect.
236 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
237 optional-constant.
238 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
239 Use (void) in prototype.
240 [POSIX] (*_t): Allow.
241 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
242 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
243 (WRDE_BADVAL): Expect.
244
5ba924e3
JM
245 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
246 expect.
247 [XPG3 || XPG4] (O_RSYNC): Likewise.
248 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
249 Likewise.
250 [XPG3 || XPG4] (pthread_sigmask): Likewise.
251 [XPG3 || XPG4] (sigqueue): Likewise.
252 [XPG3 || XPG4] (sigtimedwait): Likewise.
253 [XPG3 || XPG4] (sigwaitinfo): Likewise.
254 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
255 [XPG3 || XPG4] (vsnprintf): Likewise.
256 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
257 Likewise.
258 [XPG3 || XPG4] (blksize_t): Likewise.
259 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
260 Likewise.
261 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
262 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
263 [XPG3 || XPG4] (struct itimerspec): Likewise.
264 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
265 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
266 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
267 [XPG3 || XPG4] (clockid_t): Likewise.
268 [XPG3 || XPG4] (timer_t): Likewise.
269 [XPG3 || XPG4] (clock_getres): Likewise.
270 [XPG3 || XPG4] (clock_gettime): Likewise.
271 [XPG3 || XPG4] (clock_settime): Likewise.
272 [XPG3 || XPG4] (nanosleep): Likewise.
273 [XPG3 || XPG4] (timer_create): Likewise.
274 [XPG3 || XPG4] (timer_delete): Likewise.
275 [XPG3 || XPG4] (timer_gettime): Likewise.
276 [XPG3 || XPG4] (timer_getoverrun): Likewise.
277 [XPG3 || XPG4] (timer_settime): Likewise.
278 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
279 [XPG3 || XPG4] (getlogin_r): Likewise.
280 [XPG3 || XPG4] (pread): Likewise.
281 [XPG3 || XPG4] (pthread_atfork): Likewise.
282 [XPG3 || XPG4] (pwrite): Likewise.
283
ee663277
JM
284 [BZ #14835]
285 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
286 <bits/siginfo.h>.
287
942caa16
PT
2882012-11-19 Pino Toscano <toscano.pino@tiscali.it>
289
e19af380
PT
290 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
291 finalizing MALLSTREAM.
292
942caa16
PT
293 * sysdeps/mach/hurd/syncfs.c: New file.
294
cfde9b46
SP
2952012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
296
297 [BZ #14719]
298 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
299 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
300 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
301 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
302 (_nss_dns_gethostbyname4_r): Likewise.
303 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
304 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
305
f6da27e5
PH
3062012-11-19 Peng Haitao <penght@cn.fujitsu.com>
307
308 [BZ #13763]
309 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
310
6665d4a2
SM
3112012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
312
1f51ee92
SM
313 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
314 * elf/cache.c (print_entry): Print ",AArch64" for
315 FLAG_AARCH64_LIB64
316
6665d4a2
SM
317 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
318 * elf/cache.c (print_entry): Print ",hard-float" for
319 FLAG_ARM_LIBHF.
320
05b227bd
DM
3212012-11-18 David S. Miller <davem@davemloft.net>
322
323 With help from Joseph Myers.
324 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
325 cutoff to 2**-13.
326 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
327 cutoff to 2**-25.
328 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
329 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
330 small.
331 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
332 * math/libm-test.inc (y0_test): New tests.
333 (y1_test): New tests.
334 * sysdeps/i386/fpu/libm-test-ulps: Update.
335 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
336 * sysdeps/sparc/fpu/libm-test-ulps: Update.
337
786b0b67
AS
3382012-11-18 Andreas Schwab <schwab@linux-m68k.org>
339
340 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
341 64-bit targets.
342 * configure: Regenerated.
343
8e18b86d
DM
3442012-11-17 David S. Miller <davem@davemloft.net>
345
346 [BZ #14811]
347 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
348 nonzero exponents with absolute value below 0x1p-128 to +/-
349 0x1p-128.
350
531f1ae0
JM
3512012-11-17 Joseph Myers <joseph@codesourcery.com>
352
12df29e2
JM
353 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
354
150dc1a0
JM
355 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
356
531f1ae0
JM
357 * posix/getconf-speclist.c: New file.
358 * posix/posix-envs.def: Likewise.
359 * posix/confstr.c (START_ENV_GROUP): New macro.
360 (END_ENV_GROUP): Likewise.
361 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
362 (KNOWN_PRESENT_ENV_STRING): Likewise.
363 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
364 (UNKNOWN_ENVIRONMENT): Likewise.
365 (confstr): Include posix-envs.def instead of handling
366 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
367 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
368 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
369 (END_ENV_GROUP): Likewise.
370 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
371 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
372 (UNKNOWN_ENVIRONMENT): Likewise.
373 (__sysconf): Include posix-envs.def instead of handling associated
374 cases directly here.
375 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
376 preprocessing getconf-speclist.c rather than running getconf or
377 generating empty file.
378
a93f9cbc
PT
3792012-11-16 Pino Toscano <toscano.pino@tiscali.it>
380
381 * scripts/check-local-headers.sh: Ignore 'mach' headers.
382
d64d9f87
AL
3832012-11-16 Andrej Lajovic <natrij@gmail.com>
384
385 [BZ #14672]
386 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
387
447885eb
DM
3882012-11-16 David S. Miller <davem@davemloft.net>
389
390 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
391 smaller than LDBL_EPSILON/2.0L, just return xm1.
392
bcbf9830
L
3932012-11-16 H.J. Lu <hongjiu.lu@intel.com>
394
395 * elf/tst-array1.c (init): Set constructor priority to 1000.
396 (fini): Set destructor priority to 1000.
397 * elf/tst-array2dep.c: Likewise.
398
2b766585
SP
3992012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
400
401 [BZ #11741]
402 * libio/fileops.c (_IO_new_file_write): Correctly return error.
403 (_IO_new_file_xsputn): Also return EOF if none of the input
404 data was written when overflow failed.
405 * libio/iopadn.c (_IO_padn): Likewise.
406 * libio/iowpadn.c (_IO_wpadn): Likewise.
407 * stdio-common/tst-put-error.c: Add copyright notice.
408 (do_test): Add case for printing padded string.
409 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
410 _IO_padn returned error.
411 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
412 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
413 return EOF.
414
b1848fde
SP
4152012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
416
417 * libio/libioP.h: Add comment note that the references to C++
418 bits are now obsolete.
419
2fd89785
MS
4202012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
421
422 * math/libm-test.inc (check_complex): Use asprintf.
423
e3ea5409
JM
4242012-11-14 Joseph Myers <joseph@codesourcery.com>
425
426 * debug/pcprofiledump.c (print_version): Update copyright year.
427 * malloc/memusagestat.c (print_version): Likewise.
428
2e64d265
L
4292012-11-14 H.J. Lu <hongjiu.lu@intel.com>
430
431 [BZ #14831]
432 * elf/Makefile (tests): Add tst-audit8.
433 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
434 ($(objpfx)tst-audit8.out): New target.
435 (tst-audit8-ENV): New variable.
436 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
437 audit if l_reloc_result is NULL.
438 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
439 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
440 * elf/tst-audit8.c: New file.
441
c485e4d2
MS
4422012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
443
444 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
445 * misc/Makefile (CFLAGS-select.c): Define.
446 * posix/Makefile (CFLAGS-pause.c): Define.
447
3a0d900a
DM
4482012-11-13 David S. Miller <davem@davemloft.net>
449
450 * crypt/Makefile: Move test targets after toplevel Rules
451 inclusion. Grab any necessary sysdep routines when linking.
452 * crypt/md5.c (md5_process_block): Remove define, we will always
453 name it __md5_process_block.
454 (md5_finish_ctx): Update md5_process_block call.
455 (md5_stream): Likewise.
456 (md5_process_bytes): Likewise.
457 (md5_process_block): Rename to __md5_process_block and move to ...
458 * crypt/md5-block.c: ... here.
459 * crypt/sha256.c (sha256_process_block): Move to ...
460 * crypt/sha256-block.c: ... here.
461 * crypt/sha512.c (sha512_process_block): Move to ...
462 * crypt/sha512-block.c: ... here.
463 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
464 path.
465 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
466 * sysdeps/sparc/sparc64/multiarch/Makefile
467 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
468 crypt subdir.
469 (localedef-aux): Add md5 crypto assembler when in locale subdir.
470 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
471 multiarch changes.
472 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
473 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
474 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
475 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
476 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
477 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
478 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
479 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
480 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
481 file.
482 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
483 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
484 file.
485 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
486
8ca89318
JM
4872012-11-13 Joseph Myers <joseph@codesourcery.com>
488
e27d476a
JM
489 * timezone/tzselect.ksh: Update from tzcode git revision
490 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
491 * timezone/zdump.c: Likewise.
492 * timezone/zic.c: Likewise.
493 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
494 in TZVERSION setting, not $(PKGVERSION).
495 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
496 REPORT_BUGS_TO settings.
497
8ca89318
JM
498 [BZ #14838]
499 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
500 macro.
501
47594329
MS
5022012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
503
504 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
505 detection to immediately after _FP_ROUND().
506 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
507 bits are 0.
508
640ac3f1
DM
5092012-11-11 David S. Miller <davem@davemloft.net>
510
511 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
512 inttypes.h
513 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
514 __close rather than their public counterparts.
515
3d2577bb
JM
5162012-11-10 Joseph Myers <joseph@codesourcery.com>
517
518 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
519 file.
520 [UNIX98] (sem_timedwait): Do not expect.
521 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
522 [XPG4 || UNIX98] (sockatmark): Do not expect.
523 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
524 (clock_getcpuclockid): Do not expect.
525 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
526 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
527 Do not expect.
528 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
529 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
530 [UNIX98] (vwscanf): Likewise.
531 [UNIX98] (vswscanf): Likewise.
532
fb1ae1ee
JM
5332012-11-09 Joseph Myers <joseph@codesourcery.com>
534
9ec6f8bd
JM
535 * timezone/version.h: Remove file.
536 * timezone/README: Do not refer to version.h.
537 * timezone/Makefile ($(objpfx)zic.o): New dependency on
538 $(objpfx)version.h.
539 ($(objpfx)zdump.o): Likewise.
c3f81911 540 ($(objpfx)version.h): New target.
9ec6f8bd 541
0aa8f8a1
JM
542 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
543 2012i.
544 * timezone/README: Don't mention modification to tzselect.ksh.
545 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
546 work on unmodified tzselect.ksh. Substitute version numbers in
547 tzselect.ksh.
548
4e87147f
JM
549 * Makefile (format-me): Remove.
550 (INSTALL): Adjust indentation. Use commands directly instead of
551 using $(format-me).
552
8b748aed
JM
553 * aclocal.m4 (ACX_PKGVERSION): New macro.
554 (ACX_BUGURL): Likewise.
555 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
556 (PKGVERSION): New AC_DEFINE_UNQUOTED.
557 (REPORT_BUGS_TO): Likewise.
558 * configure: Regenerated.
559 * config.h.in (PKGVERSION): New macro.
560 (REPORT_BUGS_TO): Likewise.
561 * config.make.in (PKGVERSION): New variable.
562 (PKGVERSION_TEXI): Likewise.
563 (REPORT_BUGS_TO): Likewise.
564 (REPORT_BUGS_TEXI): Likewise.
565 * Makefile (format-me): Use -I$(common-objpfx)manual.
566 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
567 ($(common-objpfx)manual/%): New target.
568 (manual/%): Remove target.
569 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
570 (print_version): Use PKGVERSION.
571 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
572 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
573 and REPORT_BUGS_TO.
574 ($(objpfx)xtrace): Likewise.
575 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
576 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
577 (print_version): Use PKGVERSION.
578 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
579 (do_version): Use PKGVERSION.
580 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
581 REPORT_BUGS_TO.
582 (common-ldd-rewrite): Likewise.
583 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
584 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
585 (print_version): Use PKGVERSION.
586 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
587 * elf/pldd.c (argp_program_bug_address): Remove variable.
588 (more_help): New function.
589 (argp): Use more_help.
590 (print_version): Use PKGVERSION.
591 * elf/sln.c (main): Use PKGVERSION.
592 (usage): Use REPORT_BUGS_TO.
593 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
594 (top level): Use PKGVERSION.
595 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
596 (print_version): Use PKGVERSION.
597 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
598 (print_version): Use PKGVERSION.
599 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
600 (print_version): Use PKGVERSION.
601 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
602 (print_version): Use PKGVERSION.
603 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
604 (print_version): Use PKGVERSION.
605 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
606 (print_version): Use PKGVERSION.
607 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
608 and BUGURL.
609 ($(objpfx)memusage): Likewise.
610 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
611 (do_version): Use PKGVERSION.
612 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
613 (print_version): Use PKGVERSION.
614 * malloc/mtrace.pl ($PACKAGE): Remove variable.
615 ($PKGVERSION): New variable.
616 ($REPORT_BUGS_TO): Likewise.
617 (usage): Use $REPORT_BUGS_TO.
618 (top level): Use $PKGVERSION.
619 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
620 ($(objpfx)pkgvers.texi): New rule.
621 ($(objpfx)stamp-pkgvers): Likewise.
622 * manual/install.texi: Include pkgvers.texi.
623 (--with-pkgversion): Document new configure option.
624 (--with-bugurl): Likewise.
625 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
626 than necessarily for this particular distribution. Use
627 REPORT_BUGS_TO for where to report bugs.
628 * INSTALL: Regenerated.
629 * manual/libc.texinfo: Include pkgvers.texi.
630 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
631 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
632 (print_version): Use PKGVERSION.
633 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
634 (print_version): Use PKGVERSION.
635 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
636 (print_version): Use PKGVERSION.
637 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
638 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
639 macro.
640 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
641 (print_version): Use PKGVERSION.
642 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
643 (print_version): Use PKGVERSION.
644 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
645 and PKGVERSION.
646
92e4b6a9
JM
647 * timezone/checktab.awk: Update from tzcode 2012i.
648 * timezone/ialloc.c: Likewise.
649 * timezone/private.h: Likewise.
650 * timezone/scheck.c: Likewise.
651 * timezone/tzfile.h: Likewise.
652 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
653 (TZVERSION): Hardcode tzcode version number.
654 * timezone/zdump.c: Update from tzcode 2012i.
655 * timezone/zic.c: Likewise.
656 * timezone/version.h: New file.
657 * timezone/README: Describe version.h. Update upstream location.
658
9bde902c
JM
659 [BZ #14824]
660 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
661 (mktemp): Enable declaration.
662 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
663 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
664 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
665 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
666 Likewise.
667 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
668 Likewise.
669 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
670 Likewise.
671 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
672 Likewise.
673 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
674 Likewise.
675 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
676 Likewise.
677
fb1ae1ee
JM
678 [BZ #14821]
679 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
680 offset in buffer as u_int32_t not u_long. Consistently use memcpy
681 for copies of such integer values.
682 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
683 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
684
2c1adbcb
AJ
6852012-11-09 Andreas Jaeger <aj@suse.de>
686
687 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
688 definitions and declarations that are provided by
689 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
690
d0f8457e
AK
6912012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
692
693 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
694 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
695 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
696 definition.
697
57241e26
MS
6982012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
699
700 * elf/elf.h: Update comment before AArch64 relocations.
701
60e8270d
DM
7022012-11-07 David S. Miller <davem@davemloft.net>
703
704 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
705 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
706 (__start_context): Declare.
707 (__makecontext_ret): Delete.
708 (__makecontext): Hook up __start_context instead of
709 __makecontext_ret.
710 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
711 (sysdep_routines): Add __start_context when in stdlib.
712
0fbb0fbc
JM
7132012-11-07 Joseph Myers <joseph@codesourcery.com>
714
715 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
716 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
717 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
718 hardcoded "nm".
719 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
720 (READELF): New variable. Use it instead of hardcoded "readelf".
721
eb48db7e
L
7222012-11-07 H.J. Lu <hongjiu.lu@intel.com>
723
724 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
725 * sysdeps/x86/Makefile: Here.
726 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
727 * sysdeps/x86/tst-xmmymm.sh: This.
728
05bcf62a
JM
7292012-11-07 Joseph Myers <joseph@codesourcery.com>
730
c4b6cf53
JM
731 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
732 expectations.
733 [UNIX98] (pthread_barrier_t): Do not expect.
734 [UNIX98] (pthread_barrierattr_t): Likewise.
735 [UNIX98] (pthread_spinlock_t): Likewise.
736 [UNIX98] (pthread_barrier_destroy): Likewise.
737 [UNIX98] (pthread_barrier_init): Likewise.
738 [UNIX98] (pthread_barrier_wait): Likewise.
739 [UNIX98] (pthread_barrierattr_destroy): Likewise.
740 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
741 [UNIX98] (pthread_barrierattr_init): Likewise.
742 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
743 [UNIX98] (pthread_getcpuclockid): Likewise.
744 [UNIX98] (pthread_mutex_timedlock): Likewise.
745 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
746 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
747 [UNIX98] (pthread_sigmask): Likewise.
748 [UNIX98] (pthread_spin_destroy): Likewise.
749 [UNIX98] (pthread_spin_init): Likewise.
750 [UNIX98] (pthread_spin_lock): Likewise.
751 [UNIX98] (pthread_spin_trylock): Likewise.
752 [UNIX98] (pthread_spin_unlock): Likewise.
753 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
754 Do not expect.
755 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
756 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
757 [XPG3 || XPG4] (pthread_cond_t): Likewise.
758 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
759 [XPG3 || XPG4] (pthread_key_t): Likewise.
760 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
761 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
762 [XPG3 || XPG4] (pthread_once_t): Likewise.
763 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
764 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
765 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
766 [XPG3 || XPG4] (pthread_t): Likewise.
767
cbe6e120
JM
768 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
769 not expect.
770 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
771
1b126443
JM
772 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
773 Change function return type to int.
774
b961a573
JM
775 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
776 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
777 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
778 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
779 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
780 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
781 [!POSIX] (posix_madvise): Likewise.
782 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
783 && !UNIX98].
784 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
785 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
786 (mode_t): Likewise.
787 (posix_mem_offset): Likewise.
788 (posix_typed_mem_get_info): Likewise.
789 (posix_typed_mem_open): Likewise.
790
9e188909
JM
791 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
792 Change condition to [XOPEN2K8].
793
05bcf62a
JM
794 * conform/conformtest.pl: Preprocess allow-header data with -x c
795 instead of from stdin.
796 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
797 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
798 [C99-based standards] (cerfc): Likewise.
799 [C99-based standards] (cexp2): Likewise.
800 [C99-based standards] (cexpm1): Likewise.
801 [C99-based standards] (clog10): Likewise.
802 [C99-based standards] (clog1p): Likewise.
803 [C99-based standards] (clog2): Likewise.
804 [C99-based standards] (clgamma): Likewise.
805 [C99-based standards] (ctgamma): Likewise.
806 [C99-based standards] (cerff): Likewise.
807 [C99-based standards] (cerfcf): Likewise.
808 [C99-based standards] (cexp2f): Likewise.
809 [C99-based standards] (cexpm1f): Likewise.
810 [C99-based standards] (clog10f): Likewise.
811 [C99-based standards] (clog1pf): Likewise.
812 [C99-based standards] (clog2f): Likewise.
813 [C99-based standards] (clgammaf): Likewise.
814 [C99-based standards] (ctgammaf): Likewise.
815 [C99-based standards] (cerfl): Likewise.
816 [C99-based standards] (cerfcl): Likewise.
817 [C99-based standards] (cexp2l): Likewise.
818 [C99-based standards] (cexpm1l): Likewise.
819 [C99-based standards] (clog10l): Likewise.
820 [C99-based standards] (clog1pl): Likewise.
821 [C99-based standards] (clog2l): Likewise.
822 [C99-based standards] (clgammal): Likewise.
823 [C99-based standards] (ctgammal): Likewise.
824 * conform/data/inttypes.h-data [C99-based standards]: Include
825 stdint.h-data. Remove all expectations for stdint.h contents.
826 [C99-based standards] (PRI*): Do not allow.
827 [C99-based standards] (SCN*): Likewise.
828 [C99-based standards] (*_t): Likewise.
829 [C99-based-standards] (PRId8): Expect macro.
830 [C99-based-standards] (PRIi8): Likewise.
831 [C99-based-standards] (PRIo8): Likewise.
832 [C99-based-standards] (PRIu8): Likewise.
833 [C99-based-standards] (PRIx8): Likewise.
834 [C99-based-standards] (PRIX8): Likewise.
835 [C99-based-standards] (SCNd8): Likewise.
836 [C99-based-standards] (SCNi8): Likewise.
837 [C99-based-standards] (SCNo8): Likewise.
838 [C99-based-standards] (SCNu8): Likewise.
839 [C99-based-standards] (SCNx8): Likewise.
840 [C99-based-standards] (PRIdLEAST8): Likewise.
841 [C99-based-standards] (PRIiLEAST8): Likewise.
842 [C99-based-standards] (PRIoLEAST8): Likewise.
843 [C99-based-standards] (PRIuLEAST8): Likewise.
844 [C99-based-standards] (PRIxLEAST8): Likewise.
845 [C99-based-standards] (PRIXLEAST8): Likewise.
846 [C99-based-standards] (SCNdLEAST8): Likewise.
847 [C99-based-standards] (SCNiLEAST8): Likewise.
848 [C99-based-standards] (SCNoLEAST8): Likewise.
849 [C99-based-standards] (SCNuLEAST8): Likewise.
850 [C99-based-standards] (SCNxLEAST8): Likewise.
851 [C99-based-standards] (PRIdFAST8): Likewise.
852 [C99-based-standards] (PRIiFAST8): Likewise.
853 [C99-based-standards] (PRIoFAST8): Likewise.
854 [C99-based-standards] (PRIuFAST8): Likewise.
855 [C99-based-standards] (PRIxFAST8): Likewise.
856 [C99-based-standards] (PRIXFAST8): Likewise.
857 [C99-based-standards] (SCNdFAST8): Likewise.
858 [C99-based-standards] (SCNiFAST8): Likewise.
859 [C99-based-standards] (SCNoFAST8): Likewise.
860 [C99-based-standards] (SCNuFAST8): Likewise.
861 [C99-based-standards] (SCNxFAST8): Likewise.
862 [C99-based-standards] (PRId16): Likewise.
863 [C99-based-standards] (PRIi16): Likewise.
864 [C99-based-standards] (PRIo16): Likewise.
865 [C99-based-standards] (PRIu16): Likewise.
866 [C99-based-standards] (PRIx16): Likewise.
867 [C99-based-standards] (PRIX16): Likewise.
868 [C99-based-standards] (SCNd16): Likewise.
869 [C99-based-standards] (SCNi16): Likewise.
870 [C99-based-standards] (SCNo16): Likewise.
871 [C99-based-standards] (SCNu16): Likewise.
872 [C99-based-standards] (SCNx16): Likewise.
873 [C99-based-standards] (PRIdLEAST16): Likewise.
874 [C99-based-standards] (PRIiLEAST16): Likewise.
875 [C99-based-standards] (PRIoLEAST16): Likewise.
876 [C99-based-standards] (PRIuLEAST16): Likewise.
877 [C99-based-standards] (PRIxLEAST16): Likewise.
878 [C99-based-standards] (PRIXLEAST16): Likewise.
879 [C99-based-standards] (SCNdLEAST16): Likewise.
880 [C99-based-standards] (SCNiLEAST16): Likewise.
881 [C99-based-standards] (SCNoLEAST16): Likewise.
882 [C99-based-standards] (SCNuLEAST16): Likewise.
883 [C99-based-standards] (SCNxLEAST16): Likewise.
884 [C99-based-standards] (PRIdFAST16): Likewise.
885 [C99-based-standards] (PRIiFAST16): Likewise.
886 [C99-based-standards] (PRIoFAST16): Likewise.
887 [C99-based-standards] (PRIuFAST16): Likewise.
888 [C99-based-standards] (PRIxFAST16): Likewise.
889 [C99-based-standards] (PRIXFAST16): Likewise.
890 [C99-based-standards] (SCNdFAST16): Likewise.
891 [C99-based-standards] (SCNiFAST16): Likewise.
892 [C99-based-standards] (SCNoFAST16): Likewise.
893 [C99-based-standards] (SCNuFAST16): Likewise.
894 [C99-based-standards] (SCNxFAST16): Likewise.
895 [C99-based-standards] (PRId32): Likewise.
896 [C99-based-standards] (PRIi32): Likewise.
897 [C99-based-standards] (PRIo32): Likewise.
898 [C99-based-standards] (PRIu32): Likewise.
899 [C99-based-standards] (PRIx32): Likewise.
900 [C99-based-standards] (PRIX32): Likewise.
901 [C99-based-standards] (SCNd32): Likewise.
902 [C99-based-standards] (SCNi32): Likewise.
903 [C99-based-standards] (SCNo32): Likewise.
904 [C99-based-standards] (SCNu32): Likewise.
905 [C99-based-standards] (SCNx32): Likewise.
906 [C99-based-standards] (PRIdLEAST32): Likewise.
907 [C99-based-standards] (PRIiLEAST32): Likewise.
908 [C99-based-standards] (PRIoLEAST32): Likewise.
909 [C99-based-standards] (PRIuLEAST32): Likewise.
910 [C99-based-standards] (PRIxLEAST32): Likewise.
911 [C99-based-standards] (PRIXLEAST32): Likewise.
912 [C99-based-standards] (SCNdLEAST32): Likewise.
913 [C99-based-standards] (SCNiLEAST32): Likewise.
914 [C99-based-standards] (SCNoLEAST32): Likewise.
915 [C99-based-standards] (SCNuLEAST32): Likewise.
916 [C99-based-standards] (SCNxLEAST32): Likewise.
917 [C99-based-standards] (PRIdFAST32): Likewise.
918 [C99-based-standards] (PRIiFAST32): Likewise.
919 [C99-based-standards] (PRIoFAST32): Likewise.
920 [C99-based-standards] (PRIuFAST32): Likewise.
921 [C99-based-standards] (PRIxFAST32): Likewise.
922 [C99-based-standards] (PRIXFAST32): Likewise.
923 [C99-based-standards] (SCNdFAST32): Likewise.
924 [C99-based-standards] (SCNiFAST32): Likewise.
925 [C99-based-standards] (SCNoFAST32): Likewise.
926 [C99-based-standards] (SCNuFAST32): Likewise.
927 [C99-based-standards] (SCNxFAST32): Likewise.
928 [C99-based-standards] (PRId64): Likewise.
929 [C99-based-standards] (PRIi64): Likewise.
930 [C99-based-standards] (PRIo64): Likewise.
931 [C99-based-standards] (PRIu64): Likewise.
932 [C99-based-standards] (PRIx64): Likewise.
933 [C99-based-standards] (PRIX64): Likewise.
934 [C99-based-standards] (SCNd64): Likewise.
935 [C99-based-standards] (SCNi64): Likewise.
936 [C99-based-standards] (SCNo64): Likewise.
937 [C99-based-standards] (SCNu64): Likewise.
938 [C99-based-standards] (SCNx64): Likewise.
939 [C99-based-standards] (PRIdLEAST64): Likewise.
940 [C99-based-standards] (PRIiLEAST64): Likewise.
941 [C99-based-standards] (PRIoLEAST64): Likewise.
942 [C99-based-standards] (PRIuLEAST64): Likewise.
943 [C99-based-standards] (PRIxLEAST64): Likewise.
944 [C99-based-standards] (PRIXLEAST64): Likewise.
945 [C99-based-standards] (SCNdLEAST64): Likewise.
946 [C99-based-standards] (SCNiLEAST64): Likewise.
947 [C99-based-standards] (SCNoLEAST64): Likewise.
948 [C99-based-standards] (SCNuLEAST64): Likewise.
949 [C99-based-standards] (SCNxLEAST64): Likewise.
950 [C99-based-standards] (PRIdFAST64): Likewise.
951 [C99-based-standards] (PRIiFAST64): Likewise.
952 [C99-based-standards] (PRIoFAST64): Likewise.
953 [C99-based-standards] (PRIuFAST64): Likewise.
954 [C99-based-standards] (PRIxFAST64): Likewise.
955 [C99-based-standards] (PRIXFAST64): Likewise.
956 [C99-based-standards] (SCNdFAST64): Likewise.
957 [C99-based-standards] (SCNiFAST64): Likewise.
958 [C99-based-standards] (SCNoFAST64): Likewise.
959 [C99-based-standards] (SCNuFAST64): Likewise.
960 [C99-based-standards] (SCNxFAST64): Likewise.
961 [C99-based-standards] (PRIdMAX): Likewise.
962 [C99-based-standards] (PRIiMAX): Likewise.
963 [C99-based-standards] (PRIoMAX): Likewise.
964 [C99-based-standards] (PRIuMAX): Likewise.
965 [C99-based-standards] (PRIxMAX): Likewise.
966 [C99-based-standards] (PRIXMAX): Likewise.
967 [C99-based-standards] (SCNdMAX): Likewise.
968 [C99-based-standards] (SCNiMAX): Likewise.
969 [C99-based-standards] (SCNoMAX): Likewise.
970 [C99-based-standards] (SCNuMAX): Likewise.
971 [C99-based-standards] (SCNxMAX): Likewise.
972 [C99-based-standards] (PRIdPTR): Likewise.
973 [C99-based-standards] (PRIiPTR): Likewise.
974 [C99-based-standards] (PRIoPTR): Likewise.
975 [C99-based-standards] (PRIuPTR): Likewise.
976 [C99-based-standards] (PRIxPTR): Likewise.
977 [C99-based-standards] (PRIXPTR): Likewise.
978 [C99-based-standards] (SCNdPTR): Likewise.
979 [C99-based-standards] (SCNiPTR): Likewise.
980 [C99-based-standards] (SCNoPTR): Likewise.
981 [C99-based-standards] (SCNuPTR): Likewise.
982 [C99-based-standards] (SCNxPTR): Likewise.
983 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
984 allow.
985 * conform/data/stdint.h-data: Update comments to clarify
986 requirements.
987 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
988 type.
989 [C99-based standards] (INT8_MAX): Likewise.
990 [C99-based standards] (INT16_MIN): Likewise.
991 [C99-based standards] (INT16_MAX): Likewise.
992 [C99-based standards] (INT32_MIN): Likewise.
993 [C99-based standards] (INT32_MAX): Likewise.
994 [C99-based standards] (INT64_MIN): Likewise.
995 [C99-based standards] (INT64_MAX): Likewise.
996 [C99-based standards] (UINT8_MAX): Likewise.
997 [C99-based standards] (UINT16_MAX): Likewise.
998 [C99-based standards] (UINT32_MAX): Likewise.
999 [C99-based standards] (UINT64_MAX): Likewise.
1000 [C99-based standards] (INT_LEAST8_MIN): Likewise.
1001 [C99-based standards] (INT_LEAST8_MAX): Likewise.
1002 [C99-based standards] (INT_LEAST16_MIN): Likewise.
1003 [C99-based standards] (INT_LEAST16_MAX): Likewise.
1004 [C99-based standards] (INT_LEAST32_MIN): Likewise.
1005 [C99-based standards] (INT_LEAST32_MAX): Likewise.
1006 [C99-based standards] (INT_LEAST64_MIN): Likewise.
1007 [C99-based standards] (INT_LEAST64_MAX): Likewise.
1008 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
1009 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
1010 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
1011 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
1012 [C99-based standards] (INT_FAST8_MIN): Likewise.
1013 [C99-based standards] (INT_FAST8_MAX): Likewise.
1014 [C99-based standards] (INT_FAST16_MIN): Likewise.
1015 [C99-based standards] (INT_FAST16_MAX): Likewise.
1016 [C99-based standards] (INT_FAST32_MIN): Likewise.
1017 [C99-based standards] (INT_FAST32_MAX): Likewise.
1018 [C99-based standards] (INT_FAST64_MIN): Likewise.
1019 [C99-based standards] (INT_FAST64_MAX): Likewise.
1020 [C99-based standards] (UINT_FAST8_MAX): Likewise.
1021 [C99-based standards] (UINT_FAST16_MAX): Likewise.
1022 [C99-based standards] (UINT_FAST32_MAX): Likewise.
1023 [C99-based standards] (UINT_FAST64_MAX): Likewise.
1024 [C99-based standards] (INTPTR_MIN): Likewise.
1025 [C99-based standards] (INTPTR_MAX): Likewise.
1026 [C99-based standards] (UINTPTR_MAX): Likewise.
1027 [C99-based standards] (INTMAX_MIN): Likewise.
1028 [C99-based standards] (INTMAX_MAX): Likewise.
1029 [C99-based standards] (UINTMAX_MAX): Likewise.
1030 [C99-based standards] (PTRDIFF_MIN): Likewise.
1031 [C99-based standards] (PTRDIFF_MAX): Likewise.
1032 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
1033 [C99-based standards] (SIZE_MAX): Likewise.
1034 [C99-based standards] (WCHAR_MAX): Likewise.
1035 [C99-based standards] (WINT_MAX): Likewise.
1036 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
1037 constraint on value.
1038 [C99-based standards] (WCHAR_MIN): Likewise.
1039 [C99-based standards] (WINT_MIN): Likewise.
1040 [C99-based standards] (*_t): Allow.
1041 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
1042 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
1043 Include math.h-data and complex.h-data. Remove all expectations
1044 of math.h and complex.h contents.
1045 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
1046 at end of line.
1047 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
1048 (struct tm): Expect tag.
1049 [C99-based-standards] (wcstof): Expect function.
1050 [C99-based-standards] (wcstold): Likewise.
1051 [C99-based-standards] (wcstoll): Likewise.
1052 [C99-based-standards] (wcstoull): Likewise.
1053 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
1054 macro-int-constant. Specify type.
1055 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
1056 constraint on value.
1057 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1058 Specify type.
1059 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
1060 Specify value.
1061 [ISO C standards]: Do not allow headers.
1062 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
1063 wcs[abcdefghijklmnopqrstuvwxyz]*.
1064 [ISO C standards] (*_t): Do not allow.
1065 * conform/data/wctype.h-data [C99-based standards] (iswblank):
1066 Expect function.
1067 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
1068 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1069 Specify type.
1070 [ISO C standards]: Do not allow headers.
1071 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
1072 is[abcdefghijklmnopqrstuvwxyz]*.
1073 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
1074 to[abcdefghijklmnopqrstuvwxyz]*.
1075 [ISO C standards] (*_t): Do not allow.
1076 * conform/data/stdalign.h-data: New file.
1077 * conform/data/stdbool.h-data: Likewise.
1078 * conform/data/stdnoreturn.h-data: Likewise.
1079
01f34a3b
JL
10802012-11-07 Andreas Jaeger <aj@suse.de>
1081
1082 [BZ #14809]
1083 * sysdeps/unix/sysv/linux/sys/sysctl.h (_UAPI_LINUX_KERNEL_H)
1084 (_UAPI_LINUX_TYPES_H): Starting with Linux 3.7, the include header
1085 guards are changed. Only define if not yet defined, #undef back
1086 after including linux/sysctl.h if defined here.
1087
7514feb8
RM
10882012-11-07 Roland McGrath <roland@hack.frob.com>
1089
1090 [BZ #14815]
1091 * manual/filesys.texi (Directory Entries): Typo fix.
1092 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
1093
19b2ecfc
MS
10942012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1095
1096 * elf/elf.h (EM_AARCH64): New macro.
1097 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
1098 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
1099 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
1100 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
1101 (R_AARCH64_TLSDESC): Likewise.
1102 (NT_ARM_TLS): Likewise.
1103 (NT_ARM_HW_BREAK): Likewise.
1104 (NT_ARM_HW_WATCH): Likewise.
1105
60e235ee
JM
11062012-11-07 Joseph Myers <joseph@codesourcery.com>
1107
1108 [BZ #14811]
1109 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
1110 (__ieee754_powl): Saturate nonzero exponents with absolute value
1111 below 0x1p-79 to +/- 0x1p-79.
1112 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
1113 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
1114 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
1115 nonzero exponents with absolute value below 0x1p-32 to +/-
1116 0x1p-32.
1117 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
1118 (__ieee754_powl): Saturate nonzero exponents with absolute value
1119 below 0x1p-79 to +/- 0x1p-79.
1120 * math/libm-test.inc (pow_test): Add more tests.
1121
0ab234b7
AK
11222012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1123
1124 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
1125 _dl_s390_cap_flags with kernel. Increase string length.
1126 (_dl_s390_platforms): Add z196 and zEC12.
1127
45832f74
JM
11282012-11-07 Joseph Myers <joseph@codesourcery.com>
1129
1130 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
1131 Change XOPEN21K to XOPEN2K.
1132
19218757
MK
11332012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
1134
1135 * string/memmove.c: Use memcpy when possible.
1136
c5f45721
AJ
11372012-11-06 Andreas Jaeger <aj@suse.de>
1138
1139 * po/eo.po: Update from translation team.
1140
82477c28
JM
11412012-11-06 Joseph Myers <joseph@codesourcery.com>
1142
1143 [BZ #14793]
1144 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
1145 exponent and small x and y exponents, scale x or y up. Increase
1146 by 2 the exponent used in scaling up.
1147 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1148 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1149 * math/libm-test.inc (fma_test): Add more tests.
1150 (fma_test_towardzero): Likewise.
1151 (fma_test_downward): Likewise.
1152 (fma_test_upward): Likewise.
1153
99252c8c
JM
11542012-11-05 Joseph Myers <joseph@codesourcery.com>
1155
acfa885f
JM
1156 [BZ #14805]
1157 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
1158 fenv_t *.
1159
99252c8c
JM
1160 [BZ #14801]
1161 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
1162 namespace for names of struct fields.
1163 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
1164 fenv_t fields.
1165 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1166 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
1167
d6d98dea
ST
11682012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1169
1170 [BZ #3665]
1171 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
1172
e10bb107
TS
11732012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1174
1175 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
1176 PTR_DEMANGLE.
1177
1178 [BZ #5246]
1179 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
1180 PTR_DEMANGLE.
1181
a0c2940d
JM
11822012-11-04 Joseph Myers <joseph@codesourcery.com>
1183
1184 [BZ #14797]
1185 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
1186 definitely overflow as x * y not x * y + z.
1187 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1188 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1189 * math/libm-test.inc (fma_test): Add more tests.
1190 (fma_test_towardzero): Likewise.
1191 (fma_test_downward): Likewise.
1192 (fma_test_upward): Likewise.
1193
b830319d
TS
11942012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1195
1196 [BZ #157]
1197
1198 * include/stub-tag.h: Remove file.
1199 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
1200 '#include' of it.
1201 * manual/maint.texi (Porting): Don't reference it.
1202 * Makerules ($(objpfx)stubs): Likewise.
1203 * dirent/closedir.c: Don't include <stub-tag.h>.
1204 * dirent/dirfd.c: Likewise.
1205 * dirent/fdopendir.c: Likewise.
1206 * dirent/getdents.c: Likewise.
1207 * dirent/getdents64.c: Likewise.
1208 * dirent/opendir.c: Likewise.
1209 * dirent/readdir.c: Likewise.
1210 * dirent/readdir64.c: Likewise.
1211 * dirent/readdir64_r.c: Likewise.
1212 * dirent/readdir_r.c: Likewise.
1213 * dirent/rewinddir.c: Likewise.
1214 * dirent/seekdir.c: Likewise.
1215 * dirent/telldir.c: Likewise.
1216 * gmon/profil.c: Likewise.
1217 * grp/setgroups.c: Likewise.
1218 * inet/if_index.c: Likewise.
1219 * io/access.c: Likewise.
1220 * io/chdir.c: Likewise.
1221 * io/chmod.c: Likewise.
1222 * io/chown.c: Likewise.
1223 * io/close.c: Likewise.
1224 * io/dup.c: Likewise.
1225 * io/dup2.c: Likewise.
1226 * io/dup3.c: Likewise.
1227 * io/euidaccess.c: Likewise.
1228 * io/faccessat.c: Likewise.
1229 * io/fchdir.c: Likewise.
1230 * io/fchmod.c: Likewise.
1231 * io/fchmodat.c: Likewise.
1232 * io/fchown.c: Likewise.
1233 * io/fchownat.c: Likewise.
1234 * io/fcntl.c: Likewise.
1235 * io/flock.c: Likewise.
1236 * io/fstatfs.c: Likewise.
1237 * io/fstatfs64.c: Likewise.
1238 * io/fstatvfs.c: Likewise.
1239 * io/fstatvfs64.c: Likewise.
1240 * io/futimens.c: Likewise.
1241 * io/fxstat.c: Likewise.
1242 * io/fxstat64.c: Likewise.
1243 * io/fxstatat.c: Likewise.
1244 * io/fxstatat64.c: Likewise.
1245 * io/getcwd.c: Likewise.
1246 * io/isatty.c: Likewise.
1247 * io/lchmod.c: Likewise.
1248 * io/lchown.c: Likewise.
1249 * io/link.c: Likewise.
1250 * io/linkat.c: Likewise.
1251 * io/lseek.c: Likewise.
1252 * io/lseek64.c: Likewise.
1253 * io/lxstat64.c: Likewise.
1254 * io/mkdir.c: Likewise.
1255 * io/mkdirat.c: Likewise.
1256 * io/mkfifo.c: Likewise.
1257 * io/mkfifoat.c: Likewise.
1258 * io/open.c: Likewise.
1259 * io/open64.c: Likewise.
1260 * io/openat.c: Likewise.
1261 * io/openat64.c: Likewise.
1262 * io/pipe.c: Likewise.
1263 * io/pipe2.c: Likewise.
1264 * io/poll.c: Likewise.
1265 * io/posix_fadvise.c: Likewise.
1266 * io/posix_fadvise64.c: Likewise.
1267 * io/posix_fallocate.c: Likewise.
1268 * io/posix_fallocate64.c: Likewise.
1269 * io/read.c: Likewise.
1270 * io/readlink.c: Likewise.
1271 * io/readlinkat.c: Likewise.
1272 * io/rmdir.c: Likewise.
1273 * io/sendfile.c: Likewise.
1274 * io/sendfile64.c: Likewise.
1275 * io/statfs.c: Likewise.
1276 * io/statfs64.c: Likewise.
1277 * io/statvfs.c: Likewise.
1278 * io/statvfs64.c: Likewise.
1279 * io/symlink.c: Likewise.
1280 * io/symlinkat.c: Likewise.
1281 * io/ttyname.c: Likewise.
1282 * io/ttyname_r.c: Likewise.
1283 * io/umask.c: Likewise.
1284 * io/unlink.c: Likewise.
1285 * io/unlinkat.c: Likewise.
1286 * io/utime.c: Likewise.
1287 * io/utimensat.c: Likewise.
1288 * io/write.c: Likewise.
1289 * io/xmknod.c: Likewise.
1290 * io/xmknodat.c: Likewise.
1291 * io/xstat.c: Likewise.
1292 * io/xstat64.c: Likewise.
1293 * login/getpt.c: Likewise.
1294 * login/grantpt.c: Likewise.
1295 * login/unlockpt.c: Likewise.
1296 * math/e_acoshl.c: Likewise.
1297 * math/e_acosl.c: Likewise.
1298 * math/e_asinl.c: Likewise.
1299 * math/e_atan2l.c: Likewise.
1300 * math/e_atanhl.c: Likewise.
1301 * math/e_coshl.c: Likewise.
1302 * math/e_expl.c: Likewise.
1303 * math/e_fmodl.c: Likewise.
1304 * math/e_gammal_r.c: Likewise.
1305 * math/e_hypotl.c: Likewise.
1306 * math/e_j0l.c: Likewise.
1307 * math/e_j1l.c: Likewise.
1308 * math/e_jnl.c: Likewise.
1309 * math/e_lgammal_r.c: Likewise.
1310 * math/e_log10l.c: Likewise.
1311 * math/e_log2l.c: Likewise.
1312 * math/e_logl.c: Likewise.
1313 * math/e_powl.c: Likewise.
1314 * math/e_rem_pio2l.c: Likewise.
1315 * math/e_sinhl.c: Likewise.
1316 * math/e_sqrtl.c: Likewise.
1317 * math/fclrexcpt.c: Likewise.
1318 * math/fedisblxcpt.c: Likewise.
1319 * math/feenablxcpt.c: Likewise.
1320 * math/fegetenv.c: Likewise.
1321 * math/fegetexcept.c: Likewise.
1322 * math/fegetround.c: Likewise.
1323 * math/feholdexcpt.c: Likewise.
1324 * math/fesetenv.c: Likewise.
1325 * math/fesetround.c: Likewise.
1326 * math/feupdateenv.c: Likewise.
1327 * math/fgetexcptflg.c: Likewise.
1328 * math/fraiseexcpt.c: Likewise.
1329 * math/fsetexcptflg.c: Likewise.
1330 * math/ftestexcept.c: Likewise.
1331 * math/k_cosl.c: Likewise.
1332 * math/k_rem_pio2l.c: Likewise.
1333 * math/k_sinl.c: Likewise.
1334 * math/k_tanl.c: Likewise.
1335 * math/s_asinhl.c: Likewise.
1336 * math/s_atanl.c: Likewise.
1337 * math/s_cbrtl.c: Likewise.
1338 * math/s_erfl.c: Likewise.
1339 * math/s_expm1l.c: Likewise.
1340 * math/s_log1pl.c: Likewise.
1341 * math/s_tanhl.c: Likewise.
1342 * misc/acct.c: Likewise.
1343 * misc/brk.c: Likewise.
1344 * misc/chflags.c: Likewise.
1345 * misc/chroot.c: Likewise.
1346 * misc/fchflags.c: Likewise.
1347 * misc/fgetxattr.c: Likewise.
1348 * misc/flistxattr.c: Likewise.
1349 * misc/fremovexattr.c: Likewise.
1350 * misc/fsetxattr.c: Likewise.
1351 * misc/fsync.c: Likewise.
1352 * misc/ftruncate.c: Likewise.
1353 * misc/futimes.c: Likewise.
1354 * misc/futimesat.c: Likewise.
1355 * misc/getdomain.c: Likewise.
1356 * misc/getdtsz.c: Likewise.
1357 * misc/gethostid.c: Likewise.
1358 * misc/gethostname.c: Likewise.
1359 * misc/getloadavg.c: Likewise.
1360 * misc/getpagesize.c: Likewise.
1361 * misc/getsysstats.c: Likewise.
1362 * misc/getxattr.c: Likewise.
1363 * misc/gtty.c: Likewise.
1364 * misc/ioctl.c: Likewise.
1365 * misc/lgetxattr.c: Likewise.
1366 * misc/listxattr.c: Likewise.
1367 * misc/llistxattr.c: Likewise.
1368 * misc/lremovexattr.c: Likewise.
1369 * misc/lsetxattr.c: Likewise.
1370 * misc/lutimes.c: Likewise.
1371 * misc/madvise.c: Likewise.
1372 * misc/mincore.c: Likewise.
1373 * misc/mlock.c: Likewise.
1374 * misc/mlockall.c: Likewise.
1375 * misc/mmap.c: Likewise.
1376 * misc/mprotect.c: Likewise.
1377 * misc/msync.c: Likewise.
1378 * misc/munlock.c: Likewise.
1379 * misc/munlockall.c: Likewise.
1380 * misc/munmap.c: Likewise.
1381 * misc/preadv.c: Likewise.
1382 * misc/preadv64.c: Likewise.
1383 * misc/ptrace.c: Likewise.
1384 * misc/pwritev.c: Likewise.
1385 * misc/pwritev64.c: Likewise.
1386 * misc/readv.c: Likewise.
1387 * misc/reboot.c: Likewise.
1388 * misc/remap_file_pages.c: Likewise.
1389 * misc/removexattr.c: Likewise.
1390 * misc/revoke.c: Likewise.
1391 * misc/select.c: Likewise.
1392 * misc/setdomain.c: Likewise.
1393 * misc/setegid.c: Likewise.
1394 * misc/seteuid.c: Likewise.
1395 * misc/sethostid.c: Likewise.
1396 * misc/sethostname.c: Likewise.
1397 * misc/setregid.c: Likewise.
1398 * misc/setreuid.c: Likewise.
1399 * misc/setxattr.c: Likewise.
1400 * misc/sstk.c: Likewise.
1401 * misc/stty.c: Likewise.
1402 * misc/swapoff.c: Likewise.
1403 * misc/swapon.c: Likewise.
1404 * misc/sync.c: Likewise.
1405 * misc/syncfs.c: Likewise.
1406 * misc/syscall.c: Likewise.
1407 * misc/truncate.c: Likewise.
1408 * misc/ualarm.c: Likewise.
1409 * misc/usleep.c: Likewise.
1410 * misc/ustat.c: Likewise.
1411 * misc/utimes.c: Likewise.
1412 * misc/vhangup.c: Likewise.
1413 * misc/writev.c: Likewise.
1414 * posix/_exit.c: Likewise.
1415 * posix/alarm.c: Likewise.
1416 * posix/execve.c: Likewise.
1417 * posix/fexecve.c: Likewise.
1418 * posix/fork.c: Likewise.
1419 * posix/fpathconf.c: Likewise.
1420 * posix/getaddrinfo.c: Likewise.
1421 * posix/getegid.c: Likewise.
1422 * posix/geteuid.c: Likewise.
1423 * posix/getgid.c: Likewise.
1424 * posix/getgroups.c: Likewise.
1425 * posix/getlogin.c: Likewise.
1426 * posix/getlogin_r.c: Likewise.
1427 * posix/getpgid.c: Likewise.
1428 * posix/getpid.c: Likewise.
1429 * posix/getppid.c: Likewise.
1430 * posix/getresgid.c: Likewise.
1431 * posix/getresuid.c: Likewise.
1432 * posix/getsid.c: Likewise.
1433 * posix/getuid.c: Likewise.
1434 * posix/glob64.c: Likewise.
1435 * posix/nanosleep.c: Likewise.
1436 * posix/pathconf.c: Likewise.
1437 * posix/pause.c: Likewise.
1438 * posix/posix_madvise.c: Likewise.
1439 * posix/pread.c: Likewise.
1440 * posix/pread64.c: Likewise.
1441 * posix/pwrite.c: Likewise.
1442 * posix/pwrite64.c: Likewise.
1443 * posix/sched_getaffinity.c: Likewise.
1444 * posix/sched_getp.c: Likewise.
1445 * posix/sched_gets.c: Likewise.
1446 * posix/sched_primax.c: Likewise.
1447 * posix/sched_primin.c: Likewise.
1448 * posix/sched_rr_gi.c: Likewise.
1449 * posix/sched_setaffinity.c: Likewise.
1450 * posix/sched_setp.c: Likewise.
1451 * posix/sched_sets.c: Likewise.
1452 * posix/sched_yield.c: Likewise.
1453 * posix/setgid.c: Likewise.
1454 * posix/setlogin.c: Likewise.
1455 * posix/setpgid.c: Likewise.
1456 * posix/setresgid.c: Likewise.
1457 * posix/setresuid.c: Likewise.
1458 * posix/setsid.c: Likewise.
1459 * posix/setuid.c: Likewise.
1460 * posix/sleep.c: Likewise.
1461 * posix/spawni.c: Likewise.
1462 * posix/sysconf.c: Likewise.
1463 * posix/times.c: Likewise.
1464 * posix/wait.c: Likewise.
1465 * posix/wait3.c: Likewise.
1466 * posix/wait4.c: Likewise.
1467 * posix/waitpid.c: Likewise.
1468 * resolv/gai_sigqueue.c: Likewise.
1469 * resource/getpriority.c: Likewise.
1470 * resource/getrlimit.c: Likewise.
1471 * resource/getrusage.c: Likewise.
1472 * resource/nice.c: Likewise.
1473 * resource/setpriority.c: Likewise.
1474 * resource/setrlimit.c: Likewise.
1475 * resource/ulimit.c: Likewise.
1476 * rt/aio_cancel.c: Likewise.
1477 * rt/aio_fsync.c: Likewise.
1478 * rt/aio_read.c: Likewise.
1479 * rt/aio_sigqueue.c: Likewise.
1480 * rt/aio_suspend.c: Likewise.
1481 * rt/aio_write.c: Likewise.
1482 * rt/clock_getres.c: Likewise.
1483 * rt/clock_gettime.c: Likewise.
1484 * rt/clock_nanosleep.c: Likewise.
1485 * rt/clock_settime.c: Likewise.
1486 * rt/lio_listio.c: Likewise.
1487 * rt/mq_close.c: Likewise.
1488 * rt/mq_getattr.c: Likewise.
1489 * rt/mq_notify.c: Likewise.
1490 * rt/mq_open.c: Likewise.
1491 * rt/mq_receive.c: Likewise.
1492 * rt/mq_send.c: Likewise.
1493 * rt/mq_setattr.c: Likewise.
1494 * rt/mq_timedreceive.c: Likewise.
1495 * rt/mq_timedsend.c: Likewise.
1496 * rt/mq_unlink.c: Likewise.
1497 * rt/shm_open.c: Likewise.
1498 * rt/shm_unlink.c: Likewise.
1499 * rt/timer_create.c: Likewise.
1500 * rt/timer_delete.c: Likewise.
1501 * rt/timer_getoverr.c: Likewise.
1502 * rt/timer_gettime.c: Likewise.
1503 * rt/timer_settime.c: Likewise.
1504 * setjmp/__longjmp.c: Likewise.
1505 * setjmp/setjmp.c: Likewise.
1506 * signal/kill.c: Likewise.
1507 * signal/killpg.c: Likewise.
1508 * signal/raise.c: Likewise.
1509 * signal/sigaction.c: Likewise.
1510 * signal/sigaltstack.c: Likewise.
1511 * signal/sigblock.c: Likewise.
1512 * signal/sigignore.c: Likewise.
1513 * signal/sigintr.c: Likewise.
1514 * signal/signal.c: Likewise.
1515 * signal/sigpause.c: Likewise.
1516 * signal/sigpending.c: Likewise.
1517 * signal/sigqueue.c: Likewise.
1518 * signal/sigreturn.c: Likewise.
1519 * signal/sigset.c: Likewise.
1520 * signal/sigsetmask.c: Likewise.
1521 * signal/sigstack.c: Likewise.
1522 * signal/sigsuspend.c: Likewise.
1523 * signal/sigtimedwait.c: Likewise.
1524 * signal/sigvec.c: Likewise.
1525 * signal/sigwait.c: Likewise.
1526 * signal/sigwaitinfo.c: Likewise.
1527 * signal/sysv_signal.c: Likewise.
1528 * socket/accept.c: Likewise.
1529 * socket/accept4.c: Likewise.
1530 * socket/bind.c: Likewise.
1531 * socket/connect.c: Likewise.
1532 * socket/getpeername.c: Likewise.
1533 * socket/getsockname.c: Likewise.
1534 * socket/getsockopt.c: Likewise.
1535 * socket/isfdtype.c: Likewise.
1536 * socket/listen.c: Likewise.
1537 * socket/recv.c: Likewise.
1538 * socket/recvfrom.c: Likewise.
1539 * socket/recvmsg.c: Likewise.
1540 * socket/send.c: Likewise.
1541 * socket/sendmsg.c: Likewise.
1542 * socket/sendto.c: Likewise.
1543 * socket/setsockopt.c: Likewise.
1544 * socket/shutdown.c: Likewise.
1545 * socket/sockatmark.c: Likewise.
1546 * socket/socket.c: Likewise.
1547 * socket/socketpair.c: Likewise.
1548 * stdio-common/ctermid.c: Likewise.
1549 * stdio-common/cuserid.c: Likewise.
1550 * stdio-common/remove.c: Likewise.
1551 * stdio-common/rename.c: Likewise.
1552 * stdio-common/renameat.c: Likewise.
1553 * stdio-common/tempname.c: Likewise.
1554 * stdlib/getcontext.c: Likewise.
1555 * stdlib/makecontext.c: Likewise.
1556 * stdlib/setcontext.c: Likewise.
1557 * stdlib/swapcontext.c: Likewise.
1558 * stdlib/system.c: Likewise.
1559 * streams/fattach.c: Likewise.
1560 * streams/fdetach.c: Likewise.
1561 * streams/getmsg.c: Likewise.
1562 * streams/getpmsg.c: Likewise.
1563 * streams/putmsg.c: Likewise.
1564 * streams/putpmsg.c: Likewise.
1565 * sysdeps/unix/bsd/getpt.c: Likewise.
1566 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
1567 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
1568 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
1570 Likewise.
1571 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
1572 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
1573 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1574 * sysvipc/msgctl.c: Likewise.
1575 * sysvipc/msgget.c: Likewise.
1576 * sysvipc/msgrcv.c: Likewise.
1577 * sysvipc/msgsnd.c: Likewise.
1578 * sysvipc/semctl.c: Likewise.
1579 * sysvipc/semget.c: Likewise.
1580 * sysvipc/semop.c: Likewise.
1581 * sysvipc/semtimedop.c: Likewise.
1582 * sysvipc/shmat.c: Likewise.
1583 * sysvipc/shmctl.c: Likewise.
1584 * sysvipc/shmdt.c: Likewise.
1585 * sysvipc/shmget.c: Likewise.
1586 * termios/tcdrain.c: Likewise.
1587 * termios/tcflow.c: Likewise.
1588 * termios/tcflush.c: Likewise.
1589 * termios/tcgetattr.c: Likewise.
1590 * termios/tcgetpgrp.c: Likewise.
1591 * termios/tcsendbrk.c: Likewise.
1592 * termios/tcsetattr.c: Likewise.
1593 * termios/tcsetpgrp.c: Likewise.
1594 * time/adjtime.c: Likewise.
1595 * time/clock.c: Likewise.
1596 * time/getitimer.c: Likewise.
1597 * time/gettimeofday.c: Likewise.
1598 * time/setitimer.c: Likewise.
1599 * time/settimeofday.c: Likewise.
1600 * time/stime.c: Likewise.
1601 * time/time.c: Likewise.
1602
16032012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 1604
a20492cf
PT
1605 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
1606 /usr/old/bin.
1607
72e182e3
PT
1608 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
1609 instead of spaces.
1610 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
1611
fbeafede
JM
16122012-11-03 Joseph Myers <joseph@codesourcery.com>
1613
5b5b04d6
JM
1614 [BZ #14796]
1615 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
1616 FE_TONEAREST before applying Dekker multiplication and Knuth
1617 addition. Clear inexact exceptions and check for exact zero
1618 results afterwards.
1619 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1620 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1621 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1622 * math/libm-test.inc (fma_test): Add more tests.
1623 (fma_test_towardzero): Likewise.
1624 (fma_test_downward): Likewise.
1625 (fma_test_upward): Likewise.
1626 * sysdeps/generic/math_private.h (default_libc_fesetround): New
1627 function.
1628 (libc_fesetround): New macro.
1629 (libc_fesetroundf): Likewise.
1630 (libc_fesetroundl): Likewise.
1631 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
1632 function.
1633 (libc_fesetround_387): Likewise.
1634 (libc_fesetroundf): New macro.
1635 (libc_fesetround): Likewise.
1636 (libc_fesetroundl): Likewise.
1637 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
1638 function.
1639 (libc_fesetroundf): New macro.
1640 (libc_fesetround): Likewise.
1641 (libc_fesetroundl): Likewise.
1642 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
1643 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
1644 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
1645 libm_hidden_ver.
1646 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
1647 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
1648 libm_hidden_def.
1649 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
1650 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
1651 libm_hidden_ver.
1652 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
1653 libm_hidden_def.
1654
fbeafede
JM
1655 [BZ #3439]
1656 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
1657 integer constant usable in #if and use that to give value to enum
1658 constant.
1659 (FE_DIVBYZERO): Likewise.
1660 (FE_UNDERFLOW): Likewise.
1661 (FE_OVERFLOW): Likewise.
1662 (FE_INVALID): Likewise.
1663 (FE_INVALID_SNAN): Likewise.
1664 (FE_INVALID_ISI): Likewise.
1665 (FE_INVALID_IDI): Likewise.
1666 (FE_INVALID_ZDZ): Likewise.
1667 (FE_INVALID_IMZ): Likewise.
1668 (FE_INVALID_COMPARE): Likewise.
1669 (FE_INVALID_SOFTWARE): Likewise.
1670 (FE_INVALID_SQRT): Likewise.
1671 (FE_INVALID_INTEGER_CONVERSION): Likewise.
1672 (FE_TONEAREST): Likewise.
1673 (FE_TOWARDZERO): Likewise.
1674 (FE_UPWARD): Likewise.
1675 (FE_DOWNWARD): Likewise.
1676 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
1677 (FE_DIVBYZERO): Likewise.
1678 (FE_OVERFLOW): Likewise.
1679 (FE_UNDERFLOW): Likewise.
1680 (FE_INEXACT): Likewise.
1681 (FE_TONEAREST): Likewise.
1682 (FE_DOWNWARD): Likewise.
1683 (FE_UPWARD): Likewise.
1684 (FE_TOWARDZERO): Likewise.
1685 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
1686 (FE_UNDERFLOW): Likewise.
1687 (FE_OVERFLOW): Likewise.
1688 (FE_DIVBYZERO): Likewise.
1689 (FE_INVALID): Likewise.
1690 (FE_TONEAREST): Likewise.
1691 (FE_TOWARDZERO): Likewise.
1692 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
1693 (FE_OVERFLOW): Likewise.
1694 (FE_UNDERFLOW): Likewise.
1695 (FE_DIVBYZERO): Likewise.
1696 (FE_INEXACT): Likewise.
1697 (FE_TONEAREST): Likewise.
1698 (FE_TOWARDZERO): Likewise.
1699 (FE_UPWARD): Likewise.
1700 (FE_DOWNWARD): Likewise.
1701 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
1702 (FE_DIVBYZERO): Likewise.
1703 (FE_OVERFLOW): Likewise.
1704 (FE_UNDERFLOW): Likewise.
1705 (FE_INEXACT): Likewise.
1706 (FE_TONEAREST): Likewise.
1707 (FE_DOWNWARD): Likewise.
1708 (FE_UPWARD): Likewise.
1709 (FE_TOWARDZERO): Likewise.
1710
105ca950
CM
17112012-11-02 Chris Metcalf <cmetcalf@tilera.com>
1712
1713 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
1714
a542b389
AS
17152012-11-03 Andreas Schwab <schwab@linux-m68k.org>
1716
1717 * scripts/cross-test-ssh.sh (command): Use newlines to separate
1718 commands. Quote $PWD.
1719 (blacklist_exports): Don't use remove_newlines. Replace "declare
1720 -x" by "export".
1721 (remove_newlines): Remove.
1722
f62c8abc
L
17232012-11-02 H.J. Lu <hongjiu.lu@intel.com>
1724
1725 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
1726 * stdlib/stdlib.h (atof): Moved to ...
1727 * include/bits/stdlib-float.h: Here. New file.
1728 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
1729 * stdlib/bits/stdlib-float.h: New file.
1730 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
1731 -mno-sse -mno-mmx.
1732 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
1733 <xmmintrin.h>.
1734
0155d5b2
JM
17352012-11-02 Joseph Myers <joseph@codesourcery.com>
1736
a68d0680
JM
1737 * conform/conformtest.pl (@headers): Add fenv.h.
1738 * conform/data/fenv.h-data: New file.
1739 * include/fenv.h [_ISOMAC]: Disable all contents of file except
1740 include of <math/fenv.h>.
1741
caf7f573
JM
1742 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
1743 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
1744 && !UNIX98]. Enables tests for XOPEN2K8.
1745 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
1746 POSIX2008]: Likewise.
1747
6c073ad6
JM
1748 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
1749 (struct rusage): Do not expect type or its members.
1750
0155d5b2
JM
1751 [BZ #3439]
1752 * math/math.h (FP_NAN): Define macro to integer constant usable in
1753 #if and use that to give value to enum constant.
1754 (FP_INFINITE): Likewise.
1755 (FP_ZERO): Likewise.
1756 (FP_SUBNORMAL): Likewise.
1757 (FP_NORMAL): Likewise.
1758
b5dcacb4
AS
17592012-11-02 Andreas Schwab <schwab@linux-m68k.org>
1760
1761 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
1762 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
1763 arguments.
1764
f7934be8
RM
17652012-11-02 Roland McGrath <roland@hack.frob.com>
1766
1767 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
1768 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
1769 autoconf-time if not.
1770 * configure.in: Remove AC_PREREQ.
1771
d7d08bde
TMQMF
17722012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1773
1774 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
1775 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
1776 of the internal implementation.
1777
dcdae19a
JM
17782012-11-02 Joseph Myers <joseph@codesourcery.com>
1779
1780 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
1781 except include of <misc/sys/syslog.h>.
1782
d6cffd3e
AS
17832012-11-01 Andreas Schwab <schwab@linux-m68k.org>
1784
1785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
1786 function returns with a NULL context exit with zero.
1787
b3563932
TMQMF
17882012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1789
1790 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
1791
b288a93d
L
17922012-11-01 H.J. Lu <hongjiu.lu@intel.com>
1793
1794 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
1795 (run_program_cmd): This.
1796 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
1797 (tst_langinfo): New variable. Use it.
1798
a2421a68
SAS
17992012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
1800
1801 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
1802 floating point opcodes.
1803
6f796e1b
TS
18042012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1805
7402596b
TS
1806 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
1807 variable.
1808
d0d4f868
TS
1809 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
1810
6f796e1b
TS
1811 * sysdeps/mach/hurd/powerpc: Remove directory.
1812 * sysdeps/mach/powerpc: Likewise.
1813
4da224a2
AS
18142012-11-01 Andreas Schwab <schwab@linux-m68k.org>
1815
1816 * scripts/check-local-headers.sh: Ignore c++ headers.
1817
341dd673
TS
18182012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1819
1820 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
1821 __libc_cleanup_region_start argument.
1822
473611b2
JM
18232012-11-01 Joseph Myers <joseph@codesourcery.com>
1824
1825 [BZ #14784]
1826 [BZ #14785]
1827 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
1828 x * y using scaling, not as x * y + z.
1829 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1830 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1831 * math/libm-test.inc (fma_test): Add more tests.
1832 (fma_test_towardzero): Likewise.
1833 (fma_test_downward): Likewise.
1834 (fma_test_upward): Likewise.
1835
4078da3d
TS
18362012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1837
1838 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
1839
903252aa
JM
18402012-10-31 Joseph Myers <joseph@codesourcery.com>
1841
1842 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
1843 New variable.
1844
cbc818d0
TS
18452012-10-31 Thomas Schwinge <thomas@codesourcery.com>
1846
1847 * rt/tst-shm.c (worker): Correct checking for mmap failure.
1848
5a03cb1e
AS
18492012-10-31 Andreas Schwab <schwab@linux-m68k.org>
1850
1851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1852 Fix sort order.
1853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1854 Likewise.
1855
90aff2ff
TMQMF
18562012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1857
1858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1859 Fix the order of the list for glibc 2.17.
1860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1861 Likewise.
1862
1818fcb7
AS
18632012-10-31 Andreas Schwab <schwab@linux-m68k.org>
1864
1865 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1866
ef82f4da
JM
18672012-10-31 Joseph Myers <joseph@codesourcery.com>
1868
16a0e2ec
JM
1869 [BZ #14610]
1870 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
1871 for low part of x being zero before using __atanl (y).
1872 * math/libm-test.inc (atan2_test): Add another test.
1873
0eb69512
JM
1874 * manual/install.texi (Configuring and compiling): Document
1875 general use of test-wrapper and test-wrapper-env.
1876 * INSTALL: Regenerated.
1877
ef82f4da
JM
1878 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
1879 (__fma): Do not extract and scale down low bits on after-rounding
1880 systems when result rounded to normal precision would have normal
1881 exponent.
1882 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
1883 (__fmal): Do not extract and scale down low bits on after-rounding
1884 systems when result rounded to normal precision would have normal
1885 exponent.
1886 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
1887 (__fmal): Do not extract and scale down low bits on after-rounding
1888 systems when result rounded to normal precision would have normal
1889 exponent.
1890 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
1891 macro.
1892 (fma_test): Add more tests.
1893 (fma_test_towardzero): Likewise.
1894 (fma_test_downward): Likewise.
1895 (fma_test_upward): Likewise.
1896
954ef0d9
L
18972012-10-30 H.J. Lu <hongjiu.lu@intel.com>
1898
1899 * sysdeps/i386/tininess.h: Renamed to ...
1900 * sysdeps/x86/tininess.h: This.
1901 * sysdeps/x86_64/tininess.h: Removed.
1902
df61ffb2
JM
19032012-10-30 Joseph Myers <joseph@codesourcery.com>
1904
1905 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
1906 input. Use $(build-program-cmd).
1907 ($(objpfx)tst-array1-static.out): Likewise.
1908 ($(objpfx)tst-array2.out): Likewise.
1909 ($(objpfx)tst-array3.out): Likewise.
1910 ($(objpfx)tst-array4.out): Likewise.
1911 ($(objpfx)tst-array5.out): Likewise.
1912 ($(objpfx)tst-array5-static.out): Likewise.
1913
01767843
CM
19142012-10-30 Chris Metcalf <cmetcalf@tilera.com>
1915
47cc1490
CM
1916 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
1917 if defined.
1918
01767843
CM
1919 * nss/nsswitch.h (nss_interface_function): Provide new
1920 macro for use with NSS functions.
1921 * grp/initgroups.c: Use new macro.
1922 * nss/getXXbyYY.c: Likewise.
1923 * nss/getXXbyYY_r.c: Likewise.
1924 * nss/getXXent.c: Likewise.
1925 * nss/getXXent_r.c: Likewise.
1926 * sysdeps/posix/getaddrinfo.c: Likewise.
1927
8321aa97
AJ
19282012-10-30 Andreas Jaeger <aj@suse.de>
1929
1930 * po/ru.po: Update Russion translation from translation project.
1931
2a27fd6d
JM
19322012-10-30 Joseph Myers <joseph@codesourcery.com>
1933
8627a232
JM
1934 [BZ #14152]
1935 [BZ #14783]
1936 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
1937 result and shift together with sticky bit instead of replicating
1938 round-to-nearest rounding.
1939 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1940 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1941 * math/libm-test.inc (fma_test): Add more tests. Do not permit
1942 missing underflow exceptions.
1943 (fma_test_towardzero): Add more tests.
1944 (fma_test_downward): Likewise.
1945 (fma_test_upward): Likewise.
1946
2a27fd6d
JM
1947 [BZ #14047]
1948 * sysdeps/generic/tininess.h: New file.
1949 * sysdeps/i386/tininess.h: Likewise.
1950 * sysdeps/sh/tininess.h: Likewise.
1951 * sysdeps/x86_64/tininess.h: Likewise.
1952 * stdlib/tst-strtod-underflow.c: Likewise.
1953 * stdlib/tst-tininess.c: Likewise.
1954 * stdlib/strtod_l.c: Include <tininess.h>.
1955 (round_and_return): Do not set errno for exact underflow cases.
1956 Force an underflow exception when setting errno for underflow.
1957 Determine underflow based on rounding to normal precision if
1958 TININESS_AFTER_ROUNDING.
1959 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
1960 ERANGE for exact underflow cases.
1961 * stdlib/Makefile (tests): Add tst-tininess and
1962 tst-strtod-underflow.
1963 ($(objpfx)tst-tininess): Use $(link-libm).
1964 ($(objpfx)tst-strtod-underflow): Likewise.
1965
e7170363
AJ
19662012-10-30 Andreas Jaeger <aj@suse.de>
1967
e5088dc6
AJ
1968 [BZ#14767]
1969 * elf/Makefile (tests): Remove conditional for have-initfini-array
1970 since this is now always required and the variable does not exist
1971 anymore.
1972 (tests-static): Likewise.
1973 (modules-names): Likewise.
1974
e7170363 1975 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
1976
1977 * elf/tst-array1.c (fini_array): Make writeable so that it can be
1978 merged with constructor/destructor.
1979 (init_array): Likewise.
1980 * elf/tst-array2dep.c (fini_array): Likewise.
1981 (init_array): Likewise.
1982
60457d8a
MF
19832012-10-29 Mike Frysinger <vapier@gentoo.org>
1984
1985 * manual/message.texi: Delete @cartouche tags.
1986
8bece752
PT
19872012-10-29 Pino Toscano <toscano.pino@tiscali.it>
1988
94ce799f
PT
1989 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
1990 EOPNOTSUPP.
1991 * sysdeps/mach/hurd/fsync.c: Likewise.
1992
8bece752
PT
1993 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
1994 [_POSIX_REALTIME_SIGNALS]: Change condition to
1995 [_POSIX_REALTIME_SIGNALS > 0].
1996
86ebe6b1
AJ
19972012-10-27 Andreas Jaeger <aj@suse.de>
1998
1999 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
2000 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
2001 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
2002 [__WORDSIZE != 64]: Likewise.
2003
54399c08
L
20042012-10-26 H.J. Lu <hongjiu.lu@intel.com>
2005
2006 * iconvdata/tst-table.sh: Remove ${SHELL}.
2007 * iconvdata/tst-tables.sh: Likewise.
2008
e2211bed
DM
20092012-10-25 David S. Miller <davem@davemloft.net>
2010
2011 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2012 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
2013 of strtoull.
2014
f303f97c
DM
2015 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
2016 ifunc-impl-list.c
2017 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2018 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
2019 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
2020 file.
2021
1e9d84cd
RM
20222012-10-25 Roland McGrath <roland@hack.frob.com>
2023
2024 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2025 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
2026 __getdirentries.
2027
df381762
JM
20282012-10-25 Joseph Myers <joseph@codesourcery.com>
2029 Jim Blandy <jimb@codesourcery.com>
2030
2031 * scripts/cross-test-ssh.sh: New file.
2032 * manual/install.texi (Configuring and compiling): Document use of
2033 cross-test-ssh.sh.
2034 * INSTALL: Regenerated.
2035
bff64913
PT
20362012-10-25 Pino Toscano <toscano.pino@tiscali.it>
2037
2038 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
2039 EOPNOTSUPP.
2040
25fe8932
JM
20412012-10-25 Joseph Myers <joseph@codesourcery.com>
2042
2043 * Makeconfig (run-program-prefix): Fix comment.
2044
cc1290d0
JM
20452012-10-24 Joseph Myers <joseph@codesourcery.com>
2046 Jim Blandy <jimb@codesourcery.com>
2047
2048 * Makeconfig (test-wrapper): New variable,
2049 (test-wrapper-env): Likewise.
2050 [$(cross-compiling) = yes && $(test-wrapper) != ""]
2051 (run-built-tests): Define to yes.
2052 (run-program-prefix): Use $(test-wrapper).
2053 (built-program-cmd): Likewise.
2054 * Rules (make-test-out): Use $(test-wrapper-env) and
2055 $(host-built-program-cmd).
2056 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
2057 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
2058 tst-pathopt.sh.
2059 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
2060 $(test-wrapper-env) to tst-rtld-load-self.sh.
2061 ($(objpfx)order2.out): Use $(test-wrapper).
2062 ($(objpfx)tst-initorder.out): Likewise.
2063 ($(objpfx)tst-initorder2.out): Likewise.
2064 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
2065 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
2066 (test_wrapper_env): New variable. Use it to run ld.so.
2067 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
2068 Use it to run ld.so.
2069 (test_wrapper_env): Likewise.
2070 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
2071 $(test-wrapper) to run-iconv-test.sh.
2072 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
2073 (ICONV): Use $test_wrapper.
2074 * posix/Makefile ($(objpfx)globtest.out): Pass
2075 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
2076 globtest.sh, not $(run-program-prefix).
2077 * posix/globtest.sh (run_via_rtld_prefix): New variable.
2078 (test_wrapper): Likewise.
2079 (test_wrapper_env): Likewise. Use it to run globtest with HOME
2080 set together with run_via_rtld_prefix.
2081 (run_program_prefix): Define in terms of test_wrapper and
2082 run_via_rtld_prefix.
2083
6e6249d0
RM
20842012-10-24 Roland McGrath <roland@hack.frob.com>
2085
2086 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
2087 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
2088 Targets removed.
2089
2090 [BZ #14743]
2091 * include/time.h: Remove librt_hidden_proto (clock_gettime).
2092 Declare __clock_getres, __clock_gettime, __clock_settime,
2093 __clock_nanosleep, and __clock_getcpuclockid.
2094 * rt/clock_gettime.c: Define __clock_gettime as an alias.
2095 Remove librt_hidden_def (clock_gettime).
2096 * sysdeps/unix/clock_gettime.c: Likewise.
2097 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
2098 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2099 * rt/clock_getres.c: Define __clock_getres as an alias.
2100 * sysdeps/posix/clock_getres.c: Likewise.
2101 * rt/clock_settime.c: Define __clock_settime as an alias.
2102 * sysdeps/unix/clock_settime.c: Likewise.
2103 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
2104 * sysdeps/unix/clock_nanosleep.c: Likewise.
2105 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2106 * rt/clock-compat.c: New file.
2107 * rt/Makefile (librt-routines): Add clock-compat and move
2108 $(clock-routines) to ...
2109 (routines): ... here, new variable.
2110 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
2111 Don't add get_clockfreq here.
2112 * rt/Versions (libc: GLIBC_2.17): New version set.
2113 Add clock_* symbols here.
2114 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
2115 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
2116 (GLIBC_2.17): Add clock_* symbols.
2117 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2118 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2119 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2121 Likewise.
2122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2123 Likewise.
2124 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2125 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2126 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2127 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2128 * NEWS: Mention the move.
2129
2130 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2131 Use __open, __read, __close rather than their public counterparts.
2132 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2133 (__get_clockfreq_via_cpuinfo): Likewise.
2134 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
2135 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
2136
2137 * config.h.in (HAVE_IFUNC): New #undef.
2138 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
2139 was successful.
2140 * configure: Regenerated.
2141
0cae3f4b
MF
21422012-10-24 Mike Frysinger <vapier@gentoo.org>
2143
2144 * configure.in: Move READELF check to start of file.
2145 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
2146 libc_cv_asm_gnu_indirect_function in the process.
2147 * configure: Regenerated.
2148
8175a253
MF
21492012-10-24 Mike Frysinger <vapier@gentoo.org>
2150
2151 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
2152 send the output to /dev/null.
2153 (libc_cv_cc_with_libunwind): Likewise.
2154 (libc_cv_as_noexecstack): Likewise.
2155 * configure: Regenerate.
2156
0708a7d1
JM
21572012-10-24 Joseph Myers <joseph@codesourcery.com>
2158
10b40d85
JM
2159 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
2160
0708a7d1
JM
2161 * posix/globtest.sh (TMPDIR): Do not set.
2162 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
2163 (testout): Likewise.
2164
9fddec1a
AJ
21652012-10-24 Andreas Jaeger <aj@suse.de>
2166
3a8db22f
AJ
2167 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
2168 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
2169 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
2170 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
2171 posix_fadvise64, posix_fallocate64.
2172
9fddec1a
AJ
2173 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
2174 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
2175 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
2176 Likewise.
2177 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
2178 Likewise.
2179 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
2180
2181 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
2182 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
2183 <bits/fcntl-linux.h>.
2184 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
2185
2186 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
2187 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
2188 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
2189 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
2190 [__WORDSIZE != 64]: Likewise.
2191
ebfd1bbd
JM
21922012-10-23 Joseph Myers <joseph@codesourcery.com>
2193
03ac099f
JM
2194 * Makeconfig (run-built-tests): New variable.
2195 * Rules [$(cross-compiling) = yes]: Change condition to
2196 [$(run-built-tests) = no].
2197 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
2198 to [$(run-built-tests) = yes].
2199 * elf/Makefile [$(cross-compiling) = no]: Likewise
2200 * grp/Makefile [$(cross-compiling) = no]: Likewise.
2201 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
2202 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
2203 * intl/Makefile [$(cross-compiling) = no]: Likewise.
2204 * io/Makefile [$(cross-compiling) = no]: Likewise.
2205 * libio/Makefile [$(cross-compiling) = no]: Likewise.
2206 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
2207 * misc/Makefile [$(cross-compiling) = no]: Likewise.
2208 * posix/Makefile [$(cross-compiling) = no]: Likewise.
2209 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
2210 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
2211 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
2212 * string/Makefile [$(cross-compiling) = no]: Likewise.
2213
ebfd1bbd
JM
2214 * posix/Makefile ($(objpfx)globtest.out): Pass
2215 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
2216 $(rtld-installed-name).
2217 * posix/globtest.sh (elf_objpfx): Remove variable.
2218 (rtld_installed_name): Likewise.
2219 (library_path): Likewise.
2220 (run_program_prefix): New variable. Use for running globtest
2221 binary.
2222
166bca24
JB
22232012-10-23 Jim Blandy <jimb@codesourcery.com>
2224 Joseph Myers <joseph@codesourcery.com>
2225
2226 * Makeconfig (host-built-program-cmd): New variable.
2227 * elf/Makefile (tst-stackguard1-ARGS): Use
2228 $(host-built-program-cmd).
2229 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
2230 (tst-spawn-ARGS): Likewise.
2231 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
2232
88866099
JM
22332012-10-23 Joseph Myers <joseph@codesourcery.com>
2234 Jim Blandy <jimb@codesourcery.com>
2235
2236 * Makeconfig (run-via-rtld-prefix): New variable.
2237 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
2238 (built-program-cmd): Likewise.
2239
b4b4c296
AJ
22402012-10-22 Andreas Jaeger <aj@suse.de>
2241
2242 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
2243 __O_RSYNC if it exists, otherwise to O_SYNC.
2244
6fb54a22
JB
22452012-10-22 Jim Blandy <jimb@codesourcery.com>
2246 Joseph Myers <joseph@codesourcery.com>
2247
2248 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
2249 /dev/null.
2250 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
2251 from /dev/null
2252 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
2253 /dev/null.
2254
481b90b9
AJ
22552012-10-22 Andreas Jaeger <aj@suse.de>
2256
2a0e2669
AJ
2257 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
2258 Define always.
2259 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
2260
76e38f9a
AJ
2261 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2262 bits/fcntl-linux.h.
2263
7cd37b43
AJ
2264 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
2265 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
2266
481b90b9
AJ
2267 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
2268 to __O_LARGEFILE.
2269 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
2270 to __O_LARGEFILE.
2271
aba75984
JB
22722012-10-21 Jim Blandy <jimb@codesourcery.com>
2273 Joseph Myers <joseph@codesourcery.com>
2274
2275 * config.make.in (NM): New variable.
2276
88d4247f
AJ
22772012-10-21 Andreas Jaeger <aj@suse.de>
2278
2279 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
2280 definitions and declarations that are provided by
2281 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2282
f2eed205
L
22832012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2284
2285 [BZ #14683]
2286 * elf/Makefile (tests-static): Add tst-leaks1-static.
2287 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
2288 ($(objpfx)tst-leaks1-static): New rule.
2289 ($(objpfx)tst-leaks1-static-mem): Likewise.
2290 (tst-leaks1-static-ENV): New macro.
2291 * elf/dl-open.c (dl_open_worker): Check the main application
2292 only if SHARED is defined.
2293 * elf/tst-leaks1-static.c: New file.
2294
335e6931
AJ
22952012-10-20 Andreas Jaeger <aj@suse.de>
2296
2297 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
2298 generic values for Linux.
2299 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
2300 and declarations that are provided by <bits/fcntl-linux.h> and
2301 include <bits/fcntl-linux.h>.
2302 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2303 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
2304
ac5c94d3
RM
23052012-10-20 Roland McGrath <roland@hack.frob.com>
2306
2307 * io/fcntl.h: Move include of <bits/types.h> to the top and
2308 include it unconditionally.
2309
de54b33a
L
23102012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2311
228cfb01
L
2312 * wcsmbs/Makefile (tests-ifunc): New variable.
2313 (tests): Add $(tests-ifunc).
2314 * wcsmbs/test-wcschr-ifunc.c: New file.
2315 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2316 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2317 * wcsmbs/test-wcslen-ifunc.c: Likewise.
2318 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2319 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2320
69f07e5f
L
2321 * string/Makefile (tests-ifunc): New variable.
2322 (tests): Add $(tests-ifunc).
2323 * string/test-memccpy.c (TEST_NAME): New macro.
2324 * string/test-memchr.c (TEST_NAME): Likewise.
2325 * string/test-memcmp.c (TEST_NAME): Likewise.
2326 * string/test-memcpy.c (TEST_NAME): Likewise.
2327 * string/test-memmem.c (TEST_NAME): Likewise.
2328 * string/test-memmove.c (TEST_NAME): Likewise.
2329 * string/test-memset.c (TEST_NAME): Likewise.
2330 * string/test-rawmemchr.c (TEST_NAME): Likewise.
2331 * string/test-stpcpy.c (TEST_NAME): Likewise.
2332 * string/test-stpncpy.c (TEST_NAME): Likewise.
2333 * string/test-strcasecmp.c (TEST_NAME): Likewise.
2334 * string/test-strcasestr.c (TEST_NAME): Likewise.
2335 * string/test-strcat.c (TEST_NAME): Likewise.
2336 * string/test-strchr.c (TEST_NAME): Likewise.
2337 * string/test-strcmp.c(TEST_NAME): Likewise.
2338 * string/test-strcpy.c (TEST_NAME): Likewise.
2339 * string/test-strcspn.c (TEST_NAME): Likewise.
2340 * string/test-strlen.c (TEST_NAME): Likewise.
2341 * string/test-strncasecmp.c (TEST_NAME): Likewise.
2342 * string/test-strncmp.c (TEST_NAME): Likewise.
2343 * string/test-strncpy.c (TEST_NAME): Likewise.
2344 * string/test-strnlen.c (TEST_NAME): Likewise.
2345 * string/test-strpbrk.c (TEST_NAME): Likewise.
2346 * string/test-strrchr.c (TEST_NAME): Likewise.
2347 * string/test-strspn.c (TEST_NAME): Likewise.
2348 * string/test-strstr.c (TEST_NAME): Likewise.
2349 * string/test-bcopy-ifunc.c: New file.
2350 * string/test-bzero-ifunc.c: Likewise.
2351 * string/test-memccpy-ifunc.c: Likewise.
2352 * string/test-memchr-ifunc.c: Likewise.
2353 * string/test-memcmp-ifunc.c: Likewise.
2354 * string/test-memcpy-ifunc.c: Likewise.
2355 * string/test-memmem-ifunc.c: Likewise.
2356 * string/test-memmove-ifunc.c: Likewise.
2357 * string/test-mempcpy-ifunc.c: Likewise.
2358 * string/test-memset-ifunc.c: Likewise.
2359 * string/test-rawmemchr-ifunc.c: Likewise.
2360 * string/test-stpcpy-ifunc.c: Likewise.
2361 * string/test-stpncpy-ifunc.c: Likewise.
2362 * string/test-strcasecmp-ifunc.c: Likewise.
2363 * string/test-strcasestr-ifunc.c: Likewise.
2364 * string/test-strcat-ifunc.c: Likewise.
2365 * string/test-strchr-ifunc.c: Likewise.
2366 * string/test-strchrnul-ifunc.c: Likewise.
2367 * string/test-strcmp-ifunc.c: Likewise.
2368 * string/test-strcpy-ifunc.c: Likewise.
2369 * string/test-strcspn-ifunc.c: Likewise.
2370 * string/test-strlen-ifunc.c: Likewise.
2371 * string/test-strncasecmp-ifunc.c: Likewise.
2372 * string/test-strncat-ifunc.c: Likewise.
2373 * string/test-strncmp-ifunc.c: Likewise.
2374 * string/test-strncpy-ifunc.c: Likewise.
2375 * string/test-strnlen-ifunc.c: Likewise.
2376 * string/test-strpbrk-ifunc.c: Likewise.
2377 * string/test-strrchr-ifunc.c: Likewise.
2378 * string/test-strspn-ifunc.c: Likewise.
2379 * string/test-strstr-ifunc.c: Likewise.
2380
de54b33a
L
2381 * debug/Makefile (tests-ifunc): New variable.
2382 (tests): Add $(tests-ifunc).
2383 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
2384 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
2385 * debug/test-stpcpy_chk-ifunc.c: New file.
2386 * debug/test-strcpy_chk-ifunc.c: Likewise.
2387
88481c16
SP
23882012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2389
2390 [BZ #13601]
2391 * elf/dl-load.c (open_verify): Retry read if the entire ELF
2392 header is not read in.
2393
135948bd
JM
23942012-10-19 Joseph Myers <joseph@codesourcery.com>
2395
89f1c388
JM
2396 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
2397 script to $(SHELL) as $<. Pass $(common-objpfx) to script
2398 directly. Pass built executable to script as
2399 $(built-program-cmd).
2400 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
2401 $testprogram without using LD_LIBRARY_PATH and $ldso.
2402
e40a0d21
JM
2403 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
2404 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
2405 $(rtld-installed-name).
2406 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
2407 (rtld_installed_name): Likewise.
2408 (library_path): Likewise.
2409 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
2410 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
2411 $(run-program-prefix) to tst-tables.sh.
2412 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
2413 it to run tst-table-from and tst-table-to.
2414 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
2415 Pass it to tst-table.sh.
2416 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
2417 $(run-program-prefix) to tst-gettext.sh.
2418 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
2419 tst-translit.sh.
2420 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
2421 tst-gettext2.sh.
2422 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
2423 to run tst-gettext.
2424 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
2425 to run tst-gettext2.
2426 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
2427 to run tst-translit.
2428 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
2429 $(run-program-prefix) to tst-mtrace.sh.
2430 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
2431 to run tst-mtrace.
2432 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
2433 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
2434 $(rtld-installed-name).
2435 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
2436 (rtld_installed_name): Likewise.
2437 (run_program_prefix): New variable. Use it to run wordexp-test.
2438
728e272a
JM
2439 * Makeconfig (ARCH): Remove all definitions.
2440 (machine): Likewise.
2441 [ARCH]: Remove conditional code.
2442 [!objdir]: Give error.
2443 [!objdir] (objpfx): Remove.
2444 [!objdir] (common-objpfx): Likewise.
2445 [!objdir] (common-objdir): Likewise.
2446 * configure.in (config_makefile): Remove. Hardcode Makefile in
2447 AC_CONFIG_FILES call.
2448 * configure: Regenerated.
2449
d528cdcf
JM
2450 [BZ #13888]
2451 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
2452 or TMPDIR.
2453 (testout): Likewise.
2454
135948bd
JM
2455 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
2456 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
2457 $(rtld-installed-name).
2458 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
2459 (rtld_installed_name): Likwise.
2460 (runit): Remove function.
2461 (run_getconf): New variable, Use it for running getconf binary.
2462
38c78296
L
24632012-10-18 H.J. Lu <hongjiu.lu@intel.com>
2464
2465 [BZ #14716]
2466 * string/test-memmem.c (check_result): New function.
2467 (do_one_test): Use it.
2468 (check1): New function.
2469 (test_main): Use it.
2470
d077f65f
MT
24712012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
2472
2473 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
2474
ced52c71
JM
24752012-10-18 Joseph Myers <joseph@codesourcery.com>
2476
2477 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
2478 (_G_LSEEK64): Likewise.
2479 (_G_MMAP64): Likewise.
2480 (_G_FSTAT64): Likewise.
2481 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
2482 (_G_LSEEK64): Likewise.
2483 (_G_MMAP64): Likewise.
2484 (_G_FSTAT64): Likewise.
2485 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
2486 unconditional. Call __mmap64 directly.
2487 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
2488 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
2489 __lseek64 directly.
2490 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
2491 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
2492 __mmap64 directly.
2493 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
2494 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
2495 __lseek64 directly.
2496 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
2497 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
2498 __lseek64 directly.
2499 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
2500 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
2501 __lseek64 directly.
2502 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
2503 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
2504 __fxstat64 directly.
2505 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
2506 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
2507 unconditional.
2508 (freopen64) [!_G_OPEN64]: Remove conditional code.
2509 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
2510 unconditional.
2511 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
2512 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
2513 unconditional.
2514 (ftello64) [!_G_LSEEK64]: Remove conditional code.
2515 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
2516 unconditional.
2517 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2518 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
2519 unconditional.
2520 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
2521 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
2522 unconditional.
2523 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2524 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
2525 unconditional.
2526 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2527 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
2528 unconditional.
2529 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2530
b741de23
SP
25312012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2532
2533 [BZ #12140]
2534 * manual/memory.texi (Malloc Tunable Parameters): Add note
2535 about free list pointers overwriting some perturb bytes.
2536 Wording suggested by Roland McGrath.
2537
f9b9d9c9
JM
25382012-10-17 Joseph Myers <joseph@codesourcery.com>
2539
2540 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
2541 (lgamma_test): Likewise.
2542 (tgamma_test): Likewise.
2543
172a631a
FW
25442012-10-16 Florian Weimer <fweimer@redhat.com>
2545
2546 [BZ #14700]
2547 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
2548 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
2549
e9f37252
MK
25502012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
2551
2552 * NEWS: Mention BZ #14716.
2553 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
2554 when removing AVAILABLE1_USES_J macro.
2555
d394eb74
L
25562012-10-12 H.J. Lu <hongjiu.lu@intel.com>
2557
2558 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
2559 (__bswap_64): __uint64_t for unsigned 64-bit int.
2560
ca38dc17
AS
25612012-10-12 Andreas Schwab <schwab@linux-m68k.org>
2562
2563 * include/string.h (memmem): Declare libc hidden alias.
2564 * string/memmem.c (memmem): Define libc hidden alias.
2565 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
2566 __read, __close instead of open, read, close.
2567
9a387d1f
L
25682012-10-11 H.J. Lu <hongjiu.lu@intel.com>
2569
ac49ecaf
L
2570 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
2571 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
2572 global and hidden.
2573 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
2574 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
2575 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
2576 Likewise.
2577 (__rawmemchr_sse2): Likewise.
2578 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
2579 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
2580 (__strchr_sse2): Likewise.
2581 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
2582 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
2583 (__strcasecmp_sse2): Likewise.
2584 (__strncasecmp_sse2): Likewise.
2585 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
2586 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
2587 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
2588 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
2589 (__strrchr_sse2): Likewise.
2590 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
2591 ifunc-impl-list.c.
2592 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2593 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2594 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2595 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2596 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2597 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2598 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2599 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2600 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
2601 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
2602 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
2603 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
2604 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
2605 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2606 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2607 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2608 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2609 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2610 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
2611 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
2612 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
2613 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
2614 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
2615 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
2616 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
2617 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2618 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2619 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2620 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2621 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2622
b090e8ea
L
2623 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
2624 global and hidden.
2625 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
2626 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
2627 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
2628 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
2629 Likewise.
2630 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
2631 Likewise.
2632 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
2633 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
2634 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
2635 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
2636 ifunc-impl-list.c.
2637 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2638 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2639 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2640 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2641 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2642 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2643 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2644 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2645 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2646 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2647 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2648 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2649 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2650 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
2651 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
2652 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2653 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
2654 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
2655 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2656 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2657 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2658 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2659 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2660 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2661 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2662 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
2663 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
2664 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
2665 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
2666 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2667 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
2668 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2669 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2670 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
2671 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2672 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2673 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2674 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2675 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2676 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2677 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
2678
11dd4af6
L
2679 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
2680 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
2681 * include/ifunc-impl-list.h: New file.
2682 * misc/ifunc-impl-list.c: Likewise.
2683 * misc/Makefile (routines): Add ifunc-impl-list.
2684 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
2685 * string/test-string.h: Include <ifunc-impl-list.h>.
2686 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
2687 impl_array): New variables.
2688 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
2689 are defined.
2690 (test_init): Call __libc_ifunc_impl_list to initialize
2691 func_list if TEST_IFUNC and TEST_NAME are defined.
2692
9a387d1f
L
2693 * string/Makefile (strop-tests): Add bcopy and bzero.
2694 * string/test-bcopy.c: New file.
2695 * string/test-bzero.c: Likewise.
2696 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
2697 defined.
2698 * string/test-memset.c: Support bzero test if TEST_BZERO is
2699 defined.
2700 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
2701 __libc_memmove.
2702 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
2703 __libc_memset.
2704 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
2705 of memset.
2706
472371b9
JM
27072012-10-10 Joseph Myers <joseph@codesourcery.com>
2708
1e4a9536
JM
2709 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
2710 * configure: Regenerated.
2711
d173d12e
JM
2712 * Makeconfig (+link-static-before-libc): Don't include
2713 $(link-static-libc).
2714
472371b9
JM
2715 * libio/libio.h (_IO_pos_t): Remove.
2716
89a3ad0b
AO
27172012-10-10 Alexandre Oliva <aoliva@redhat.com>
2718
2719 * NEWS: Add note about FIPS mode. Wording suggested by Roland
2720 McGrath.
2721
e7451425
AO
27222012-10-10 Alexandre Oliva <aoliva@redhat.com>
2723
2724 * crypt/crypt-entry.c: Include fips-private.h.
2725 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
2726 * crypt/md5c-test.c (main): Tolerate disabled MD5.
2727 * sysdeps/unix/sysv/linux/fips-private.h: New file.
2728 * sysdeps/generic/fips-private.h: New file, dummy fallback.
2729
4ba74a35
AO
27302012-10-10 Alexandre Oliva <aoliva@redhat.com>
2731
2732 * crypt/crypt-private.h: Include stdbool.h.
2733 (_ufc_setup_salt_r): Return bool.
2734 * crypt/crypt-entry.c: Include errno.h.
2735 (__crypt_r): Return NULL with EINVAL for bad salt.
2736 * crypt/crypt_util.c (bad_for_salt): New.
2737 (_ufc_setup_salt_r): Check that salt is long enough and within
2738 the specified alphabet.
2739 * crypt/badsalttest.c: New file.
2740 * crypt/Makefile (tests): Add it.
2741 ($(objpfx)badsalttest): New.
2742
f96f1242
MK
27432012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
2744
2745 * NEWS: Add entry for BZ #14602.
2746
0e8e0c1c
JM
27472012-10-09 Joseph Myers <joseph@codesourcery.com>
2748
2749 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
2750 type-generic.
2751 * math/libm-test.inc: Update comment listing what functions and
2752 macros are tested.
2753 (isgreater_test): New function.
2754 (isgreaterequal_test): Likewise.
2755 (isless_test): Likewise.
2756 (islessequal_test): Likewise.
2757 (islessgreater_test): Likewise.
2758 (isunordered_test): Likewise.
2759 (main): Call the new functions.
2760
273edc5e
RM
27612012-10-09 Roland McGrath <roland@hack.frob.com>
2762
b8493de0
RM
2763 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
2764 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
2765 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
2766 * sysdeps/i386/configure: Regenerated.
2767 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
2768 * sysdeps/mach/configure: Regenerated.
2769 * sysdeps/mach/hurd/configure: Regenerated.
2770 * sysdeps/powerpc/configure: Regenerated.
2771 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2772 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2773 * sysdeps/s390/s390-32/configure: Regenerated.
2774 * sysdeps/s390/s390-64/configure: Regenerated.
2775 * sysdeps/sh/configure: Regenerated.
2776 * sysdeps/sparc/configure: Regenerated.
2777 * sysdeps/unix/sysv/linux/configure: Regenerated.
2778 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2779 * sysdeps/x86_64/configure: Regenerated.
2780
273edc5e
RM
2781 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
2782 defined. Don't check if MAP is NULL.
2783
c8450f70
JM
27842012-10-09 Joseph Myers <joseph@codesourcery.com>
2785
2786 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
2787 (_G_stat64): Likewise.
2788 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
2789 (_G_stat64): Likewise.
2790 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
2791 instead of struct _G_stat64.
2792 * libio/fileops.c (mmap_remap_check): Likewise.
2793 (decide_maybe_mmap): Likewise.
2794 (_IO_new_file_seekoff): Likewise.
2795 (_IO_file_stat): Likewise.
2796 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
2797 _G_off64_t.
2798 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
2799 instead of struct _G_stat64.
2800 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
2801
57e605ba
MK
28022012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
2803
2804 [BZ #14602]
2805 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2806 Replace with ...
2807 (CHECK_EOL): New macro.
2808 (two_way_short_needle): Check beginning of haystack for EOL. Use
2809 CHECK_EOL.
2810 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2811 Replace with CHECK_EOL.
2812 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2813 Replace with CHECK_EOL.
2814
ef1bb361
JM
28152012-10-08 Joseph Myers <joseph@codesourcery.com>
2816
2817 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
2818 type-generic.
2819 * math/libm-test.inc: Update comment listing what functions and
2820 macros are tested.
2821 (finite_test): New function.
2822 (isinf_test): Likewise.
2823 (isnan_test): Likewise.
2824 (fpclassify_test): Test subnormal input.
2825 (isfinite_test): Likewise.
2826 (isnormal_test): Likewise.
2827 (main): Call the new functions.
2828
55f11534
JN
28292012-10-08 Jonathan Nieder <jrnieder@gmail.com>
2830
2831 [BZ #14660]
2832 * Makerules (%.dynsym): Force C locale when running
2833 $(OBJDUMP) --dynamic-syms.
2834
1ab29350
AS
28352012-10-08 Andreas Schwab <schwab@linux-m68k.org>
2836
2837 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
2838 <stdint.h>.
2839
f1ecb7ef
DM
28402012-10-06 David S. Miller <davem@davemloft.net>
2841
2842 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
2843 upper 32-bits of the length value in %o2 since we use branch-on-register
2844 tests which consider the entire 64-bit register.
2845
5d41d91a
L
28462012-10-06 H.J. Lu <hongjiu.lu@intel.com>
2847
2848 * string/test-strstr.c (check2): Add a test for page boundary.
2849
3baddb72
DM
28502012-10-05 David S. Miller <davem@davemloft.net>
2851
2852 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
2853 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
2854 file.
2855 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
2856 sysdep_routines.
2857 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
2858 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
2859 and bzero when HWCAP_SPARC_CRYPTO is present.
2860
9cee5585
L
28612012-10-05 H.J. Lu <hongjiu.lu@intel.com>
2862
d7e0dab9
L
2863 [BZ #14602]
2864 * string/test-strstr.c (check2): New function.
2865 (test_main): Call check2.
2866
03759f47
L
2867 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
2868 and bug-strchr1.
2869 * string/bug-strcasestr1.c (do_test): Moved to ...
2870 * string/test-strcasestr.c (check1): Here. New function.
2871 (do_one_test): Break out result checking code into ...
2872 (check_result): This. New function.
2873 (do_one_test): Call check_result.
2874 (test_main): Call check1.
2875 * string/bug-strchr1.c (do_test): Moved to ...
2876 * string/test-strchr.c (check1): Here. New function.
2877 (do_one_test): Break out result checking code into ...
2878 (check_result): This. New function.
2879 (do_one_test): Call check_result.
2880 (test_main): Call check1.
2881 * string/bug-strstr1.c (main): Moved to ...
2882 * string/test-strchr.c (check1): Here. New function.
2883 (do_one_test): Break out result checking code into ...
2884 (check_result): This. New function.
2885 (do_one_test): Call check_result.
2886 (test_main): Call check1.
2887 * string/bug-strcasestr1.c: Removed.
2888 * string/bug-strchr1.c: Likewise.
2889 * string/bug-strstr1.c: Likewise.
2890
53cea63e
L
2891 * elf/Makefile (dl-routines): Add hwcaps.
2892 * elf/dl-support.c (_dl_important_hwcaps): Removed.
2893 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
2894 (_dl_important_hwcaps): Moved to ...
2895 * elf/dl-hwcaps.c: Here. New file.
2896 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
2897
9cee5585 2898 [BZ #14557]
bb859b06
L
2899 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
2900 if IS_IN_rtld isn't defined.
2901
9cee5585
L
2902 * elf/dl-support.c (_dl_sysinfo_map): New.
2903 Include "get-dynamic-info.h" and "setup-vdso.h".
2904 (_dl_non_dynamic_init): Call setup_vdso.
2905 * elf/dynamic-link.h: Don't include <assert.h>.
2906 (elf_get_dynamic_info): Moved to ...
2907 * elf/get-dynamic-info.h: Here. New file.
2908 * elf/dynamic-link.h: Include "get-dynamic-info.h".
2909 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
2910 * elf/setup-vdso.h: Here. New file.
2911 * elf/rtld.c: Include "setup-vdso.h".
2912 (dl_main): Call setup_vdso.
2913
23c31b76
JM
29142012-10-05 Joseph Myers <joseph@codesourcery.com>
2915
28234b07
JM
2916 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
2917 creal in comment listing functions tested. List finite, isinf,
2918 isnan, isless, islessequal, isgreater, isgreaterequal,
2919 islessgreater, isunordered, lgamma_r and pow10 as functions and
2920 macros not tested. Mention which functions not tested are aliases
2921 for other functions. Fix typo. Note that signs of NaNs are not
2922 tested.
2923
23c31b76
JM
2924 * scripts/config.guess: Update from config.git.
2925 * scripts/config.sub: Likewise.
2926
9043e228
RM
29272012-10-04 Roland McGrath <roland@hack.frob.com>
2928
2929 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
2930 * misc/madvise.c (madvise): Renamed to __madvise.
2931 Make madvise a weak alias.
2932 * include/sys/mman.h: Declare __madvise.
2933 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
2934 * sysdeps/unix/syscalls.list
2935 (madvise): Make __madvise the strong name, and madvise a weak alias.
2936 * sysdeps/unix/sysv/linux/syscalls.list
2937 (madvise, mmap): Remove redundant entries.
2938 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
2939 * malloc/malloc.c (mtrim): Likewise.
2940 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
2941
f57f8055
RM
29422012-10-03 Roland McGrath <roland@hack.frob.com>
2943
2944 * sysdeps/mach/hurd/dl-cache.c: File removed.
2945 * config.h.in (USE_LDCONFIG): New #undef.
2946 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
2947 * configure: Regenerated.
2948 * elf/Makefile (dl-routines): Add dl-cache only under
2949 [$(use-ldconfig) = yes].
2950 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
2951 cache on [USE_LDCONFIG].
2952 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
2953 [USE_LDCONFIG].
2954 * elf/rtld.c (dl_main): Likewise.
2955
5bb0c10a
PT
29562012-10-03 Pino Toscano <toscano.pino@tiscali.it>
2957
2958 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
2959 _SC_LEVEL4_CACHE_LINESIZE.
2960
010188c6
RM
29612012-10-03 Roland McGrath <roland@hack.frob.com>
2962
2963 * sysdeps/unix/bsd/confstr.h: File removed.
2964
b6c5ec07
AO
29652012-10-02 Alexandre Oliva <aoliva@redhat.com>
2966
2967 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
2968 sys/sdt-config.h.
2969
408223d4
RM
29702012-10-02 Roland McGrath <roland@hack.frob.com>
2971
2972 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
2973 Make 'mapoff' field ElfW(Off) rather than off_t.
2974
bb9510dc
DL
29752012-10-02 Dmitry V. Levin <ldv@altlinux.org>
2976
fc997c6e
DL
2977 * nscd/Makefile: Remove nscd-cflags and all its users.
2978 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
2979 (CFLAGS-nonlib): Add compiler flags for nscd modules.
2980
bb9510dc
DL
2981 [BZ #10631]
2982 * malloc.c (malloc_printerr): Clarify error message.
2983
05699367
L
29842012-10-02 H.J. Lu <hongjiu.lu@intel.com>
2985
2986 [BZ #14648]
2987 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2988 Set bit_FMA_Usable if FMA is supported.
2989 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
2990 macro.
2991 (bit_FMA4_Usable): Updated.
2992 (index_FMA_Usable): New macro.
2993 (CPUID_FMA): Likewise
2994 (HAS_FMA): Defined with bit_FMA_Usable.
2995
51367701
RM
29962012-10-01 Roland McGrath <roland@hack.frob.com>
2997
2998 * bits/types.h (__swblk_t): Type removed.
2999 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
3000 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
3001 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3002 (__SWBLK_T_TYPE): Likewise.
3003 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3004 (__SWBLK_T_TYPE): Likewise.
3005 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3006 (__SWBLK_T_TYPE): Likewise.
3007 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3008 (__SWBLK_T_TYPE): Likewise.
3009
4d57bf63 30102012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 3011 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
3012
3013 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
3014 (xdr_mapname): Use YPMAXMAP as maxsize.
3015 (xdr_peername): Use YPMAXPEER as maxsize.
3016 (xdr_keydat): Use YPAXRECORD as maxsize.
3017 (xdr_valdat): Use YPMAXRECORD as maxsize.
3018
93c65d43
RM
30192012-10-01 Roland McGrath <roland@hack.frob.com>
3020
497a03d6
RM
3021 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
3022
93c65d43
RM
3023 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
3024 * csu/init-first.c: ... here.
3025 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
3026 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3027 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
3028 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3029 * sysdeps/i386/init-first.c: File removed.
3030 * sysdeps/sh/init-first.c: File removed.
3031
bec749fd
JM
30322012-10-01 Joseph Myers <joseph@codesourcery.com>
3033
3034 [BZ #14645]
3035 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
3036 if x * y might underflow to zero and z is zero.
3037 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3038 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3039 * math/libm-test.inc (min_subnorm_value): New variable.
3040 (fma_test): Add more tests.
3041 (fma_test_towardzero): Likewise.
3042 (fma_test_downward): Likewise
3043 (fma_test_upward): Likewise.
3044 (initialize): Set min_subnorm_value.
3045
8ec5b013
JM
30462012-09-29 Joseph Myers <joseph@codesourcery.com>
3047
3048 [BZ #14638]
3049 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
3050 0 + 0.
3051 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
3052 mode for addition resulting in exact zero.
3053 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
3054 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
3055 exact 0 + 0.
3056 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3057 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3058 * math/libm-test.inc (fma_test): Add more tests.
3059 (fma_test_towardzero): New function.
3060 (fma_test_downward): Likewise.
3061 (fma_test_upward): Likewise.
3062 (main): Call the new functions.
3063
b1fa802e
DM
30642012-09-28 David S. Miller <davem@davemloft.net>
3065
3066 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
3067
d3b9fd9e
RM
30682012-09-28 Roland McGrath <roland@hack.frob.com>
3069
ea4d37b3
RM
3070 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
3071 instead of SIGALRM.
3072
ac51c949
RM
3073 * sysdeps/gnu/_G_config.h: Moved to ...
3074 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
3075 * sysdeps/mach/hurd/_G_config.h: Moved to ...
3076 * sysdeps/generic/_G_config.h: ... here.
3077
28c195f7
RM
3078 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
3079
848917f9
RM
3080 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
3081
6bacf05b
RM
3082 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
3083 Conditionalize target on [libnss_test1.so-version].
3084
91363dbb
RM
3085 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
3086
cc87f7d8
RM
3087 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
3088 (elfobjdir): Move out of conditionals.
3089
b1c608fe
RM
3090 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
3091 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
3092 (__nss_lookup_function): Conditionalize label remove_from_tree on
3093 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 3094
1d9a6d96
DM
30952012-09-28 David S. Miller <davem@davemloft.net>
3096
3097 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
3098 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
3099 file.
3100 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3101 sysdep_routines.
3102 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3103 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
3104 when HWCAP_SPARC_CRYPTO is present.
3105
72581615
PT
31062012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3107
3108 * io/tst-mknodat.c: Create a FIFO instead of a socket.
3109
715a900c
JL
31102012-09-28 Andreas Schwab <schwab@linux-m68k.org>
3111
3112 [BZ #6530]
3113 * stdio-common/vfprintf.c (process_string_arg): Revert
3114 2000-07-22 change.
3115
31162011-09-28 Jonathan Nieder <jrnieder@gmail.com>
3117
3118 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
3119 for testcase.
3120 * stdio-common/tst-sprintf.c: Include <locale.h>
3121 (main): Test sprintf's handling of incomplete multibyte
3122 characters.
3123
9bac1d86
L
31242012-09-28 H.J. Lu <hongjiu.lu@intel.com>
3125
3126 * elf/dl-runtime.c (VERSYMIDX): Removed.
3127 * elf/dl-version.c (VERSYMIDX): Likewise.
3128 * elf/do-rel.h (VERSYMIDX): Likewise.
3129 (VALIDX): Likewise.
3130 * elf/dynamic-link.h (VERSYMIDX): Likewise.
3131 * elf/rtld.c (VALIDX): Likewise.
3132 (ADDRIDX): Likewise.
9bac1d86
L
3133 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
3134 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
3135 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
3136 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
3137 (VALIDX): Likewise.
3138 (ADDRIDX): Likewise.
9bac1d86 3139
b31606c0
PT
31402012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3141
3142 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
3143
11541177
JL
31442012-09-28 Dmitry V. Levin <ldv@altlinux.org>
3145
3146 [BZ #11438]
3147 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
3148 to global scope.
3149 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
3150 addresses are in the same scope as 192.0.2/24.
3151 * posix/gai.conf: Document new scope table defaults.
3152
adb26fae
SP
31532012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3154
3155 [BZ #5298]
3156 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
3157 for ftell. Compute offsets from write pointers instead.
3158 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3159
4573c6b0
SP
31602012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3161
3162 [BZ #14543]
3163 * libio/Makefile (tests): New test case tst-fseek.
3164 * libio/tst-fseek.c: New test case to verify that fseek/ftell
3165 combination works in wide mode.
3166 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
3167 state when the external buffer state changes.
3168
aa9bbfe6
DM
31692012-09-27 David S. Miller <davem@davemloft.net>
3170
3171 [BZ #14376]
3172 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
3173 pass reloc->r_addend in as the 'high' argument to
3174 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
3175
784421e7
DM
3176 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3177
c39bc8b8
PT
31782012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3179
3180 * rt/tst-aio2.c: Include <pthread.h>.
3181 * rt/tst-aio3.c: Likewise.
3182
1ccc2399
SE
31832012-09-27 Steve Ellcey <sellcey@mips.com>
3184
3185 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
3186
31ed4153
L
31872012-09-27 H.J. Lu <hongjiu.lu@intel.com>
3188
25f5f885
L
3189 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
3190 contents on [SHARED].
31ed4153 3191
b7bfe116
MP
31922012-09-26 Marek Polacek <polacek@redhat.com>
3193
3194 [BZ #14530]
3195 [BZ #13741]
3196 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
3197 for C++ and GCC <4.3 as well as for non GCC compilers.
3198
43c4edba
MT
31992012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
3200
3201 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3202
6a1bf82f
RM
32032012-09-25 Roland McGrath <roland@hack.frob.com>
3204
3205 * Makefile.in (all, install): Declare with .PHONY.
3206 Reported by Michael Hope <michael.hope@linaro.org>.
3207
8ad11b9a
TMQMF
32082012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3209
3210 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
3211 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
3212 system header.
3213 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
3214 Likewise.
3215 (sydep_routines): Add the new and the internal functions.
3216 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
3217 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
3218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
3219 (GLIBC_2.17): Add the new function.
3220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3221 (GLIBC_2.17): Likewise.
3222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
3223 (GLIBC_2.17): Likewise.
3224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
3225 (GLIBC_2.17): Likewise.
3226 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
3227
7e2fca8d
AM
32282012-09-25 Alan Modra <amodra@gmail.com>
3229
3230 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
3231 Add release barrier before setting once_control to say
3232 initialisation is done. Add hints on lwarx. Use macro in
3233 place of isync.
3234 (clear_once_control): Add release barrier.
3235
b87c4b24
JM
32362012-09-25 Joseph Myers <joseph@codesourcery.com>
3237
d032e0d2
JM
3238 [BZ #13629]
3239 * math/s_clog.c (__clog): Handle more values close to |z| = 1
3240 specially.
3241 * math/s_clog10.c (__clog10): Likewise.
3242 * math/s_clog10f.c (__clog10f): Likewise.
3243 * math/s_clog10l.c (__clog10l): Likewise.
3244 * math/s_clogf.c (__clogf): Likewise.
3245 * math/s_clogl.c (__clogl): Likewise.
3246 * math/Makefile (libm-calls): Add x2y2m1.
3247 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
3248 (__x2y2m1): Likewise.
3249 (__x2y2m1l): Likewise.
3250 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
3251 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
3252 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3253 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3254 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
3255 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
3256 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
3257 * sysdeps/i386/fpu/libm-test-ulps: Update.
3258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3259
b87c4b24
JM
3260 [BZ #14621]
3261 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
3262 int as type of variable DEPTH.
3263 (glob): Use size_t instead of int as type of variables NEWCOUNT
3264 and OLD_PATHC.
3265
6d3bf199
LD
32662012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3267
22bf5c17
LD
3268 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3269 Add s_sincosf-sse2.
3270 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
3271 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
3272 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
3273 macros for using routine as __sincosf_ia32.
3274 Use macro for function declaration and weak_alias.
3275 * sysdeps/i386/fpu/libm-test-ulps: Update.
3276
3277 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
3278 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3279
3280 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
3281 subnormal argument.
3282 * math/s_cexpf.c (__cexpf): Likewise.
3283 * math/s_csinf.c (__csinf): Likewise.
3284 * math/s_csinhf.c (__csinhf): Likewise.
3285 * math/s_ctanf.c (__ctanf): Likewise.
3286 * math/s_ctanhf.c (__ctanhf): Likewise.
3287 * math/s_ccosh.c (__ccoshf): Likewise.
3288 * math/s_cexp.c (__cexpl): Likewise.
3289 * math/s_csin.c (__csin): Likewise.
3290 * math/s_csinh.c (__csinh): Likewise.
3291 * math/s_ctan.c (__ctan): Likewise.
3292 * math/s_ctanh.c (ctanh): Likewise.
3293 * math/s_ccoshl.c (__ccoshl): Likewise.
3294 * math/s_cexpl.c (__cexpl): Likewise.
3295 * math/s_csinl.c (__csinl): Likewise.
3296 * math/s_csinhl.c (__csinhl): Likewise.
3297 * math/s_ctanl.c (__ctanl): Likewise.
3298 * math/s_ctanhl.c (__ctanhl): Likewise.
3299
203e5603
JM
33002012-09-25 Joseph Myers <joseph@codesourcery.com>
3301
3302 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
3303 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
3304 (_IO_off_t): Define to __off_t, not _G_off_t.
3305 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
3306 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
3307 (_IO_wint_t): Define to wint_t, not _G_wint_t.
3308 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
3309 type of __dummy and __dummy2 fields.
3310 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
3311 (_G_ssize_t): Likewise.
3312 (_G_off_t): Likewise.
3313 (_G_pid_t): Likewise.
3314 (_G_uid_t): Likewise.
3315 (_G_wchar_t): Likewise.
3316 (_G_wint_t): Likewise.
3317 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
3318 (_G_ssize_t): Likewise.
3319 (_G_off_t): Likewise.
3320 (_G_pid_t): Likewise.
3321 (_G_uid_t): Likewise.
3322 (_G_wchar_t): Likewise.
3323 (_G_wint_t): Likewise.
3324 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
3325 (_G_ssize_t): Likewise.
3326 (_G_off_t): Likewise.
3327 (_G_pid_t): Likewise.
3328 (_G_uid_t): Likewise.
3329 (_G_wchar_t): Likewise.
3330 (_G_wint_t): Likewise.
3331
9fab36eb
SP
33322012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3333
3334 * malloc/arena.c: Include malloc-sysdep.h.
3335 (shrink_heap): Use check_may_shrink_heap to decide if madvise
3336 is sufficient to shrink the heap or an unmap is needed.
3337 * sysdeps/generic/malloc-sysdep.h: New file. Define
3338 new function check_may_shrink_heap.
3339 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
3340 new function check_may_shrink_heap.
3341
2b4f00d1
SP
33422012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3343
3344 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
3345 comments.
3346
9a9028b1
DL
33472012-09-24 Dmitry V. Levin <ldv@altlinux.org>
3348
57c69bef
DL
3349 * catgets/test-gencat.sh: Add "set -e".
3350 * elf/tst-pathopt.sh: Likewise.
3351 * grp/tst_fgetgrent.sh: Likewise.
3352 * iconvdata/run-iconv-test.sh: Likewise.
3353 * intl/tst-gettext.sh: Likewise.
3354 * intl/tst-gettext2.sh: Likewise.
3355 * intl/tst-gettext4.sh: Likewise.
3356 * intl/tst-gettext6.sh: Likewise.
3357 * intl/tst-translit.sh: Likewise.
3358 * io/ftwtest-sh: Likewise.
3359 * libio/test-freopen.sh: Likewise.
3360 * malloc/tst-mtrace.sh: Likewise.
3361 * posix/globtest.sh: Likewise.
3362 * posix/tst-getconf.sh: Likewise.
3363 * posix/wordexp-tst.sh: Likewise.
3364 * stdio-common/tst-printf.sh: Likewise.
3365 * stdio-common/tst-unbputc.sh: Likewise.
3366 * stdlib/tst-fmtmsg.sh: Likewise.
3367 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3368 * catgets/Makefile: Do not specify -e option when running
3369 testsuite shell scripts.
3370 * elf/Makefile: Likewise.
3371 * grp/Makefile: Likewise.
3372 * iconvdata/Makefile: Likewise.
3373 * intl/Makefile: Likewise.
3374 * io/Makefile: Likewise.
3375 * libio/Makefile: Likewise.
3376 * malloc/Makefile: Likewise.
3377 * posix/Makefile: Likewise.
3378 * stdio-common/Makefile: Likewise.
3379 * stdlib/Makefile: Likewise.
3380 * sysdeps/x86_64/Makefile: Likewise.
3381
9a9028b1
DL
3382 * io/ftwtest-sh: Add copyright header.
3383 * posix/globtest.sh: Likewise.
3384 * posix/tst-getconf.sh: Likewise.
3385 * posix/wordexp-tst.sh: Likewise.
3386 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3387
ced6f16e
L
33882012-09-24 H.J. Lu <hongjiu.lu@intel.com>
3389
94b32c39
L
3390 [BZ #13679]
3391 * Makeconfig (+link): Defined as $(+link-static) if
3392 $(build-shared) isn't yes.
3393 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
3394 isn't yes.
3395 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
3396
189e935b
L
3397 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
3398
ced6f16e
L
3399 [BZ #14562]
3400 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
3401 new chunk size with MALLOC_ALIGN_MASK.
3402
a9f8e53a
JM
34032012-09-24 Joseph Myers <joseph@codesourcery.com>
3404
3405 [BZ #5044]
3406 * stdio-common/printf_fphex.c: Include <stdbool.h> and
3407 <rounding-mode.h>.
3408 (__printf_fphex): Determine rounding using get_rounding_mode and
3409 round_away.
3410 * stdio-common/tst-printf-round.c (struct hex_test): New
3411 structure.
3412 (hex_tests): New variable.
3413 (test_hex_in_one_mode): New function.
3414 (do_test): Also run tests for hex float output.
3415
43153109
JM
34162012-09-21 Joseph Myers <joseph@codesourcery.com>
3417
3418 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3419 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3420 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
3421 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3422 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3423 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
3424 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3425 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3426
8a26625d
JM
34272012-09-20 Joseph Myers <joseph@codesourcery.com>
3428
3429 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
3430 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
3431 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
3432 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
3433
f3fd569c
DL
34342012-09-19 Dmitry V. Levin <ldv@altlinux.org>
3435
3436 [BZ #14579]
3437 * elf/rtld.c (dl_main): Limit the check for self loading to normal
3438 mode only.
3439 * elf/tst-rtld-load-self.sh: New test.
3440 * elf/Makefile: Run it.
3441
63bbedd4
JM
34422012-09-18 Joseph Myers <joseph@codesourcery.com>
3443
3444 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
3445 (tst-writev-ENV): Remove.
3446 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
3447
626f8b6a
CM
34482012-09-17 Chris Metcalf <cmetcalf@tilera.com>
3449
3450 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
3451
b7aaa4d6
JM
34522012-09-17 Joseph Myers <joseph@codesourcery.com>
3453
3454 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
3455 unconditional.
3456 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
3457 Likewise.
3458 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
3459 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
3460 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
3461 Likewise.
3462
65513990
L
34632012-09-14 H.J. Lu <hongjiu.lu@intel.com>
3464
3465 [BZ #14587]
3466 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
3467 * config.make.in (have-cpp-asm-debuginfo): Removed.
3468 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
3469 * configure: Regenerated.
3470
784761be
JM
34712012-09-14 Joseph Myers <joseph@codesourcery.com>
3472
3473 [BZ #5044]
3474 * stdio-common/printf_fp.c: Include <stdbool.h> and
3475 <rounding-mode.h>.
3476 (___printf_fp): Determine rounding using get_rounding_mode and
3477 round_away.
3478 * stdio-common/tst-printf-round.c: New file.
3479 * stdio-common/Makefile (tests): Add tst-printf-round.
3480 (link-libm): New variable.
3481 ($(objpfx)tst-printf-round): Depend in $(link-libm).
3482
9503345f
L
34832012-09-13 H.J. Lu <hongjiu.lu@intel.com>
3484
3485 [BZ #14576]
3486 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
3487 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
3488 Likewise.
3489 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
3490 Likewise.
3491
ad35fc00
JM
34922012-09-13 Joseph Myers <joseph@codesourcery.com>
3493
3494 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
3495 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3496 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3497 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3498
6c9b0f68
JM
34992012-09-12 Joseph Myers <joseph@codesourcery.com>
3500
3501 [BZ #14518]
3502 * include/rounding-mode.h: New file.
3503 * sysdeps/generic/get-rounding-mode.h: Likewise.
3504 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
3505 * stdlib/strtod_l.c: Include <rounding-mode.h>.
3506 (MAX_VALUE): New macro.
3507 (MIN_VALUE): Likewise.
3508 (overflow_value): New function.
3509 (underflow_value): Likewise.
3510 (round_and_return): Use overflow_value and underflow_value to
3511 determine return values in overflow and underflow cases. Use
3512 round_away to determine rounding depending on rounding mode.
3513 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
3514 determine return values in overflow and underflow cases.
3515 * stdlib/tst-strtod-round.c: Include <fenv.h>.
3516 (struct test_results): New structure.
3517 (struct test): Use struct test_results to store expected results
3518 for all rounding modes.
3519 (TEST): Include expected results for all rounding modes.
3520 (test_in_one_mode): New function.
3521 (do_test): Use test_in_one_mode to compute and check results.
3522 Check results for all rounding modes.
3523 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
3524 $(link-libm).
3525
19fcedd5
AM
35262012-12-09 Allan McRae <allan@archlinux.org>
3527
1e9d84cd 3528 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 3529
8bbfd2f1
JM
35302012-09-11 Joseph Myers <joseph@codesourcery.com>
3531
3532 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
3533 (_G_int32_t): Likewise.
3534 (_G_uint16_t): Likewise.
3535 (_G_uint32_t): Likewise.
3536 (_G_HAVE_BOOL): Likewise.
3537 (_G_HAVE_ATEXIT): Likewise.
3538 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3539 (_G_HAVE_IO_FILE_OPEN): Likewise.
3540 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
3541 (_G_int32_t): Likewise.
3542 (_G_uint16_t): Likewise.
3543 (_G_uint32_t): Likewise.
3544 (_G_HAVE_BOOL): Likewise.
3545 (_G_HAVE_ATEXIT): Likewise.
3546 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3547 (_G_HAVE_IO_FILE_OPEN): Likewise.
3548 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
3549 (_G_int32_t): Likewise.
3550 (_G_uint16_t): Likewise.
3551 (_G_uint32_t): Likewise.
3552 (_G_HAVE_BOOL): Likewise.
3553 (_G_HAVE_ATEXIT): Likewise.
3554 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3555 (_G_HAVE_IO_FILE_OPEN): Likewise.
3556
b1dc5912
L
35572012-09-11 H.J. Lu <hongjiu.lu@intel.com>
3558
3559 * csu/libc-tls.c: Update copyright years.
3560
0e886ef9
JM
35612012-09-10 Joseph Myers <joseph@codesourcery.com>
3562
28361c5e
JM
3563 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
3564 [!_G_USING_THUNKS]: Remove conditional code.
3565 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
3566 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
3567
0e886ef9
JM
3568 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
3569 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
3570 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3571 (_G_VTABLE_LABEL_PREFIX): Likewise.
3572 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3573 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3574 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3575 (_G_VTABLE_LABEL_PREFIX): Likewise.
3576 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3577 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3578 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3579 (_G_VTABLE_LABEL_PREFIX): Likewise.
3580 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3581
bcba7aa2
L
35822012-09-10 H.J. Lu <hongjiu.lu@intel.com>
3583
3584 * libio/Makefile: Include ../Makeconfig before tests.
3585 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
3586 only if $(build-shared) is yes.
3587
06585ee8
L
3588 * iconv/gconv_db.c: Update copyright years.
3589
80ccd52c
LD
35902012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3591
3592 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
3593 unwind info if defined PIC. Fix special cases description.
3594 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
3595
3596 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
3597 DP_HI_MASK entry.
3598 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
3599
691bc9c1
L
36002012-09-07 H.J. Lu <hongjiu.lu@intel.com>
3601
3d9b46b3
L
3602 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
3603
de2139a9
L
3604 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
3605 is NULL.
3606
5ca78dd0
L
3607 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
3608 (LDLIBS-tst-chk4): This.
3609 (LDFLAGS-tst-chk5): Renamed to ...
3610 (LDLIBS-tst-chk5): This.
3611 (LDFLAGS-tst-chk6): Renamed to ...
3612 (LDLIBS-tst-chk6): This.
3613 (LDFLAGS-tst-lfschk4): Renamed to ...
3614 (LDLIBS-tst-lfschk4): This.
3615 (LDFLAGS-tst-lfschk5): Renamed to ...
3616 (LDLIBS-tst-lfschk5): This.
3617 (LDFLAGS-tst-lfschk6): Renamed to ...
3618 (LDLIBS-tst-lfschk6): This.
3619
691bc9c1
L
3620 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
3621 on $(common-objpfx)soversions.mk.
3622
65cafb1c
JM
36232012-09-07 Joseph Myers <joseph@codesourcery.com>
3624
3625 [BZ #10014]
3626 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
3627 example host name.
3628
c78ab094
SP
36292012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3630
3631 * malloc/arena.c (arena_get_retry): New function that gets
3632 another arena for the caller to try its request on.
3633 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
3634 current arena cannot fulfill the request.
3635 (__libc_memalign): Likewise.
3636 (__libc_memalign): Likewise.
3637 (__libc_pvalloc): Likewise.
3638 (__libc_calloc): Likewise.
3639
01f49f59
JT
36402012-09-05 John Tobey <john.tobey@gmail.com>
3641
3642 [BZ #13542]
3643 * manual/arith.texi (Operations on Complex): Fix description
3644 of carg branch cut.
3645
4c23fed5
JM
36462012-09-06 Joseph Myers <joseph@codesourcery.com>
3647
1d3c8572
JM
3648 [BZ #10014]
3649 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
3650 host name.
3651
4c23fed5
JM
3652 [BZ #10038]
3653 * manual/memory.texi (Memory): Make order of menu items match
3654 order of sections.
3655
04570aaa
L
36562012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3657
3658 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
3659 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
3660 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
3661
b80af2f4
L
36622012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3663
3664 * csu/libc-tls.c (static_dtv): Renamed to ...
3665 (_dl_static_dtv): This. Make it global.
3666 (_dl_initial_dtv): Removed.
3667 (__libc_setup_tls): Updated.
3668 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
3669 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
3670 DL_INITIAL_DTV.
3671
2abe9f15
PM
36722012-09-06 Petr Machata <pmachata@redhat.com>
3673
3674 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
3675 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
3676 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
3677 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
3678
0948c3af
L
36792012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3680
3681 [BZ #14545]
3682 * csu/libc-tls.c (_dl_initial_dtv): New variable.
3683 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
3684 freeing dtv[-1].
3685
a5055ad1
L
36862012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3687
3688 [BZ #14544]
3689 * Makeconfig (link-static-before-libc): Replace $(+prector)
3690 with $(+prectorT).
3691 (link-static-after-libc): Replace $(+postctor) with
3692 $(+postctorT).
3693 (link-bounded): Replace $(+prector)/$(+postctor) with
3694 $(+prectorT)/$(+postctorT).
3695 (+prectorT): New macro.
3696 (+postctorT): Likewise.
3697
ed8c2ecd
JM
36982012-09-06 Joseph Myers <joseph@codesourcery.com>
3699
3700 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
3701 (round_str): Handle values above the maximum for IBM long double
3702 as inexact.
3703 * stdlib/tst-strtod-round.c (tests): Regenerated.
3704
14c996c8
AK
37052012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3706
3707 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
3708 assembler flag.
3709 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
3710 zarch_nohighgprs around the zarch optimized routines.
3711 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3712 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3713 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
3714 for zarch.
3715
430d6ce6
DM
37162012-09-05 David S. Miller <davem@davemloft.net>
3717
3718 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3719
ff04dda4
DM
3720 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
3721 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
3722 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
3723 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
3724 entries.
3725
24d4e01b
AO
37262012-09-05 Alexandre Oliva <aoliva@redhat.com>
3727
3728 * malloc/arena.c: Fold copyright years.
3729 * malloc/mcheck.c, malloc/memusage.c: Likewise.
3730
61d58174
AO
37312012-09-05 Alexandre Oliva <aoliva@redhat.com>
3732
3733 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
3734
20196a5e
AO
37352012-09-05 Alexandre Oliva <aoliva@redhat.com>
3736
3737 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
3738
5c447383
AO
37392012-09-05 Alexandre Oliva <aoliva@redhat.com>
3740
3741 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
3742 change internal state upon failure.
3743
fad64255
AO
37442012-09-05 Alexandre Oliva <aoliva@redhat.com>
3745
3746 * malloc/mcheck.c (mcheck_check_all): Fix typo.
3747 * malloc/memusage.c (mmap): Likewise.
3748 (mmap64, mremap): Likewise. Adjust name in comment.
3749
1ffb8c90
SP
37502012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3751
3752 * libio/fileops.c: Fix typos in comments.
3753 * libio/oldfileops.c: Likewise.
3754 * libio/wfileops.c: Likewise.
3755
6ef9cc37
SP
37562012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3757
3758 [BZ #1349]
3759 * malloc/Makefile (tests): Add tst-malloc-usable test case.
3760 (tst-malloc-usable-ENV): Set environment for test case.
3761 * malloc/hooks.c (malloc_check_get_size): New function to get
3762 requested size.
3763 * malloc/malloc.c (musable): Use malloc_check_get_size.
3764 * malloc/tst-malloc-usable.c: New test case.
3765
4d038ae3
AS
37662012-09-05 Andreas Schwab <schwab@linux-m68k.org>
3767
3768 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
3769
c4e85184
AM
37702012-09-05 Allan McRae <allan@archlinux.org>
3771
b9dafc56 3772 [BZ #13966]
c4e85184
AM
3773 * configure.in (CXX_SYSINCLUDES): Use compiler output to
3774 determine header location.
3775 * configure: Regenerated.
3776
e1343020
AS
37772012-09-05 Andreas Schwab <schwab@linux-m68k.org>
3778
3779 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
3780 float format.
3781 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
3782 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
3783 format.
e1343020
AS
3784 (test): Regenerate.
3785
0a9f1987
DM
37862012-09-04 David S. Miller <davem@davemloft.net>
3787
3788 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
3789 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
3790 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
3791
29237804
FW
37922012-09-04 Florian Weimer <fweimer@redhat.com>
3793
3794 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
3795 failures.
3796
edb3cb88
FW
3797 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
3798
60160d83
JM
37992012-09-04 Joseph Myers <joseph@codesourcery.com>
3800
3801 [BZ #9914]
3802 * libio/iogetdelim.c: Include <limits.h>.
3803 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
3804 + len + 1 would overflow.
3805
bcd6c8dc
AJ
38062012-09-03 Andreas Jaeger <aj@suse.de>
3807
3808 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3809 * sysdeps/i386/fpu/libm-test-ulps: Update.
3810
4ffffbd2
LD
38112012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3812
3813 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3814 Add s_sinf-sse2, s_conf-sse2.
3815
3816 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
3817 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
3818 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
3819 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
3820
3821 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
3822 for using routine as __sinf_ia32.
3823 Use macro for function declaration and weak_alias.
3824 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
3825 for using routine as __cosf_ia32.
3826 Use macro for function declaration and weak_alias.
3827
3828 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
3829 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
3830
3831 * sysdeps/x86_64/fpu/s_sinf.S: New file.
3832 * sysdeps/x86_64/fpu/s_cosf.S: New file.
3833 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3834
3835 * math/libm-test.inc (cos_test): Add more test cases.
3836 (sin_test): Likewise.
3837 (sincos_test): Likewise.
3838
511fa286
AK
38392012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3840
3841 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
3842 (IFUNC_RESOLVE): Make pointers to the specialized implementations
3843 hidden.
3844 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3845
5f30cfec
L
38462012-09-02 H.J. Lu <hongjiu.lu@intel.com>
3847
3848 [BZ #14538]
3849 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
3850 first element of the GOT.
3851 (elf_machine_load_address): Return the difference between
3852 the runtime address of _DYNAMIC and elf_machine_dynamic ().
3853
0786794f
AM
38542012-09-01 Allan McRae <allan@archlinux.org>
3855
5f30cfec
L
3856 [BZ #13412]
3857 * configure.in (AWK): Require gawk version 3.0 or later.
3858 * configure: Regenerated.
0786794f 3859
26889eac
JM
38602012-09-01 Joseph Myers <joseph@codesourcery.com>
3861
3862 * sysdeps/unix/sysv/linux/kernel-features.h
3863 (__ASSUME_POSIX_CPU_TIMERS): Remove.
3864 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3865 [__NR_clock_getres]: Make code unconditional.
3866 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
3867 (clock_getcpuclockid): Remove code left unreachable by removal of
3868 conditionals.
3869 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
3870 code unconditional.
3871 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
3872 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3873 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
3874 Make code unconditional.
3875 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
3876 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3877 * sysdeps/unix/sysv/linux/clock_settime.c
3878 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
3879 conditional code.
3880 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
3881 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3882
d22e28b0
L
38832012-08-29 H.J. Lu <hongjiu.lu@intel.com>
3884
3885 [BZ #14476]
3886 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
3887 scripts/test-installation.pl.
3888
3889 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
3890 and $ld_so_version if it is set.
3891
050af9c4
SP
38922012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3893
3894 [BZ #14516]
3895 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
3896 failure if reading from procfs failed.
3897 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
3898
ad845c0b
JM
38992012-08-27 Joseph Myers <joseph@codesourcery.com>
3900
3901 * sysdeps/unix/sysv/linux/kernel-features.h
3902 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
3903 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
3904 Remove conditional code.
3905 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3906 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
3907 Remove conditional code.
3908 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3909 * sysdeps/unix/sysv/linux/i386/fxstat.c
3910 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3911 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3912 * sysdeps/unix/sysv/linux/i386/fxstatat.c
3913 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3914 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3915 * sysdeps/unix/sysv/linux/i386/lxstat.c
3916 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3917 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3918 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
3919 Remove conditional code.
3920 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3921 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
3922 Remove conditional code.
3923 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3924 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
3925 <kernel-features.h>.
3926 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
3927 Remove.
3928 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
3929 Remove conditional code.
3930 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3931 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
3932 Remove conditional.
3933
5dbf56af
MF
39342012-08-27 Mike Frysinger <vapier@gentoo.org>
3935
3936 [BZ #5400]
3937 * NEWS: Add fixed bug number.
3938
d6e70f43
JM
39392012-08-27 Joseph Myers <joseph@codesourcery.com>
3940
7efb4737
JM
3941 [BZ #14519]
3942 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
3943 underflowing exponent in case of negative sign.
3944 * stdlib/tst-strtod-round-data: Add more tests.
3945 * stdlib/tst-strtod-round.c (tests): Regenerated.
3946
af92131a
JM
3947 [BZ #3479]
3948 * stdlib/strtod_l.c (NDIG): Remove.
3949 (HEXNDIG): Likewise.
3950 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
3951 smallest representable value.
3952 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
3953 lie within an exact representation of 1/2 ulp of the result.
3954 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
3955 unconditionally.
3956 (TENS_P9_IDX): Define unconditionally.
3957 (TENS_P9_SIZE): Likewise.
3958 (TENS_P10_IDX): Likewise.
3959 (TENS_P10_SIZE): Likewise.
3960 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
3961 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
3962 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
3963 entries for 10^2^13 and 10^2^14.
3964 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
3965 (TENS_P13_IDX): Define.
3966 (TENS_P13_SIZE): Likewise.
3967 (TENS_P14_IDX): Likewise.
3968 (TENS_P14_SIZE): Likewise.
3969 (_fpioconst_pow10): Change array size to
3970 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
3971 unconditional.
3972 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
3973 1024]: Add entries for 10^2^13 and 10^2^14.
3974 [LAST_POW10 > _LAST_POW10]: Remove #error.
3975 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
3976 (_fpioconst_pow10): Change array size to
3977 FPIOCONST_POW10_ARRAY_SIZE.
3978 * stdlib/gen-fpioconst.c: New file.
3979 * stdlib/gen-tst-strtod-round.c: Likewise.
3980 * stdlib/tst-strtod-round-data: Likewise.
3981 * stdlib/tst-strtod-round.c: Likewise.
3982 * stdlib/Makefile (tests): Add tst-strtod-round.
3983
d6e70f43
JM
3984 [BZ #14459]
3985 * stdlib/strtod_l.c: Include <stdint.h>.
3986 (NDEBUG): Do not define.
3987 (round_and_return): Change EXPONENT parameter to type intmax_t.
3988 Rearrange calculations to avoid internal overflow possibilities.
3989 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
3990 Rearrange calculations to avoid internal overflow possibilities.
3991 Assert that number fits inside MPNSIZE limbs.
3992 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
3993 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
3994 calculations and add assertions to avoid internal overflow
3995 possibilities. Add casts to avoid signed/unsigned operations.
3996 * stdlib/tst-strtod-overflow.c: New file.
3997 * stdlib/Makefile (tests): Add tst-strtod-overflow.
3998
1f529f7d
MP
39992012-08-25 Marek Polacek <polacek@redhat.com>
4000
4001 * time/time.h: Fix some typos in comments.
4002
59a629f1
RM
40032012-08-23 Roland McGrath <roland@hack.frob.com>
4004
4005 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
4006 * posix/tst-rfc3484-2.c: Likewise.
4007 * posix/tst-rfc3484-3.c: Likewise.
4008
d3bafbc9
SM
40092012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
4010
4011 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
4012 (EF_ARM_ABI_FLOAT_HARD): Likewise.
4013
4efcc022
JM
40142012-08-23 Joseph Myers <joseph@codesourcery.com>
4015
4016 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
4017 #include of fxstatat64.c.
4018
3cc3ef96
RM
40192012-08-22 Roland McGrath <roland@hack.frob.com>
4020
f04e2132
RM
4021 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
4022 * shadow/getspent_r.c: Likewise.
4023 * shadow/getspnam.c: Likewise.
4024 * shadow/getspnam_r.c: Likewise.
4025 * gshadow/getsgent.c: Likewise.
4026 * gshadow/getsgent_r.c: Likewise.
4027 * gshadow/getsgnam.c: Likewise.
4028 * gshadow/getsgnam_r.c: Likewise.
4029 * inet/getnetbyad.c: Likewise.
4030 * inet/getnetbyad_r.c: Likewise.
4031 * inet/getnetbynm.c: Likewise.
4032 * inet/getnetbynm_r.c: Likewise.
4033 * inet/getnetent.c: Likewise.
4034 * inet/getnetent_r.c: Likewise.
4035 * inet/getproto.c: Likewise.
4036 * inet/getproto_r.c: Likewise.
4037 * inet/getprtent.c: Likewise.
4038 * inet/getprtent_r.c: Likewise.
4039 * inet/getprtname.c: Likewise.
4040 * inet/getprtname_r.c: Likewise.
4041 * inet/getrpcbyname.c: Likewise.
4042 * inet/getrpcbyname_r.c: Likewise.
4043 * inet/getrpcbynumber.c: Likewise.
4044 * inet/getrpcbynumber_r.c: Likewise.
4045 * inet/getrpcent.c: Likewise.
4046 * inet/getrpcent_r.c: Likewise.
4047 * inet/getaliasent.c: Likewise.
4048 * inet/getaliasent_r.c: Likewise.
4049 * inet/getaliasname.c: Likewise.
4050 * inet/getaliasname_r.c: Likewise.
4051 * nscd/getgrgid_r.c: Likewise.
4052 * nscd/getgrnam_r.c: Likewise.
4053 * nscd/gethstbyad_r.c: Likewise.
4054 * nscd/gethstbynm3_r.c: Likewise.
4055 * nscd/getpwnam_r.c: Likewise.
4056 * nscd/getpwuid_r.c: Likewise.
4057 * nscd/getsrvbynm_r.c: Likewise.
4058 * nscd/getsrvbypt_r.c: Likewise.
4059 * nscd/gai.c: Likewise.
4060
c53d909c
RM
4061 * configure.in (build_nscd): New substituted variable, set
4062 by --disable-build-nscd and defaults to $use_nscd.
4063 * configure: Regenerated.
4064 * config.make.in (build-nscd): New substituted variable.
4065 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
4066 Change conditional to require [$(build-nscd) = yes] as well.
4067 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
4068
3cc3ef96
RM
4069 [BZ# 13696]
4070 * configure.in (use_nscd): New substituted variable, set by
4071 --disable-nscd. If enabled, define USE_NSCD.
4072 * configure: Regenerated.
4073 * config.h.in: Add USE_NSCD.
4074 * config.make.in (use-nscd): New substituted variable.
4075 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
4076 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
4077 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
4078 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
4079 (CFLAGS-getgrnam_r.c): Likewise.
4080 (CFLAGS-initgroups.c): Likewise.
4081 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
4082 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
4083 Variables removed.
4084 * inet/getnetgrent_r.c
4085 (nscd_setnetgrent): New function, broken out of ...
4086 (setnetgrent): ... here. Call it.
4087 (innetgr): Conditionalize nscd bits on [USE_NSCD].
4088 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
4089 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
4090 * nscd/Makefile (routines, aux): Move definitions after include of
4091 Makeconfig. Conditionalize on [$(use-nscd) != no].
4092 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
4093 Conditionalize on [USE_NSCD].
4094 (is_nscd, nscd_init_cb): Likewise.
4095 (nss_load_library): Conditionalize init callback on [USE_NSCD].
4096 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
4097 * nss/nss_db/db-init.c: Likewise.
4098 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
4099 [USE_NSCD].
4100 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
4101 (make_request): Use it.
4102 (cache_valid_p): New function.
4103 (__check_pf): Use it.
4104 * NEWS: Add item for --disable-nscd.
4105
07e51550
DL
41062012-08-22 Dmitry V. Levin <ldv@altlinux.org>
4107
4108 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
4109 to support sed >= 4.2.1-20-ga9bf076.
4110 * configure: Regenerated.
4111
35a5b08b
RM
41122012-08-22 Roland McGrath <roland@hack.frob.com>
4113
4114 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
4115 Conditionalize whole body on [IREL].
4116
8479f23a
JL
41172012-08-22 Jeff Law <law@redhat.com>
4118
4119 [BZ #14505]
4120 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
4121 if the family is PF_UNSPEC.
4122
48da0b21
MF
41232012-08-22 Mike Frysinger <vapier@gentoo.org>
4124
4125 * Makerules (lib-version): Rename from V.
4126 (install-lib-nosubdir): Change V to lib-version.
4127
15d0da8c
WS
41282012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
4129
4130 [BZ #14252]
4131 * powerpc32/power6/wcschr.c: New file.
4132 * powerpc32/power6/wcscpy.c: New file.
4133 * powerpc32/power6/wcsrchr.c: New file.
4134 * powerpc64/power6/wcschr.c: New file.
4135 * powerpc64/power6/wcscpy.c: New file.
4136 * powerpc64/power6/wcsrchr.c: New file.
4137
bcca0895
MK
41382012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4139
4140 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
4141 (two_way_short_needle): Use it.
5a4aaa33
RM
4142 * string/strstr.c (AVAILABLE1_USES_J): Define.
4143 * string/strcasestr.c: Likewise.
99677e57
MK
4144
4145 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
4146 array references.
4147 * string/strcasestr.c (TOLOWER): Make side-effect safe.
4148
400726de
MK
4149 [BZ #11607]
4150 * NEWS: Add an entry.
4151 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
4152 define their defaults.
4153 (two_way_short_needle): Detect end-of-string on-the-fly.
4154 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
4155 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
4156 * string/bug-strcasestr1.c: New test.
4157 * string/Makefile: Run it.
4158
20a71f2c
MK
41592012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4160
4161 [BZ #11607]
4162 * string/str-two-way.h (two_way_short_needle): Optimize matching of
4163 the first character.
4164
21ad0558
RM
41652012-08-21 Roland McGrath <roland@hack.frob.com>
4166
4167 * csu/elf-init.c (__libc_csu_irel): Function removed.
4168 * csu/libc-start.c (apply_irel): New function.
4169 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
4170
0e1d9911
JM
41712012-08-21 Joseph Myers <joseph@codesourcery.com>
4172
4173 * sysdeps/unix/sysv/linux/kernel-features.h
4174 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
4175 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
4176 <kernel-features.h>.
4177 [__NR_fadvise64_64]: Make code unconditional.
4178 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
4179 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4180 !__NR_fadvise64_64)]: Likewise.
4181 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4182 !__NR_fadvise64_64))]: Likewise.
4183 [__NR_fadvise64]: Make code unconditional.
4184 [!__NR_fadvise64]: Remove conditional code.
4185 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
4186 <kernel-features.h>.
4187 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4188 unconditional.
4189 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4190 conditional code.
4191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
4192 not include <kernel-features.h>.
4193 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4194 unconditional.
4195 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4196 conditional code.
4197 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
4198 include <kernel-features.h>.
4199 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4200 unconditional.
4201 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4202 conditional code.
4203
14a50c9d
WS
42042012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4205
4206 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
4207 slight instruction rearrangements per scrollpipe analysis.
4208 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4209
c0f4faf0
RM
42102012-08-20 Roland McGrath <roland@hack.frob.com>
4211
696da859
RM
4212 * manual/syslog.texi (syslog; vsyslog, closelog):
4213 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
4214 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
4215
c0f4faf0
RM
4216 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
4217 DSOCAPS to match condition on defining it.
4218
348363b2
JM
42192012-08-20 Joseph Myers <joseph@codesourcery.com>
4220
a35cbf28
JM
4221 * sysdeps/unix/sysv/linux/kernel-features.h
4222 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
4223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
4224 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4225 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
4227 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4228 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
4230 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4231 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4232
445f7ecd
JM
4233 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
4234 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
4235
348363b2
JM
4236 * sysdeps/unix/sysv/linux/kernel-features.h
4237 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
4238 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
4239 unconditional.
4240 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4241 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
4242 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4243 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4244 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
4245 Make code unconditional.
4246 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4247 (__mmap64) [!__NR_mmap2]: Likewise.
4248 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
4249 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4250 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4251 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
4252 [__NR_mmap2]: Make code unconditional.
4253 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4254 (__mmap64) [!__NR_mmap2]: Likewise.
4255
bc5bc0e5
AK
42562012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4257
4258 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
4259
88d506de
AJ
42602012-08-18 Andreas Jaeger <aj@suse.de>
4261
4262 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
4263
493387d2
MF
42642012-08-18 Mike Frysinger <vapier@gentoo.org>
4265
4266 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
4267 * include/unistd.h (__have_sock_cloexec): Likewise.
4268 (__have_pipe2): Likewise.
4269 (__have_dup3): Likewise.
4270
a277af22
MF
42712012-08-18 Mike Frysinger <vapier@gentoo.org>
4272
4273 [BZ #9685]
4274 * include/unistd.h (__have_pipe2): Change define into an extern int.
4275 (__have_dup3): Likewise.
4276 * socket/have_sock_cloexec.c: Include fcntl.h.
4277 (__have_pipe2): New variable.
4278 (__have_dup3): Likewise.
4279
fdab8fd3
MF
42802012-08-17 Mike Frysinger <vapier@gentoo.org>
4281
4282 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
4283
31035e80
MP
42842012-08-17 Marek Polacek <polacek@redhat.com>
4285
4286 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
4287 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
4288
3bd9e993
RM
42892012-08-17 Roland McGrath <roland@hack.frob.com>
4290
c91c505f
RM
4291 * configure.in: Add AC_SUBST for sysheaders.
4292 * configure: Regenerated.
4293 * config.make.in (sysheaders): New substituted variable.
4294
7c6f9d53
RM
4295 * sysdeps/unix/mkfifo.c: Moved ...
4296 * sysdeps/posix/mkfifo.c: ... here.
4297 * sysdeps/unix/mkfifoat.c: Moved ...
4298 * sysdeps/posix/mkfifoat.c: ... here.
4299
4300 * sysdeps/unix/utime.c: Moved ...
4301 * sysdeps/posix/utime.c: ... here.
4302
4303 * sysdeps/unix/time.c: Moved ...
4304 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
4305 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
4306 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
4307
4308 * sysdeps/unix/nice.c: Moved ...
4309 * sysdeps/posix/nice.c: ... here.
4310
4311 * sysdeps/unix/alarm.c: Moved ...
4312 * sysdeps/posix/alarm.c: ... here.
4313
3bd9e993
RM
4314 * intl/Makefile ($(codeset_mo)): Depend on the input file.
4315
d1f09384
JL
43162012-08-17 Jeff Law <law@redhat.com>
4317
4318 * intl/Makefile (codeset_mo): New variable.
4319 ($(codeset_mo)): New target.
4320 (tst-codeset.out): Depend on that. Remove explicit rule.
4321 (tst-gettext3.out, tst-gettext5.out): Likewise.
4322 (LOCPATH-ENV, tst-codeset-ENV): New variables.
4323 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
4324 * intl/tst-codeset.sh: Remove.
4325 * intl/tst-gettext3.sh: Likewise.
4326 * intl/tst-gettext5.sh: Likewise.
4327
2ae1ae5c
RM
43282012-08-17 Roland McGrath <roland@hack.frob.com>
4329
c31fdb83
RM
4330 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
4331 * sysdeps/unix/syscalls.list: ... here.
4332
a0844057
RM
4333 * sysdeps/posix/getaddrinfo.c
4334 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
4335 (gaiconf_init, gaiconf_reload): Use them.
4336 [!_STATBUF_ST_NSEC]
4337 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
4338 Define using time_t rather than struct timespec.
4339
750c1f2a
RM
4340 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
4341 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
4342 Macros removed.
4343 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
4344 [!NO_THREADS].
4345 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
4346 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
4347 Likewise.
4348
2ae1ae5c
RM
4349 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
4350 __libc_cleanup_push argument.
4351
e66a42f5
RM
4352 * bits/param.h: New file.
4353 * misc/sys/param.h: New file.
4354 * include/sys/param.h: New file.
4355 * misc/Makefile (headers): Add bits/param.h.
4356 * sysdeps/generic/sys/param.h: File removed.
4357 * sysdeps/unix/sysv/linux/bits/param.h: New file.
4358 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
4359 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 4360 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 4361
b7c08a66
RM
4362 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
4363 last change.
4364
b2e1c562
RM
4365 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
4366 [_IO_MTSAFE_IO].
4367 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
4368 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
4369 New macros.
4370
c75ccd4c
RM
4371 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
4372 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
4373 rather than -D_IO_MTSAFE_IO conditionally.
4374 * stdio-common/Makefile (CPPFLAGS): Likewise.
4375 * wcsmbs/Makefile (CPPFLAGS): Likewise.
4376 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
4377 Use $(libio-mtsafe).
4378 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
4379 of -D_IO_MTSAFE_IO.
4380 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
4381 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
4382 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
4383 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
4384 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
4385 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
4386 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
4387 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
4388 (CFLAGS-fread_u_chk.c): Likewise.
4389 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
4390 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
4391 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
4392 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
4393 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
4394 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
4395 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
4396 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
4397 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
4398
4399 * libio/Makefile: Test [$(libc-reentrant) = yes]
4400 instead of [$(filter %REENTRANT, $(defines)) nonempty].
4401
4402 * Makeconfig
4403 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
4404 * sysdeps/pthread/configure: File removed.
4405 * sysdeps/pthread/Makeconfig: New file.
4406 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
4407 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
4408
d9195db8
GB
44092012-08-16 Gary Benson <gbenson@redhat.com>
4410
4411 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
4412 unmapping the first object in a namespace.
4413
86466cd9
RM
44142012-08-16 Roland McGrath <roland@hack.frob.com>
4415
4416 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
4417 (__internal_setnetgrent): ... this. Add internal_function to
4418 definition. Add libc_hidden_def.
4419 (setnetgrent): Update caller.
4420 (internal_endnetgrent): Renamed to ...
4421 (__internal_endnetgrent): ... this. Add internal_function to
4422 definition. Add libc_hidden_def.
4423 (endnetgrent): Update caller.
4424 (internal_getnetgrent_r): Renamed to ...
4425 (__internal_getnetgrent_r): ... this. Add internal_function to
4426 definition. Add libc_hidden_def.
4427 (__getnetgrent_r): Update caller.
4428 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
4429
c3c8283c
JM
44302012-08-16 Joseph Myers <joseph@codesourcery.com>
4431
4432 * stdlib/longlong.h: Update from GCC.
4433
db1ee0a8
RM
44342012-08-16 Roland McGrath <roland@hack.frob.com>
4435
4436 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
4437 on _QL, which is set by umul_ppmm but never used.
4438 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
4439 variables, which are set by GMP macros but never used.
4440 * stdio-common/_itowa.c (_itowa): Likewise.
4441 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
4442 * stdlib/mod_1.c (mpn_mod_1): Likewise.
4443
30f69637
CD
44442012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
4445
4446 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
4447 struct La_sh_regs is not constant.
4448 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
4449 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
4450 and struct La_sparc64_regs are not constant.
4451
93a78ac4
JM
44522012-08-16 Joseph Myers <joseph@codesourcery.com>
4453
4454 * sysdeps/unix/sysv/linux/kernel-features.h
4455 (__ASSUME_POSIX_TIMERS): Remove.
4456 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4457 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4458 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
4459 Make code unconditional.
4460 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4461 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
4462 Make code unconditional.
4463 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4464 * sysdeps/unix/sysv/linux/clock_nanosleep.c
4465 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
4466 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4467 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
4468 Make code unconditional.
4469 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4470 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
4471 (__libc_missing_posix_timers): Remove.
4472
dd924cd7
RM
44732012-08-15 Roland McGrath <roland@hack.frob.com>
4474
4b4f2771
RM
4475 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
4476 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
4477
601c888b
RM
4478 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
4479
176790a7
RM
4480 * elf/dl-sym.c: Include <stdlib.h>.
4481
329bc018
RM
4482 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
4483 constants, which avoids warnings in 32-bit builds.
4484
e04e272d
RM
4485 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
4486 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
4487
952bf94a
RM
4488 * misc/lseek.c: File moved to ...
4489 * io/lseek.c: ... here.
4490
7c99b50a
RM
4491 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
4492
dd924cd7
RM
4493 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
4494 shifting LEN more than 31 bits at once.
4495
b3f479a8
LD
44962012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4497
4498 [BZ #14195]
8c4ae0d4
RM
4499 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
4500 segmentation fault for a case of two empty input strings.
b3f479a8
LD
4501 * string/test-strncasecmp.c (check1): Renamed to...
4502 (bz12205): ...this.
4503 (bz14195): Add new testcase for two empty input strings and N > 0.
4504 (test_main): Call new testcase, adapt for renamed function.
4505
9c55864e
AJ
45062012-08-15 Andreas Jaeger <aj@suse.de>
4507
4508 [BZ #14090]
4509 * crypt/md5test2.c: New test, based on test supplied by Serge
4510 Belyshev <belyshev@depni.sinp.msu.ru>.
4511 * crypt/Makefile (xtests): Add md5test-giant..
4512 * crypt/Makefile ($(objpfx)md5test-giant): Add.
4513
02dcb6c5
PE
45142012-08-15 Paul Eggert <eggert@cs.ucla.edu>
4515
4516 [BZ #14090]
4517 * crypt/md5.c (md5_process_block): Don't assume the buffer
4518 length is less than 2**32.
4519 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
4520 length is less than 2**64.
4521
a3f95dcc
RM
45222012-08-15 Roland McGrath <roland@hack.frob.com>
4523
be75d758
RM
4524 * string/str-two-way.h: Include <sys/param.h>.
4525 (MAX): Macro removed.
4526
7312ca90
RM
4527 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
4528 Move #define and #undef of memmove to just before and after
4529 including <string.h>.
4530
9a0a5486
RM
4531 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
4532 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
4533 and after including <string.h>. Move declarations of
4534 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
4535 to before #include "string/memmove.c".
4536
67cc348d
RM
4537 * include/dirent.h: Declare __getdirentries.
4538
a3f95dcc
RM
4539 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
4540 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
4541
ca98e171
MF
45422012-08-14 Mike Frysinger <vapier@gentoo.org>
4543
4544 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
4545 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
4546 * sysdeps/i386/configure: Regenerated.
4547 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
4548 STABS_CURRENT_FILE, and STABS_FUN.
4549 (END): Remove call to STABS_FUN_END.
4550 (STABS_CURRENT_FILE1): Delete.
4551 (STABS_CURRENT_FILE): Likewise.
4552 (STABS_FUN): Likewise.
4553 (STABS_FUN_END): Likewise.
4554 (STABS_FUN2): Likewise.
4555 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
4556 * sysdeps/x86_64/configure: Regenerated.
4557
5908bf46
RM
45582012-08-14 Roland McGrath <roland@hack.frob.com>
4559
4560 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 4561 * elf/dl-lookup.c: Likewise.
5908bf46 4562
f2c05b9e
JM
45632012-08-14 Joseph Myers <joseph@codesourcery.com>
4564
4565 * sysdeps/unix/sysv/linux/kernel-features.h
4566 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
4567 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
4568 unconditionally.
4569 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
4570 unconditionally.
4571 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
4572 condition on __ASSUME_CLONE_THREAD_FLAGS.
4573
e11f5155
AJ
45742012-08-14 Andreas Jaeger <aj@suse.de>
4575
4576 * sysdeps/i386/fpu/libm-test-ulps: Update.
4577
51a9ba86
MK
45782012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
4579
2fdd4f78
AJ
4580 * include/atomic.h (atomic_exchange_and_add): Split into ...
4581 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
4582 New atomic macros.
51a9ba86 4583
ba6cba9e
MT
45842012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
4585
4586 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4587
42443a47
JL
45882012-08-13 Jeff Law <law@redhat.com>
4589
4590 * manual/stdio.texi (snprintf): Clarify handling of the trailing
4591 null byte in the output string.
4592
121dce05
JM
45932012-08-10 Joseph Myers <joseph@codesourcery.com>
4594
4595 * sysdeps/unix/sysv/linux/kernel-features.h
4596 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
4597 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
4598 (__ASSUME_ARG_MAX_STACK_BASED): Define.
4599 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4600 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
4601 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
4602 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
4603
bf51f568
JL
46042012-08-09 Jeff Law <law@redhat.com>
4605
4606 [BZ #13939]
4607 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
4608 When avoid_arena is set, don't retry in the that arena. Pick the
4609 next one, whatever it might be.
4610 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
4611 (arena_lock): Pass in new parameter to arena_get2.
4612 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
4613 arena_get2.
4614 (__libc_malloc): Unify retrying after main arena failure with
4615 __libc_memalign version.
4616 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
4617
f85fa270
L
46182012-08-09 H.J. Lu <hongjiu.lu@intel.com>
4619
4620 [BZ #14166]
4621 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
4622 to __redirect_strstr.
4623 (__strstr_sse42): Use typeof __redirect_strstr.
4624 (__strstr_ia32): Likewise.
4625 (__libc_strstr): New prototype.
4626 (strstr): Renamed to ...
4627 (__libc_strstr): This.
4628 (strstr): New strong alias of __libc_strstr.
4629 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
4630 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
4631 __redirect_time.
4632 Include <time.h>.
4633 (__libc_time): New prototype.
4634 (time_ifunc): Replace time with __libc_time.
4635 (time): New strong alias and hidden definition of __libc_time.
4636 (__GI_time): Remove strong alias.
4637 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
4638 Include <stddef.h>.
4639 (memmove): Redefined to __redirect_memmove.
4640 (__memmove_sse2): Use typeof __redirect_memmove.
4641 (__memmove_ssse3): Likewise.
4642 (__memmove_ssse3_back): Likewise.
4643 (__libc_memmove): New prototype.
4644 (memmove): Renamed to ...
4645 (__libc_memmove): This.
4646 (memmove): New strong alias of __libc_memmove.
4647
33b4a91e
MS
46482012-08-08 Mark Salter <msalter@redhat.com>
4649
4650 * elf/elf.h
4651 (R_MN10300_TLS_GD): Define.
4652 (R_MN10300_TLS_LD): Likewise.
4653 (R_MN10300_TLS_LDO): Likewise.
4654 (R_MN10300_TLS_GOTIE): Likewise.
4655 (R_MN10300_TLS_IE): Likewise.
4656 (R_MN10300_TLS_LE): Likewise.
4657 (R_MN10300_TLS_DTPMOD): Likewise.
4658 (R_MN10300_TLS_DTPOFF): Likewise.
4659 (R_MN10300_TLS_TPOFF): Likewise.
4660 (R_MN10300_SYM_DIFF): Likewise.
4661 (R_MN10300_ALIGN): Likewise.
4662 (R_MN10300_NUM): Update.
4663
b36137f1
JM
46642012-08-08 Joseph Myers <joseph@codesourcery.com>
4665
4666 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
4667 Remove.
4668
cdd915fd
RM
46692012-08-08 Roland McGrath <roland@hack.frob.com>
4670
a2433aac
RM
4671 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
4672
cdd915fd
RM
4673 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
4674 sysdeps/unix -> sysdeps/posix move.
4675 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
4676
bf9b740a
AM
46772012-08-07 Allan McRae <allan@archlinux.org>
4678
4679 [BZ #14303]
4680 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
4681 (SUNOS_CPP): Likewise.
4682 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
4683 not found.
4684 (open_input): Call CPP using execvp.
4685
93df14ee
JM
46862012-08-07 Joseph Myers <joseph@codesourcery.com>
4687
4688 * sysdeps/unix/sysv/linux/kernel-features.h
4689 (__ASSUME_PROT_GROWSUPDOWN): Remove.
4690 (__ASSUME_NO_CLONE_DETACHED): Likewise.
4691 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4692 (__ASSUME_WAITID_SYSCALL): Likewise.
4693 * sysdeps/unix/sysv/linux/dl-execstack.c
4694 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
4695 code unconditional.
4696 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
4697 conditional code.
4698 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
4699 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
4700 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
4701 code.
4702 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
4703 unconditional.
4704 [__ASSUME_WAITID_SYSCALL]: Likewise.
4705 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
4706
d34689de
RM
47072012-08-07 Roland McGrath <roland@hack.frob.com>
4708
a281decc
RM
4709 * sysdeps/unix/closedir.c: Renamed to ...
4710 * sysdeps/posix/closedir.c: ... here.
4711 * sysdeps/unix/dirfd.c: Renamed to ...
4712 * sysdeps/posix/dirfd.c: ... here.
4713 * sysdeps/unix/dirstream.h: Renamed to ...
4714 * sysdeps/posix/dirstream.h: ... here.
4715 * sysdeps/unix/fdopendir.c: Renamed to ...
4716 * sysdeps/posix/fdopendir.c: ... here.
4717 * sysdeps/unix/opendir.c: Renamed to ...
4718 * sysdeps/posix/opendir.c: ... here.
4719 * sysdeps/unix/readdir.c: Renamed to ...
4720 * sysdeps/posix/readdir.c: ... here.
4721 * sysdeps/unix/readdir_r.c: Renamed to ...
4722 * sysdeps/posix/readdir_r.c: ... here.
4723 * sysdeps/unix/rewinddir.c: Renamed to ...
4724 * sysdeps/posix/rewinddir.c: ... here.
4725 * sysdeps/unix/seekdir.c: Renamed to ...
4726 * sysdeps/posix/seekdir.c: ... here.
4727 * sysdeps/unix/telldir.c: Renamed to ...
4728 * sysdeps/posix/telldir.c: ... here.
4729 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
4730 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
4731 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
4732 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
4733
22895b47
RM
4734 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
4735 * bits/fcntl.h: ... here.
4736
707a53b6
RM
4737 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
4738 not 0.
4739 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
4740 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
4741 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
4742 (struct flock): Move l_start, l_len to the beginning.
4743 Use __pid_t for l_pid.
4744 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
4745 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
4746 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
4747 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
4748 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
4749 [__USE_LARGEFILE64] (struct flock64): New type.
4750 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
4751
f0bd3e25
RM
4752 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
4753 * bits/dirent.h: ... here.
4754
d34689de
RM
4755 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
4756 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
4757
6dad2c06
JM
47582012-08-07 Joseph Myers <joseph@codesourcery.com>
4759
4760 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4761 Change from 2.6.0 to 2.6.16.
4762 * sysdeps/unix/sysv/linux/configure: Regenerated.
4763 * sysdeps/unix/sysv/linux/kernel-features.h
4764 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
4765 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
4766 version.
4767 (__ASSUME_UTIMES): Likewise.
4768 (__ASSUME_CLONE_STOPPED): Remove.
4769 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
4770 architectures, not kernel version.
4771 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
4772 (__ASSUME_NO_CLONE_DETACHED): Likewise.
4773 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4774 (__ASSUME_WAITID_SYSCALL): Likewise.
4775 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
4776 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
4777 * README: State 2.6.16 as minimum Linux kernel version. Do not
4778 refer to older versions.
4779
03af9520
RM
47802012-08-06 Roland McGrath <roland@hack.frob.com>
4781
8e49df1d
RM
4782 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
4783 Define alphasort64 as an alias.
4784 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
4785 Define versionsort64 as an alias.
4786 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
4787 Define scandir64 as an alias.
4788 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
4789 Define scandirat64 as an alias.
4790 * dirent/alphasort64.c (alphasort64):
4791 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
4792 * dirent/versionsort64.c: Likewise.
4793 * dirent/scandir64.c: Likewise.
4794 * dirent/scandirat64.c: Likewise.
4795 * sysdeps/wordsize-64/alphasort.c: File removed.
4796 * sysdeps/wordsize-64/alphasort64.c: File removed.
4797 * sysdeps/wordsize-64/scandir.c: File removed.
4798 * sysdeps/wordsize-64/scandir64.c: File removed.
4799 * sysdeps/wordsize-64/scandirat.c: File removed.
4800 * sysdeps/wordsize-64/scandirat64.c: File removed.
4801 * sysdeps/wordsize-64/versionsort.c: File removed.
4802 * sysdeps/wordsize-64/versionsort64.c: File removed.
4803 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
4804 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
4805 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
4806 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
4807 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
4808 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
4809 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
4810 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
4811
4812 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
4813 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
4814 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
4815 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4816 [defined __arch64__ || defined __sparcv9]
4817 (__INO_T_MATCHES_INO64_T): New macro.
4818 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4819 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
4820 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
4821 * sysdeps/unix/sysv/linux/bits/dirent.h
4822 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
4823 (_DIRENT_MATCHES_DIRENT64): New macro.
4824
03af9520
RM
4825 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
4826 Define lockf64 as an alias.
4827 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
4828 Define fseeko64 as an alias.
4829 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
4830 Define ftello64 as an alias.
4831 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
4832 Define _IO_fgetpos64 and fgetpos64 as aliases.
4833 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
4834 Define _IO_fsetpos64 and fsetpos64 as aliases.
4835 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
4836 Conditionalize body on this.
4837 * libio/fseeko64.c: Likewise.
4838 * libio/ftello64.c: Likewise.
4839 * libio/iofgetpos64.c: Likewise.
4840 * libio/iofsetpos64.c: Likewise.
4841 * sysdeps/wordsize-64/lockf.c: File removed.
4842 * sysdeps/wordsize-64/lockf64.c: File removed.
4843 * sysdeps/wordsize-64/fseeko.c: File removed.
4844 * sysdeps/wordsize-64/fseeko64.c: File removed.
4845 * sysdeps/wordsize-64/ftello.c: File removed.
4846 * sysdeps/wordsize-64/ftello64.c: File removed.
4847 * sysdeps/wordsize-64/iofgetpos.c: File removed.
4848 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
4849 * sysdeps/wordsize-64/iofsetpos.c: File removed.
4850 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
4851 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
4852 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
4853 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
4854 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
4855 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
4856 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
4857 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
4858 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
4859 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
4860 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
4861
4862 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
4863 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
4864 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
4865 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4866 [defined __arch64__ || defined __sparcv9]
4867 (__OFF_T_MATCHES_OFF64_T): New macro.
4868 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4869 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
4870 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4871 (__OFF_T_MATCHES_OFF64_T): New macro.
4872
c5757acd
L
48732012-08-06 H.J. Lu <hongjiu.lu@intel.com>
4874
4875 * stdlib/secure-getenv.c (__secure_getenv): Replace
4876 GLIBC_2_16 with GLIBC_2_17.
4877
3a31811e
L
48782012-08-06 H.J. Lu <hongjiu.lu@intel.com>
4879
4880 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
4881 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4882
faa2bccb
DM
48832012-08-03 David S. Miller <davem@davemloft.net>
4884
4885 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4886
85fe1997
JM
48872012-08-03 Joseph Myers <joseph@codesourcery.com>
4888
4889 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
4890 Remove.
4891 (__ASSUME_CORRECT_SI_PID): Likewise.
4892 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
4893 (__ASSUME_TMPFS_NAME): Likewise.
4894 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
4895 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
4896 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
4897 (HAVE_AUX_SECURE): Make definition unconditional.
4898 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
4899 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
4900
4f75b7a0
RM
49012012-08-03 Roland McGrath <roland@hack.frob.com>
4902
4903 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
4904 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
4905 * sysdeps/mach/hurd/eloop-threshold.h: New file.
4906 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4907 __eloop_threshold instead of SYMLOOP_MAX.
4908
4909 * sysdeps/generic/eloop-threshold.h: New file.
4910 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
4911 of MAXSYMLINKS.
4912 * elf/chroot_canon.c (chroot_canon): Likewise.
4913
7aab07e4
JM
49142012-08-03 Joseph Myers <joseph@codesourcery.com>
4915
4916 [BZ #13717]
4917 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4918 Change to 2.6.0 everywhere.
4919 * sysdeps/unix/sysv/linux/configure: Regenerated.
4920 * sysdeps/unix/sysv/linux/kernel-features.h
4921 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
4922 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
4923 kernel versions.
4924 (__ASSUME_POSIX_TIMERS): Define unconditionally.
4925 (__ASSUME_FUTEX_REQUEUE): Remove.
4926 (__ASSUME_STATFS64): Define unconditionally.
4927 (__ASSUME_AT_SECURE): Likewise.
4928 (__ASSUME_CORRECT_SI_PID): Likewise.
4929 (__ASSUME_TGKILL): Define without depending on kernel version for
4930 i386.
4931 (__ASSUME_UTIMES): Likewise.
4932 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
4933 kernel version.
4934 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
4935 (__ASSUME_TMPFS_NAME): Likewise.
4936 * README: Update reference to Linux kernel versions.
4937
b67e9372
MP
49382012-08-02 Marek Polacek <polacek@redhat.com>
4939
1f529f7d 4940 [BZ# 14150]
b67e9372
MP
4941 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
4942 libc_cv_asm_type_prefix with %.
4943 * configure: Regenerated.
d2441631
RM
4944 * include/libc-symbols.h: Remove comment about
4945 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
4946 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
4947 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
4948 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
4949 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
4950 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
4951 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
4952 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
4953 * elf/tst-unique2mod1.c: Likewise.
4954 * elf/tst-unique1mod2.c: Likewise.
4955 * elf/tst-unique1mod1.c: Likewise.
4956 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
4957 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
4958 Replace ASM_TYPE_DIRECTIVE with .type.
4959 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4960 * sysdeps/i386/sysdep.h: Likewise.
4961 * sysdeps/x86_64/sysdep.h: Likewise.
4962 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
4963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
4964 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 4965 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
4966 * sysdeps/powerpc/powerpc32/sysdep.h:
4967 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
4968 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
4969 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4970 * sysdeps/i386/fpu/e_powf.S: Likewise.
4971 * sysdeps/i386/fpu/e_expl.S: Likewise.
4972 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4973 * sysdeps/i386/fpu/e_acosh.S: Likewise.
4974 * sysdeps/i386/fpu/e_pow.S: Likewise.
4975 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
4976 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4977 * sysdeps/i386/fpu/s_expm1.S: Likewise.
4978 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4979 * sysdeps/i386/fpu/e_log2.S: Likewise.
4980 * sysdeps/i386/fpu/e_log2l.S: Likewise.
4981 * sysdeps/i386/fpu/e_scalb.S: Likewise.
4982 * sysdeps/i386/fpu/e_powl.S: Likewise.
4983 * sysdeps/i386/fpu/e_log10f.S: Likewise.
4984 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
4985 * sysdeps/i386/fpu/e_logl.S: Likewise.
4986 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
4987 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4988 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
4989 * sysdeps/i386/fpu/e_log2f.S: Likewise.
4990 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4991 * sysdeps/i386/fpu/e_log.S: Likewise.
4992 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4993 * sysdeps/i386/fpu/e_logf.S: Likewise.
4994 * sysdeps/i386/fpu/e_log10l.S: Likewise.
4995 * sysdeps/i386/fpu/e_atanh.S: Likewise.
4996 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
4997 * sysdeps/i386/fpu/e_log10.S: Likewise.
4998 * sysdeps/i386/fpu/s_frexp.S: Likewise.
4999 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5000 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5001 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5002 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5003 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
5004 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5005 * sysdeps/i386/i686/strtok.S: Likewise.
5006 * sysdeps/i386/i386-mcount.S: Likewise.
5007 * sysdeps/i386/strtok.S: Likewise.
5008 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
5009 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5010 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5011 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5012 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5013 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5014 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5015 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5016 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5017 * sysdeps/x86_64/_mcount.S: Likewise.
5018 * sysdeps/x86_64/strtok.S: Likewise.
5019 * sysdeps/sh/_mcount.S: Likewise.
5020
2747bf9a
RM
50212012-08-01 Roland McGrath <roland@hack.frob.com>
5022
5023 * libio/iofopen.c: Include <fcntl.h>.
5024 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
5025 (_IO_fopen64, fopen64): Define as aliases.
5026 * libio/iofopen64.c: Include <fcntl.h>.
5027 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
5028 Conditionalize body on this.
5029 * sysdeps/wordsize-64/iofopen.c: File removed.
5030 * sysdeps/wordsize-64/iofopen64.c: File removed.
5031
3fb791b8
MP
50322012-08-01 Marek Polacek <polacek@redhat.com>
5033
5034 * libc/Makeconfig: Use elf in place of binfmt-subdir.
5035 Use dlfcn directly instead of a variable.
5036 (binfmt-subdir): Do not define.
5037 (dlfcn): Likewise.
5038
a9f1039f
JM
50392012-08-01 Joseph Myers <joseph@codesourcery.com>
5040
23bddc06
JM
5041 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
5042 Remove all definitions.
5043 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
5044 <kernel-features.h>.
5045 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5046 (miss_F_GETOWN_EX): Remove all definitions.
5047 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
5048 macro definition.
5049 [!__ASSUME_FCNTL64]: Remove conditional code.
5050 [__ASSUME_FCNTL64]: Make code unconditional.
5051 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
5052 <kernel-features.h>.
5053 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5054 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
5055 (lockf64) [__NR_fcntl64]: Make code unconditional.
5056 (lockf64) [__ASSUME_FCNTL64]: Likewise.
5057
a9f1039f
JM
5058 * sysdeps/unix/sysv/linux/kernel-features.h
5059 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
5060 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
5061 Make code unconditional.
5062 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5063 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
5065 [__NR_vfork]: Make code unconditional.
5066 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5067 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
5069 [__NR_vfork]: Make code unconditional.
5070 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5071 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5072
09c0ee5f
RM
50732012-08-01 Roland McGrath <roland@hack.frob.com>
5074
48aec5b9
RM
5075 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
5076 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
5077
cd97c966
RM
5078 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5079 Define mkstemp64 as an alias.
3f55550c
RM
5080 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5081 Define mkstemps64 as an alias.
cd97c966
RM
5082 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5083 Define mkostemp64 as an alias.
b8625cfc
RM
5084 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5085 Define mkostemps64 as an alias.
cd97c966
RM
5086 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
5087 Conditionalize body on this.
5088 * misc/mkostemp64.c: Likewise.
b8625cfc 5089 * misc/mkostemps64.c: Likewise.
3f55550c 5090 * misc/mkstemps64.c: Likewise.
cd97c966
RM
5091 * sysdeps/wordsize-64/mkstemp64.c: File removed.
5092 * sysdeps/wordsize-64/mkostemp64.c: File removed.
5093 * sysdeps/wordsize-64/mkostemp.c: File removed.
5094 * sysdeps/wordsize-64/mkstemp.c: File removed.
5095 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
5096 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
5097 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
5098 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
5099
09c0ee5f
RM
5100 [BZ #14138]
5101 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
5102 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
5103 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
5104 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
5105
5106 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
5107 compat_symbol macros from <shlib-compat.h> rather than the underlying
5108 default_symbol_version and symbol_version macros, so that DEFAULT
5109 lines in shlib-versions are respected.
5110 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
5111
7e66ee51
FW
51122012-08-01 Florian Weimer <fweimer@redhat.com>
5113
5114 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
5115 Declare with warn_unused_result.
5116 (setgid, setregid, setegid, setresgid): Likewise.
5117 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
5118 Likewise.
5119 * WUR-REPORT: Remove set*id functions.
5120
d2a54255
PT
51212012-07-31 Pino Toscano <toscano.pino@tiscali.it>
5122
5123 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
5124
7ecdb005
RM
51252012-07-31 Roland McGrath <roland@hack.frob.com>
5126
789bd351
RM
5127 * include/sys/socket.h (__libc_accept, __libc_accept4):
5128 Add attribute_hidden.
5129 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
5130
40ce302d
RM
5131 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
5132 use of PTR_MANGLE.
5133 * inet/getnetgrent_r.c (setup): Likewise.
5134
7ecdb005
RM
5135 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
5136
e2eabb2c
DM
51372012-07-31 David S. Miller <davem@davemloft.net>
5138
5139 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5140
d0419dbf
JM
51412012-07-31 Joseph Myers <joseph@codesourcery.com>
5142
5143 [BZ #13629]
5144 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
5145 value between 1.0 and 2.0 and smaller part has absolute value less
5146 than 1.0.
5147 * math/s_clog10.c (__clog10): Likewise.
5148 * math/s_clog10f.c (__clog10f): Likewise.
5149 * math/s_clog10l.c (__clog10l): Likewise.
5150 * math/s_clogf.c (__clogf): Likewise.
5151 * math/s_clogl.c (__clogl): Likewise.
5152 * math/libm-test.inc (clog_test): Add more tests.
5153 (clog10_test): Likewise.
5154 * sysdeps/i386/fpu/libm-test-ulps: Update.
5155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5156
2bc13872
FW
51572012-07-31 Florian Weimer <fweimer@redhat.com>
5158
5159 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
5160 Exit with zero in case no suitable GID is found, and write a
5161 message to standard error.
5162
bea9b193
RM
51632012-07-30 Roland McGrath <roland@hack.frob.com>
5164
5165 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
5166 rather than to 1.
5167 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
5168 (MAXPATHLEN): Removed.
5169 (NOGROUP, NODEV): New macros.
5170 (setbit, clrbit, isset, isclr): New macros.
5171 (howmany, roundup, powerof2): New macros.
5172 (DEV_BSIZE): New macro.
5173
5174 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
5175 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
5176
5177 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
5178 definition on [!__NO_LONG_DOUBLE_MATH].
5179
5180 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
5181 PTR_MANGLE and PTR_DEMANGLE.
5182
5183 * socket/accept4.c (accept4): Rename to __libc_accept4.
5184 Define accept4 as a weak alias.
5185
5186 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
5187 on [_DIRENT_HAVE_D_TYPE].
5188 * io/ftw.c (ftw_dir): Likewise.
5189
5190 * io/xmknod.c (__xmknod): Don't check PATH for being null.
5191
5192 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
5193
5194 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
5195 Use the BSD numbers rather than the arbitrary ones we had.
5196 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
5197 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
5198 (SIGXCPU, SIGXFSZ): New macros.
5199 (_NSIG): Now 32.
5200
5201 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
5202 initializer on [_LIBC_REENTRANT].
5203
5204 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
5205 definitions inside [_POSIX_MAPPED_FILES].
5206
5207 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
5208
5209 * dirent/opendir.c: Include <fcntl.h>.
5210
5211 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
5212 (__libc_getspecific): Likewise.
5213 (__libc_key_create): Likewise.
5214
5215 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
5216 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
5217 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
5218 (tmpfile64): Define as alias.
5219 * sysdeps/wordsize-64/tmpfile.c: File removed.
5220 * sysdeps/wordsize-64/tmpfile64.c: File removed.
5221 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
5222 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
5223
5224 * stdio-common/vfscanf.c: Include <stdbool.h>.
5225 * nss/makedb.c: Likewise.
5226 * stdio-common/_i18n_number.h: Likewise.
5227 * argp/argp-help.c: Likewise.
5228 * posix/wordexp.c: Likewise.
5229 * sysdeps/posix/spawni.c: Likewise.
5230 * nss/nss_files/files-initgroups.c: Likewise.
5231 * stdio-common/reg-modifier.c: Include <stdlib.h>.
5232 * nss/nss_files/files-initgroups.c: Likewise.
5233 * nss/nss_db/db-netgrp.c: Likewise.
5234 * nss/nss_db/db-initgroups.c: Likewise.
5235 * io/fchmodat.c: Include <sys/stat.h>.
5236
5237 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
5238 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
5239
5240 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
5241 [HAVE_MMAP].
5242
5243 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
5244 Add multiple inclusion protection.
5245
e5abc686
DM
52462012-07-27 David S. Miller <davem@davemloft.net>
5247
5248 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5249
815e6fa3
GB
52502012-07-27 Gary Benson <gbenson@redhat.com>
5251
5252 [BZ #14298]
5253 * elf/rtld.c: Include <stap-probe.h>.
5254 (dl_main): Added static probes "init_start" and "init_complete".
5255 * elf/dl-load.c: Include <stap-probe.h>.
5256 (lose): Take new parameter "nsid".
5257 Added static probe "map_failed".
5258 (_dl_map_object_from_fd): Pass namespace id to lose.
5259 Added static probe "map_start".
5260 (open_verify): Pass namespace id to lose.
5261 * elf/dl-open.c: Include <stap-probe.h>.
5262 (dl_open_worker) Added static probes "map_complete", "reloc_start"
5263 and "reloc_complete".
5264 * elf/dl-close.c: Include <stap-probe.h>.
5265 (_dl_close_worker): Added static probes "unmap_start" and
5266 "unmap_complete".
5267 * elf/rtld-debugger-interface.txt: New file documenting the above.
5268
9f98c16c
RM
52692012-07-26 Roland McGrath <roland@hack.frob.com>
5270
5271 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
5272 rather than a string variable.
5273 * sunrpc/rpc_main.c (h_output): Likewise.
5274 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
5275
f3c22df3
PT
52762012-07-26 Pino Toscano <toscano.pino@tiscali.it>
5277
5278 * inet/check_native.c: New file.
5279
3129cfc6
JM
52802012-07-26 Joseph Myers <joseph@codesourcery.com>
5281
da865e95
JM
5282 [BZ #13629]
5283 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
5284 if larger part has absolute value 1.0.
5285 * math/s_clog10.c (__clog10): Likewise.
5286 * math/s_clog10f.c (__clog10f): Likewise.
5287 * math/s_clog10l.c (__clog10l): Likewise.
5288 * math/s_clogf.c (__clogf): Likewise.
5289 * math/s_clogl.c (__clogl): Likewise.
5290 * math/libm-test.inc (clog_test): Add more tests.
5291 (clog10_test): Likewise.
5292 * sysdeps/i386/fpu/libm-test-ulps: Update.
5293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5294
3129cfc6
JM
5295 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
5296 (pltexit): Likewise.
5297 (La_regs): Likewise.
5298 (La_retval): Likewise.
5299 (int_retval): Likewise.
5300 Update #error for removed macros to refer only to definitions in
5301 tst-audit.h.
5302 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
5303 macro.
5304 (pltexit): Likewise.
5305 (La_regs): Likewise.
5306 (La_retval): Likewise.
5307 (int_retval): Likewise.
5308 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
5309 macro.
5310 (pltexit): Likewise.
5311 (La_regs): Likewise.
5312 (La_retval): Likewise.
5313 (int_retval): Likewise.
5314 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
5315 macro.
5316 (pltexit): Likewise.
5317 (La_regs): Likewise.
5318 (La_retval): Likewise.
5319 (int_retval): Likewise.
5320 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
5321 macro.
5322 (pltexit): Likewise.
5323 (La_regs): Likewise.
5324 (La_retval): Likewise.
5325 (int_retval): Likewise.
5326 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
5327 macro.
5328 (pltexit): Likewise.
5329 (La_regs): Likewise.
5330 (La_retval): Likewise.
5331 (int_retval): Likewise.
5332 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
5333 macro.
5334 (pltexit): Likewise.
5335 (La_regs): Likewise.
5336 (La_retval): Likewise.
5337 (int_retval): Likewise.
5338 * sysdeps/generic/tst-audit.h: Update comment to refer only to
5339 macro definitions in tst-audit.h.
5340 * sysdeps/i386/tst-audit.h: New file.
5341 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
5342 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
5343 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
5344 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
5345 * sysdeps/sh/tst-audit.h: Likewise.
5346 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
5347 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
5348 * sysdeps/x86_64/tst-audit.h: Likewise.
5349
bfc07087
AJ
53502012-07-26 Andreas Jaeger <aj@suse.de>
5351
b1b2aaf8
AJ
5352 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
5353 ptrace.
5354
5355 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
5356 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
5357 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
5358 PTRACE_O_MASK.
5359 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
5360 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
5361 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
5362
bfc07087
AJ
5363 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
5364 value.
5365
5366 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
5367 _sigsys.
5368 (si_call_addr, si_syscall, si_arch): Define new macro.
5369 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
5370 _sigsys.
5371 (si_call_addr, si_syscall, si_arch): Define new marcro.
5372 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
5373 _sigsys.
5374 (si_call_addr, si_syscall, si_arch): Define new macro.
5375 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
5376 _sigsys.
5377 (si_call_addr, si_syscall, si_arch): Define new macro.
5378
89b4b02f
JM
53792012-07-25 Joseph Myers <joseph@codesourcery.com>
5380
5381 [BZ #13717]
5382 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5383 Change to 2.4.21 where previously 2.4.1.
5384 * sysdeps/unix/sysv/linux/configure: Regenerated.
5385 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
5386 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
5387 Linux kernel version.
5388 (__ASSUME_STD_AUXV): Remove.
5389 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
5390 kernel version.
5391 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
5392 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
5393 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
5394 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
5395 (__ASSUME_NETLINK_SUPPORT): Likewise.
5396 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
5397 (__no_netlink_support): Remove conditional definition.
5398 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
5399 Remove.
5400 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5401 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
5402 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
5403 (if_nameindex_ioctl): Remove.
5404 (if_nameindex_netlink): Do not handle __no_netlink_support.
5405 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5406 code.
5407 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
5408 Remove conditional code.
5409 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5410 code.
5411 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
5412 unconditional.
5413 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5414 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
5415 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
5416 Remove.
5417 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
5418 [!__ASSUME_STD_AUXV]: Remove conditional code.
5419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
5420 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
5421 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
5422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
5423 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
5424 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5425 code.
5426 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5428 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
5429 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5430 conditional code.
5431 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
5433 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5434 code.
5435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5436 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5437 conditional code.
5438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
5439 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5440 code unconditional.
5441 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5442 conditional code.
5443 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5444 unconditional.
5445 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5446 conditional code.
5447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
5448 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5449 unconditional.
5450 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5451 conditional code.
5452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
5453 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5454 code unconditional.
5455 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5456 conditional code.
5457 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5458 unconditional.
5459 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5460 conditional code.
5461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
5462 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5463 code unconditional.
5464 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5465 conditional code.
5466 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5467 unconditional.
5468 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5469 conditional code.
5470
842a39cd
AS
54712012-07-25 Andreas Schwab <schwab@linux-m68k.org>
5472
5473 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
5474 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
5475 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5476 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
5477 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
5478 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
5479 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5480 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
5481 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
5482 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
5483 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
5484 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
5485 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
5486 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5487 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
5488 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
5489 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
5490 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
5491 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
5492 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
5493 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
5494 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
5495 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5496
84b3fd84
FW
54972012-07-25 Florian Weimer <fweimer@redhat.com>
5498
5499 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
5500 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
5501 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
5502 Introduce __libc_secure_getenv.
0c7936d5
FW
5503 * stdlib/Versions (2.17): Add secure_getenv
5504 (GLIBC_PRIVATE): Add __libc_secure_getenv.
5505 * stdlib/secure-getenv.c: Rename __secure_getenv to
5506 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
5507 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
5508 * stdlib/tst-secure-getenv.c: New.
5509 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
5510 * manual/startup.texi (Environment Access): Document
5511 secure_getenv.
84b3fd84
FW
5512 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
5513 __libc_secure_getenv.
5514 * inet/ruserpass.c (ruserpass): Likewise.
5515 * malloc/mtrace.c (mtrace): Likewise.
5516 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 5517 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
5518 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
5519 * sysdeps/posix/tempname.c: Likewise. Evaluate
5520 HAVE_SECURE_GETENV.
5521 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 5522 __secure_getenv to __libc_secure_getenv.
84b3fd84 5523 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
5524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5525 Likewise.
5526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5527 Likewise.
5528 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
5529 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
5530 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5531 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
5532 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
5533 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5534 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 5535
56e49b71
JM
55362012-07-25 Joseph Myers <joseph@codesourcery.com>
5537
5538 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
5539 (struct La_i86_retval): Likewise.
5540 (struct La_x86_64_regs): Likewise.
5541 (struct La_x86_64_retval): Likewise.
5542 (struct La_x32_regs): Likewise.
5543 (struct La_x32_retval): Likewise.
5544 (struct La_ppc32_regs): Likewise.
5545 (struct La_ppc32_retval): Likewise.
5546 (struct La_ppc64_regs): Likewise.
5547 (struct La_ppc64_retval): Likewise.
5548 (struct La_sh_regs): Likewise.
5549 (struct La_sh_retval): Likewise.
5550 (struct La_s390_32_regs): Likewise.
5551 (struct La_s390_32_retval): Likewise.
5552 (struct La_s390_64_regs): Likewise.
5553 (struct La_s390_64_retval): Likewise.
5554 (struct La_sparc32_regs): Likewise.
5555 (struct La_sparc32_retval): Likewise.
5556 (struct La_sparc64_regs): Likewise.
5557 (struct La_sparc64_retval): Likewise.
5558 (struct audit_ifaces): Remove architecture-specific pltenter and
5559 pltexit members.
5560 * sysdeps/i386/ldsodefs.h: New file.
5561 * sysdeps/powerpc/ldsodefs.h: Likewise.
5562 * sysdeps/s390/ldsodefs.h: Likewise.
5563 * sysdeps/sh/ldsodefs.h: Likewise.
5564 * sysdeps/sparc/ldsodefs.h: Likewise.
5565 * sysdeps/x86_64/ldsodefs.h: Likewise.
5566
354691b7
MP
55672012-07-25 Marek Polacek <polacek@redhat.com>
5568
5569 [BZ #6808]
5570 * math/libm-test.inc (yn_test): Add another test.
5571 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
5572 to ERANGE when the result is +-Inf.
5573 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
5574 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
5575 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
5576 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
5577
bf9e2071
JM
55782012-07-24 Joseph Myers <joseph@codesourcery.com>
5579
5580 * conform/data/time.h-data (NULL): Use macro-constant. Require
5581 equal to 0.
5582 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
5583 clock_t.
5584 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
5585
57633811
TS
55862012-07-23 Thomas Schwinge <thomas@codesourcery.com>
5587
5588 * configure.in <sysdeps resolving>: Correct printing
5589 Implies_before.
5590 * configure: Regenerate.
5591
c23c33b0
TS
55922012-07-22 Thomas Schwinge <thomas@codesourcery.com>
5593
5594 * math/w_ilogb.c: Include <limits.h>.
5595 * math/w_ilogbl.c: Likewise.
5596
b5982523
JM
55972012-07-20 Joseph Myers <joseph@codesourcery.com>
5598
5599 * manual/lang.texi (__va_copy): Document primarily as ISO C99
5600 va_copy. Document allowing for unavailable va_copy only as
5601 pre-C99 compatibility.
5602 * manual/string.texi (Copying and Concatenation): Use va_copy
5603 instead of __va_copy in concat example.
5604
ac4ea442
PT
56052012-07-20 Pino Toscano <toscano.pino@tiscali.it>
5606
5607 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
5608 (__sendto): Use create_address_port. Initialize APORT and deallocate
5609 it if not null.
5610
f98eafbd
PT
5611 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
5612 with O_NOLINK passed to __file_name_lookup.
5613
898c7aab
PT
5614 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
5615 with O_NOLINK passed to __file_name_lookup.
5616
0ced335a
PT
5617 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
5618 negative N or less than NGIDS.
5619
b3404dbd
PT
5620 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
5621 type to string_t. Set ERANGE as errno and return it if NAME is not big
5622 enough. Use memcpy instead of strncpy.
5623
0f48659e
JM
56242012-07-20 Joseph Myers <joseph@codesourcery.com>
5625
5626 * elf/Makefile (check-data): Remove.
5627 (localplt.data): New vpath directive.
5628 ($(objpfx)check-localplt.out): Use localplt.data from vpath
5629 instead of $(check-data).
5630 * scripts/data/localplt-generic.data: Move to ...
5631 * sysdeps/generic/localplt.data: ... here.
5632 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
5633 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
5634 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
5635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
5636 ... here.
5637 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
5638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
5639 ... here.
5640 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
5641 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
5642 ... here.
5643 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
5644 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
5645 ... here.
5646 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
5647 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
5648 ... here.
5649 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
5650 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
5651 ... here.
5652
d37cbdaa
AZ
56532012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5654
5655 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
5656 PPC32 and PPC64 files.
5657 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
5658 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
5659
46f85fc2
AK
56602012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5661
5662 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
5663 __makecontext_ret to ...
5664 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
5665 ... here and call exit if uc_link is NULL. New file.
5666 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
5667 __makecontext_ret.S.
5668 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
5669 __makecontext_ret to ...
5670 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
5671 ... here and call exit if uc_link is NULL. New file.
5672 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
5673 __makecontext_ret.S.
5674
08f43f9b
AK
56752012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5676
5677 * elf/elf.h (R_390_IRELATIVE): New definition.
5678 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
5679 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
5680 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
5681 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
5682 (elf_machine_lazy_rel): Likewise.
5683 * sysdeps/s390/dl-irel.h: New file.
5684 * sysdeps/s390/s390-64/memcpy.S: New asm code.
5685 * sysdeps/s390/s390-64/memset.S: New asm code.
5686 * sysdeps/s390/s390-64/memcmp.S: New asm code.
5687 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
5688 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
5689 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
5690 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
5691 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
5692 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
5693 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
5694 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
5695 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
5696 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
5697 * sysdeps/s390/s390-32/memcpy.S: New asm code.
5698 * sysdeps/s390/s390-32/memset.S: New asm code.
5699 * sysdeps/s390/s390-32/memcmp.S: New asm code.
5700
3b05db33
MP
57012012-07-17 Marek Polacek <polacek@redhat.com>
5702
5703 [BZ #14349]
5704 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
5705 * sysdeps/s390/s390-64/configure.in: Likewise.
5706 * sysdeps/sparc/configure.in: Likewise.
5707 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
5708 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
5709 * sysdeps/i386/configure.in: Likewise.
5710 * sysdeps/x86_64/configure.in: Likewise.
5711 * sysdeps/sh/configure.in: Likewise.
5712 * sysdeps/s390/s390-32/configure: Regenerated.
5713 * sysdeps/s390/s390-64/configure: Likewise.
5714 * sysdeps/x86_64/configure: Likewise.
5715 * sysdeps/sh/configure: Likewise.
5716 * sysdeps/powerpc/powerpc64/configure: Likewise.
5717 * sysdeps/powerpc/powerpc32/configure: Likewise.
5718 * sysdeps/sparc/configure: Likwise.
5719 * sysdeps/i386/configure: Likewise.
5720
a66877c6
MP
5721 * elf/dl-open.c: Comment fixes.
5722
cfc82fd8
JM
57232012-07-17 Joseph Myers <joseph@codesourcery.com>
5724
bd29910a
JM
5725 * Makefile [CXX] (check-data): Remove.
5726 [CXX] (c++-types.data): New vpath directive.
5727 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
5728 vpath. Do not allow for C++ type data being missing.
5729 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
5730 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
5731 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
5732 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
5733 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
5734 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
5735 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
5736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
5737 ... here.
5738 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
5739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
5740 ... here.
5741 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
5742 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
5743 ... here.
5744 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
5745 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
5746 ... here.
5747 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
5748 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
5749 ... here.
5750 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
5751 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
5752 ... here.
5753 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
5754 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
5755 ... here.
5756 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
5757 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
5758
cfc82fd8
JM
5759 * elf/tls-macros.h (TLS_LE): Move architecture-specific
5760 definitions to architecture-specific files.
5761 (TLS_IE): Likewise.
5762 (TLS_LD): Likewise.
5763 (TLS_GD): Likewise.
5764 * sysdeps/i386/tls-macros.h: New file.
5765 * sysdeps/powerpc/tls-macros.h: Likewise.
5766 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
5767 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
5768 * sysdeps/sh/tls-macros.h: Likewise.
5769 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
5770 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
5771 * sysdeps/x86_64/tls-macros.h: Likewise.
5772
f7db3170
TS
57732012-07-17 Thomas Schwinge <thomas@codesourcery.com>
5774
07cbfc23
TS
5775 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
5776 zero value for regular exit case.
5777
f7db3170
TS
5778 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
5779 (__start_context): Preserve zero value for regular exit case.
5780
dc97c227
TS
57812012-07-17 Thomas Schwinge <thomas@codesourcery.com>
5782 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5783
5784 * manual/setjmp.texi (setcontext): Clarify normal process
5785 termination when uc_link is the null pointer.
5786 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
5787 exit call.
5788
d0cd7d02
AS
57892012-07-16 Andreas Schwab <schwab@linux-m68k.org>
5790
5791 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
5792 preprocessor. Test for each exception mask separately.
5793
dd318934
AJ
57942012-07-16 Andreas Jaeger <aj@suse.de>
5795
5796 * po/ru.po: Update from translation team.
5797
8048311a
JM
57982012-07-15 Joseph Myers <joseph@codesourcery.com>
5799
5800 * conform/data/string.h-data (NULL): Use macro-constant. Require
5801 equal to 0.
5802 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
5803 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
5804 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
5805 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
5806 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5807
b637d46e
AJ
58082012-07-13 Andreas Jaeger <aj@suse.de>
5809
5810 * po/fr.po: Update from translation team.
5811
541428fe
MP
58122012-07-12 Marek Polacek <polacek@redhat.com>
5813
5814 [BZ #14173]
5815 * math/libm-test.inc (yn_test): Add test for BZ #14173.
5816 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
5817 loop condition.
5818
ec332e94
JM
58192012-07-12 Joseph Myers <joseph@codesourcery.com>
5820
5821 [BZ #13717]
5822 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5823 Change to 2.4.1 where previously 2.4.0.
5824 * sysdeps/unix/sysv/linux/configure: Regenerated.
5825 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
5826 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
5827 version.
5828 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
5829 (__ASSUME_AT_CLKTCK): Remove.
5830 (__ASSUME_AT_PAGESIZE): Likewise.
5831 (__ASSUME_AT_XID): Likewise.
5832 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
5833 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
5834 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
5835 unconditionally.
5836 (HAVE_AUX_PAGESIZE): Likewise.
5837 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
5838 [__ASSUME_AT_CLKTCK]: Make code unconditional.
5839 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
5840
7b6e99be
JB
58412012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
5842
5843 [BZ #14307]
5844 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
5845 the temporary buffer used to invoke __gethostbyname2_r,
5846 __gethostbyaddr_r and gethostbyname4_r to make room for struct
5847 host_data / struct gaih_addrtuple.
5848 * resolv/nss_dns/dns-host.c (global scope): Move definition of
5849 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
5850 header file nss/nsswitch.h.
5851 * nss/nsswitch.h (global scope): Add definition of implementation
5852 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
5853 resolv/nss_dns/dns-host.c).
5854
608404eb
AJ
58552012-07-11 Andreas Jaeger <aj@suse.de>
5856
5857 * po/fr.po: Update from translation team.
5858
71220aca
AJ
5859 * po/sv.po: Update from translation team
5860 * po/fr.po: Another update from translation team.
5861
28cfe843
AZ
58622012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5863
5864 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
5865 for subnormals or multiply small sinh result by itself.
5866 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5867 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5868
6b90f981
DM
58692012-07-11 David S. Miller <davem@davemloft.net>
5870
5871 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5872
c6825772
AS
58732012-07-10 Andreas Schwab <schwab@linux-m68k.org>
5874
5875 [BZ #14347]
5876 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
5877 (INTERNAL_MARK): Shift it here.
5878
7b8e0d49
MP
58792012-07-10 Marek Polacek <polacek@redhat.com>
5880
5881 [BZ #14151]
5882 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
5883 libc_cv_asm_global_directive with .globl.
5884 * configure: Regenerated.
5885 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
5886 with .globl.
5887 * sysdeps/i386/configure: Regenerated.
5888 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
5889 with .globl.
5890 * sysdeps/x86_64/configure: Regenerated.
5891 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
5892 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
5893 * elf/tst-unique2mod2.c: Likewise.
5894 * elf/tst-unique2mod1.c: Likewise.
5895 * elf/tst-unique1mod2.c: Likewise.
5896 * elf/tst-unique1mod1.c: Likewise.
5897 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5898 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5899 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5900 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5901 * sysdeps/mach/sysdep.h: Likewise.
5902 * sysdeps/i386/sysdep.h: Likewise.
5903 * sysdeps/i386/i386-mcount.S: Likewise.
5904 * sysdeps/x86_64/_mcount.S: Likewise.
5905 * sysdeps/x86_64/sysdep.h: Likewise.
5906 * sysdeps/sh/_mcount.S: Likewise.
5907 * sysdeps/sh/sysdep.h: Likewise.
5908 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
5909 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
5910 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
5911 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5912 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
5913 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
5914 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
5915 * locale/localeinfo.h: Likewise.
5916 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
5917 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
5918
6c55cda3
RM
59192012-07-09 Roland McGrath <roland@hack.frob.com>
5920
5921 [BZ #14336]
5922 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
5923 system".
5924 * manual/message.texi (The Uniforum approach): Likewise.
5925 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
5926 (glibc iconv Implementation): Likewise.
5927
638a572e
JM
59282012-07-09 Joseph Myers <joseph@codesourcery.com>
5929
5930 [BZ #14337]
5931 * math/s_clog.c (__clog): Avoid scaling a value down where that
5932 could result in underflow.
5933 * math/s_clog10.c (__clog10): Likewise.
5934 * math/s_clog10f.c (__clog10f): Likewise.
5935 * math/s_clog10l.c (__clog10l): Likewise.
5936 * math/s_clogf.c (__clogf): Likewise.
5937 * math/s_clogl.c (__clogl): Likewise.
5938 * math/libm-test.inc (clog_test): Add more tests.
5939 (clog10_test): Likewise.
5940 * sysdeps/i386/fpu/libm-test-ulps: Update.
5941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5942
261f4859
AS
59432012-07-06 Andreas Schwab <schwab@linux-m68k.org>
5944
0abaf3e4
AS
5945 [BZ #14283]
5946 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
5947 by 7 not 8 to examine high bit of fractional part.
5948
261f4859
AS
5949 [BZ #14042]
5950 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
5951 for call to __mcount_internal.
5952 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
5953 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
5954 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
5955
f17ac40d
JM
59562012-07-06 Joseph Myers <joseph@codesourcery.com>
5957
9ad63c23
JM
5958 [BZ #14154]
5959 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
5960 approximation for values within 0x1p-13f of an odd multiple of
5961 pi/4.
5962 * math/libm-test.inc (tan_test): Do not allow spurious underflow
5963 exception. Add more tests.
5964 * sysdeps/i386/fpu/libm-test-ulps: Update.
5965
f17ac40d
JM
5966 [BZ #6778]
5967 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
5968 inputs and return -1 for them. Do not check for +Inf in case not
5969 reachable for +Inf.
5970 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5971 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
5972 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
5973 and return -1 for them. Do not check for +Inf in case not
5974 reachable for +Inf.
5975 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
5976 define.
5977 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
5978 and return -1 for them. Do not check for +Inf in case not
5979 reachable for +Inf.
5980 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
5981 spurious underflow.
5982 * sysdeps/i386/fpu/libm-test-ulps: Update.
5983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5984
fb21f89b
MF
59852012-07-06 Mike Frysinger <vapier@gentoo.org>
5986
5987 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
5988
cdfe2c5e
JM
59892012-07-05 Joseph Myers <joseph@codesourcery.com>
5990
5991 [BZ #14157]
5992 [BZ #14331]
5993 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
5994 could result in spurious underflow. Scale down values above
5995 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
5996 * math/s_csqrtf.c (__csqrtf): Likewise.
5997 * math/s_csqrtl.c (__csqrtl): Likewise.
5998 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
5999 spurious underflow.
6000 * sysdeps/i386/fpu/libm-test-ulps: Update.
6001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6002
70d35b67
AS
60032012-07-04 Andreas Schwab <schwab@linux-m68k.org>
6004
704bc459
AS
6005 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
6006 xopen-msg.sed.
6007 * catgets/xopen-msg.awk: New file.
6008 * catgets/xopen-msg.sed: Removed.
6009
70d35b67
AS
6010 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
6011 po2text.sed.
6012 * intl/po2test.awk: New file.
6013 * intl/po2test.sed: Removed.
6014
ca61cf32
JM
60152012-07-04 Joseph Myers <joseph@codesourcery.com>
6016
6017 [BZ #14328]
6018 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
6019 or multiply small sinh result by itself.
6020 * math/s_ctanf.c (__ctanf): Likewise.
6021 * math/s_ctanh.c (__ctanh): Likewise.
6022 * math/s_ctanhf.c (__ctanhf): Likewise.
6023 * math/s_ctanhl.c (__ctanhl): Likewise.
6024 * math/s_ctanl.c (__ctanl): Likewise.
6025 * math/libm-test.inc (ctan_test_tonearest): New function.
6026 (ctan_test_towardzero): Likewise.
6027 (ctan_test_downward): Likewise.
6028 (ctan_test_upward): Likewise.
6029 (ctanh_test_tonearest): Likewise.
6030 (ctanh_test_towardzero): Likewise.
6031 (ctanh_test_downward): Likewise.
6032 (ctanh_test_upward): Likewise.
6033 (main): Call these new functions.
6034 * sysdeps/i386/fpu/libm-test-ulps: Update.
6035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6036
ca48a46a
MF
60372012-07-03 Mike Frysinger <vapier@gentoo.org>
6038
6039 * .gitignore: Delete /ports entry.
6040
9d63d37d
AJ
60412012-07-03 Andreas Jaeger <aj@suse.de>
6042
6043 * po/bg.po: Update from translation team.
6044 * po/cs.po: Likewise.
6045 * po/de.po: Likewise.
6046 * po/hr.po: Likewise.
6047 * po/nl.pl: Likewise.
6048 * po/pl.po: Likewise.
6049 * po/vi.po: Likewise.
6050
370ca3d2
JM
60512012-07-03 Joseph Myers <joseph@codesourcery.com>
6052
95f5a9a8
JM
6053 * Makeconfig [!+link] (+link-before-libc): New variable.
6054 [!+link] (+link-after-libc): Likewise.
6055 [!+link] (+link-tests): Likewise.
6056 [!+link] (+link): Define in terms of $(+link-before-libc) and
6057 $(+link-after-libc).
6058 [!+link-static] (+link-static-before-libc): New variable.
6059 [!+link-static] (+link-static-after-libc): Likewise.
6060 [!+link-static] (+link-static-tests): Likewise.
6061 [!+link-static] (+link-static): Define in terms of
6062 $(+link-static-before-libc) and $(+link-static-after-libc).
6063 [build-shared] (link-libc-before-gnulib): New variable.
6064 [build-shared] (link-libc-tests): Likewise.
6065 [build-shared] (link-libc): Define in terms of
6066 $(link-libc-before-gnulib).
6067 [!build-shared] (link-libc-tests): New variable.
6068 (link-libc-static-tests): New variable.
6069 [!gnulib] (gnulib-arch): New variable.
6070 [!gnulib] (gnulib-tests): Likewise.
6071 [!gnulib] (static-gnulib-arch): Likewise.
6072 [!gnulib] (static-gnulib-tests): Likewise.
6073 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
6074 Define with "=" instead of ":=".
6075 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
6076 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
6077 * Rules (binaries-all-notests): New variable.
6078 (binaries-all-tests): Likewise.
6079 (binaries-static-notests): Likewise.
6080 (binaries-static-tests): Likewise.
6081 (binaries-all): Define using $(binaries-all-notests) and
6082 $(binaries-all-tests).
6083 (binaries-static): Define using $(binaries-static-notests) and
6084 $(binaries-static-tests).
6085 (binaries-shared-tests): New variable.
6086 (binaries-shared-notests): Likewise.
6087 (binaries-shared): Remove variable.
6088 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
6089 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
6090 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
6091 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
6092 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
6093 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
6094 * elf/Makefile (sln-modules): New variable.
6095 (extra-objs): Add $(sln-modules:=.o).
6096 (ldconfig-modules): Add static-stubs.
6097 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
6098 * elf/static-stubs.c: New file.
6099
7a845b2c
JM
6100 [BZ #14283]
6101 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
6102 by 7 not 8 to examine high bit of fractional part. Use volatile
6103 variables when splitting into final array of floats if
6104 __FLT_EVAL_METHOD__ != 0.
6105 * math/libm-test.inc (cos_test): Add another test.
6106 (sin_test): Likewise.
6107 * sysdeps/i386/fpu/libm-test-ulps: Update.
6108
e2283f38
JM
6109 [BZ #14273]
6110 * math/libm-test.inc (cosh_test): Add more tests.
6111
370ca3d2
JM
6112 * version.h (RELEASE): Set to "development".
6113 (VERSION): Set to "2.16.90".
6114
ee9247c3
CD
61152012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
6116
6117 * NEWS: Update copyright. Remove last-updated date.
6118 Mention math library bug fixes and timezone data changes.
6119 * README: Mention GNU/Hurd, x32, and HPPA support status.
6120
4648c381
TS
61212012-06-28 Thomas Schwinge <thomas@codesourcery.com>
6122
6123 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
6124
aac78a43
AJ
61252012-06-27 Andreas Jaeger <aj@suse.de>
6126
6127 * manual/contrib.texi (Contributors): Add Samuel Thibault.
6128
ed3dbfad
AJ
61292012-06-25 Andreas Jaeger <aj@suse.de>
6130
6131 * sysdeps/s390/fpu/libm-test-ulps: Update.
6132
4d0ee855
AS
61332012-06-23 Andreas Schwab <schwab@linux-m68k.org>
6134 Thomas Schwinge <thomas@codesourcery.com>
6135
6136 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
6137 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
6138 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
6139 fanotify_mark.
6140
af1bce34
TS
61412012-06-23 Thomas Schwinge <thomas@codesourcery.com>
6142
a9fa33ba
TS
6143 * sysdeps/mach/start.c: Remove file.
6144 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
6145 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
6146 * sysdeps/sh/init-first.c: Likewise.
6147
58f902b8
TS
6148 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
6149 registers for frame unwinding purposes, add CFI directives.
6150 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6151 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
6152 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
6153 Likewise.
6154
1518f58b
TS
6155 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
6156 __fortify_fail returning.
6157 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6158
db9b5059
TS
6159 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
6160 sysdeps/sh/____longjmp_chk.S.
6161 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
6162 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
6163 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
6164 (gen-as-const-headers): Append sigaltstack-offsets.sym.
6165
967705fe
TS
6166 * sysdeps/sh/abort-instr.h: New file.
6167 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
6168 process in case exit returns.
6169
a9def8c4
TS
6170 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
6171 initialize the GOT register before use.
6172
2a649725
TS
6173 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
6174 calculation of ARGC > 4.
6175
af1bce34
TS
6176 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
6177 meaningful names to some local labels.
6178
d230f50a
KK
61792012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6180 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6181
6182 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
6183 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
6184 (__arch_compare_and_exchange_val_16_acq): Likewise.
6185 (__arch_compare_and_exchange_val_32_acq): Likewise.
6186 (atomic_exchange_and_add): Fix gUSA sequence.
6187 (atomic_add): Likewise.
6188 (atomic_add_negative): Likewise.
6189 (atomic_add_zero): Likewise.
6190 (atomic_bit_test_set): Likewise.
6191
0479b305
AS
61922012-06-22 Andreas Schwab <schwab@redhat.com>
6193
6194 [BZ #13579]
6195 * include/link.h (struct link_map): Add l_free_initfini.
6196 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
6197 l_initfini.
6198 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
6199 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
6200 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
6201 set.
6202
0e3933b9
CD
62032012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
6204
6205 * configure.in: Use AC_LANG_SOURCE.
6206 * configure: Regenerate.
6207
4248b1b1
RM
62082012-06-22 Roland McGrath <roland@hack.frob.com>
6209
6210 * configure.in (libc_cv_localstatedir): New substituted variable.
6211 * configure: Regenerated.
6212 * config.make.in (localstatedir): New variable, substituted from
6213 libc_cv_localstatedir.
6214 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
6215 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
6216 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
6217 * sysdeps/gnu/configure: Regenerated.
6218
006dd861
JL
62192012-06-21 Jeff Law <law@redhat.com>
6220
6221 [BZ #14277]
6222 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
6223 free. Simplify list management for _LIBC case.
6224
79662d42
JM
62252012-06-21 Joseph Myers <joseph@codesourcery.com>
6226
b7abb4bf
JM
6227 [BZ #14273]
6228 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
6229 Clear sign bit of 64-bit integer value before comparing against
6230 overflow value.
6231
79662d42
JM
6232 * sysdeps/mach/configure: Regenerated.
6233
1f150908
L
62342012-06-21 H.J. Lu <hongjiu.lu@intel.com>
6235
6236 [BZ #14278]
6237 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
6238
28363bbf
JL
62392012-06-21 Jeff Law <law@redhat.com>
6240
6241 [BZ #13882]
6242 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
6243 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 6244 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
6245 * elf/dl-open.c (dl_open_worker): Likewise.
6246
09615db4
CD
62472012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
6248
6249 * scripts/list-sources.sh: Scan PORTS for translations.
6250 * po/libc.pot: Regenerated.
6251
2174c6dd
AJ
62522012-06-21 Andreas Jaeger <aj@suse.de>
6253
6254 [BZ #12194]
6255 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
6256 warning.
6257 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
6258 * bits/byteswap-16.h (__bswap_16): Likewise.
6259 * bits/byteswap.h (__bswap_constant_16): Likewise.
6260
3ee947b1
L
62612012-06-18 H.J. Lu <hongjiu.lu@intel.com>
6262
6263 [BZ #14117]
a2f34833
L
6264 * sysdeps/i386/fpu_control.h: Removed.
6265 * sysdeps/x86_64/fpu_control.h: Moved to ...
6266 * sysdeps/x86/fpu_control.h: Here.
6267
3ee947b1
L
6268 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
6269 (_FPU_SETCW): Likewise.
6270
ed1825f8
L
62712012-06-15 H.J. Lu <hongjiu.lu@intel.com>
6272
25f1282a
L
6273 [BZ #14117]
6274 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
6275 * sysdeps/x86/fpu/bits/mathinline.h: This.
6276 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
6277
ed1825f8
L
6278 [BZ #14050]
6279 [BZ #14117]
6280 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
6281 functions if __x86_64__ is defined.
6282
36d54b74
CLT
62832012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
6284
6285 * string/endian.h: Add !__ASSEMBLER__ condition for including
6286 conversion interfaces.
6287
10285c21
JM
62882012-06-15 Joseph Myers <joseph@codesourcery.com>
6289
6290 [BZ #14241]
6291 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
6292 of ABS(x) in calculating zero to negative powers other than odd
6293 integers.
6294 * math/libm-test.inc (pow_test): Add more tests.
6295
06c5abbd
AJ
62962012-06-15 Andreas Jaeger <aj@suse.de>
6297
6298 * manual/contrib.texi (Contributors): Update entry of Liubov
6299 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
6300 Machado Filho.
6301
a3aeac40
CH
63022012-06-15 Cyril Hrubis <metan@ucw.cz>
6303
6304 * string/string.h: Add __wur to GNU version of strerror_r.
6305
49bdf4c1
L
63062012-06-14 H.J. Lu <hongjiu.lu@intel.com>
6307
6308 [BZ #14229]
6309 * string/Makefile (tests): Add tst-strtok_r.
6310 * string/tst-strtok_r.c: New file.
6311 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
6312 RAX_LP/RDX_LP on SAVE_PTR.
6313
834f9b8d
RM
63142012-06-14 Roland McGrath <roland@hack.frob.com>
6315
6316 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
6317
75fa1921
JM
63182012-06-14 Joseph Myers <joseph@codesourcery.com>
6319
6320 * libm_test.inc (csqrt_test): Allow more spurious underflow
6321 exceptions.
6322 (j0_test): Likewise.
6323 (j1_test): Likewise.
6324 (y0_test): Likewise.
6325 (y1_test): Likewise.
6326
771766df
CD
63272012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
6328
6329 * po/Makefile (libc.pot): Use UTF-8 charset.
6330
ceb9e56b
PP
63312012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
6332
6333 [BZ #14210]
6334 Suppress sign-conversion warning from FD_SET.
6335 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
6336 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
6337 not unsigned long int.
6338 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
6339
ddb28975
L
63402012-06-12 H.J. Lu <hongjiu.lu@intel.com>
6341
6342 [BZ #14050]
6343 [BZ #14117]
6344 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
6345 __extern_always_inline instead of __extern_inline.
6346 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
6347 (__signbit): Likewise.
6348 (__signbitl): Support C++ namespace.
6349 (lrintf): New inline function.
6350 (lrint): Likewise.
6351 (llrintf): Likewise.
6352 (llrint): Likewise.
6353 (fmaxf): Likewise.
6354 (fmax): Likewise.
6355 (fminf): Likewise.
6356 (fmin): Likewise.
6357 (rint): Likewise.
6358 (rintf): Likewise.
6359 (ceil): Likewise.
6360 (ceilf): Likewise.
6361 (floor): Likewise.
6362 (floorf): Likewise.
6363 (nearbyint): Likewise.
6364 (nearbyintf): Likewise.
6365
d7b4fb26
TS
63662012-06-12 Thomas Schwinge <thomas@codesourcery.com>
6367
6368 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
6369 non-default versions.
6370
eb55f5c2
RM
63712012-06-11 Roland McGrath <roland@hack.frob.com>
6372
6373 [BZ #14218]
6374 * manual/argp.texi (Argp): Reword argp_parse description slightly.
6375
366af02c
TS
63762012-06-09 Thomas Schwinge <thomas@codesourcery.com>
6377
99ff6e5c
TS
6378 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
6379 (FE_UPWARD, FE_DOWNWARD): Don't define.
6380 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
6381 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6382
366af02c
TS
6383 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
6384 reading it.
6385 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6386 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6387
793ea851
KK
63882012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6389
6390 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6391 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
6392 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
6393 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
6394
a728a38f
L
63952012-06-06 H.J. Lu <hongjiu.lu@intel.com>
6396
6397 [BZ #14117]
c08010c7
L
6398 * sysdeps/i386/fpu/bits/fenv.h: Removed.
6399 * sysdeps/i386/fpu/Implies: New file.
6400 * sysdeps/x86_64/fpu/Implies: Likewise.
6401 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
6402 * sysdeps/x86/fpu/bits/fenv.h: This.
6403
a728a38f
L
6404 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
6405 __SSE_MATH__.
6406
6e230d11
SP
64072012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6408
6409 [BZ #14134]
6410 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
6411 character 0xffff that matches the last element of the
6412 conversion table.
6413
1b671feb
AZ
64142012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6415
6416 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
6417 fmodl commit.
6418
6043738b
AZ
64192012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6420
6421 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
6422 values higher than 25.6283.
6423
34ae0b32
AZ
64242012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6425
6426 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
6427 subnormal exponent extraction and add some __builtin_expect.
6428 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
6429 Fix for subnormal mantissa calculation.
6430
1214ec8f
MF
64312012-06-04 Mike Frysinger <vapier@gentoo.org>
6432
6433 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
6434 cpu2 is -1 and errno is not ENOSYS.
6435
f3d1f93c
L
64362012-06-04 H.J. Lu <hongjiu.lu@intel.com>
6437
6438 [BZ #14117]
0e4a3cd7
L
6439 * sysdeps/i386/i486/bits/string.h: Renamed to ...
6440 * sysdeps/x86/bits/string.h: This.
6441 * sysdeps/x86_64/bits/string.h: Removed.
6442
6704c645
L
6443 * sysdeps/i386/i486/bits/string.h: Define inline functions only
6444 if not compiling for x86-64, but compiling for >= i486.
6445
48495318
L
6446 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
6447 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
6448
14adcbfc
L
6449 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
6450 New macro from Linux kernel 3.4.0.
6451 (FP_XSTATE_MAGIC2): Likewise.
6452 (FP_XSTATE_MAGIC2_SIZE): Likewise.
6453 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
6454 (struct _fpx_sw_bytes): New struct.
6455 (struct _xsave_hdr): Likewise.
6456 (struct _ymmh_state): Likewise.
6457 (struct _xstate): Likewise.
6458
68e408ab
L
6459 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
6460 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
6461 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
6462 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
6463 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
6464 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
6465
f3d1f93c
L
6466 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
6467 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
6468 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
6469 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
6470 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
6471 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
6472
d9dc34cd
TMQMF
64732012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6474
6475 [BZ #13743]
6476 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
6477 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
6478 (sysdep_headers): Include sys/platform/ppc.h.
6479 * sysdeps/powerpc/test-gettimebase.c: Test for
6480 __ppc_get_timebase() to catch future ISA opcode/insn changes.
6481 * manual/Makefile (appendices): Include platform.texi.
6482 * manual/contrib.texi (Contributors): Update @node pointers.
6483 * manual/maint.texi (Maintenance): Likewise.
6484 (Platform): New node.
6485 * manual/platform.texi: New file. Document the new features.
6486
4af3879c
SP
64872012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6488 Jakub Jelinek <jakub@redhat.com>
6489
6490 [BZ #14188]
6491 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
6492 where __builtin_expect is unavailable.
6493
2fd6ff13
DM
64942012-06-03 David S. Miller <davem@davemloft.net>
6495
6496 * stdlib/longlong.h: Updated from GCC.
6497
173f7220
AS
64982012-06-02 Andreas Schwab <schwab@linux-m68k.org>
6499
6500 [BZ #14042]
6501 * sysdeps/powerpc/powerpc32/mcount.c: New file.
6502 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
6503 __mcount_internal.
6504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6505 (GLIBC_2.16): Likewise.
6506
f34a1c6f
L
65072012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6508
6509 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
6510
88a4576f
JM
65112012-06-01 Joseph Myers <joseph@codesourcery.com>
6512
ea32bcdd
JM
6513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
6514 (default-abi): New variable.
6515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
6516 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
6517 variable.
6518 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
6519 Likewise.
6520 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
6521 Likewise.
6522 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
6523 Likewise.
6524
88a4576f
JM
6525 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
6526 definition. Document in comment.
6527
402fe938
DM
65282012-06-01 David S. Miller <davem@davemloft.net>
6529
6530 * stdlib/longlong.h: Updated from GCC.
6531
3553723f
L
65322012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6533
6534 [BZ #14117]
3bd872c4
L
6535 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
6536 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
6537 sys/debugreg.h sys/io.h here.
6538 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
6539 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
6540 sys/io.h.
6541 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
6542 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
6543 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
6544 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
6545 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
6546 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
6547
3553723f
L
6548 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
6549 Define only if __x86_64__ is defined.
6550
4842e4fe
JM
65512012-06-01 Joseph Myers <joseph@codesourcery.com>
6552
c5bfe3d5
JM
6553 [BZ #14048]
6554 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
6555 Use int64_t for variable i.
6556 * math/libm-test.inc (fmod_test): Add more tests.
6557
4842e4fe
JM
6558 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
6559 z computation is not scheduled after fetestexcept.
6560 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
6561 Use math_force_eval instead of asm to ensure calculation scheduled
6562 before exception test.
6563 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
6564 Ensure a1 + u.d computation is not scheduled after fetestexcept.
6565
efb73488
AJ
65662012-06-01 Aurelien Jarno <aurelien@aurel32.net>
6567
6568 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
6569 computation is not scheduled after fetestexcept.
6570
29bcce7c
L
65712012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6572
6573 [BZ #14117]
6574 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
6575 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
6576
73a68f94
AZ
65772012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6578
6579 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
6580 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6581
67b6df78
L
65822012-05-31 H.J. Lu <hongjiu.lu@intel.com>
6583
edf2933a 6584 [BZ #14117]
ebc64a18
L
6585 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
6586 <bits/wordsize.h>.
6587 (__WCHAR_MIN): Support __WORDSIZE == 64.
6588 (__WCHAR_MAX): Likewise.
6589
edf2933a
L
6590 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
6591 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
6592
57c6cf40
L
6593 [BZ #14183]
6594 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
6595 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
6596
67b6df78 6597 [BZ #14117]
8eb6281e
L
6598 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
6599 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
6600
aac639f4
L
6601 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
6602 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
6603
67b6df78
L
6604 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
6605 Defined to 1 if __x86_64__ isn't defined.
6606 (_STAT_VER_LINUX_OLD): New.
6607 (st_atime): Remove duplicate.
6608 (st_mtime): Likewise.
6609 (st_ctime): Likewise.
6610
1c2cfe81
DM
66112012-05-31 David S. Miller <davem@davemloft.net>
6612
6613 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
6614 entries.
6615
5be8418c
AS
66162012-06-01 Andreas Schwab <schwab@linux-m68k.org>
6617
e7725326
AS
6618 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
6619 gen-libm-test.pl.
6620
5be8418c
AS
6621 [BZ #14132]
6622 * elf/dl-reloc.c: Include <_itoa.h>.
6623 (_dl_reloc_bad_type): Remove use of INTUSE.
6624 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
6625 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
6626 * stdio-common/psiginfo.c (psiginfo): Likewise.
6627 * stdio-common/psignal.c (psignal): Likewise.
6628 * string/strsignal.c (strsignal): Likewise.
6629 * include/signal.h (_sys_siglist): Declare hidden proto.
6630 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
6631 INTVARDEF with libc_hidden_data_def.
6632 * stdio-common/itoa-udigits.c: Likewise.
6633 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
6634 (_itoa_lower_digits_internal): Remove declaration.
6635 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
6636 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
6637 (_sys_sigabbrev_internal): Remove aliases.
6638 (_sys_siglist): Define hidden alias.
6639
507352f1
MT
66402012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
6641
6642 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6643 bits/sysctl.h.
6644
42bbb1c3
L
66452012-05-31 H.J. Lu <hongjiu.lu@intel.com>
6646
6647 [BZ #14117]
6bd784b6
L
6648 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
6649 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
6650
8bca20f0
L
6651 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
6652 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
6653 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
6654 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
6655 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
6656 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
6657
f9e890a9
L
6658 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
6659 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
6660 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
6661
471101a1
L
6662 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
6663 with __addr.
6664 (insw): Likewise.
6665 (insl): Likewise.
6666 (outsb): Likewise.
6667 (outsw): Likewise.
6668 (outsl): Likewise.
6669
6451c862
L
6670 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
6671 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
6672 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
6673
a254b8c9
L
6674 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
6675 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
6676 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
6677 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
6678 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
6679 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
6680
b8dfdd92
L
6681 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
6682 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
6683
578cd270
L
6684 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
6685 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
6686
de662f5f
L
6687 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
6688 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
6689 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
6690
25653439
L
6691 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
6692 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
6693 to ...
6694 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
6695
6bad24a0
L
6696 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
6697 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
6698 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
6699
42bbb1c3
L
6700 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
6701 for x86-64.
6702 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
6703
2d10d547
JM
67042012-05-31 Joseph Myers <joseph@codesourcery.com>
6705
6706 * math/math.h (M_El): Use two more decimal places.
6707 (M_LOG2El): Likewise.
6708 (M_LOG10El): Likewise.
6709 (M_LN2l): Likewise.
6710 (M_LN10l): Likewise.
6711 (M_PIl): Likewise.
6712 (M_PI_2l): Likewise.
6713 (M_PI_4l): Likewise.
6714 (M_1_PIl): Likewise.
6715 (M_2_PIl): Likewise.
6716 (M_2_SQRTPIl): Likewise.
6717 (M_SQRT2l): Likewise.
6718 (M_SQRT1_2l): Likewise.
6719
f230c29b
DM
67202012-05-31 David S. Miller <davem@davemloft.net>
6721
6722 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
6723 values between float registers.
6724 * sysdeps/sparc/sparc64/memset.S: Likewise.
6725 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6726
fed806c3
MF
67272012-05-31 Mike Frysinger <vapier@gentoo.org>
6728
6729 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
6730 -D_FORTIFY_SOURCE=1.
6731 (CPPFLAGS-tst-longjmp_chk.c): Define.
6732 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
6733 (CPPFLAGS-tst-longjmp_chk2.c): Define.
6734 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
6735 CFLAGS-tst-wchar-h.c.
6736
30917259
MP
67372012-05-31 Marek Polacek <polacek@redhat.com>
6738
6739 [BZ #14132]
6740 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
6741 __endmntent_internal): Remove declaration.
6742 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
6743 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
6744 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
6745
1c58d5dc
DM
67462012-05-30 David S. Miller <davem@davemloft.net>
6747
6748 * sysdeps/sparc/sparc32/soft-fp/q_util.c
6749 (___Q_simulate_exceptions): Use real FP ops rather than writing
6750 into the %fsr.
6751 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
6752 Likewise.
6753
7dc00e0d
L
67542012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6755
6756 [BZ #14117]
0bd53985
L
6757 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
6758 * sysdeps/x86/bits/xtitypes.h: This.
6759
3a257e66
L
6760 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
6761 * sysdeps/x86/bits/wordsize.h: This.
6762
62f62904
L
6763 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
6764 * sysdeps/x86/bits/huge_vall.h: This.
6765
404fe9d9
L
6766 * sysdeps/i386/bits/select.h: Removed.
6767 * sysdeps/x86_64/bits/select.h: Renamed to ...
6768 * sysdeps/x86/bits/select.h: This.
6769
d48d0446
L
6770 * sysdeps/i386/bits/setjmp.h: Removed.
6771 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
6772 * sysdeps/x86/bits/setjmp.h: This.
6773
7dc00e0d
L
6774 * sysdeps/i386/bits/mathdef.h: Removed.
6775 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
6776 * sysdeps/x86/bits/mathdef.h: This.
6777
03277f8f
AS
67782012-05-30 Andreas Schwab <schwab@linux-m68k.org>
6779
6780 [BZ #14132]
6781 * include/sys/socket.h (__connect_internal)
6782 (__libc_sa_len_internal): Remove declaration.
6783 (__connect, __libc_sa_len): Declare hidden_proto.
6784 (SA_LEN): Remove use of INTUSE.
6785 * socket/connect.c: Add libc_hidden_def.
6786 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
6787 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
6788 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
6789 alias.
6790 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
6791 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6792 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
6793 of adding _internal alias.
6794
13764867
L
67952012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6796
6797 [BZ #14117]
6bd97696
L
6798 * sysdeps/i386/bits/link.h: Removed.
6799 * sysdeps/i386/bits/linkmap.h: Likewise.
6800 * sysdeps/x86_64/bits/link.h: Renamed to ...
6801 * sysdeps/x86/bits/link.h: This.
6802 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
6803 * sysdeps/x86/bits/linkmap.h: This.
6804
f726f0bb
L
6805 * sysdeps/i386/bits/endian.h: Removed.
6806 * sysdeps/x86_64/bits/endian.h: Renamed to ...
6807 * sysdeps/x86/bits/endian.h: This.
6808
13764867
L
6809 * sysdeps/i386/bits/byteswap.h: Removed.
6810 * sysdeps/i386/bits/byteswap-16.h: Likewise.
6811 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
6812 * sysdeps/x86/bits/byteswap.h: This.
6813 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
6814 * sysdeps/x86/bits/byteswap-16.h: This.
6815 * sysdeps/i386/Implies: Add x86.
6816 * sysdeps/x86_64/Implies: Likewise.
6817
ae251b0b
DM
68182012-05-30 David S. Miller <davem@davemloft.net>
6819
6820 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
6821 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
6822 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
6823 (FP_TRAPPING_EXCEPTIONS): Define.
6824 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
6825 (FP_TRAPPING_EXCEPTIONS): Define.
6826 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
6827 subnormals only when inexact has been signalled or underflow
6828 exceptions are enabled.
6829 (_FP_PACK_CANONICAL): Likewise.
6830
d5c90867
L
68312012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6832
6833 [BZ #14183]
6834 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
6835 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
6836
63f1549e
RH
68372012-05-30 Richard Henderson <rth@twiddle.net>
6838
8d8f2279
RH
6839 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
6840 with #ifndef NOT_IN_libc.
6841
63f1549e
RH
6842 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
6843 marked to avoid plt entry.
6844
0ab0291b
L
68452012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6846
6847 [BZ #14112]
6848 * Makeconfig (default-abi): New macro.
6849 (abi-includes): Likewise.
6850 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
6851 $(abi-$(default-abi)-lib-soname) for soname if defined.
6852 ($(common-objpfx)gnu/lib-names.stmp): Generate from
6853 abi-variants.
6854 * Makefile (installed-stubs): Likewise.
6855 * include/stubs-biarch.h: Removed.
6856 * scripts/lib-names.awk: Only handle one library at a time.
6857 * scripts/soversions.awk: Remove WORDSIZE support.
6858 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
6859 entries.
6860 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
6861 Removed.
6862 (syscall-list-default-condition): Likewise.
6863 (syscall-list-default-condition): Likewise.
6864 (syscall-list-includes): Likewise.
6865 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
6866 syscall-list-* with abi-*. Handle undefined abi-variants.
6867 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
6868 * sysdeps/unix/sysv/linux/i386/Implies: New file.
6869 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
6870 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
6871 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
6872 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
6873 Removed.
6874 (syscall-list-32-options): Likewise.
6875 (syscall-list-32-condition): Likewise.
6876 (syscall-list-64-options): Likewise.
6877 (syscall-list-64-condition): Likewise.
6878 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
6879 macro.
6880 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
6881 Renamed to ...
6882 (abi-*): This.
6883 (abi-64-ld-soname): New macro.
6884 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
6885 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
6886 Renamed to ...
6887 (abi-*): This.
6888 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
6889 * sysdeps/x86_64/x32/shlib-versions: Likewise.
6890
4da0431d
JM
68912012-05-30 Joseph Myers <joseph@codesourcery.com>
6892
3a85279c
JM
6893 * sysdeps/unix/sysv/linux/kernel-features.h
6894 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
6895 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
6896 include <kernel-features.h>.
6897 [!__NR_ftruncate64]: Remove conditional code.
6898 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6899 [__NR_ftruncate64]: Make code unconditional.
6900 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6901 * sysdeps/unix/sysv/linux/truncate64.c: Do not
6902 include <kernel-features.h>.
6903 [!__NR_ftruncate64]: Remove conditional code.
6904 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6905 [__NR_ftruncate64]: Make code unconditional.
6906 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
6908 include <kernel-features.h>.
6909 [!__NR_ftruncate64]: Remove conditional code.
6910 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6911 [__NR_ftruncate64]: Make code unconditional.
6912 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
6914 include <kernel-features.h>.
6915 [!__NR_ftruncate64]: Remove conditional code.
6916 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6917 [__NR_ftruncate64]: Make code unconditional.
6918 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6919
4da0431d
JM
6920 * configure.in (libc_cv_fpie): Weaken to a compile test using
6921 LIBC_TRY_CC_OPTION.
6922 * configure: Regenerated.
6923
11ef492c
AK
69242012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6925
6926 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
6927 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
6928 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
6929 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6930 Refreshed.
6931 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
6932 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
6933 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
6934 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
6935 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
6936 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6937 Refreshed.
6938
d66ef399
DM
69392012-05-27 David S. Miller <davem@davemloft.net>
6940
6941 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
6942 (___Q_zero): New.
6943 (__Q_simulate_exceptions): Return void. Change to simulate
6944 exceptions by writing into the %fsr.
6945 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
6946 (__Qp_handle_exceptions): Likewise.
6947 (numbers): Delete.
6948 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
6949 __Qp_handle_exceptions.
6950 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
6951 __Qp_handle_exceptions.
6952 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
6953 as unused and give dummy FP_RND_NEAREST initializer.
6954 (FP_INHIBIT_RESULTS): Define.
6955 (___Q_simulate_exceptions): Update declaration.
6956 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
6957 formatting.
6958 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
6959 as unused and give dummy FP_RND_NEAREST initializer.
6960 (__Qp_handle_exceptions): Update declaration.
6961 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
6962 formatting.
6963
04fb54b5
TS
69642012-05-27 Thomas Schwinge <thomas@codesourcery.com>
6965
6966 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
6967 the temporary FPU control word.
6968 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6969 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
6970 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
6971 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6972 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
6973 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
6974 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
6975 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6976 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6977 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
6978 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6979
3f99608f
KK
69802012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6981
6982 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
6983 fields.
6984
65a4de4e
CLT
69852012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
6986
6987 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
6988 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
6989 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
6990 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
6991 Likewise.
6992 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
6993 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
6994 Likewise.
6995
15749d40
UD
69962012-05-27 Ulrich Drepper <drepper@gmail.com>
6997
6998 * po/h.po: Update from translation team.
6999
25dbcb27
AS
70002012-05-26 Andreas Schwab <schwab@linux-m68k.org>
7001
3d3f8e55
AS
7002 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
7003
25dbcb27
AS
7004 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
7005 handling of denormals.
7006 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7007 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7008 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7009 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7010 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7011 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
7012 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
7013 Likewise.
7014
7ad47a80 70152012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
7016
7017 [BZ #14152]
7018 * math/libm-test.inc (fma_test): Don't always expect underflow
7019 exception.
7020
9c6ea9fa
SP
70212012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7022
7023 [BZ #12416]
7024 * elf/tst-execstack.c: Include stackinfo.h.
7025 (do_test): Adjust test case to ensure that pthread_getattr_np
7026 behaviour remains the same after marking stack executable.
7027
a8239222
JM
70282012-05-25 Joseph Myers <joseph@codesourcery.com>
7029
7030 * sysdeps/unix/sysv/linux/kernel-features.h
7031 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
7032 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
7033 kernel-features.h.
7034 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7035 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7036 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
7037 kernel-features.h.
7038 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7039 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7040
918b5606
L
70412012-05-25 H.J. Lu <hongjiu.lu@intel.com>
7042
7043 * configure.in: Define the default includes to being none.
7044 * configure: Regenerated.
7045
3a097cc7
RM
70462012-05-25 Roland McGrath <roland@hack.frob.com>
7047
8422c9a5
RM
7048 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
7049 * sysdeps/x86_64/setjmp.S: Likewise.
7050 * sysdeps/i386/bsd-setjmp.S: Likewise.
7051 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7052 * sysdeps/i386/setjmp.S: Likewise.
7053 * sysdeps/i386/__longjmp.S: Likewise.
7054 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7055 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
7056
3a097cc7
RM
7057 * include/stap-probe.h: New file.
7058 * configure.in: Handle --enable-systemtap.
7059 * configure: Regenerated.
7060 * config.h.in (USE_STAP_PROBE): New #undef.
7061 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
7062 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
7063 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7064
21708942
JM
70652012-05-25 Joseph Myers <joseph@codesourcery.com>
7066
7067 [BZ #13717]
7068 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
7069 to 2.4.0 where earlier.
7070 * sysdeps/unix/sysv/linux/configure: Regenerated.
7071 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7072 <kernel-features.h>.
7073 [__ASSUME_32BITUIDS]: Make code unconditional.
7074 [!__ASSUME_32BITUIDS]: Remove conditional code.
7075 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
7076 <kernel-features.h>.
7077 [__ASSUME_32BITUIDS]: Make code unconditional.
7078 [!__ASSUME_32BITUIDS]: Remove conditional code.
7079 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
7080 [__ASSUME_32BITUIDS]: Make code unconditional.
7081 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
7082 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
7083 <kernel-features.h>.
7084 [__ASSUME_32BITUIDS]: Make code unconditional.
7085 [!__ASSUME_32BITUIDS]: Remove conditional code.
7086 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
7087 <kernel-features.h>.
7088 [__ASSUME_32BITUIDS]: Make code unconditional.
7089 [!__ASSUME_32BITUIDS]: Remove conditional code.
7090 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
7091 <kernel-features.h>.
7092 [__ASSUME_32BITUIDS]: Make code unconditional.
7093 [!__ASSUME_32BITUIDS]: Remove conditional code.
7094 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
7095 <kernel-features.h>.
7096 [__ASSUME_32BITUIDS]: Make code unconditional.
7097 [!__ASSUME_32BITUIDS]: Remove conditional code.
7098 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7099 <kernel-features.h>.
7100 [__ASSUME_32BITUIDS]: Make code unconditional.
7101 [!__ASSUME_32BITUIDS]: Remove conditional code.
7102 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7103 <kernel-features.h>.
7104 [__ASSUME_32BITUIDS]: Make code unconditional.
7105 [!__ASSUME_32BITUIDS]: Remove conditional code.
7106 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
7107 <kernel-features.h>.
7108 [__ASSUME_32BITUIDS]: Make code unconditional.
7109 [!__ASSUME_32BITUIDS]: Remove conditional code.
7110 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7111 <kernel-features.h>.
7112 [__ASSUME_32BITUIDS]: Make code unconditional.
7113 [!__ASSUME_32BITUIDS]: Remove conditional code.
7114 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7115 <kernel-features.h>.
7116 [__ASSUME_32BITUIDS]: Make code unconditional.
7117 [!__ASSUME_32BITUIDS]: Remove conditional code.
7118 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
7119 <kernel-features.h>.
7120 [__ASSUME_32BITUIDS]: Make code unconditional.
7121 [!__ASSUME_32BITUIDS]: Remove conditional code.
7122 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
7123 <kernel-features.h>.
7124 [__NR_setresgid] (__setresgid): Do not declare.
7125 [__ASSUME_32BITUIDS]: Make code unconditional.
7126 [!__ASSUME_32BITUIDS]: Remove conditional code.
7127 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
7128 <kernel-features.h>.
7129 [__NR_setresuid] (__setresuid): Do not declare.
7130 [__ASSUME_32BITUIDS]: Make code unconditional.
7131 [!__ASSUME_32BITUIDS]: Remove conditional code.
7132 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
7133 <kernel-features.h>.
7134 [__ASSUME_32BITUIDS]: Make code unconditional.
7135 [!__ASSUME_32BITUIDS]: Remove conditional code.
7136 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
7137 <kernel-features.h>.
7138 [__ASSUME_32BITUIDS]: Make code unconditional.
7139 [!__ASSUME_32BITUIDS]: Remove conditional code.
7140 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
7141 <kernel-features.h>.
7142 [__ASSUME_32BITUIDS]: Make code unconditional.
7143 [!__ASSUME_32BITUIDS]: Remove conditional code.
7144 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
7145 <kernel-features.h>.
7146 [__ASSUME_32BITUIDS]: Make code unconditional.
7147 [!__ASSUME_32BITUIDS]: Remove conditional code.
7148 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
7149 <kernel-features.h>.
7150 [__ASSUME_32BITUIDS]: Make code unconditional.
7151 [!__ASSUME_32BITUIDS]: Remove conditional code.
7152 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
7153 <kernel-features.h>.
7154 [__ASSUME_32BITUIDS]: Make code unconditional.
7155 [!__ASSUME_32BITUIDS]: Remove conditional code.
7156 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
7157 <kernel-features.h>.
7158 [__ASSUME_32BITUIDS]: Make code unconditional.
7159 [!__ASSUME_32BITUIDS]: Remove conditional code.
7160 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
7161 <kernel-features.h>.
7162 [__ASSUME_32BITUIDS]: Make code unconditional.
7163 [!__ASSUME_32BITUIDS]: Remove conditional code.
7164 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
7165 <kernel-features.h>.
7166 [__ASSUME_32BITUIDS]: Make code unconditional.
7167 [!__ASSUME_32BITUIDS]: Remove conditional code.
7168 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7169 <kernel-features.h>.
7170 [__ASSUME_32BITUIDS]: Make code unconditional.
7171 [!__ASSUME_32BITUIDS]: Remove conditional code.
7172 * sysdeps/unix/sysv/linux/kernel-features.h
7173 (__ASSUME_SETRESUID_SYSCALL): Remove.
7174 (__ASSUME_SETRESGID_SYSCALL): Likewise.
7175 (__ASSUME_32BITUIDS): Likewise.
7176 (__ASSUME_LDT_WORKS): Likewise.
7177 (__ASSUME_O_DIRECTORY): Likewise.
7178 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
7179 architecture but not kernel version.
7180 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7181 (__ASSUME_MMAP2_SYSCALL): Likewise.
7182 (__ASSUME_STAT64_SYSCALL): Likewise.
7183 (__ASSUME_IPC64): Likewise.
7184 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
7185 <kernel-features.h>.
7186 [__ASSUME_32BITUIDS]: Make code unconditional.
7187 [!__ASSUME_32BITUIDS]: Remove conditional code.
7188 * sysdeps/unix/sysv/linux/opendir.c: Do not include
7189 <kernel-features.h>.
7190 [__ASSUME_O_DIRECTORY]: Make code unconditional.
7191 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
7192 132096]: Remove conditional code.
7193 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
7194 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7195 <kernel-features.h>.
7196 [__ASSUME_32BITUIDS]: Make code unconditional.
7197 [!__ASSUME_32BITUIDS]: Remove conditional code.
7198 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7199 <kernel-features.h>.
7200 [__ASSUME_32BITUIDS]: Make code unconditional.
7201 [!__ASSUME_32BITUIDS]: Remove conditional code.
7202 * sysdeps/unix/sysv/linux/setegid.c: Do not include
7203 <kernel-features.h>.
7204 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
7205 unconditional.
7206 (__setresgid): Do not declare.
7207 [__ASSUME_32BITUIDS]: Make code unconditional.
7208 [!__ASSUME_32BITUIDS]: Remove conditional code.
7209 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
7210 <kernel-features.h>.
7211 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
7212 unconditional.
7213 (__setresuid): Do not declare.
7214 [__ASSUME_32BITUIDS]: Make code unconditional.
7215 [!__ASSUME_32BITUIDS]: Remove conditional code.
7216 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7217 <kernel-features.h>.
7218 [__ASSUME_32BITUIDS]: Make code unconditional.
7219 [!__ASSUME_32BITUIDS]: Remove conditional code.
7220 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
7221 <kernel-features.h>.
7222 [__ASSUME_32BITUIDS]: Make code unconditional.
7223 [!__ASSUME_32BITUIDS]: Remove conditional code.
7224
a386f1cc
RH
72252012-05-25 Richard Henderson <rth@twiddle.net>
7226
7227 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
7228 dl_hwcap to ifunc resolver.
7229 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
7230 elf_ifunc_invoke.
7231 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
7232 dl_hwcap to ifunc resolver.
7233 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
7234
b6550497
JM
72352012-05-24 Joseph Myers <joseph@codesourcery.com>
7236
7237 [BZ #14153]
7238 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
7239 for |x| <= 2**-26, not 2**-57.
7240 * math/libm-test.inc (acos_test): Do not allow spurious underflow
7241 exception.
7242
b0bc23a1
JL
72432012-05-24 Jeff Law <law@redhat.com>
7244
7245 * stdio-common/Makefile (tests): Add bug25.
7246 * stdio-common/bug25.c: New test.
7247
347c92e9
L
72482012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7249
7250 [BZ #13576]
7251 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
7252 multiple of MALLOC_ALIGNMENT in size.
7253 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
7254
6bcc8b3f
JM
72552012-05-24 Joseph Myers <joseph@codesourcery.com>
7256
7257 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
7258 Require >= 256.
7259 (FILENAME_MAX): Use macro-int-constant.
7260 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
7261 (_IOFBF): Use macro-int-constant.
7262 (_IOLBF): Likewise.
7263 (_IONBF): Likewise.
7264 (SEEK_CUR): Likewise.
7265 (SEEK_END): Likewise.
7266 (SEEK_SET): Likewise.
7267 (TMP_MAX): Likewise.
7268 (EOF): Use macro-int-constant. Require < 0.
7269 (NULL): Use macro-constant. Require == 0.
7270 (stdin): Require type to be FILE *.
7271 (stdout): Likewise.
7272 (stderr): Likewise.
7273 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
7274 macro-int-constant.
7275 (EXIT_SUCCESS): Likewise.
7276 (NULL): Use macro-constant. Require == 0.
7277 (RAND_MAX): Use macro-int-constant.
7278 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
7279 [C99-based standards] (strtof): Require function.
7280 [C99-based standards] (strtold): Likewise.
7281 [C99-based standards] (strtoll): Likewise.
7282 [C99-based standards] (strtoull): Likewise.
7283 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7284 [ISO || ISO99 || ISO11] (limits.h): Likewise.
7285 [ISO || ISO99 || ISO11] (math.h): Likewise.
7286 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
7287 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7288 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7289
d18ea0c5
AS
72902012-05-24 Andreas Schwab <schwab@linux-m68k.org>
7291
7292 [BZ #14132]
56d25bb8
AS
7293 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
7294 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
7295 * intl/dgettext.c (DCGETTEXT): Likewise.
7296 * intl/gettext.c (DCGETTEXT): Likewise.
7297 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
7298 * posix/regex_internal.h (gettext): Likewise.
7299 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
7300 Remove declaration.
7301 * include/argz.h (__argz_count_internal)
7302 (__argz_stringify_internal): Remove declaration.
7303 (__argz_count, __argz_stringify): Declare hidden proto.
7304 * intl/dcgettext.c: Remove use of INTDEF.
7305 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
7306 * string/argz-stringify.c: Likewise.
7307 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7308 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7309 Declare hidden proto.
d18ea0c5
AS
7310 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7311 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7312 Declare hidden proto.
7313 * include/stdio.h (__asprintf_internal): Don't declare.
7314 (__asprintf): Don't define as macro. Declare hidden proto.
7315 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
7316 (__fsetlocking): Declare hidden proto.
7317 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
7318 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
7319 hidden proto.
7320 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
7321 (_IO_setlinebuf): Remove use of INTUSE.
7322 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
7323 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
7324 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
7325 Remove declaration.
7326 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
7327 (_IO_do_flush): Remove use of INTUSE.
7328 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
7329 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
7330 (_IO_adjust_column, _IO_least_wmarker)
7331 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
7332 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
7333 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
7334 (_IO_default_doallocate, _IO_wdefault_doallocate)
7335 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
7336 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
7337 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
7338 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
7339 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
7340 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
7341 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
7342 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
7343 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
7344 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
7345 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
7346 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
7347 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
7348 proto.
7349 (_IO_flush_all_internal, _IO_adjust_column_internal)
7350 (_IO_default_uflow_internal, _IO_default_finish_internal)
7351 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
7352 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
7353 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
7354 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
7355 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
7356 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
7357 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
7358 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
7359 (_IO_file_close_internal, _IO_file_close_it_internal)
7360 (_IO_file_underflow_internal, _IO_file_overflow_internal)
7361 (_IO_file_init_internal, _IO_file_attach_internal)
7362 (_IO_file_fopen_internal, _IO_file_read_internal)
7363 (_IO_file_sync_internal, _IO_file_seek_internal)
7364 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
7365 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
7366 (_IO_str_underflow_internal, _IO_str_overflow_internal)
7367 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
7368 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
7369 (_IO_list_all_internal, _IO_link_in_internal)
7370 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
7371 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
7372 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
7373 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
7374 (_IO_do_write_internal, _IO_padn_internal)
7375 (_IO_getline_info_internal, _IO_getline_internal)
7376 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
7377 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
7378 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
7379 (_IO_vfscanf_internal, _IO_vfprintf_internal)
7380 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
7381 (_IO_init_internal, _IO_un_link_internal): Don't declare.
7382 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
7383 with libc_hidden_ver, remove use of INTUSE.
7384 * libio/genops.c: Likewise.
7385 * libio/freopen.c: Likewise.
7386 * libio/freopen64.c: Likewise.
7387 * libio/iofclose.c: Likewise.
7388 * libio/iofdopen.c: Likewise.
7389 * libio/iofflush.c: Likewise.
7390 * libio/iofflush_u.c: Likewise.
7391 * libio/iofgets.c: Likewise.
7392 * libio/iofgets_u.c: Likewise.
7393 * libio/iofopen.c: Likewise.
7394 * libio/iofopncook.c: Likewise.
7395 * libio/iofread.c: Likewise.
7396 * libio/iofread_u.c: Likewise.
7397 * libio/ioftell.c: Likewise.
7398 * libio/iofwrite.c: Likewise.
7399 * libio/iogetline.c: Likewise.
7400 * libio/iogets.c: Likewise.
7401 * libio/iogetwline.c: Likewise.
7402 * libio/iopadn.c: Likewise.
7403 * libio/iopopen.c: Likewise.
7404 * libio/ioseekoff.c: Likewise.
7405 * libio/ioseekpos.c: Likewise.
7406 * libio/iosetbuffer.c: Likewise.
7407 * libio/iosetvbuf.c: Likewise.
7408 * libio/ioungetc.c: Likewise.
7409 * libio/ioungetwc.c: Likewise.
7410 * libio/iovdprintf.c: Likewise.
7411 * libio/iovsprintf.c: Likewise.
7412 * libio/iovsscanf.c: Likewise.
7413 * libio/memstream.c: Likewise.
7414 * libio/obprintf.c: Likewise.
7415 * libio/oldfileops.c: Likewise.
7416 * libio/oldiofclose.c: Likewise.
7417 * libio/oldiofdopen.c: Likewise.
7418 * libio/oldiofopen.c: Likewise.
7419 * libio/oldiopopen.c: Likewise.
7420 * libio/oldstdfiles.c: Likewise.
7421 * libio/putc.c: Likewise.
7422 * libio/setbuf.c: Likewise.
7423 * libio/setlinebuf.c: Likewise.
7424 * libio/stdfiles.c: Likewise.
7425 * libio/strops.c: Likewise.
7426 * libio/vasprintf.c: Likewise.
7427 * libio/vscanf.c: Likewise.
7428 * libio/vsnprintf.c: Likewise.
7429 * libio/vswprintf.c: Likewise.
7430 * libio/wfiledoalloc.c: Likewise.
7431 * libio/wfileops.c: Likewise.
7432 * libio/wgenops.c: Likewise.
7433 * libio/wmemstream.c: Likewise.
7434 * libio/wstrops.c: Likewise.
7435 * libio/__fpurge.c: Likewise.
7436 * libio/__fsetlocking.c: Likewise.
7437 * assert/assert.c: Likewise.
7438 * debug/fgets_chk.c: Likewise.
7439 * debug/fgets_u_chk.c: Likewise.
7440 * debug/fread_chk.c: Likewise.
7441 * debug/fread_u_chk.c: Likewise.
7442 * debug/gets_chk.c: Likewise.
7443 * debug/obprintf_chk.c: Likewise.
7444 * debug/vasprintf_chk.c: Likewise.
7445 * debug/vdprintf_chk.c: Likewise.
7446 * debug/vsnprintf_chk.c: Likewise.
7447 * debug/vsprintf_chk.c: Likewise.
7448 * malloc/mtrace.c: Likewise.
7449 * misc/error.c: Likewise.
7450 * misc/syslog.c: Likewise.
7451 * stdio-common/asprintf.c: Likewise.
7452 * stdio-common/fxprintf.c: Likewise.
7453 * stdio-common/getw.c: Likewise.
7454 * stdio-common/isoc99_fscanf.c: Likewise.
7455 * stdio-common/isoc99_scanf.c: Likewise.
7456 * stdio-common/isoc99_vfscanf.c: Likewise.
7457 * stdio-common/isoc99_vscanf.c: Likewise.
7458 * stdio-common/isoc99_vsscanf.c: Likewise.
7459 * stdio-common/printf-prs.c: Likewise.
7460 * stdio-common/printf_fp.c: Likewise.
7461 * stdio-common/printf_fphex.c: Likewise.
7462 * stdio-common/printf_size.c: Likewise.
7463 * stdio-common/putw.c: Likewise.
7464 * stdio-common/scanf.c: Likewise.
7465 * stdio-common/sprintf.c: Likewise.
7466 * stdio-common/tmpfile.c: Likewise.
7467 * stdio-common/vfprintf.c: Likewise.
7468 * stdio-common/vfscanf.c: Likewise.
7469 * stdlib/strfmon_l.c: Likewise.
7470 * sunrpc/openchild.c: Likewise.
7471 * sunrpc/xdr_stdio.c: Likewise.
7472 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
7473 * sysdeps/mach/hurd/tmpfile.c: Likewise.
7474
d6c33fda
RM
74752012-05-24 Roland McGrath <roland@hack.frob.com>
7476
c1487492
RM
7477 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7478
7479 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
7480 in the third column, to generate for the shared library an IFUNC
7481 that uses _dl_vdso_vsym.
7482 * Makerules (COMPILE.c, compile-stdin.c): New variables.
7483 * Makeconfig (object-suffixes-noshared): New variable.
7484
7485 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
7486 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
7487 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
7488 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
7489
d6c33fda
RM
7490 [BZ #14132]
7491 * include/sys/time.h (__gettimeofday): Remove macro.
7492 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
7493 * time/gettimeofday.c (__gettimeofday): Remove #undef.
7494 Remove INTDEF.
7495 (__gettimeofday): Add libc_hidden_def.
7496 (gettimeofday): Add libc_hidden_weak.
7497 * sysdeps/mach/gettimeofday.c: Likewise.
7498 * sysdeps/posix/gettimeofday.c: Likewise.
7499 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
7500 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
7501 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
7502 (__gettimeofday_internal): Remove strong_alias.
7503 (__gettimeofday): Add libc_hidden_def.
7504 (gettimeofday): Add libc_hidden_weak.
7505 * sysdeps/unix/syscalls.list (gettimeofday):
7506 Remove __gettimeofday_internal alias.
7507
b5a2bbe6
L
75082012-05-24 Daniel Jacobowitz <drow@false.org>
7509 H.J. Lu <hongjiu.lu@intel.com>
7510
7511 [BZ #12495]
7512 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
7513 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
7514 (largebin_index_32_big): New.
7515 (largebin_index): Use it for 16-byte alignment.
7516 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
7517 correction with front_misalign.
7518
cfba4fda
L
75192012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7520
7f907421
L
7521 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
7522 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7523 Likewise.
7524 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
7525 Likewise.
7526 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7527 Likewise.
7528 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
7529 Likewise.
7530 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
7531 Likewise.
7532 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
7533 Likewise.
7534 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
7535 Likewise.
7536 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7537 Likewise.
7538 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
7539 Likewise.
7540 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
7541 Likewise.
7542 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7543 Likewise.
7544 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
7545 Likewise.
7546
cfba4fda
L
7547 * scripts/data/c++-types-x32-linux-gnu.data: New file.
7548 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
7549
80bad0cc
JM
75502012-05-24 Joseph Myers <joseph@codesourcery.com>
7551
7a25eb06
JM
7552 [BZ #10846]
7553 [BZ #14036]
7554 * math/libm-test.inc (exp_test): Add test from bug 14036.
7555 (pow_test): Add test from bug 10846.
7556
795405f9
JM
7557 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
7558 and other flags.
7559 (special_function): Do not include flags in test name.
7560 (parse_args): Likewise.
7561 * sysdeps/i386/fpu/libm-test-ulps: Update.
7562 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7563 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7564 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7566
80bad0cc
JM
7567 * math/gen-libm-test.pl (%beautify): Add entries for underflow
7568 exceptions.
7569 * math/libm-test.inc ("Philosophy"): Update comment about
7570 exception testing.
7571 (UNDERFLOW_EXCEPTION): New macro.
7572 (UNDERFLOW_EXCEPTION_OK): Likewise.
7573 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
7574 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
7575 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
7576 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
7577 (INVALID_EXCEPTION_OK): Update value.
7578 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7579 (OVERFLOW_EXCEPTION_OK): Likewise.
7580 (IGNORE_ZERO_INF_SIGN): Likewise.
7581 (test_exceptions): Handle underflow exceptions.
7582 (acos_test): Update for underflow exception expectations.
7583 (cexp_test): Likewise.
7584 (clog_test): Likewise.
7585 (clog10_test): Likewise.
7586 (csqrt_test): Likewise.
7587 (ctan_test): Likewise.
7588 (ctanh_test): Likewise.
7589 (exp_test): Likewise.
7590 (exp10_test): Likewise.
7591 (exp2_test): Likewise.
7592 (expm1_test): Likewise.
7593 (fma_test): Likewise.
7594 (j0_test): Likewise.
7595 (jn_test): Likewise.
7596 (nexttoward_test): Likewise.
7597 (pow_test): Likewise.
7598 (scalbn_test): Likewise.
7599 (scalbln_test): Likewise.
7600 (tan_test): Likewise.
7601 (y1_test): Likewise.
7602 * sysdeps/i386/fpu/libm-test-ulps: Update.
7603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7604
9e0e3d0b
DM
76052012-05-23 David S. Miller <davem@davemloft.net>
7606
7607 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
7608 (__libc_sigaction): Remove unused local variables.
7609
ccd0a08f
L
76102012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7611
7612 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
7613
62bdf9a6
PE
76142012-05-23 Paul Eggert <eggert@cs.ucla.edu>
7615
f8591f80
PE
7616 mktime: avoid signed integer overflow
7617 * time/mktime.c (__mktime_internal): Do not mishandle the case
7618 where diff == INT_MIN.
7619
94c7d826
PE
7620 mktime: simplify computation of average
7621 * time/mktime.c (ranged_convert): Use new time_t_avg function
7622 instead of rolling our own (probably-slower) code.
7623
ce73d683
PE
7624 mktime: do not assume signed right shift propagates sign bit
7625 * time/mktime.c (isdst_differ): New static function.
7626 (__mktime_internal): No need to normalize tm_isdst now.
7627 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
7628 tm_isdst values.
7629
72a22e59
PE
7630 mktime: merge another wrapv change from gnulib
7631 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
7632 from some compilers.
7633
68605433
PE
7634 mktime: remove incorrect attempt at unusual arithmetics
7635 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
7636 The code didn't really work on such machines anyway.
7637 (TYPE_MINIMUM): Assume two's complement.
7638 (twos_complement_arithmetic): Verify that long_int and time_t
7639 are two's complement (or unsigned, in the latter case).
7640
03cf7fe3
PE
7641 mktime: check signed shifts on long_int and time_t, too
7642 * time/mktime.c (SHR): Check that shifts work as desired
7643 on the types long_int and time_t too, as SHR is used on
7644 such types.
7645
f04dfbc2
PE
7646 mktime: do not assume 'long' is wide enough
7647 * time/mktime.c (verify): Move decl up.
7648 (long_int): New type.
7649 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
7650 to remove assumption in the code that 'long' is wide enough to
7651 store year values. This assumption is not true on x32 and on
7652 some non-glibc platforms.
7653
62bdf9a6
PE
7654 mktime: merge wrapv change from gnulib
7655 * time/mktime.c (WRAPV): New macro.
7656 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
7657 (guess_time_tm, __mktime_internal): Do not assume that signed
7658 integer overflow wraps around; modern compilers generate code
7659 where this assumption is no longer valid.
7660
5e292e4f
L
76612012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7662
7663 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7664 Replace "jmp L(pseudo_end)" with "ret".
7665 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
7666 Likewise.
7667
8caf8c87
AJ
76682012-05-23 Andreas Jaeger <aj@suse.de>
7669
7670 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
7671 * sysdeps/unix/sysv/linux/poll.c: Remove file.
7672
1a09dc56
AJ
76732012-05-23 Andreas Jaeger <aj@suse.de>
7674 Maximilian Attems <max@stro.at>
7675
7676 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
7677 New macros.
7678
1c87aba0
L
76792012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7680
7681 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
7682 code so that pseudo_end is just ret and the stack pointer is
7683 correct also for static library in error case.
7684
40e45bd5
JM
76852012-05-23 Joseph Myers <joseph@codesourcery.com>
7686
c2670533
JM
7687 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
7688 move to syscalls.list.
7689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
7690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7693
40e45bd5
JM
7694 * manual/install.texi (Running make install): Do not mention Linux
7695 kernel version for which pt_chown is not needed.
7696 (Linux): Do not mention problems with nscd with 2.0 kernels.
7697 * INSTALL: Regenerated.
7698
be08eda5
AJ
76992012-05-23 Andreas Jaeger <aj@suse.de>
7700
7701 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
7702 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
7703 macro.
7704 * sysdeps/unix/sysv/linux/s390/bits/mman.h
7705 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7706 * sysdeps/unix/sysv/linux/sh/bits/mman.h
7707 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7708 * sysdeps/unix/sysv/linux/i386/bits/mman.h
7709 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7710 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
7711 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7712 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
7713 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7714 * sysdeps/unix/sysv/linux/bits/in.h
7715 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
7716
a6a056bb
RM
77172012-05-22 Roland McGrath <roland@hack.frob.com>
7718
7719 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
7720 (PREPARE_VERSION): Just use assert instead, it will be elided
7721 under [NDEBUG] anyway.
7722
c9009328
L
77232012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7724
7725 * sysdeps/unix/sysv/linux/Makefile: Include
7726 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 7727 (sysdep_routines): Remove sysctl.
c9009328
L
7728 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
7729 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
7730 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
7731 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
7732 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
7733
73338355
AJ
77342012-05-22 Andreas Jaeger <aj@suse.de>
7735
7736 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
7737 that pseudo_end is just ret and the stack pointer is correct also
7738 for static library in error case.
7739
d44638b0
PP
77402012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
7741
7742 [BZ #14122]
7743 * nss/nsswitch.c (defconfig_entries): New variable.
7744 (__nss_database_lookup): Don't leak defconfig entries.
7745 (nss_parse_service_list): Don't leak on error paths.
7746 (free_database_entries): New function.
7747 (free_defconfig): New function.
7748 (free_mem): Move common code to free_database_entries.
7749
31a39bd8
L
77502012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7751
da0331a8
L
7752 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
7753 Add arch_prctl.
7754 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
7755
31a39bd8
L
7756 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7757 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
7758 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
7759 New macro.
7760 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
7761 (INTERNAL_SYSCALL_TYPES): Likewise.
7762 (LOAD_ARGS_TYPES_[1-6]): Likewise.
7763 (LOAD_REGS_TYPES_[1-6]): Likewise.
7764 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
7765 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
7766
45470df3
AZ
77672012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7768
7769 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
7770 copysignl for GLIBC_2_0.
7771 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
7772 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
7773 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
7774 logbl for GLIBC_2_0.
7775 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
7776 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
7777
98a61bcb
L
77782012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7779
a4f6e481
L
7780 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
7781 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7782
f63d5db6
L
7783 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7784 Use "neg %eax".
7785
98a61bcb
L
7786 * time/mktime.c: Update copyright years.
7787
95770f14
PE
77882012-05-22 Paul Eggert <eggert@cs.ucla.edu>
7789
6226efbd
PE
7790 mktime: merge comment-quoting-style change from gnulib
7791 * time/mktime.c: Quote 'like this' in comments.
7792 The GNU coding standards suggest that we no longer quote `like this',
7793 as "`" and "'" are typically rendered asymmetrically nowadays.
7794 The typical gnulib style is to quote 'like this' when quoting
7795 code, and "like this" when quoting English.
7796
b99e4f78
PE
7797 * time/mktime.c (compile-command): Add "-I.".
7798
643e01e6
PE
7799 mktime: merge mktime-internal.h change from gnulib
7800 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
7801
2554247d
PE
7802 mktime: merge time_r change from gnulib
7803 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
7804
826dd0ab
PE
7805 mktime: merge DEBUG change from gnulib
7806 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
7807 case system <time.h> has a #define.
7808
bd83aabe
PE
7809 mktime: merge <sys/types.h> change from gnulib
7810 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
7811 since <time.t> is now guaranteed to define time_t.
7812
95770f14
PE
7813 mktime: merge HAVE_CONFIG_H change from gnulib
7814 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
7815
5e1a27a9
L
78162012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7817
0e44a77e
L
7818 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
7819 Use "neg %eax".
7820
5e1a27a9
L
7821 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
7822 __rlim_t cast.
7823 (struct rusage): Use anonymous union to pad each field to
7824 __syscall_slong_t.
7825
46259bec
DM
78262012-05-21 David S. Miller <davem@davemloft.net>
7827
7828 * Makefules (o-iterator): Remove .s cases.
7829 (compile-command.s): Delete.
7830 (COMPILE.s): Delete.
7831 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
7832
59f0c22e
JM
78332012-05-21 Joseph Myers <joseph@codesourcery.com>
7834
7835 * configure.in (libc_cv_predef_stack_protector): Only consider
7836 "foobar" and "__stack_chk_fail" lines in libc_undefs.
7837 * configure: Regenerated.
7838
20c07380
L
78392012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7840
bbb3154b
L
7841 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
7842 New macro. Use R*LP on int and pointer.
7843 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
7844 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
7845 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
7846 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
7847
20c07380
L
7848 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
7849 [__WORDSIZE_TIME64_COMPAT32] instead of
7850 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
7851 (struct utmp): Likewise.
7852 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
7853 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
7854 Renamed to ...
7855 (__WORDSIZE_TIME64_COMPAT32): This.
7856 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
7857 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
7858 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
7859 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
7860 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
7861 (__WORDSIZE_TIME64_COMPAT32): New macro.
7862
d8d1017e
AJ
78632012-05-21 Andreas Jaeger <aj@suse.de>
7864
7865 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
7866 only if [SHARED]. Add prototype for __wcschr_ia32.
7867
6c7fb145
RM
78682012-05-21 Roland McGrath <roland@hack.frob.com>
7869
7870 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
7871 of %rbp unmolested in the jmp_buf while mangling the low bits.
7872 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
7873 unmolested high bits of %rbp while demangling the low bits.
7874 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7875
66274218
AJ
78762012-05-21 Andreas Jaeger <aj@suse.de>
7877
07c58f8f
AJ
7878 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
7879 * sunrpc/svc_simple.c: Use it for registerrpc.
7880 * sunrpc/xcrypt.c: Use it for passwd2des.
7881
66274218
AJ
7882 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
7883
61f65140
L
78842012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7885
7886 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
7887 Don't define if [__SYSCALL_WORDSIZE != 32].
7888 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
7889 New macro.
7890
5fefb436
AJ
78912012-05-21 Bruno Haible <bruno@clisp.org>
7892 Andreas Jaeger <aj@suse.de>
7893
7894 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
7895 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
7896 inptr and inend for must_buffer_ch.
7897 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
7898 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
7899 * stdio-common/Makefile (tests): Remove bug15.
7900 (bug15-ENV): Remove macro.
7901 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
7902 anymore.
7903
d8e272ab
AJ
79042012-05-19 Andreas Jaeger <aj@suse.de>
7905 Roland McGrath <roland@hack.frob.com>
7906
7907 * manual/contrib.texi: Completely rewritten. It contains now an
7908 alphabetical list of contributors and their contributions.
7909
4a56a162
RH
79102012-05-21 Richard Henderson <rth@twiddle.net>
7911
7912 * misc/getauxval.c (__getauxval): Use unsigned long int.
7913 * misc/sys/auxv.h: Include <sys/cdefs.h>.
7914 (getauxval): Use unsigned long int.
7915
d024d23c
L
79162012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7917
7918 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7919
cbc00a03
RM
79202012-05-21 Roland McGrath <roland@hack.frob.com>
7921
7922 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
7923 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
7924 __alignof__ (long double).
7925
478143fa
AZ
79262012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7927
7928 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7929
c7683a6d
RH
79302012-05-20 Richard Henderson <rth@twiddle.net>
7931
7932 * misc/getauxval.c: New file.
7933 * misc/sys/auxv.h: New file.
7934 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
7935 (routines): Add getauxval.
7936 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
7937 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
7938 * elf/dl-sysdep.c (_dl_auxv): Remove.
7939 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
7940 * elf/dl-support.c (_dl_auxv): New variable.
7941 (_dl_aux_init): Initialize it.
7942 * manual/startup.texi (Auxiliary Vector): New node.
7943 * sysdeps/generic/bits/hwcap.h: New file.
7944 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
7945 * sysdeps/powerpc/sysdep.h: ... here. Include it.
7946 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
7947 * sysdeps/sparc/sysdep.h: ... here. Include it.
7948 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
7949 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
7950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7951 Update.
c7683a6d
RH
7952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
7953 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
7954 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
7955 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
7956 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
7957 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
7958 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
7959 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
7960
a6f1845d
AZ
79612012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7962
7963 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7964
cbcbe830
DM
79652012-05-19 David S. Miller <davem@davemloft.net>
7966
7967 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7968
e0b16cc2
JM
79692012-05-19 Joseph Myers <joseph@codesourcery.com>
7970
7971 [BZ #14123]
7972 * math/s_ccosh.c: Include <float.h>
7973 (__ccosh): Avoid internal overflow calculating sinh and cosh
7974 values before multiplying by sin and cos values.
7975 * math/s_ccoshf.c: Likewise.
7976 * math/s_ccoshl.c: Likewise.
7977 * math/s_csin.c: Likewise.
7978 * math/s_csinf.c: Likewise.
7979 * math/s_csinl.c: Likewise.
7980 * math/s_csinh.c: Likewise.
7981 * math/s_csinhf.c: Likewise.
7982 * math/s_csinhl.c: Likewise.
7983 * math/libm-test.inc (ccos_test): Add more tests.
7984 (ccosh_test): Likewise.
7985 (csin_test): Likewise.
7986 (csinh_test): Likewise.
7987 * sysdeps/i386/fpu/libm-test-ulps: Update.
7988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7989
6ad13e08
L
79902012-05-19 H.J. Lu <hongjiu.lu@intel.com>
7991
f66f0ce8
L
7992 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
7993 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
7994
6ad13e08
L
7995 * sysdeps/x86_64/x32/_itoa.h: Add comment.
7996
b1d072a7
JM
79972012-05-19 Joseph Myers <joseph@codesourcery.com>
7998
7999 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
8000 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
8001 * sysdeps/powerpc/soft-fp/Versions: Likewise.
8002 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
8003 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
8004 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
8005 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
8006 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
8007 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
8008 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
8009 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
8010 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
8011 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
8012 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
8013 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
8014 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
8015 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
8016 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
8017 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
8018 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
8019 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
8020 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
8021 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
8022 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
8023 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
8024 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
8025 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
8026 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
8027 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
8028 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
8029 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
8030
9eae47cb
AJ
80312012-05-18 Andreas Jaeger <aj@suse.de>
8032
8033 * csu/.gitignore: Delete.
8034
bb07f69f
L
80352012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8036
8037 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
8038 (timex): Use __syscall_slong_t.
8039
e6bdb741
AJ
80402012-05-18 Andreas Jaeger <aj@suse.de>
8041 Carlos O'Donell <carlos_odonell@mentor.com>
8042
8043 * manual/install.texi (Configuring and compiling): Update
8044 description about files modified in the source directory.
d6c33fda 8045 * INSTALL: Regenerated.
e6bdb741 8046
1b74487e
L
80472012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8048
8049 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
8050 value. Use "or" to set return value to -1.
8051 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
8052 negate return value.
8053
a88b64b9
TMQMF
80542012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8055
8056 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
8057 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
8058 failure if the compiler has Graphite support disabled.
8059 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
8060 Likewise.
8061 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
8062 CFLAGS-memmove.c): Likewise.
8063 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
8064 Likewise.
8065
3707636e
L
80662012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8067
610b8622
L
8068 * sysdeps/x86_64/x32/_itoa.h: New file.
8069
7cd195df
L
8070 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
8071 getdents system call only if kernel and user dirents have the
8072 same d_ino and d_off.
8073
94b07d20
L
8074 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8075 LLONG_MAX != LONG_MAX.
8076 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8077 (_fitoa_word): Likewise.
8078
18298070
L
8079 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
8080 years.
8081 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
8082 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
8083 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
8084
553c7ea4
L
8085 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
8086 include <bits/wordsize.h>. Check __x86_64__ instead of
8087 __WORDSIZE.
8088 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
8089 if __x86_64__ is defined. Use anonymous union on fpstate.
8090
3707636e
L
8091 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
8092 anonymous union.
8093
b53ef01a
AS
80942012-05-18 Andreas Schwab <schwab@linux-m68k.org>
8095
37fb1dc0
AS
8096 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
8097 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
8098 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
8099 Refer to _rtld_local_ro instead of _rtld_global_ro.
8100 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
8101 Likewise.
8102 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
8103 Likewise.
8104 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
8105 Likewise.
8106 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
8107 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
8108 of _rtld_global, and rtld_progname instead of _dl_argv[0].
8109
b53ef01a
AS
8110 * sysdeps/powerpc/powerpc32/dl-machine.c
8111 (__elf_machine_runtime_setup) [PROF]: Don't reference
8112 _dl_prof_resolve.
8113
7a185db2
AJ
81142012-05-18 Andreas Jaeger <aj@suse.de>
8115
8116 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
8117 function only available for GCCs before 3.4 since GCC 3.4
8118 introduced a builtin.
8119 (lrint): Likewise.
8120 (llrintf): Likewise.
8121 (llrint): Likewise.
8122 (fmaxf): Likewise.
8123 (fmax): Likewise.
8124 (fminf): Likewise.
8125 (fmin): Likewise.
8126 (rint): Likewise.
8127 (rintf): Likewise.
8128 (nearbyint): Likewise.
8129 (nearbyintf): Likewise.
8130 (ceil): Likewise.
8131 (ceilf): Likewise.
8132 (floor): Likewise.
8133 (floorf): Likewise.
8134
3e5aef87
L
81352012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8136
428bd707
L
8137 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
8138 on both fields and cast pointer to __syscall_ulong_t.
8139
3e5aef87
L
8140 * bits/types.h (__fsword_t): New type.
8141 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
8142 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
8143 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8144 (__FSWORD_T_TYPE): Likewise.
8145 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8146 (__FSWORD_T_TYPE): Likewise.
8147 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8148 (__FSWORD_T_TYPE): Likewise.
8149 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
8150 (__FSWORD_T_TYPE): Likewise.
8151 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
8152 __SWORD_TYPE with __fsword_t.
8153 (statfs64): Likewise.
8154
1ba7c3dc
DM
81552012-05-17 David S. Miller <davem@davemloft.net>
8156
8157 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
8158
59910343
AJ
81592012-05-17 Andreas Jaeger <aj@suse.de>
8160
8161 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
8162 warning.
8163
2e4c1e9e
L
81642012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8165
8166 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
8167
de7f5ce7
AJ
81682012-05-17 Andreas Jaeger <aj@suse.de>
8169
8170 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
8171 when it is used.
8172
286abc3d
CM
81732012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8174
8175 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
8176
477cc68e
L
81772012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8178
8179 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
8180 * sysdeps/x86_64/tst-mallocalign1.c: New file.
8181
1a0994f5
CD
81822012-05-17 Andreas Jaeger <aj@suse.de>
8183 Carlos O'Donell <carlos_odonell@mentor.com>
8184
8185 [BZ #14059]
8186 * sysdeps/x86_64/multiarch/init-arch.h
8187 (bit_YMM_Usable): Rename to...
8188 (bit_AVX_Usable): ... this.
8189 (bit_FMA4_Usable): New macro.
8190 (bit_XMM_state): New macro.
8191 (bit_YMM_state): New macro.
8192 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
8193 [__ASSEMBLER__] (index_AVX_Usable): ... this.
8194 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
8195 (CPUID_OSXSAVE): New macro.
8196 (CPUID_AVX): New macro.
8197 (CPUID_FMA4): New macro.
8198 (index_YMM_Usable): Rename to...
8199 (index_AVX_Usable): ... this.
8200 (HAS_AVX): Use HAS_ARCH_FEATURE.
8201 (HAS_FMA4): Likewise.
8202 (HAS_YMM_USABLE): Remove.
8203 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8204 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
8205 are present.
8206 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
8207 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
8208 * sysdeps/x86_64/multiarch/Makefile: Likewise.
8209 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
8210 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
8211
0af797de
CM
82122012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8213
8214 * math/libm-test.c: Support platforms without multiple rounding modes.
8215 * math/bug-nextafter.c: Support platforms without FP exceptions.
8216 * math/bug-nexttoward.c: Likewise.
8217 * math/test-fenv.c: Likewise.
8218 * math/test-misc.c: Likewise.
8219 * stdlib/bug-getcontext.c: Likewise.
8220
e39745ff
AJ
82212012-05-17 Andreas Jaeger <aj@suse.de>
8222
8223 * manual/examples/search.c (critter_cmp): Change signature to
8224 avoid warnings.
8225 * manual/string.texi (Collation Functions): Likewise.
8226
48970aba
L
82272012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8228
8229 * bits/types.h: Fold copyright years.
8230 * bits/typesizes.h: Likewise.
8231 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
8232 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8233 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
8234 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
8235 * time/time.h: Likewise.
8236
bedee953
PP
82372012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
8238
8239 [BZ #208]
8240 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
8241 in instead of returning them. Return void.
8242 (__libc_mallinfo): Accumulate over all arenas.
8243 (__malloc_stats): Adjust for change in int_mallinfo interface.
8244
61653dfb
RM
82452012-05-16 Roland McGrath <roland@hack.frob.com>
8246
30b99d79
RM
8247 [BZ #10375]
8248 * configure.in (NM): Add AC_CHECK_TOOL for it.
8249 (libc_extra_cflags): New substituted variable.
8250 Check for -fstack-protector being used implicitly.
8251 * configure: Regenerated.
8252 * config.make.in (config-extra-cflags): New variable,
8253 gets @libc_extra_cflags@.
8254 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
8255
61653dfb
RM
8256 [BZ #10375]
8257 * configure.in: Check for _FORTIFY_SOURCE being predefined.
8258 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
8259 * configure: Regenerated.
8260 * config.make.in (CPPUNDEFS): New substituted variable.
8261 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
8262 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
8263 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
8264
661768bb
L
82652012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8266
8267 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
8268 (mq_attr): Use __syscall_slong_t.
8269
d4261567
L
82702012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8271
8272 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
8273 Check __x86_64__ instead of __WORDSIZE.
8274 (_STAT_VER_LINUX): Likewise.
8275 (stat): Check __x86_64__ instead of __WORDSIZE. Use
8276 __syscall_ulong_t and __syscall_slong_t.
8277 (stat64): Likewise.
8278
cf3ff365
L
82792012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8280
8281 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
8282
76cf3e4d
L
82832012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8284
8285 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
8286
a637753a
L
82872012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8288
8289 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
8290 __syscall_ulong_t.
8291
d5e05119
L
8292 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
8293 include <bits/wordsize.h>. Check __x86_64__ instead of
8294 __WORDSIZE.
8295 (greg_t): Use "__extension__ long long int" if __x86_64__ is
8296 defined.
8297 (mcontext_t): Replace "unsigned long" with "unsigned long long".
8298
f62ee380
L
8299 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
8300 include <bits/wordsize.h>. Check __x86_64__ instead of
8301 __WORDSIZE.
8302 (user_regs_struct): Use "__extension__ unsigned long long"
8303 instead of "unsigned long" if __x86_64__ is defined.
8304 (user): Likewise. Pad after pointer field if __ILP32__ is
8305 defined.
8306
4e124ced
JM
83072012-05-16 Joseph Myers <joseph@codesourcery.com>
8308
6a3951a0
JM
8309 * configure.in (makeinfo): Require version 4.5 or later. Allow
8310 versions 5 to 9.
8311 * configure: Regenerated.
8312 * manual/install.texi (texinfo): Increase version requirement to
8313 4.5 or later.
8314 * INSTALL: Regenerated.
8315
4e124ced
JM
8316 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
8317
953ca31a
L
83182012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8319
8320 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
8321
617aca05
L
8322 * sysdeps/x86_64/x32/ffs.c: New file.
8323
5762f7ae
L
8324 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
8325 __syscall_ulong_t.
8326 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
8327 defined. Use __syscall_ulong_t.
8328 (shminfo): Use __syscall_ulong_t.
8329 (shm_info): Likewise.
8330
a26b6856
L
8331 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
8332 __syscall_ulong_t.
8333
cb2b9ef7
L
8334 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
8335 <bits/wordsize.h>.
8336 (msgqnum_t): Use __syscall_ulong_t.
8337 (msglen_t): Likewise.
8338 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
8339 __syscall_ulong_t.
8340
34683bb0
L
8341 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
8342 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8343
84a68786
L
8344 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
8345
48baa5f1
L
8346 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
8347 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
8348
180be88b
L
8349 * sysvipc/sys/msg.h (msgbuf): Replace long int with
8350 __syscall_slong_t.
8351
5e90c8ad
L
8352 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
8353 include <bits/wordsize.h>. Check __x86_64__ instead of
8354 __WORDSIZE.
8355
23dfb58b
L
8356 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
8357 "unsigned long long int" if __x86_64__ is defined.
8358 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
8359
ce5d54b0
L
8360 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
8361 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8362 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
8363
13dc9eac
L
8364 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
8365 <stdint.h>.
8366 (GET_PC): Cast to uintptr_t first.
8367 (GET_FRAME): Likewise.
8368 (GET_STACK): Likewise.
8369
a7895d15
L
8370 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
8371 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
8372 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
8373 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
8374 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
8375 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
8376 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
8377 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
8378 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
8379 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
8380 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
8381 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
8382 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8383 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
8384 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
8385 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
8386 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
8387 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
8388 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
8389 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
8390 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
8391 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
8392 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
8393 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
8394 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
8395 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
8396 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
8397 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
8398 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
8399
656416c9
AS
84002012-05-16 Andreas Schwab <schwab@linux-m68k.org>
8401
5bd66283
AS
8402 * Makerules (+depfiles): Also collect depfiles from .oS in
8403 $(extra-objs).
8404 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
8405 .oS, $(libnldbl-routines)).
8406
656416c9
AS
8407 * Makerules (native-compile-mkdep-flags): Define.
8408 * sunrpc/Makefile (extra-objs): Add $(addprefix
8409 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
8410 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
8411 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
8412 calling $(make-target-directory).
8413
a46f2169
L
84142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8415
8416 * bits/types.h (__snseconds_t): Removed.
8417 * time/time.h (struct timespec): Replace __snseconds_t with
8418 __syscall_slong_t.
8419 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
8420 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
8421 Likewise.
8422 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8423 (__SNSECONDS_T_TYPE): Likewise.
8424 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8425 (__SNSECONDS_T_TYPE): Likewise.
8426 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8427 (__SNSECONDS_T_TYPE): Likewise.
8428
6af6528b
L
84292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8430
8431 * sysdeps/mach/hurd/bits/typesizes.h
8432 (__SYSCALL_SLONG_TYPE): New macro.
8433 (__SYSCALL_ULONG_TYPE): Likewise.
8434
de986b56
L
84352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8436
8437 * bits/types.h (__syscall_slong_t): New type.
8438 (__syscall_ulong_t): Likewise.
8439
8440 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
8441 (__SYSCALL_ULONG_TYPE): Likewise.
8442 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8443 (__SYSCALL_SLONG_TYPE): Likewise.
8444 (__SYSCALL_ULONG_TYPE): Likewise.
8445 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8446 (__SYSCALL_SLONG_TYPE): Likewise.
8447 (__SYSCALL_ULONG_TYPE): Likewise.
8448 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8449 (__SYSCALL_SLONG_TYPE): Likewise.
8450 (__SYSCALL_ULONG_TYPE): Likewise.
8451
85736dc7
L
84522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8453
8454 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
8455 Add sigaltstack-offsets.sym.
8456 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
8457 <sigaltstack-offsets.h>.
8458 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
8459 longjmp_msg pointer.
8460 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
8461 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
8462 signal stack.
8463 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
8464
cc03b296
JM
84652012-05-15 Joseph Myers <joseph@codesourcery.com>
8466
a9538892
JM
8467 * elf/stackguard-macros.h: Remove file.
8468 * sysdeps/generic/stackguard-macros.h: New file.
8469 * sysdeps/i386/stackguard-macros.h: Likewise.
8470 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
8471 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
8472 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
8473 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
8474 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
8475 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
8476 * sysdeps/x86_64/stackguard-macros.h: Likewise.
8477 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
8478 <elf/stackguard-macros.h>.
8479
cc03b296
JM
8480 [BZ #14109]
8481 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
8482 __aligned__ in attribute.
8483 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
8484 (gregset_t): Likewise.
8485
93171016
L
84862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8487
8488 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
8489 * sysdeps/x86_64/64/Implies-after: Here. New file.
8490 * sysdeps/x86_64/x32/Implies-after: New file.
8491
d86813a0
L
84922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8493
8494 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
8495 and access return value for _dl_profile_fixup. Use R10_LP to
8496 load frame size.
8497
2953ec75
L
84982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8499
8500 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
8501
3b550e9e
L
85022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8503
8504 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
8505 * sysdeps/x86_64/x32/sysdep.h: New file.
8506
eda41706
L
85072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8508
8509 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
8510 * sysdeps/x86_64/setjmp.S: Likewise.
8511
9ea01d93
AZ
85122012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8513
8514 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
8515 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
8516 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
8517 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
8518 remove unused global constant.
8519
02a91938
CM
85202012-05-15 Chris Metcalf <cmetcalf@tilera.com>
8521
8522 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
8523 include of <not-cancel.h>.
8524
6540185f
RM
85252012-05-15 Roland McGrath <roland@hack.frob.com>
8526
8527 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
8528
509072a0
AJ
85292012-05-15 Jeff Law <law@redhat.com>
8530 Andreas Jaeger <aj@suse.de>
8531
8532 [BZ #13594]
8533 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
8534 out from...
8535 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
8536 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
8537 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
8538 code changing __hst_map_handle.map.
8539
ba75122d
RM
85402012-05-15 Roland McGrath <roland@hack.frob.com>
8541
8542 * configure.in (sysnames): Look for Implies-before and Implies-after
8543 files.
8544 * configure: Regenerated.
8545
890d8bd8
L
85462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8547
8548 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
8549 8-byte data alignment with LP_SIZE alignment.
8550
f6ee6623
L
85512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8552
8553 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
8554 into R10_LP.
8555
ea2626f6
L
85562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8557
8558 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
8559
085f715e
L
85602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8561
8562 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
8563 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
8564 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
8565 Likewise.
8566 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8567
be8498fc
L
85682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8569
8570 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
8571 (stackinfo_sub_sp): Likewise.
8572
70bc83b9
L
85732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8574
8575 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
8576 RAX_LP.
8577
9bc0b730
L
85782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8579
8580 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
8581 into R*_LP.
8582
6d2850e7
L
85832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8584
8585 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
8586 sizes into R*_LP.
8587
3cb84561
L
85882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8589
8590 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
8591
54e2ed81
L
85922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8593
8594 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
8595 into R11_LP and load __x86_64_shared_cache_size_half into
8596 R8_LP.
8597
8a17f349
L
85982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8599
8600 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
8601 R8_LP.
8602
777b1eea
AZ
86032012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8604
8605 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
8606 logb for POWER7.
8607 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
8608 logbf for POWER7.
8609 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
8610 logbl for POWER7.
8611 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
8612 powerpc32/power7/fpu/s_logb.c via #include.
8613 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
8614 powerpc32/power7/fpu/s_logbf.c via #include.
8615 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
8616 powerpc32/power7/fpu/s_logbl.c via #include.
8617
d20d4ac2
JM
86182012-05-15 Joseph Myers <joseph@codesourcery.com>
8619
8620 * README.libm: Remove file.
8621
6cdef1ab
L
86222012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8623
8624 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
8625 count for x32. Use R*_LP and omit operand-size suffix.
8626
0b254d8f
L
86272012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8628
8629 * shlib-versions: Move x86_64-.*-linux.* entries to ...
8630 * sysdeps/x86_64/64/shlib-versions: Here. New file.
8631 * sysdeps/x86_64/x32/shlib-versions: New file.
8632
ceb809dc
RM
86332012-05-14 Roland McGrath <roland@hack.frob.com>
8634
8635 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
8636 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
8637 Use _dl_fatal_printf instead.
8638
37f1abd4
JM
86392012-05-14 Joseph Myers <joseph@codesourcery.com>
8640
8641 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
8642 set if not set by the user. Do not allow for being unset.
8643 * sysdeps/unix/sysv/linux/configure: Regenerated.
8644
11de3a33
L
86452012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8646
8647 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
8648 the `q' suffix from lea and replace .quad with ASM_ADDR.
8649
e02f153a
L
86502012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8651
8652 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
8653 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
8654 instead of $17.
8655 (PTR_DEMANGLE): Likewise.
8656
520ae0fd
L
86572012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8658
8659 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
8660 (LP_OP): Likewise.
8661 (ASM_ADDR): Likewise.
8662 (RAX_LP): Likewise.
8663 (RBP_LP): Likewise.
8664 (RBX_LP): Likewise.
8665 (RCX_LP): Likewise.
8666 (RDI_LP): Likewise.
8667 (RSI_LP): Likewise.
8668 (RSP_LP): Likewise.
8669 (R8_LP): Likewise.
8670 (R9_LP): Likewise.
8671 (R10_LP): Likewise.
8672 (R10_LP): Likewise.
8673 (R11_LP): Likewise.
8674 (R12_LP): Likewise.
8675 (R13_LP): Likewise.
8676 (R14_LP): Likewise.
8677 (R15_LP): Likewise.
8678
b985be81
L
86792012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8680
8681 * sysdeps/x86_64/x32/dl-machine.h: New file.
8682
6a4888ff
AJ
86832012-05-14 Andreas Jaeger <aj@suse.de>
8684
8685 * manual/Makefile (subdir): Remove export of subdir.
8686 (all): Remove target.
8687 (.PHONY): Remove all from list.
8688 (mkinstalldirs): Remove.
8689 (.PHONY): Remove installdirs from list.
8690 ($(inst_infodir)/libc.info): Use make-target-directory.
8691 (installdirs): Remove.
8692 (subdir_%): Remove.
8693 (glibc-targets): Remove.
8694 (lib): Remove.
8695 (stubs): Remove.
8696 ($(objpfx)stubs ../po/manual.pot): Remove.
8697 ($(objpfx)stamp%): Remove.
8698 (make-target-directory): Remove.
8699 (subdir_install): Remove.
8700 (routines): Remove.
8701 (aux): Remove.
8702 (sources): Remove.
8703 (objects): Remove.
8704 (headers): Remove.
8705
8706 [BZ #13750]
8707 * manual/.gitignore: Remove, it's not needed anymore.
8708 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
8709 all files in it.
8710 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
8711 directory.
8712 (texis): Renamed to $(objpfx)texis.
8713 (texis-path): New, contains path to generated files.
8714 (chapters.%): Use texis-path for complete path, add extra argument
8715 libc-texinfo.sh.
8716 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
8717 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
8718 (summary,texi, stamp-summary): Use complete path of
8719 files. Generate files in build dir.
8720 (dir-add.texi): Build in build dir.
8721 (libm-err.texi,stamp-libm-err): Likewise.
8722 (version.texi, stamp-version): Likewise.
8723 (.%c.texi): Likewise.
8724 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
8725 (mostlyclean): Remove target.
8726 (realclean): Remove target.
8727 (generated): Add new variable with contents from mostlyclean and
8728 realclean, remove entries duplicated in common-mostlyclean, add
8729 stamp-libm-err and stamp-version.
8730 (generated-dirs): Add libc directory.
8731 ($(inst_infodir)/libc.info): Install files from build dir.
8732
8733 * manual/install.texi (Configuring and compiling): Adjust since
8734 the info files are not part of the tar ball anymore.
8735
7ac77294
AJ
87362012-05-14 Andreas Jaeger <aj@suse.de>
8737
8738 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
8739 variable.
8740
ffb7875d
JM
87412012-05-14 Joseph Myers <joseph@codesourcery.com>
8742
8743 [BZ #13717]
8744 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
8745 to 2.2.0 where earlier.
8746 * sysdeps/unix/sysv/linux/configure: Regenerated.
8747 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
8748 Remove conditional code.
8749 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
8750 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
8751 Remove conditional code.
8752 [!__NR_lchown]: Likewise.
8753 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8754 [__NR_lchown]: Likewise.
8755 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
8756 comment referencing __ASSUME_LCHOWN_SYSCALL.
8757 * sysdeps/unix/sysv/linux/i386/sigaction.c
8758 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8759 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8760 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
8761 Remove conditional code.
8762 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
8763 (__protocol_available): Remove #if 0 code.
8764 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
8765 conditional code.
8766 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
8767 * sysdeps/unix/sysv/linux/kernel-features.h
8768 (__ASSUME_GETCWD_SYSCALL): Don't define.
8769 (__ASSUME_REALTIME_SIGNALS): Likewise.
8770 (__ASSUME_PREAD_SYSCALL): Likewise.
8771 (__ASSUME_PWRITE_SYSCALL): Likewise.
8772 (__ASSUME_POLL_SYSCALL): Likewise.
8773 (__ASSUME_LCHOWN_SYSCALL): Likewise.
8774 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
8775 non-SPARC.
8776 (__ASSUME_SIOCGIFNAME): Don't define.
8777 (__ASSUME_MSG_NOSIGNAL): Likewise.
8778 (__ASSUME_SENDFILE): Define unconditionally.
8779 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
8780 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
8781 conditional code.
8782 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
8783 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
8784 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8785 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8786 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
8787 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8788 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
8790 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8791 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
8793 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8794 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
8796 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8797 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
8799 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8800 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
8802 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8803 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
8805 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8806 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
8808 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8809 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
8811 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8812 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8813 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
8814 Remove conditional code.
8815 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8816 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
8817 Remove conditional code.
8818 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8819 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
8820 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
8821 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
8822 Remove conditional code.
8823 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8824 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
8825 Remove conditional code.
8826 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8827 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
8828 Remove conditional code.
8829 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8830 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
8831 Remove conditional code.
8832 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8833 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
8834 Remove conditional code.
8835 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8836 * sysdeps/unix/sysv/linux/sh/pwrite64.c
8837 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8838 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8839 * sysdeps/unix/sysv/linux/sigaction.c
8840 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8841 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8842 * sysdeps/unix/sysv/linux/sigpending.c
8843 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8844 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8845 * sysdeps/unix/sysv/linux/sigprocmask.c
8846 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8847 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8848 * sysdeps/unix/sysv/linux/sigsuspend.c
8849 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8850 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8851 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8852 (__libc_missing_rt_sigs): Remove.
8853 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
8854 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
8855 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
8856 Remove conditional code.
8857 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
8858 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
8859 return 1.
8860 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
8861 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
8862 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
8863 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
8864
1bfb7291
AJ
88652012-05-14 Andreas Jaeger <aj@suse.de>
8866
caae5a81
AJ
8867 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
8868 it's not used in glibc.
8869 (__coshm1): Likewise.
8870 (__acosh1p): Likewise.
8871 (__sgn): Likewise.
8872
1bfb7291
AJ
8873 * manual/string.texi (Copying and Concatenation): Add missing
8874 variable in concat example.
8875 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
8876
c044d724
L
88772012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8878
144c5467 8879 [BZ #14103]
c044d724
L
8880 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
8881 __builtin_clzl with __builtin_clzll.
8882
2523c62b
L
88832012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8884
8885 [BZ #14104]
8886 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
8887 libc_freeres_ptr.
8888
d7bb4c42
LD
88892012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8890
8891 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
8892 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
8893 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
8894 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
8895
9dc4e1fb
MF
88962012-05-14 Mike Frysinger <vapier@gentoo.org>
8897
8898 * NEWS: Update ia64 info.
8899
c7df0112
AS
89002012-05-12 Andreas Schwab <schwab@linux-m68k.org>
8901
8902 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
8903 used as bcopy.
8904
dc70356c
TS
89052012-05-12 Thomas Schwinge <thomas@codesourcery.com>
8906
8907 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
8908 * sysdeps/unix/syscalls.list (dup3): Likewise.
8909 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
8910 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
8911
9fb1a21f
L
89122012-05-11 H.J. Lu <hongjiu.lu@intel.com>
8913
8914 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
8915 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
8916
4822a2a5
L
89172012-05-11 H.J. Lu <hongjiu.lu@intel.com>
8918
8919 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
8920 thread pointer.
8921 (TLS_IE): Use mov/add instead of movq/addq to load thread
8922 pointer.
8923 (TLS_GD_PREFIX): New.
8924 (TLS_GD): Use it.
8925
842b81d6
DM
89262012-05-11 David S. Miller <davem@davemloft.net>
8927
8928 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
8929 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
8930 (_FPU_SETCW): Likewise.
8931
1cf463cd
L
89322012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8933
8934 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
8935 is 32-byte aligned.
8936
60cc4a18
AS
89372012-05-11 Andreas Schwab <schwab@linux-m68k.org>
8938
8939 [BZ #11837]
8940 * iconvdata/gb18030.c: Update tables.
8941 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
8942 characters specially.
8943 (BODY for TO_LOOP): Add encoding of missing ranges.
8944
febb44a4
TS
89452012-05-11 Thomas Schwinge <thomas@codesourcery.com>
8946
8947 [BZ #13673]
8948 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
8949 * sysdeps/mach/hurd/dup3.c: Likewise.
8950 * sysdeps/mach/hurd/readlinkat.c: Likewise.
8951 * sysdeps/powerpc/memmove.c:: Likewise.
8952
0a10fb9e
L
89532012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8954
8955 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
8956 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
8957
df8a552f
L
89582012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8959
8960 * elf/elf.h (R_X86_64_RELATIVE64): New.
8961 (R_X86_64_NUM): Updated.
8962 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8963 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
8964 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
8965 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
8966 tst-quad1pie tst-quad2pie
8967 (modules-names): Add tst-quadmod1 tst-quadmod2.
8968 ($(objpfx)tst-quad1): New dependency.
8969 ($(objpfx)tst-quad2): Likewise.
8970 ($(objpfx)tst-quad1pie): Likewise.
8971 ($(objpfx)tst-quad2pie): Likewise.
8972 * sysdeps/x86_64/tst-quad1.c: New file.
8973 * sysdeps/x86_64/tst-quad1pie.c: New file.
8974 * sysdeps/x86_64/tst-quad2.c: Likewise.
8975 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
8976 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
8977 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
8978 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
8979 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
8980
f34d6f84
ST
89812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8982
f42d41d1
ST
8983 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
8984 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
8985 * streams/stropts.h (t_scalar_t): Define type.
8986
3c3571fc
ST
8987 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
8988 (_PATH_PRESERVE): Set to "/var/lib".
8989 (_PATH_RWHODIR): Set to "/var/spool/rwho".
8990
61f06bd3
ST
8991 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
8992 instead of int.
8993
918d4d71
ST
8994 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
8995 if __dir_mkfile succeeded.
8996
f34d6f84
ST
8997 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
8998 checking for _hurd_dtablesize. Unlock it right after having
8999 finished _hurd_dtable allocation.
9000
10589b4a
TS
90012012-05-10 Thomas Schwinge <thomas@schwinge.name>
9002
674cdbc7
TS
9003 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
9004 * sysdeps/mach/hurd/configure: Regenerated.
9005 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
9006 special-casing to...
9007 * sysdeps/gnu/configure.in: ... this new file.
9008 * sysdeps/unix/sysv/linux/configure: Regenerated.
9009 * sysdeps/gnu/configure: New generated file.
9010
8e41b99f
TS
9011 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
9012 for Linux: use nsec instead of usec, as well as:
9013 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
9014 members of type struct timespec.
9015 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
9016 New macros.
9017 (struct stat64): Likewise.
9018 (_STATBUF_ST_NSEC): New macro.
9019 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
9020
10589b4a
TS
9021 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9022 __strtoul_internal rather than strtoul.
9023
63643c85
PT
90242012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9025
9026 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
9027 and reject them.
9028
3faebe6a
ST
90292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9030
9031 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
9032 which preserves existing values.
9033 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
9034
c6474b07
PT
90352012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9036
9037 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
9038 TIMEOUT values. Return EINVAL for NFDS values either negative or
9039 greater than FD_SETSIZE.
9040
1043890b
ST
90412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9042
9043 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
9044 allocated, call __vm_protect to finish enabling the existing space, and
9045 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
9046 allocate the remainder.
9047
37ed8b9b
PT
90482012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9049
9050 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
9051 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
9052
db653660
ST
90532012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9054
37ed8b9b
PT
9055 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
9056 sysdeps/mach/hurd/readlink.c.
b29d4053 9057
db653660
ST
9058 * posix/tst-sysconf.c (posix_options): Only use
9059 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
9060 _POSIX_SYNCHRONIZED_IO when they are defined
9061 * sysdeps/mach/hurd/bits/posix_opt.h:
9062 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
9063 (_XOPEN_REALTIME): Undefine macro.
9064 (_XOPEN_REALTIME_THREADS): Undefine macro.
9065 (_XOPEN_SHM): Undefine macro.
9066 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
9067 macro to -1.
9068 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
9069 macro to -1.
9070 (_POSIX_ASYNC_IO): Undefine macro.
9071 (_POSIX_PRIORITIZED_IO): Undefine macro.
9072 (_POSIX_SPIN_LOCKS): Define macro to -1.
9073
ee16e894
ST
9074 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
9075 SA_NODEFER, SA_RESETHAND.
9076 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
9077 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
9078 F_DUPFD_CLOEXEC.
9079
6103ae3b
TS
90802012-05-10 Thomas Schwinge <thomas@schwinge.name>
9081
9082 * elf/Makefile (pldd-modules): Define unconditionally.
9083
80b4e5f3
TS
90842012-05-10 Thomas Schwinge <thomas@schwinge.name>
9085
9086 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
9087
edadcbd6
ST
90882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9089
9090 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
9091 Return ENOENT when name is empty.
9092 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
9093
80694780
TS
90942012-05-10 Thomas Schwinge <thomas@schwinge.name>
9095
1792c087
TS
9096 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
9097
80694780
TS
9098 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
9099
6b645f0d
ST
91002012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9101
80694780
TS
9102 Fix mlock in all cases except non-readable pages.
9103 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
9104 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 9105
6b645f0d
ST
9106 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
9107 (__mkdir): When path is `/', just fail with EEXIST.
9108 * sysdeps/mach/hurd/mkdirat.c: Likewise.
9109
e468f8a3
TS
91102012-05-10 Thomas Schwinge <thomas@schwinge.name>
9111
9112 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
9113 <sys/uio.h> (for writev).
9114 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
9115 and <sys/param.h> (for MIN).
9116
a4186cff
PT
91172012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9118
9119 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
9120 REQUESTED_TIME. Properly set the remaining time and return EINTR
9121 if interrupted.
9122
510bbf14
TS
91232012-05-10 Thomas Schwinge <thomas@schwinge.name>
9124
9125 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
9126 Depend on against $(link-rpcuserlibs).
9127
5d5722e8
ST
91282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9129
a4186cff
PT
9130 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
9131 (__libc_stack_end): Do not use attribute_relro.
9132 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
9133 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 9134 to libthread-provided value.
a4186cff
PT
9135 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
9136 attribute_relro.
5d5722e8 9137
37233df9
TS
91382012-05-10 Thomas Schwinge <thomas@schwinge.name>
9139
be971a2b
TS
9140 [BZ #3748]
9141 * bits/libc-lock.h (__libc_once_get): New macro.
9142 * sysdeps/mach/bits/libc-lock.h: Likewise.
9143 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
9144 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
9145 instead of using implementation details.
9146
37233df9
TS
9147 * libio/fileops.c: Unconditionally include <kernel-features.h>.
9148 * libio/freopen.c: Likewise.
9149 * libio/freopen64.c: Likewise.
9150 * misc/syslog.c: Likewise.
9151 * nscd/connections.c: Likewise.
9152 * nscd/netgroupcache.c: Likewise.
9153 * sysdeps/posix/getcwd.c: Likewise.
9154
38de94a5
RM
91552012-05-10 Roland McGrath <roland@hack.frob.com>
9156
9157 * math/w_ilogbf.c: Add #include <limits.h>.
9158
67530489
ST
91592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9160
a4186cff 9161 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
9162 path instead of returning without unlocking.
9163
67530489
ST
9164 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
9165 immediate-write ioctls.
9166 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
9167
5aa3a74a
TS
91682012-05-10 Thomas Schwinge <thomas@schwinge.name>
9169
18bad2ae
TS
9170 * sysdeps/mach/hurd/i386/init-first.c (init): Use
9171 __builtin_frame_address instead of making assumptions about the
9172 location of the return address relative to DATA. Force early load of
9173 the return address.
9174 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
9175 __builtin_frame_address.
9176
5aa3a74a
TS
9177 dup3 for GNU Hurd.
9178 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
9179 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
9180 implement dup3 and do some further code clean-ups.
9181 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
9182 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
9183
ecd0de9a
ST
91842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9185
cd9fa985
ST
9186 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
9187
a4186cff
PT
9188 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
9189 HURD_CRITICAL_END around holding _hurd_dtable_lock.
9190 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
9191 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
9192 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
9193 d->port.lock.
802ca5a5 9194
a4186cff
PT
9195 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
9196 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
9197 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 9198
bcf55240
TS
91992012-05-10 Thomas Schwinge <thomas@schwinge.name>
9200
6960eb42
TS
9201 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
9202 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
9203 definitions.
9204
eb43375f
TS
9205 accept4 for GNU Hurd.
9206 * include/sys/socket.h (__libc_accept4): New prototype.
9207 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
9208 to implement __libc_accept4.
9209 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
9210 __libc_accept4.
9211 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
9212
bcf55240
TS
9213 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
9214 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
9215 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
9216 signal-defines.sym.
9217
6178c55b
ST
92182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9219
a4186cff 9220 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 9221
6f080c2f
TS
92222012-05-10 Thomas Schwinge <thomas@schwinge.name>
9223
9224 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
9225 assertion on O_CLOEXEC flag.
9226 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
9227 * hurd/intern-fd.c: Likewise.
9228 * hurd/port2fd.c: Likewise.
9229
bcfe3a54
ST
92302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9231
9232 [BZ #3906]
9233 * bits/in.h (IPV6_PKTINFO): Define new macro.
9234 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
9235
89c9aa49
AZ
92362012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9237
9238 [BZ #13954]
9239 [BZ #13955]
9240 [BZ #13956]
9241 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
9242 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9243 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
9244 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9245 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9246 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9247 * math/libm-test.inc (logb_test) : Additional logb tests.
9248
021db4be
AJ
92492012-05-09 Andreas Schwab <schwab@linux-m68k.org>
9250 Andreas Jaeger <aj@suse.de>
9251
9252 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
9253 * configure: Regenerated.
9254 * config.h.in (LINK_OBSOLETE_RPC): New macro.
9255 * config.make.in (link-obsolete-rpc): New substituted variable.
9256 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
9257 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
9258 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9259 (shared-only-routines): Don't set it under [link-obsolete-rpc],
9260 so that libc.a contains the symbols.
9261 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9262 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
9263 * sunrpc/auth_none.c: Likewise.
9264 * sunrpc/auth_unix.c: Likewise.
9265 * sunrpc/authdes_prot.c: Likewise.
9266 * sunrpc/authuxprot.c: Likewise.
9267 * sunrpc/clnt_gen.c: Likewise.
9268 * sunrpc/clnt_perr.c: Likewise.
9269 * sunrpc/clnt_raw.c: Likewise.
9270 * sunrpc/clnt_simp.c: Likewise.
9271 * sunrpc/clnt_tcp.c: Likewise.
9272 * sunrpc/clnt_udp.c: Likewise.
9273 * sunrpc/clnt_unix.c: Likewise.
9274 * sunrpc/des_crypt.c: Likewise.
9275 * sunrpc/des_soft.c: Likewise.
9276 * sunrpc/get_myaddr.c: Likewise.
9277 * sunrpc/key_call.c: Likewise.
9278 * sunrpc/key_prot.c: Likewise.
9279 * sunrpc/netname.c: Likewise.
9280 * sunrpc/pm_getmaps.c: Likewise.
9281 * sunrpc/pm_getport.c: Likewise.
9282 * sunrpc/pmap_clnt.c: Likewise.
9283 * sunrpc/pmap_prot.c: Likewise.
9284 * sunrpc/pmap_prot2.c: Likewise.
9285 * sunrpc/pmap_rmt.c: Likewise.
9286 * sunrpc/publickey.c: Likewise.
9287 * sunrpc/rpc_cmsg.c: Likewise.
9288 * sunrpc/rpc_common.c: Likewise.
9289 * sunrpc/rpc_dtable.c: Likewise.
9290 * sunrpc/rpc_prot.c: Likewise.
9291 * sunrpc/rpc_thread.c: Likewise.
9292 * sunrpc/rtime.c: Likewise.
9293 * sunrpc/svc.c: Likewise.
9294 * sunrpc/svc_auth.c: Likewise.
9295 * sunrpc/svc_raw.c: Likewise.
9296 * sunrpc/svc_run.c: Likewise.
9297 * sunrpc/svc_tcp.c: Likewise.
9298 * sunrpc/svc_udp.c: Likewise.
9299 * sunrpc/svc_unix.c: Likewise.
9300 * sunrpc/svcauth_des.c: Likewise.
9301 * sunrpc/xcrypt.c: Likewise.
9302 * sunrpc/xdr.c: Likewise.
9303 * sunrpc/xdr_array.c: Likewise.
9304 * sunrpc/xdr_float.c: Likewise.
9305 * sunrpc/xdr_intXX_t.c: Likewise.
9306 * sunrpc/xdr_mem.c: Likewise.
9307 * sunrpc/xdr_rec.c: Likewise.
9308 * sunrpc/xdr_ref.c: Likewise.
9309 * sunrpc/xdr_sizeof.c: Likewise.
9310 * sunrpc/xdr_stdio.c: Likewise.
9311
b5c086a2
RM
93122012-05-10 Roland McGrath <roland@hack.frob.com>
9313
9314 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
9315 change. Update copyright years.
9316
6d74dd09
JM
93172012-05-10 Joseph Myers <joseph@codesourcery.com>
9318
9319 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
9320
28e72501
MK
93212012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
9322 Joseph Myers <joseph@codesourcery.com>
9323 Paul Pluzhnikov <ppluzhnikov@google.com>
9324
9325 [BZ #14012]
9326 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
9327 requiring rpcgen.
9328 [cross-compiling] (extra-libs): Likewise.
9329 [cross-compiling] (extra-libs-others): Likewise.
9330 [cross-compiling] (librpcsvc-routines): Likewise.
9331 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
9332 [cross-compiling] (omit-deps): Likewise.
9333 (sunrpc-CPPFLAGS): New variable.
9334 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
9335 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
9336 (cross-rpcgen-objs): New variable.
9337 (extra-objs): Append $(cross-rpcgen-objs).
9338 ($(cross-rpcgen-objs)): New rule.
9339 ($(objpfx)cross-rpcgen): Likewise.
9340 (rpcgen-cmd): Define to use $(built-program-file). Expand
9341 comment.
9342 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
9343 ($(objpfx)x%.stmp): Likewise.
9344 * sunrpc/proto.h [IS_IN_build] (_): Define.
9345 [IS_IN_build] (_libc_intl_domainname): Likewise.
9346
c8c59454
L
93472012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9348
9349 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
9350 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
9351 and R_X86_64_TPOFF64.
9352
6f27cd16
JM
93532012-05-10 Joseph Myers <joseph@codesourcery.com>
9354
9355 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
9356 sysdeps/unix/sysv/syscalls.list.
9357 (stime): Likewise.
9358 (utime): Likewise.
9359 * sysdeps/unix/sysv/syscalls.list: Remove file.
9360
02467e1c
PE
93612012-05-10 Paul Eggert <eggert@cs.ucla.edu>
9362
9363 [BZ #3440]
9364 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
9365 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
9366 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
9367 (__LC_IDENTIFICATION): Make these macros useful in #if
9368 expressions, as required by C99.
9369
da392631
AS
93702012-05-10 Andreas Schwab <schwab@linux-m68k.org>
9371
9372 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
9373 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
9374 after this.
9375
8115f29b
L
93762012-05-09 H.J. Lu <hongjiu.lu@intel.com>
9377
9378 * stdlib/longlong.h: Updated from GCC.
9379
bdd74070
AJ
93802012-05-09 Andreas Jaeger <aj@suse.de>
9381
edfe0dbe
AJ
9382 * nscd/nscd.c (run_modes): Make named enum, reorder so that
9383 default is first entry.
9384 (run_mode): Set type.
9385 (main): Remove informal message about syslog.
9386 (options): Fix typo.
9387
bcfe3a54
ST
9388 [BZ #14053]
9389 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 9390 to asm.
bcfe3a54
ST
9391 (lrint): Likewise.
9392 (llrintf): Likewise.
9393 (llrint): Likewise.
9394 (rint): Likewise.
9395 (rintf): Likewise.
9396 (nearbyint): Likewise.
9397 (nearbyintf): Likewise.
bdd74070 9398
91d8d69e
AJ
93992012-05-09 Andreas Jaeger <aj@suse.de>
9400 Pedro Alves <palves@redhat.com>
9401
9402 * nscd/nscd.c (run_mode): Use enum.
9403 (main): Cleanup coding style issue.
9404
bb90b80b
AJ
94052012-05-09 Alexandre Oliva <aoliva@redhat.com>
9406 Andreas Jaeger <aj@suse.de>
9407
bcfe3a54
ST
9408 * nscd/nscd.c (go_background): Replaced with...
9409 (run_mode): ... this.
bb90b80b 9410 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
9411 (options): Add -F --foreground.
9412 (main): Implement it.
9413 (parse_opt): Parse it.
bb90b80b 9414
1a4b75a1
AJ
94152012-05-09 Andreas Jaeger <aj@suse.de>
9416
9417 [BZ #14083]
9418 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
9419 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
9420 -Wconversion warning.
9421 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
9422 Likewise.
9423
b1cc2472
JM
94242012-05-09 Joseph Myers <joseph@codesourcery.com>
9425
9426 * conform/data/locale.h-data (NULL): Use macro-constant. Require
9427 == 0.
9428 (LC_ALL): Use macro-int-constant.
9429 (LC_COLLATE): Likewise.
9430 (LC_CTYPE): Likewise.
9431 (LC_MESSAGES): Likewise.
9432 (LC_MONETARY): Likewise.
9433 (LC_NUMERIC): Likewise.
9434 (LC_TIME): Likewise.
9435 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
9436 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9437 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9438 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
9439 Specify type.
9440 [C99-based standards] (float_t): Expect type.
9441 [C99-based standards] (double_t): Expect type.
9442 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
9443 type.
9444 [C99-based standards] (HUGE_VALL): Likewise.
9445 [C99-based standards] (INFINITY): Likewise.
9446 [C99-based standards] (NAN): Likewise.
9447 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
9448 [C99-based standards] (FP_NAN): Likewise.
9449 [C99-based standards] (FP_NORMAL): Likewise.
9450 [C99-based standards] (FP_SUBNORMAL): Likewise.
9451 [C99-based standards] (FP_ZERO): Likewise.
9452 [C99-based standards] (FP_FAST_FMA): Use
9453 optional-macro-int-constant. Specify type. Require == 1.
9454 [C99-based standards] (FP_FAST_FMAF): Likewise.
9455 [C99-based standards] (FP_FAST_FMAL): Likewise.
9456 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
9457 [C99-based standards] (FP_ILOGBNAN): Likewise.
9458 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
9459 Specify type.
9460 [C99-based standards] (MATH_ERREXCEPT): Likewise.
9461 [C99-based standards] (math_errhandling): Specify type.
9462 [ISO99 || ISO11] (signgam): Do not allow.
9463 [non-C99-based standards] (copysignf): Do not allow.
9464 [non-C99-based standards] (exp2f): Likewise.
9465 [non-C99-based standards] (log2f): Likewise.
9466 [non-C99-based standards] (modff): Allow.
9467 [non-C99-based standards] (erff): Do not allow.
9468 [non-C99-based standards] (erfcf): Likewise.
9469 [non-C99-based standards] (gammaf): Likewise.
9470 [non-C99-based standards] (hypotf): Likewise.
9471 [non-C99-based standards] (j0f): Likewise.
9472 [non-C99-based standards] (j1f): Likewise.
9473 [non-C99-based standards] (jnf): Likewise.
9474 [non-C99-based standards] (lgammaf): Likewise.
9475 [non-C99-based standards] (tgammaf): Likewise.
9476 [non-C99-based standards] (y0f): Likewise.
9477 [non-C99-based standards] (y1f): Likewise.
9478 [non-C99-based standards] (ynf): Likewise.
9479 [non-C99-based standards] (isnanf): Likewise.
9480 [non-C99-based standards] (acoshf): Likewise.
9481 [non-C99-based standards] (asinhf): Likewise.
9482 [non-C99-based standards] (atanhf): Likewise.
9483 [non-C99-based standards] (cbrtf): Likewise.
9484 [non-C99-based standards] (expm1f): Likewise.
9485 [non-C99-based standards] (ilogbf): Likewise.
9486 [non-C99-based standards] (log1pf): Likewise.
9487 [non-C99-based standards] (logbf): Likewise.
9488 [non-C99-based standards] (nextafterf): Likewise.
9489 [non-C99-based standards] (remainderf): Likewise.
9490 [non-C99-based standards] (rintf): Likewise.
9491 [non-C99-based standards] (scalbf): Likewise.
9492 [non-C99-based standards] (copysignl): Likewise.
9493 [non-C99-based standards] (exp2l): Likewise.
9494 [non-C99-based standards] (log2l): Likewise.
9495 [non-C99-based standards] (modfl): Allow.
9496 [non-C99-based standards] (erfl): Do not allow.
9497 [non-C99-based standards] (erfcl): Likewise.
9498 [non-C99-based standards] (gammal): Likewise.
9499 [non-C99-based standards] (hypotl): Likewise.
9500 [non-C99-based standards] (j0l): Likewise.
9501 [non-C99-based standards] (j1l): Likewise.
9502 [non-C99-based standards] (jnl): Likewise.
9503 [non-C99-based standards] (lgammal): Likewise.
9504 [non-C99-based standards] (tgammal): Likewise.
9505 [non-C99-based standards] (y0l): Likewise.
9506 [non-C99-based standards] (y1l): Likewise.
9507 [non-C99-based standards] (ynl): Likewise.
9508 [non-C99-based standards] (isnanl): Likewise.
9509 [non-C99-based standards] (acoshl): Likewise.
9510 [non-C99-based standards] (asinhl): Likewise.
9511 [non-C99-based standards] (atanhl): Likewise.
9512 [non-C99-based standards] (cbrtl): Likewise.
9513 [non-C99-based standards] (expm1l): Likewise.
9514 [non-C99-based standards] (ilogbl): Likewise.
9515 [non-C99-based standards] (log1pl): Likewise.
9516 [non-C99-based standards] (logbl): Likewise.
9517 [non-C99-based standards] (nextafterl): Likewise.
9518 [non-C99-based standards] (remainderl): Likewise.
9519 [non-C99-based standards] (rintl): Likewise.
9520 [non-C99-based standards] (scalbl): Likewise.
9521 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9522 [non-C99-based standards] (FP_*): Do not allow.
9523 [C99-based standards] (FP_*): Change to
9524 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9525 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9526 allow.
9527 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
9528 (SIG_ERR): Likewise.
9529 [X/Open-based standards] (SIG_HOLD): Likewise.
9530 (SIG_IGN): Likewise.
9531 (SIGABRT): Use macro-int-constant. Specify type. Require
9532 positive value.
9533 (SIGFPE): Likewise.
9534 (SIGILL): Likewise.
9535 (SIGINT): Likewise.
9536 (SIGSEGV): Likewise.
9537 (SIGTER): Likewise.
9538 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
9539 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
9540 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
9541 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
9542 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
9543 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
9544 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
9545 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
9546 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
9547 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
9548 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
9549 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
9550 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
9551 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
9552 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
9553 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
9554 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
9555 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
9556 [X/Open-based standards] (SIGTRAP): Likewise.
9557 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
9558 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
9559 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
9560 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
9561 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9562 allow.
9563
b9f1922d
IW
95642012-05-08 Ian Wienand <ianw@vmware.com>
9565
9566 [BZ #14080]
9567 * time/tzset.c (__tzset_parse_tz): Update default rules for
9568 daylight time changes in the Energy Policy Act of 2005.
9569
1db86e88
AJ
95702012-05-09 Andreas Jaeger <aj@suse.de>
9571
9572 [BZ #13983]
9573 * elf/ldconfig.c (parse_conf): Change string to make clear that
9574 ldconfig only issued a warning if ld.so.conf does not exist.
9575
dee4a4e3
DM
95762012-05-08 David S. Miller <davem@davemloft.net>
9577
ee0db190
DM
9578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
9579 movxtod instead of popping the value on the stack.
9580
dee4a4e3
DM
9581 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9582
6a43ec98
CD
95832012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
9584
9585 * config.h.in: Add HAVE_ARM_PCS_VFP.
9586
05c2c961
RMG
95872012-05-08 Roland Mc Grath <roland@hack.frob.com>
9588
bcfe3a54
ST
9589 [BZ #13979]
9590 * include/features.h: Warn if user requests __FORTIFY_SOURCE
9591 checking but the checks are disabled for any reason.
05c2c961 9592
4b30f61a
L
95932012-05-08 H.J. Lu <hongjiu.lu@intel.com>
9594
9595 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
9596 and ELF64_R_TYPE with ELFW(R_TYPE).
9597
eee2bc67
JM
95982012-05-08 Joseph Myers <joseph@codesourcery.com>
9599
7ea5391a
JM
9600 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
9601 (ulimit): Likewise.
9602
eee2bc67
JM
9603 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
9604 (settimeofday): Likewise.
9605
abb66a67
MF
96062012-05-08 Mike Frysinger <vapier@gentoo.org>
9607
9608 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
9609 a struct th_u2 inside the union, and move tu_block/tu_code into
9610 a new th_u3 union of tu_block/tu_code inside of that. Move
9611 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
9612 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
9613 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
9614 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
9615 (th_stuff): Change to th_u1.tu_stuff.
9616 (th_data): Define.
9617 (th_msg): Change to th_u1.th_u2.tu_data.
9618
7f18b530
DM
96192012-05-07 David S. Miller <davem@davemloft.net>
9620
05760585
DM
9621 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9622
7f18b530
DM
9623 [BZ #14074]
9624 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
9625 (SETUP_PIC_REG): Use it.
9626 (SETUP_PIC_REG_LEAF): Use it.
9627
495fd99f
JM
96282012-05-07 Joseph Myers <joseph@codesourcery.com>
9629
9630 [BZ #13885]
9631 [BZ #13923]
9632 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9633 USE_AS_EXPM1L.
9634 (EXPL_FINITE): Likewise.
9635 (FLDLOG): Likewise.
9636 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
9637 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
9638 e_expl.S.
9639 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9640 USE_AS_EXPM1L.
9641 (EXPL_FINITE): Likewise.
9642 (FLDLOG): Likewise.
9643 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
9644 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
9645 e_expl.S.
9646 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
9647 test of -max_value argument for long double.
9648 * sysdeps/i386/fpu/libm-test-ulps: Update.
9649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9650
6693d694
DM
96512012-05-06 David S. Miller <davem@davemloft.net>
9652
9653 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
9654 quad soft-float symbols whose references which are compiler
9655 generated.
9656 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9657
6c23e11c
JM
96582012-05-06 Joseph Myers <joseph@codesourcery.com>
9659
d8b82cad
JM
9660 [BZ #13884]
9661 [BZ #13914]
9662 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9663 USE_AS_EXP10L.
9664 (EXPL_FINITE): Likewise.
9665 (FLDLOG): Likewise.
9666 (c0): Likewise.
9667 (c1): Likewise.
9668 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
9669 Adjust comments for base varying.
9670 (__expl_finite): Change alias to EXPL_FINITE.
9671 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
9672 e_expl.S.
9673 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
9674 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
9675 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9676 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
9677 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9678 USE_AS_EXP10L.
9679 (EXPL_FINITE): Likewise.
9680 (FLDLOG): Likewise.
9681 (c0): Likewise.
9682 (c1): Likewise.
9683 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
9684 Adjust comments for base varying.
9685 (__expl_finite): Change alias to EXPL_FINITE.
9686 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
9687 tests for bugs.
9688 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9689
6c23e11c
JM
9690 [BZ #14064]
9691 * math/libm-test.inc (check_float_internal): Correct ulp
9692 calculation for subnormal expected results.
9693
29ba805c
AJ
96942012-05-06 Andreas Jaeger <aj@suse.de>
9695
9696 * Makeconfig (+math-flags): New, set to -frounding-math.
9697 (+cflags): Add +math-flags so that all of glibc gets compiled with
9698 it.
9699
9700 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
9701
7b17aeda
JM
97022012-05-05 Joseph Myers <joseph@codesourcery.com>
9703
5779f134
JM
9704 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
9705 Disable one test.
9706
41498f4d
JM
9707 [BZ #13787]
9708 [BZ #13922]
9709 [BZ #14036]
9710 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
9711 (__ieee754_expl): Allow for and saturate large arguments.
9712 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
9713 (u_threshold): Likewise.
9714 (__exp): Call __ieee754_exp before checking for overflow and
9715 underflow.
9716 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
9717 (u_threshold): Likewise.
9718 (__expf): Call __ieee754_expf before checking for overflow and
9719 underflow.
9720 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
9721 (u_threshold): Likewise.
9722 (__expl): Call __ieee754_expl before checking for overflow and
9723 underflow.
9724 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
9725 (__ieee754_expl): Allow for and saturate large arguments.
9726 * math/libm-test.inc (exp_test): Add another test. Do not allow
9727 missing overflow exception on overflow.
9728 (expm1_test): Do not allow missing overflow exception on overflow.
9729
6698b8bf
JM
9730 * sysdeps/i386/fpu/e_expl.c: Move to ...
9731 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
9732 rather than using inline asm.
9733 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
9734 * sysdeps/x86_64/fpu/e_expl.S: Copy from
9735 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
9736
7b17aeda
JM
9737 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
9738 (nice): Likewise.
9739 (poll): Likewise.
9740 (signal): Likewise.
9741 (time): Likewise.
9742 (times): Likewise.
9743
f7c85819
JM
97442012-05-04 Joseph Myers <joseph@codesourcery.com>
9745
9746 * sysdeps/unix/syscalls.list (adjtime): Add entry from
9747 sysdeps/unix/common/syscalls.list.
9748 (fchmod): Likewise.
9749 (fchown): Likewise.
9750 (ftruncate): Likewise.
9751 (getrusage): Likewise.
9752 (gettimeofday): Likewise.
9753 (setpgid): Likewise.
9754 (setregid): Likewise.
9755 (setreuid): Likewise.
9756 (sigaction): Likewise.
9757 (truncate): Likewise.
9758 (vhangup): Likewise.
9759 * sysdeps/unix/common/syscalls.list: Remove file.
9760 * sysdeps/unix/bsd/Implies: Don't include unix/common.
9761 * sysdeps/unix/sysv/linux/Implies: Likewise.
9762
336270d0
L
97632012-05-04 H.J. Lu <hongjiu.lu@intel.com>
9764
9765 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
9766 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
9767 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
9768 Moved to ...
9769 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
9770 Here.
9771 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
9772 to ...
9773 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
9774 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
9775 to ...
9776 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
9777 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
9778 to ...
9779 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
9780 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
9781 to ...
9782 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
9783 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
9784 to ...
9785 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
9786 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
9787 to ...
9788 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
9789 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
9790 to ...
9791 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
9792 Here.
9793 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
9794 to ...
9795 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
9796 Here.
9797 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
9798 to ...
9799 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
9800 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
9801 Moved to ...
9802 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
9803 Here.
9804 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
9805 to ...
9806 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
9807
d128e450
JM
98082012-05-04 Joseph Myers <joseph@codesourcery.com>
9809
fa8ee516
JM
9810 * sysdeps/unix/common/bits/dirent.h: Remove file.
9811 * sysdeps/unix/common/bits/fcntl.h: Likewise.
9812
d128e450
JM
9813 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
9814 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
9815 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
9816 * sysdeps/unix/bsd/isatty.c: Likewise.
9817 * sysdeps/unix/bsd/tcdrain.c: Likewise.
9818 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
9819 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
9820
ff8faaf0 98212012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 9822
62881be4 9823 [BZ #13563]
31dc8730
AZ
9824 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
9825 long double comparison inaccuracies.
9826 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9827 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9828
6fef930c
AS
98292012-05-04 Andreas Schwab <schwab@linux-m68k.org>
9830
9831 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
9832 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
9833
8f203e6c
JM
98342012-05-04 Joseph Myers <joseph@codesourcery.com>
9835
9836 [BZ #14049]
9837 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
9838 nonzero digits before rounding a hex value.
9839 * stdlib/tst-strtod.c (tests): Add another test.
9840
5197d9c2
AK
98412012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9842
9843 * sysdeps/s390/fpu/libm-test-ulps: Update.
9844
f0c1dedf
AJ
98452012-05-03 Andreas Jaeger <aj@suse.de>
9846
9847 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
9848 does not get optimized out.
9849 (malloc_opt_barrier): New.
9850
a65ef2ae 98512012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 9852 Roland McGrath <roland@hack.frob.com>
a65ef2ae 9853
2b942cb7 9854 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 9855 intermediate file deletion.
2b942cb7 9856 (generated): Add .symlist files.
a65ef2ae 9857
54b71e02
JM
98582012-05-03 Joseph Myers <joseph@codesourcery.com>
9859
9860 [BZ #13775]
9861 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
9862 Redirect under this condition.
9863 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
9864 [__USE_GNU] (__dprintf_chk): Not under this condition.
9865 [__USE_GNU] (__vdprintf_chk): Likewise.
9866 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
9867 under this condition.
9868 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
9869 [__USE_XOPEN2K8] (dprintf): Define under this condition.
9870 [__USE_XOPEN2K8] (vdprintf): Likewise.
9871 [__USE_GNU] (__dprintf_chk): Not under this condition.
9872 [__USE_GNU] (__vdprintf_chk): Likewise.
9873 [__USE_GNU] (dprintf): Likewise.
9874 [__USE_GNU] (vdprintf): Likewise.
9875
d3dfcc41
RM
98762012-05-03 Roland McGrath <roland@hack.frob.com>
9877
9878 * elf/Makefile (common-generated): Set this instead of generated for
9879 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
9880 $(all-built-dso)-derived lists.
9881
7ac30cc5
AJ
98822012-05-03 Andreas Jaeger <aj@suse.de>
9883
0c51e550
AJ
9884 * sysdeps/i386/fpu/libm-test-ulps: Update.
9885
7ac30cc5
AJ
9886 * FAQ: Removed.
9887 * FAQ.in: Likewise.
9888 * scripts/gen-FAQ.pl: Likewise.
9889 * manual/install.texi (Installation): Point to online location of
9890 FAQ.
9891 * Makefile (files-for-dist): Remove FAQ.
9892 (FAQ): Remove.
9893
d4c2917f
AM
98942012-05-02 Allan McRae <allan@archlinux.org>
9895
9896 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
9897 (LDFLAGS-reldepmod5.so): Likewise.
9898 (LDFLAGS-reldep6mod1.so): Likewise.
9899 (LDFLAGS-reldep6mod4.so): Likewise.
9900 (LDFLAGS-reldep8mod3.so): Likewise.
9901 (LDFLAGS-unload4mod1.so): Likewise.
9902 (LDFLAGS-unload4mod2.so): Likewise.
9903 (LDFLAGS-tst-initorder): Likewise.
9904 (LDFLAGS-tst-initordera2.so): Likewise.
9905 (LDFLAGS-tst-initordera3.so): Likewise.
9906 (LDFLAGS-tst-initordera4.so): Likewise.
9907 (LDFLAGS-tst-initorderb2.so): Likewise.
9908 (LDFLAGS-noload): Likewise.
9909 (LDFLAGS-next): Likewise.
9910 (LDFLAGS-order2mod1.so): Likewise.
9911 (LDFLAGS-order2mod2.so): Likewise.
9912 (LDFLAGS-tst-initorder2): Likewise.
9913 (LDFLAGS-tst-initorder2a.so): Likewise.
9914 (LDFLAGS-tst-initorder2b.so): Likewise.
9915 (LDFLAGS-tst-initorder2c.so): Likewise.
9916 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
9917
d77f993f
DM
99182012-05-02 David S. Miller <davem@davemloft.net>
9919
9920 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9921
171a70b4
PP
99222012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
9923
9924 [BZ #14055]
9925 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
9926
0be196ad
AJ
99272012-05-02 Andreas Jaeger <aj@suse.de>
9928
9929 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
9930 since we manipulate rounding mode.
9931 (CPPFLAGS-test-idouble.c): Likewise.
9932 (CPPFLAGS-test-ifloat.c): Likewise.
9933 (CFLAGS-test-ldouble.c): Likewise.
9934 (CFLAGS-test-double.c): Likewise.
9935 (CFLAGS-test-float.c): Likewise.
9936 (CFLAGS-test-misc.c): Likewise.
9937 (CFLAGS-test-test-fenv.c): Likewise.
9938
4f9d04aa
AZ
99392012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9940
2b942cb7
RM
9941 [BZ #2550]
9942 [BZ #2570]
9943 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
9944 comparisons to determine direction to adjust input.
4f9d04aa 9945
82a79e7d
RM
99462012-05-01 Roland McGrath <roland@hack.frob.com>
9947
f5a01ca9
RM
9948 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
9949 output to the target.
9950
90fe4186
RM
9951 * scripts/localplt.awk: New file.
9952 * elf/Makefile ($(objpfx)check-localplt): Target removed.
9953 (check-localplt-CFLAGS): Variable removed.
9954 ($(all-built-dso:=.jmprel)): New static pattern rule.
9955 (generated): Add those targets.
9956 (localplt-built-dso): New variable.
9957 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
9958
9959 * elf/check-localplt.c: File removed.
9960
82397ed6
RM
9961 * scripts/check-execstack.awk: New file.
9962 * elf/Makefile ($(objpfx)check-execstack): Target removed.
9963 (check-execstack-CFLAGS): Variable removed.
9964 ($(objpfx)check-execstack.h): Target removed.
9965 ($(objpfx)execstack-default): New target.
9966 (generated): Add that instead of check-execstack.h.
9967 ($(all-built-dso:=.phdr)): New static pattern rule.
9968 (generated): Add those targets.
9969 * elf/check-execstack.c: File removed.
9970
82a79e7d
RM
9971 * scripts/check-textrel.awk: New file.
9972 * elf/Makefile ($(objpfx)check-textrel): Target removed.
9973 (check-textrel-CFLAGS): Variable removed.
9974 (all-built-dso): Use := to define.o
9975 ($(all-built-dso:=.dyn)): New static pattern rule.
9976 (generated): Add those targets.
9977 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
9978 * config.make.in (READELF): New substituted variable.
9979 * elf/check-textrel.c: File removed.
9980
62fde54f 99812012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 9982
615605c9
JM
9983 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9984 allow.
9985 * conform/data/ctype.h-data [C99-based standards] (isblank):
9986 Expect function.
9987 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
9988 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
9989 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9990 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
9991 Specify type. Require positive value.
9992 (EILSEQ): Likewise.
9993 (ERANGE): Likewise.
9994 [ISO || POSIX] (EILSEQ): Do not expect.
9995 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
9996 Specify type. Require positive value.
9997 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
9998 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
9999 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
10000 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
10001 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
10002 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
10003 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
10004 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
10005 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
10006 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
10007 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
10008 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
10009 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
10010 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
10011 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
10012 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
10013 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
10014 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
10015 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
10016 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
10017 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
10018 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
10019 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
10020 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
10021 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
10022 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
10023 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
10024 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
10025 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
10026 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
10027 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
10028 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
10029 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
10030 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
10031 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
10032 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
10033 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
10034 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
10035 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
10036 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
10037 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
10038 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
10039 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
10040 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
10041 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
10042 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
10043 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
10044 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
10045 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
10046 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
10047 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
10048 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
10049 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
10050 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
10051 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
10052 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
10053 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
10054 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
10055 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
10056 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
10057 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
10058 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
10059 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
10060 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
10061 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
10062 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
10063 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
10064 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
10065 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
10066 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
10067 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
10068 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
10069 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
10070 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
10071 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
10072 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
10073 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
10074 Require >= 2.
10075 (FLT_ROUNDS): Expect as macro, not constant.
10076 (FLT_MANT_DIG): Use macro-int-constant.
10077 (DBL_MANT_DIG): Likewise.
10078 (LDBL_MANT_DIG): Likewise.
10079 (FLT_DIG): Likewise.
10080 (DBL_DIG): Likewise.
10081 (LDBL_DIG): Likewise.
10082 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
10083 (DBL_MIN_EXP): Likewise.
10084 (LDBL_MIN_EXP): Likewise.
10085 (FLT_MAX_EXP): Use macro-int-constant.
10086 (DBL_MAX_EXP): Likewise.
10087 (LDBL_MAX_EXP): Likewise.
10088 (FLT_MAX_10_EXP): Likewise.
10089 (DBL_MAX_10_EXP): Likewise.
10090 (LDBL_MAX_10_EXP): Likewise.
10091 (FLT_MAX): Use macro-constant.
10092 (DBL_MAX): Likewise.
10093 (LDBL_MAX): Likewise.
10094 (FLT_EPSILON): Use macro-constant. Give upper bound.
10095 (DBL_EPSILON): Likewise.
10096 (LDBL_EPSILON): Likewise.
10097 (FLT_MIN): Likewise.
10098 (DBL_MIN): Likewise.
10099 (LDBL_MIN): Likewise.
10100 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
10101 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
10102 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
10103 [ISO11] (FLT_HAS_SUBNORM): Likewise.
10104 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
10105 [ISO11] (DBL_DECIMAL_DIG): Likewise.
10106 [ISO11] (FLT_DECIMAL_DIG): Likewise.
10107 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
10108 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
10109 [ISO11] (FLT_TRUE_MIN): Likewise.
10110 [ISO11] (LDBL_TRUE_MIN): Likewise.
10111 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10112 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
10113 (SCHAR_MIN): Use macro-int-constant. Specify type.
10114 (SCHAR_MAX): Likewise.
10115 (UCHAR_MAX): Likewise.
10116 (CHAR_MIN): Likewise.
10117 (CHAR_MAX): Likewise.
10118 (MB_LEN_MAX): Use macro-int-constant.
10119 (SHRT_MIN): Use macro-int-constant. Specify type.
10120 (SHRT_MAX): Likewise.
10121 (USHRT_MAX): Likewise.
10122 (INT_MAX): Likewise.
10123 (INT_MIN): Use macro-int-constant. Specify type. Make upper
10124 bound negative.
10125 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
10126 bound with "U".
10127 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10128 bound with "L".
10129 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
10130 bound negative. Suffix upper bound with "L".
10131 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10132 bound with "UL".
10133 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
10134 Specify type.
10135 [C99-based standards] (LLONG_MAX): Likewise.
10136 [C99-based standards] (ULLONG_MAX): Likewise.
10137 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
10138 == 0.
10139 [ISO11] (max_align_t): Require type.
10140 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10141
c9140a62
JM
10142 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
10143 from $CFLAGS, without defining away __attribute__ calls.
10144 (checknamespace): Use $CFLAGS_namespace.
10145
9af0bf29
JM
10146 * conform/conformtest.pl (@keywords): Only include C99 keywords
10147 for standards based on C99 or C11.
10148
343222a2
JM
10149 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
10150 Disable tests.
10151 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
10152 UNIX98]: Likewise.
10153
661f8cf0
JM
10154 * conform/conformtest.pl: Handle "macro-int-constant" and test for
10155 usability of symbols in #if.
10156
ee74b9cb
JM
10157 * conform/conformtest.pl: If macro or constant types start
10158 "promoted:", expect the symbol to be of the following type
10159 promoted by the integer promotions.
62fde54f 10160
aafc49b3
JM
10161 * conform/conformtest.pl: Parse all "constant" and "macro" lines
10162 in one place. Also handle "macro-constant".
10163
fefdf574
JM
10164 * conform/conformtest.pl: Only accept expected macro values with
10165 "==". Parse all "macro" lines in one place.
10166 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
10167
f2d922fe
JM
10168 * conform/conformtest.pl: Handle braced types on "constant" lines
10169 instead of handling "typed-constant".
10170 * conform/data/signal.h-data: Use "constant" instead of
10171 "typed-constant".
10172
d22956c9
JM
10173 * conform/conformtest.pl: Handle "optional-" at start of lines in
10174 one place rather than duplicating several cases. Handle each
10175 format of "macro" line with initial "optional-".
10176
028e2e38
JM
10177 * conform/conformtest.pl: Only accept expected constant or
10178 optional-constant values with "==". Parse all "constant" lines in
10179 one place. Parse all "optional-constant" lines in one place.
10180 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
10181 * conform/data/fmtmsg.h-data: Likewise.
10182 * conform/data/netinet/in.h-data: Likewise.
10183 * conform/data/tar.h-data: Likewise.
10184 * conform/data/limits.h-data: Use "==" form on "constant" and
10185 "optional-constant" lines.
10186
1b8f2850
JM
10187 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
10188 Use -std=c99 for XOPEN2K.
10189 (@knownproblems): Remove.
10190 (newtoken): Don't check %isknown.
10191
a05a144b
JM
10192 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
10193 Do not expect macro.
10194 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
10195 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
10196 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
10197 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
10198 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
10199 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
10200 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
10201 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
10202 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
10203 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
10204 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
10205 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
10206 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
10207 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
10208 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
10209 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
10210 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
10211 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
10212 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
10213 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
10214 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
10215 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
10216 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
10217 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
10218 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
10219 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
10220 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
10221 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
10222 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
10223 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
10224 [XPG3] (acosh): Likewise.
10225 [XPG3] (asinh): Likewise.
10226 [XPG3] (atanh): Likewise.
10227 [XPG3] (cbrt): Likewise.
10228 [XPG3] (expm1): Likewise.
10229 [XPG3] (ilogb): Likewise.
10230 [XPG3] (log1p): Likewise.
10231 [XPG3] (logb): Likewise.
10232 [XPG3] (nextafter): Likewise.
10233 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
10234 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
10235 [XPG3] (remainder): Likewise.
10236 [XPG3] (rint): Likewise.
10237 [XPG3 || XPG4 || UNIX98] (round): Likewise.
10238 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
10239 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
10240 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
10241 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
10242 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
10243 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
10244 [UNIX98 || XOPEN2K] (scalb): Expect.
10245 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
10246 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
10247 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
10248 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
10249 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
10250 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
10251 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
10252 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
10253 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
10254 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
10255 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
10256 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
10257 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
10258 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
10259 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
10260 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
10261 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
10262 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
10263 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
10264 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
10265 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
10266 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
10267 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
10268 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
10269 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
10270 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
10271 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
10272 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
10273 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
10274 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
10275 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
10276 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
10277 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
10278 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
10279 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
10280 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
10281 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
10282 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
10283 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
10284 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
10285 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
10286 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
10287 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
10288 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
10289 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
10290 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
10291 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
10292 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
10293 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
10294 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
10295 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
10296 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
10297 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
10298 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
10299 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
10300 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
10301 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
10302 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
10303 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
10304 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
10305 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
10306 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
10307 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
10308 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
10309 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
10310 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
10311 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
10312 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
10313 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
10314 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
10315 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
10316 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
10317 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
10318 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
10319 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
10320 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
10321 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
10322 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
10323 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
10324 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
10325 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
10326 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
10327 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
10328 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
10329 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
10330 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
10331 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
10332 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
10333 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
10334 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
10335 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
10336 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
10337 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
10338 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
10339 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
10340 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
10341 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
10342 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
10343 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
10344 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
10345 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
10346 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
10347 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
10348 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
10349 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
10350 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
10351 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
10352 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
10353 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
10354 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
10355 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
10356 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
10357 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
10358 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
10359 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
10360 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
10361 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
10362 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
10363 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
10364 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
10365 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
10366 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
10367 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
10368 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
10369 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
10370 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
10371 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
10372 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
10373 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
10374 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
10375 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
10376 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
10377 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
10378 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
10379 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
10380 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
10381 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
10382
73c5ebe3
JM
10383 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
10384 _XOPEN_SOURCE_EXTENDED for XPG4.
10385
39c33b6c
JM
10386 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
10387
62fde54f
JM
10388 * Makeconfig (localtime): Remove variable.
10389 (inst_localtime-file): Likewise.
10390
0741d64c
AS
103912012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10392
10393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10394 Update.
10395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10396 Update.
10397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10398 Update.
10399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10400 Update.
10401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10402 Update.
10403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
10404 Update.
10405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10406 Update.
10407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
10408 Update.
10409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10410 Update.
10411
7cb029ee
JM
104122012-05-01 Joseph Myers <joseph@codesourcery.com>
10413
10414 [BZ #2550]
10415 [BZ #2570]
10416 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
10417 comparisons to determine direction to adjust input.
10418 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10419 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
10420 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
10421 Likewise.
10422 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
10423 Likewise.
10424 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10425 Likewise.
10426 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
10427 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10428 Likewise.
10429 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10430 Likewise.
10431 * math/libm-test.inc (nexttoward_test): Add more tests.
10432
412bd966
AS
104332012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10434
10435 [BZ #14040]
10436 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
10437 in version GLIBC_2.1, not GLIBC_2.0.
10438 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
10439 Likewise.
10440
9568c0c2
JM
104412012-04-30 Joseph Myers <joseph@codesourcery.com>
10442
adfbc8ac
JM
10443 [BZ #13942]
10444 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
10445 (1 - x) * (1 + x).
10446 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10447 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
10448 * math/libm-test.inc (acos_test): Add more tests.
10449 (asin_test): Likewise.
10450 * sysdeps/i386/fpu/libm-test-ulps: Update.
10451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10452
5ba3cc69
JM
10453 [BZ #14034]
10454 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
10455 of square root.
10456 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
10457 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10458 * math/libm-test.inc (acos_test_tonearest): New function.
10459 (acos_test_towardzero): Likewise.
10460 (acos_test_downward): Likewise.
10461 (acos_test_upward): Likewise.
10462 (asin_test_tonearest): Likewise.
10463 (asin_test_towardzero): Likewise.
10464 (asin_test_downward): Likewise.
10465 (asin_test_upward): Likewise.
10466 (main): Call the new functions.
10467 * sysdeps/i386/fpu/libm-test-ulps: Update.
10468 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10469
9568c0c2
JM
10470 [BZ #13884]
10471 [BZ #13924]
10472 * math/e_exp10.c: Include <float.h>.
10473 (__ieee754_exp10): Handle underflow here rather than multiplying
10474 large negative argument by M_LN10.
10475 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
10476 of __ieee754_expf.
10477 * math/e_exp10l.c: Include <float.h>.
10478 (__ieee754_exp10l): Handle underflow here rather than multiplying
10479 large negative argument by M_LN10l.
10480 * math/libm-test.inc (exp10_test): Add another test. Do not allow
10481 spurious overflow exception on underflow.
10482
5ac3ea17
MP
104832012-04-29 Marek Polacek <polacek@redhat.com>
10484
10485 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
10486 (__fortify_function): New macro.
10487 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
10488 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
10489 __extern_always_inline.
10490 * libio/bits/stdio2.h: Likewise.
10491 * libio/bits/stdio.h: Likewise.
10492 * string/string.h: Likewise.
10493 * string/bits/string3.h: Likewise.
10494 * include/stdio.h: Likewise.
10495 * stdlib/bits/stdlib.h: Likewise.
10496 * stdlib/stdlib.h: Likewise.
10497 * rt/bits/mqueue2.h: Likewise.
10498 * rt/mqueue.h: Likewise.
10499 * posix/bits/unistd.h: Likewise.
10500 * posix/unistd.h: Likewise.
10501 * io/bits/poll2.h: Likewise.
10502 * io/bits/fcntl2.h: Likewise.
10503 * io/fcntl.h: Likewise.
10504 * io/sys/poll.h: Likewise.
10505 * misc/bits/syslog.h: Likewise.
10506 * misc/bits/syslog-ldbl.h: Likewise.
10507 * misc/sys/syslog.h: Likewise.
10508 * socket/bits/socket2.h: Likewise.
10509 * socket/sys/socket.h: Likewise.
10510 * debug/tst-chk1.c: Likewise.
10511 * wcsmbs/bits/wchar2.h: Likewise.
10512 * wcsmbs/bits/wchar-ldbl.h: Likewise.
10513 * wcsmbs/wchar.h: Likewise.
10514
ecf0ebfb
AJ
105152012-04-29 Andreas Jaeger <aj@suse.de>
10516
10517 * Makerules (tests): Remove enable-check-abi protection.
10518 (check-abi-warn): Remove.
10519 (check-abi-%): Remove check-abi-warn usage.
10520
10521 * configure.in: Remove check-abi configure option.
10522 * configure: Regenerated.
10523 * config.make.in (enable-check-abi): Remove.
10524
6d5c57fa
AS
105252012-04-28 Andreas Schwab <schwab@linux-m68k.org>
10526
24c5d07e 10527 [BZ #14033]
ded5180a
AS
10528 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
10529 double functions to double *_finite functions.
10530
7e0d315d
AS
10531 [BZ #13941]
10532 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
10533 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
10534 LDBL_MIN_EXP.
10535 * stdio-common/Makefile (tests): Add tst-sprintf3.
10536 * stdio-common/tst-sprintf3.c: New file.
10537
6d5c57fa
AS
10538 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
10539 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
10540
0749ff8b
JM
105412012-04-28 Joseph Myers <joseph@codesourcery.com>
10542
10543 * conform/conformtest.pl: Remove duplicate typed-constant
10544 handling.
10545
8dbd5d7b
DM
105462012-04-28 David S. Miller <davem@davemloft.net>
10547
10548 * Makerules (%.abilist): Add vpath on sysdep_dirs.
10549 (check-abi-%): Remove AWK script prerequisite and explicit
10550 abilist directory.
10551 (check-abi): Rewrite to just diff the symlist with the abilist.
10552 (config-tls, config-abi-config): Delete, no longer used.
10553 (update-abi-%): Remove AWK script and explicit abilist directory.
10554 (update-abi): Rewrite to simply compare and conditionally copy the
10555 symlist and the sysdep abilist file. Remove update-abi-config
10556 checks.
10557 * abilist/ld.abilist: Remove.
10558 * abilist/libBrokenLocale.abilist: Remove.
10559 * abilist/libanl.abilist: Remove.
10560 * abilist/libcrypt.abilist: Remove.
10561 * abilist/libdl.abilist: Remove.
10562 * abilist/librt.abilist: Remove.
10563 * abilist/libthread_db.abilist: Remove.
10564 * abilist/libutil.abilist: Remove.
10565 * scripts/extract-abilist.awk: Remove.
10566 * scripts/merge-abilist.awk: Remove.
10567 * sysdeps/generic/libcidn.abilist: New file.
10568 * sysdeps/generic/libnss_compat.abilist: New file.
10569 * sysdeps/generic/libnss_db.abilist: New file.
10570 * sysdeps/generic/libnss_dns.abilist: New file.
10571 * sysdeps/generic/libnss_files.abilist: New file.
10572 * sysdeps/generic/libnss_hesiod.abilist: New file.
10573 * sysdeps/generic/libnss_nis.abilist: New file.
10574 * sysdeps/generic/libnss_nisplus.abilist: New file.
10575 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
10576 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
10577 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
10578 file.
10579 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
10580 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
10581 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
10582 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
10583 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
10584 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
10585 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
10586 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
10587 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
10588 file.
10589 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
10590 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
10591 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
10592 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
10593 file.
10594 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
10595 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
10596 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
10597 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
10598 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
10599 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
10600 file.
10601 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
10602 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
10603 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
10604 file.
10605 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
10606 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
10607 New file.
10608 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
10609 New file.
10610 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
10611 New file.
10612 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
10613 New file.
10614 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
10615 New file.
10616 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
10617 New file.
10618 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
10619 New file.
10620 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
10621 New file.
10622 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
10623 New file.
10624 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
10625 New file.
10626 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
10627 New file.
10628 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
10629 New file.
10630 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
10631 New file.
10632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
10633 file.
10634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
10635 New file.
10636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
10637 New file.
10638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
10639 file.
10640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
10641 New file.
10642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
10643 New file.
10644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
10645 file.
10646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
10647 New file.
10648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10649 New file.
10650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
10651 New file.
10652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
10653 New file.
10654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
10655 New file.
10656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
10657 New file.
10658 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
10659 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
10660 file.
10661 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
10662 New file.
10663 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
10664 file.
10665 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
10666 file.
10667 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
10668 file.
10669 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
10670 file.
10671 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
10672 file.
10673 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10674 New file.
10675 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
10676 file.
10677 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
10678 file.
10679 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
10680 New file.
10681 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
10682 file.
10683 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
10684 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
10685 file.
10686 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
10687 New file.
10688 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
10689 file.
10690 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
10691 file.
10692 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
10693 file.
10694 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
10695 file.
10696 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
10697 file.
10698 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10699 New file.
10700 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
10701 file.
10702 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
10703 file.
10704 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
10705 New file.
10706 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
10707 file.
10708 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
10709 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
10710 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
10711 file.
10712 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
10713 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
10714 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
10715 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
10716 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
10717 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
10718 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
10719 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
10720 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
10721 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
10722 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
10723 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
10724 file.
10725 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10726 New file.
10727 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
10728 file.
10729 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
10730 file.
10731 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
10732 file.
10733 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
10734 file.
10735 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
10736 file.
10737 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10738 New file.
10739 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10740 New file.
10741 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
10742 file.
10743 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10744 New file.
10745 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
10746 file.
10747 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
10748 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
10749 file.
10750 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10751 New file.
10752 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
10753 file.
10754 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
10755 file.
10756 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
10757 file.
10758 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
10759 file.
10760 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
10761 file.
10762 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10763 New file.
10764 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10765 New file.
10766 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
10767 file.
10768 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10769 New file.
10770 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
10771 file.
10772
41d73a1b
JM
107732012-04-28 Joseph Myers <joseph@codesourcery.com>
10774
10775 * conform/conformtest.pl: Fix typo in handling typed-constant from
10776 allow-header.
10777
28aeeda4
JM
107782012-04-27 Joseph Myers <joseph@codesourcery.com>
10779
adae8f5e
JM
10780 * README: Cut down references to pre-2.6 Linux kernels and
10781 Linuxthreads. Update lists of configurations in libc and ports
10782 and sort alphabetically. Say "or newer" with Linux kernel version
10783 requirements.
10784
28aeeda4
JM
10785 * config.h.in [IS_IN_build]: Allow compiling without optimization.
10786
a462cb63
RA
107872012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10788
10789 [BZ #887]
10790 * math/libm-test.inc (logb_test_downward): New test to expose
10791 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
10792 rounding mode.
10793
6ad3493e
JM
107942012-04-27 Joseph Myers <joseph@codesourcery.com>
10795
10796 [BZ #14027]
10797 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
10798 to be done.
10799 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
10800 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
10801
2ce4f015
JM
108022012-04-26 Joseph Myers <joseph@codesourcery.com>
10803
5aeb141a
JM
10804 * sysdeps/unix/i386/brk.S: Remove file.
10805 * sysdeps/unix/i386/dl-brk.S: Likewise.
10806 * sysdeps/unix/i386/pipe.S: Likewise.
10807 * sysdeps/unix/i386/sigreturn.S: Likewise.
10808 * sysdeps/unix/i386/syscall.S: Likewise.
10809 * sysdeps/unix/i386/vfork.S: Likewise.
10810 * sysdeps/unix/i386/wait.S: Likewise.
10811
7143acae
JM
10812 * sysdeps/unix/common/tcsendbrk.c: Move to ...
10813 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
10814
2ce4f015
JM
10815 * configure.in (arm*-none*): Do not allow without
10816 --enable-hacker-mode.
10817 (netbsd*): Remove case setting base_os.
10818 (386bsd*): Likewise.
10819 (freebsd*): Likewise.
10820 (bsdi*): Likewise.
10821 (osf*): Likewise.
10822 (sunos*): Likewise.
10823 (ultrix*): Likewise.
10824 (newsos*): Likewise.
10825 (dynix*): Likewise.
10826 (*bsd*): Likewise.
10827 (sysv*): Likewise.
10828 (isc*): Likewise.
10829 (esix*): Likewise.
10830 (sco*): Likewise.
10831 (minix*): Likewise.
10832 (irix4*): Likewise.
10833 (irix6*): Likewise.
10834 (solaris[2-9]*): Likewise.
10835 (none): Likewise.
10836 * configure: Regenerated.
10837
0ac229c8
AZ
108382012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10839
10840 [BZ #11521]
10841 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
10842 overflow or cancellation in calculating denominator.
10843 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
10844 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
10845 down expression to avoid unexpected rounding in newer GCCs.
10846 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
10847
33f244f4
DM
108482012-04-26 David S. Miller <davem@davemloft.net>
10849
10850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
10851 long-double compat symbols.
10852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
10856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
10857 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
10858 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
10859 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
10860 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
10861 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
10862 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
10863 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
10864 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10865
cfa1f3e8
DM
108662012-04-25 David S. Miller <davem@davemloft.net>
10867
10868 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
10869 HWCAP_* values only after the memory barriers have been defined.
10870 (atomic_full_barrier): Define.
10871 (atomic_read_barrier): Define.
10872 (atomic_write_barrier): Define.
10873
6e236b92
SP
108742012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10875
10876 * shlib-versions: Add libgcc_s version information.
10877 * sysdeps/generic/libgcc_s.h: Remove.
10878 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
10879 libgcc_s.h.
10880 * sysdeps/gnu/unwind-resume.c: Likewise.
10881 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
10882
aab39a09
DM
108832012-04-25 David S. Miller <davem@davemloft.net>
10884
10885 * sysdeps/unix/sparc/brk.S: Delete.
10886 * sysdeps/unix/sparc/dl-brk.S: Delete.
10887 * sysdeps/unix/sparc/pipe.S: Delete.
10888 * sysdeps/unix/sparc/sysdep.S: Delete.
10889 * sysdeps/unix/sparc/sysdep.h: Delete.
10890 * sysdeps/unix/sparc/vfork.S: Delete.
10891 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
10892 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
10893 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
10894 ret_ERRVAL, r0, r1, MOVE): Define.
10895 (JUMPTARGET): Remove.
10896 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
10897 sysdeps/unix/sparc/sysdep.h
10898 (ENTRY, END): Remove.
10899 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10900
a3cc4f48
JM
109012012-04-25 Joseph Myers <joseph@codesourcery.com>
10902
2ed8cda2
JM
10903 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
10904 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
10905 -DIS_IN_build.
10906
35d76d59
JM
10907 * timezone/README: Update upstream location and email address for
10908 tzcode and tzdata.
10909 * timezone/zdump.c: Update from tzcode 2012b.
10910 * timezone/zic.c: Likewise.
10911
a3cc4f48
JM
10912 * configure.in (libc_cv_as_needed): Remove test.
10913 * configure: Regenerated.
10914 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
10915 conditional definition.
10916 [$(have-as-needed) != yes] (no-as-needed): Likewise.
10917 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
10918 * config.make.in (have-as-needed): Remove variable.
10919
ceab42c3
SP
109202012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10921 Paul Pluzhnikov <ppluzhnikov@google.com>
10922
10923 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
10924 strings correctly.
10925
3ce2865f
CLT
109262012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
10927
10928 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
10929 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
10930 * sysdeps/sh/strlen.S: Likewise.
10931
f37e0d68
JM
109322012-04-24 Joseph Myers <joseph@codesourcery.com>
10933
ae186e9a
JM
10934 * sysdeps/unix/fork.S: Remove file.
10935 * sysdeps/unix/i386/fork.S: Likewise.
10936 * sysdeps/unix/sparc/fork.S: Likewise.
10937
b96914af
JM
10938 * sysdeps/unix/system.c: Remove file.
10939 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
10940
f37e0d68
JM
10941 * sysdeps/unix/getegid.S: Remove file.
10942 * sysdeps/unix/geteuid.S: Likewise.
10943
87ef29ca
RM
109442012-04-24 Roland McGrath <roland@hack.frob.com>
10945
83bcd236
RM
10946 * scripts/check-localplt.awk: New file.
10947 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
10948 of diff.
10949 * scripts/data/localplt-generic.data: Add a comment.
10950
87ef29ca
RM
10951 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
10952 NODE when __dir_mkfile failed.
10953 * sysdeps/mach/hurd/symlinkat.c: Likewise.
10954 Reported by Ludovic Courtès <ludo@gnu.org>.
10955
e5a6e567
AJ
109562012-04-24 Andreas Jaeger <aj@suse.de>
10957
10958 * Makerules (common-clean): Also remove gen-as-const-headers
10959 files.
10960
c1820385
JM
109612012-04-24 Joseph Myers <joseph@codesourcery.com>
10962
10963 * Makerules (native-compile): Do not change working directory for
10964 build. Use $(OUTPUT_OPTION) in command.
10965 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
10966
94e02fc4
AZ
109672012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10968
10969 [BZ #13886]
10970 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
10971 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
10972 * math/libm-test.inc (floor_test): Add more tests.
10973 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
10974
3a533ca3
JM
109752012-04-24 Joseph Myers <joseph@codesourcery.com>
10976
940ab4b3
JM
10977 * sysdeps/unix/getdents.c: Remove file.
10978 * sysdeps/unix/sysv/getdents.c: Likewise.
10979 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
10980
90e037bd
JM
10981 * sysdeps/unix/syscalls.list (madvise): Add syscall from
10982 sysdeps/unix/mman/syscalls.list.
10983 (mmap): Likewise.
10984 (mprotect): Likewise.
10985 (msync): Likewise.
10986 (munmap): Likewise.
10987 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
10988 * sysdeps/unix/mman/syscalls.list: Remove.
10989 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
10990
3a533ca3
JM
10991 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
10992 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
10993 * configure: Regenerated.
10994 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
10995 $(libgcc_s_suffix).
10996 * config.make.in (libgcc_s_suffix): Remove variable.
10997
1ad743de
JM
109982012-04-23 Joseph Myers <joseph@codesourcery.com>
10999
4ad451e2
JM
11000 * sysdeps/unix/sysv/gethostname.c: Move to ...
11001 * sysdeps/posix/gethostname.c: ... here.
11002
5e37ce39
JM
11003 * sysdeps/unix/execve.S: Remove file.
11004
1ad743de
JM
11005 * sysdeps/unix/_exit.S: Remove file.
11006
4e681b5b
AJ
110072012-04-23 Andreas Jaeger <aj@suse.de>
11008
11009 [BZ #13739]
11010 * manual/Makefile: Remove make dist support, there's no
11011 need for a stand-alone documentation tar ball.
11012 (TEXI2DVI): Define always, it's not in Makeconfig.
11013 (dist): Removed.
11014 (tar-it): Removed.
11015 (edition): Removed.
11016 (glibc-doc-$(edition).tar): Removed
11017 (%.Z): Removed.
11018 (%.gz): Removed.
11019 (%.uu): Removed.
11020 (ETAGS): Remove, it's in Makeconfig.
11021 (move-if-change): Remove, it's in Makeconfig.
11022
c0baea34
PE
110232013-04-23 Paul Eggert <eggert@cs.ucla.edu>
11024
11025 [BZ #13970]
11026 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
11027 (strtod, strtof, strtold, strtol, strtoul, strtoq)
11028 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
11029 (strtod_l, strtof_l, strtold_l): Remove __wur.
11030 It is not necessarily an error to ignore strtol's return value.
11031 One can reliably look at the stored endptr to decide whether
11032 the number had valid syntax.
11033
7c0616fa
AJ
110342012-04-21 Andreas Jaeger <aj@suse.de>
11035
803cb6b7 11036 [BZ #13739]
7c0616fa
AJ
11037 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
11038
b0fe253f
JM
110392012-04-21 Joseph Myers <joseph@codesourcery.com>
11040
11041 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
11042 * sysdeps/unix/sysv/Versions: Remove file.
11043
8280f22d
MT
110442012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
11045
11046 [BZ #13927]
11047 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11048
75ce411f 110492012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
11050
11051 [BZ #7064]
11052 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
11053 version from __vm86.
11054
097d59fa
JM
110552012-04-20 Joseph Myers <joseph@codesourcery.com>
11056
a90f3bcb
JM
11057 * sysdeps/unix/common/lxstat.c: Remove file.
11058 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
11059
edc7ea78
JM
11060 * sysdeps/unix/sysv/Makefile: Remove file.
11061
cb78c221
JM
11062 * sysdeps/unix/sysv/direct.h: Remove file.
11063
efa6a45f
JM
11064 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
11065 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
11066 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
11067 * sysdeps/unix/sysv/bits/signum.h: Likewise.
11068 * sysdeps/unix/sysv/bits/stat.h: Likewise.
11069 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
11070 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
11071
9c9f2d0c
JM
11072 * sysdeps/unix/sysv/setrlimit.c: Remove file.
11073
4541c83b
JM
11074 * sysdeps/unix/xmknod.c: Remove file.
11075 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
11076
f5d153a0
JM
11077 * sysdeps/unix/sysv/settimeofday.c: Remove file.
11078
aa746595
JM
11079 * sysdeps/unix/sysv/i386/time.S: Remove file.
11080
cce5905e
JM
11081 * sysdeps/unix/fxstat.c: Remove file.
11082 * sysdeps/unix/xstat.c: Likewise.
11083 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
11084
37fa3841
JM
11085 * sysdeps/unix/sysv/sigaction.c: Remove file.
11086
ff1962a3
JM
11087 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
11088 (sysdep_headers): Remove variable.
11089 [termio.h not in sysdep_headers] (generated): Likewise.
11090 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
11091 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
11092 * sysdeps/unix/sysv/tcdrain.c: Likewise.
11093 * sysdeps/unix/sysv/tcflow.c: Likewise.
11094 * sysdeps/unix/sysv/tcflush.c: Likewise.
11095 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
11096 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
11097 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
11098 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
11099 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
11100
e7740d31
JM
11101 * sysdeps/unix/siglist.c: Remove file.
11102
ee06f18b
JM
11103 * sysdeps/unix/getppid.S: Remove file.
11104
097d59fa
JM
11105 * sysdeps/unix/mkdir.c: Remove file.
11106 * sysdeps/unix/rmdir.c: Likewise.
11107
ff3d51ec
AS
111082012-04-19 Andreas Schwab <schwab@linux-m68k.org>
11109
11110 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
11111 ERR_MAX value.
11112 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
11113 errlist-compat value.
11114
50f81fd7
DM
111152012-04-18 David S. Miller <davem@davemloft.net>
11116
11117 * sysdeps/generic/memcopy.h (reg_char): Delete.
11118 * debug/strcat_chk.c: Use char, not reg_char.
11119 * debug/strcpy_chk.c: Likewise.
11120 * debug/strncat_chk.c: Likewise.
11121 * debug/strncpy_chk.c: Likewise.
11122 * string/memchr.c: Likewise.
11123 * string/memrchr.c: Likewise.
11124 * string/rawmemchr.c: Likewise.
11125 * string/strcat.c: Likewise.
11126 * string/strchr.c: Likewise.
11127 * string/strchrnul.c: Likewise.
11128 * string/strcmp.c: Likewise.
11129 * string/strcpy.c: Likewise.
11130 * string/strncat.c: Likewise.
11131 * string/strncmp.c: Likewise.
11132 * string/strncpy.c: Likewise.
11133
8ff41c46
WS
111342012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11135
11136 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
11137 __builtin_memcopy is called when src and dest ranges are known to not
11138 overlap.
11139
6b652f46
WS
111402012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11141
11142 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
11143 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
11144 fwd_align_merge macro call.
11145 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
11146 bwd_align_merge macro call.
11147 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11148
b282631e
WS
111492012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11150
11151 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
11152 bwd_align_merge macros.
11153 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
11154 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
11155 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11156
95aa737c
DM
111572012-04-18 David S. Miller <davem@davemloft.net>
11158
11159 * sysdeps/sparc/sparc64/memcopy.h: Delete.
11160
7a99a614
AJ
111612012-04-18 Andreas Jaeger <aj@suse.de>
11162
11163 [BZ# 6794]
11164 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
11165 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
11166 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11167
11168 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
11169 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
11170 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11171
11172 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
11173 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
11174 Adjust for changed ldbl-128 files.
11175
11176 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
11177 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
11178 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11179
e5270c23
DM
111802012-04-17 David S. Miller <davem@davemloft.net>
11181
11182 * sysdeps/sparc/sparc32/memcopy.h: Delete.
11183
fb5e92c9
AS
111842012-04-17 Andreas Schwab <schwab@linux-m68k.org>
11185
11186 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
11187 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
11188 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
11189 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
11190 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11191 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
11192
76da7265
AZ
111932012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11194
11195 [BZ #6794]
11196 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
11197 * math/libm-test.inc: Add ilogb errno and exception tests.
11198 * math/w_ilogb.c: New file: ilogb wrapper.
11199 * math/w_ilogbf.c: New file: ilogbf wrapper.
11200 * math/w_ilogbl.c: New file: ilogbl wrapper.
11201 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
11202 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
11203 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
11204 exception being thrown with 0.0 as argument.
11205 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
11206 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
11207 exception being thrown with 0.0 as argument.
11208 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
11209 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11210 exception being thrown with 0.0 as argument.
11211 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
11212 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11213 exception being thrown with 0.0 as argument.
11214 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
11215 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 11216 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
11217 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
11218 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
11219 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
11220 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
11221 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
11222 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
11223
0396e69d
PB
112242012-04-17 Petr Baudis <pasky@ucw.cz>
11225
11226 * include/sys/uio.h: Change __vector to __iovec to avoid clash
11227 with altivec.
11228
750b5926
MP
112292012-04-16 Marek Polacek <polacek@redhat.com>
11230
11231 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
11232
751728a1
MP
112332012-04-16 Marek Polacek <polacek@redhat.com>
11234
11235 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
11236 operands of fdivp instruction.
11237
34a27407
L
112382012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11239
11240 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
11241 * elf/tst-auditmod3b.c: Likewise.
11242 * elf/tst-auditmod4b.c: Likewise.
11243 * elf/tst-auditmod5b.c: Likewise.
11244 * elf/tst-auditmod6b.c: Likewise.
11245 * elf/tst-auditmod6c.c: Likewise.
11246 * elf/tst-auditmod7b.c: Likewise.
11247 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
11248 * sysdeps/x86_64/preconfigure.in: Likewise.
11249 * sysdeps/x86_64/preconfigure: Regenerated.
11250
7e73e17d
L
112512012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11252
11253 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
11254 __ILP32__.
11255
c7a6ab72
AB
112562012-04-13 Antoine Balestrat <merkil33@gmail.com>
11257
11258 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11259 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
11260
a9e8e0e0
CL
112612012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
11262
11263 [BZ #13973]
11264 * locale/iso-639.def: Fix gl language name. Spotted by
11265 Yaron Shahrabani.
11266
ec98af7d
RM
112672012-04-12 Roland McGrath <roland@hack.frob.com>
11268
11269 [BZ #2074]
11270 * libio/libio.h (__io_write_fn): Update comment.
11271
247c3ede
PB
112722012-04-12 Petr Baudis <pasky@ucw.cz>
11273
11274 [BZ #2074]
11275 * stdio.texi (Hook Functions): The user provided writer function
11276 is not allowed to return -1.
11277
55939d6d
DM
112782012-04-11 David S. Miller <davem@davemloft.net>
11279
11280 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11281
90020f5a
MF
112822012-04-11 Mike Frysinger <vapier@gentoo.org>
11283
11284 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
11285 Add a leading slash to rtkaio.
11286
288f9098
JM
112872012-04-11 Jim Meyering <meyering@redhat.com>
11288
90020f5a
MF
11289 [BZ #11959]
11290 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
11291 It is not necessarily an error to ignore fwrite's return
11292 value. One can reliably use ferror to test for errors after
11293 the fact.
288f9098 11294
4be2b570
L
112952012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11296
11297 * bits/types.h (__snseconds_t): New type.
11298 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
11299
11300 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
11301 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11302 (__SNSECONDS_T_TYPE): Likewise.
11303 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11304 (__SNSECONDS_T_TYPE): Likewise.
11305 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11306 (__SNSECONDS_T_TYPE): Likewise.
11307
288f9098 113082012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
11309
11310 [BZ #2636]
11311 * manual/time.texi (Processor Time): Return type of times is
11312 elapsed real time since an arbitrary point in the past.
11313 (CPU Time): Move CLK_TCK from here...
11314 (Processor Time): ...to here. Correct description.
11315 * manual/conf.texi (Constants for Sysconf): Correct description of
11316 _SC_CLK_TCK.
11317
d7dd4413
DM
113182012-04-10 David S. Miller <davem@davemloft.net>
11319
11320 [BZ #13967]
11321 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
11322 where the is a gap between DT_REL(A) and DT_JMPREL.
11323
b46068fc
L
113242012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11325
11326 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
11327 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11328 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11329
73d65cc3
SP
113302012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11331
11332 * elf/dl-support.c (_dl_inhibit_cache): New variable.
11333 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
11334 (dl_main): Handle --inhibit-cache.
11335 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
11336 _dl_inhibit_cache.
11337 * elf/dl-load.c (_dl_map_object): Use it.
11338 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
11339
bcc8d661
JM
113402012-04-09 Joseph Myers <joseph@codesourcery.com>
11341
8f9a2fae
JM
11342 [BZ #13872]
11343 * sysdeps/i386/fpu/e_powl.S (p78): New object.
11344 (__ieee754_powl): Saturate large exponents rather than testing for
11345 overflow of y*log2(x).
11346 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11347 * math/libm-test.inc (pow_test): Do not permit spurious overflow
11348 exceptions.
11349
bcc8d661
JM
11350 [BZ #11521]
11351 * math/s_ctan.c: Include <float.h>.
11352 (__ctan): Avoid internal overflow or cancellation in calculating
11353 denominator.
11354 * math/s_ctanf.c: Likewise.
11355 * math/s_ctanl.c: Likewise.
11356 * math/s_ctanh.c: Likewise.
11357 * math/s_ctanhf.c: Likewise.
11358 * math/s_ctanhl.c: Likewise.
11359 * math/libm-test.inc (ctan_test): Add more tests.
11360 (ctanh_test): Likewise.
11361 * sysdeps/i386/fpu/libm-test-ulps: Update.
11362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11363
823fbbb4
AJ
113642012-04-09 Andreas Jaeger <aj@suse.de>
11365
03879793
AJ
11366 [BZ #6894]
11367 * manual/filesys.texi (Directory Entries): Mention that d_namlen
11368 is an optional BSD extension.
11369
823fbbb4
AJ
11370 [BZ #10254]
11371 * manual/stdio.texi (Opening Streams): Document additional fopen
11372 parameters.
11373
8de131cb
RM
113742012-04-09 Roland McGrath <roland@hack.frob.com>
11375
11376 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
11377 %eax without telling the compiler.
11378
c0ed9d7d
CD
113792012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
11380
11381 [BZ # 13963]
11382 * manual/install.texi: Use sourceware.org.
11383
c483f6b4
JM
113842012-04-09 Joseph Myers <joseph@codesourcery.com>
11385
d7dd9453
JM
11386 [BZ #13873]
11387 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
11388 (__ieee754_pow): Generate overflow and underflow using huge*huge
11389 and tiny*tiny rather than just returning constant infinity or zero
11390 for large exponents.
11391 * math/libm-test.inc (pow_test): Require overflow exceptions for
11392 applicable cases of large exponents.
11393
c483f6b4
JM
11394 [BZ #706]
11395 * sysdeps/i386/fpu/e_pow.S (p10): New object.
11396 (__ieee754_pow): Use iterative multiplication algorithm only for
11397 integer exponents with absolute value below 1024. Check for odd
11398 integer exponents when using algorithm for real exponents.
11399 * math/libm-test.inc (pow_test): Add more tests.
11400 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11401
d2de7579
JM
114022012-04-08 Joseph Myers <joseph@codesourcery.com>
11403
11404 [BZ #13705]
11405 * math/libm-test.inc (exp_test): Do not allow overflow exception
11406 on underflow test.
11407
f77f1232
AJ
114082012-04-08 Aurelien Jarno <aurelien@aurel32.net>
11409
11410 [BZ #13705]
11411 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
11412 instead of __kernel_standard_f.
11413
3884932b
MF
114142012-04-08 Mike Frysinger <vapier@gentoo.org>
11415
11416 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
11417 * sysdeps/x86_64/memset_chk.S: Likewise.
11418
54472e9c
AJ
114192012-04-08 Andreas Jaeger <aj@suse.de>
11420
6ab0fbfc
AJ
11421 [BZ #10153]
11422 * manual/startup.texi (Environment Access): Describe return value
11423 for putenv and setenv.
11424
61efba8c
AJ
11425 [BZ #6895]
11426 * manual/filesys.texi (Directory Entries): Add description for
11427 DT_LNK.
11428
95c3f29a
AJ
11429 [BZ #6890]
11430 * manual/filesys.texi (Directory Entries): Clarify that it's file
11431 system not operating system in the description of DT_UNKNOWN.
11432
54472e9c
AJ
11433 [BZ #6578]
11434 * manual/syslog.texi (closelog): Fix reference, it's openlog.
11435
624254b1
SC
114362012-04-08 Stephen Compall <s11@member.fsf.org>
11437
11438 [BZ #6649]
11439 * manual/llio.texi (Opening and Closing Files): Add cross
11440 reference to explain mode argument.
11441
1e4920e0
MF
114422012-04-07 Mike Frysinger <vapier@gentoo.org>
11443
11444 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
11445 * sysdeps/x86_64/memset_chk.S: Likewise.
11446
5ed848f3
DM
114472012-04-07 David S. Miller <davem@davemloft.net>
11448
11449 * elf/elf.h (R_SPARC_WDISP10): Define.
11450 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
11451 R_SPARC_SIZE32.
11452 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
11453 R_SPARC_SIZE64 and R_SPARC_H34.
11454
96154cd8
CD
114552012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
11456
11457 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
11458 conditions and remove no longer applicable assertion.
11459
9904dc47
L
114602012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11461
11462 * bits/byteswap.h: Include <features.h>.
11463 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11464 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11465
f8887d0a
L
114662012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11467
11468 * bits/byteswap.h (__bswap_16): Removed.
11469 Include <bits/byteswap-16.h> to get __bswap_16.
11470 * sysdeps/i386/bits/byteswap.h: Likewise.
11471 * sysdeps/s390/bits/byteswap.h: Likewise.
11472 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11473 * bits/byteswap-16.h: New file.
11474 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11475 * sysdeps/s390/bits/byteswap-16.h: Likewise.
11476 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
11477 * string/Makefile (headers): Add bits/byteswap-16.h.
11478
62470f60
PP
114792012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11480
11481 [BZ #13895]
11482 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
11483 extra indirection.
11484 * nss/Makefile (tests-static, tests): Add tst-nss-static.
11485 * nss/tst-nss-static.c: New.
11486
4dad7bab
RM
114872012-04-06 Robert Millan <rmh@gnu.org>
11488
11489 [BZ #6486]
11490 * manual/llio.texi (File Position Primitive): lseek
11491 refers to WHENCE when it really means OFFSET.
11492
e9142a17
AJ
114932012-04-06 Andreas Jaeger <aj@suse.de>
11494
2c040eff
AJ
11495 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
11496 strncmp declarations.
11497
e9142a17
AJ
11498 * abilist/libc.abilist: Add __poll and __ppoll.
11499
ff9f1c5f
DM
115002012-04-05 David S. Miller <davem@davemloft.net>
11501
dcd2ae90
DM
11502 * scripts/check-local-headers.sh: Accept a host triplet in the
11503 path matched by the exclude regexp.
11504
993eb054
DM
11505 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
11506 definition.
11507 * sysdeps/powerpc/powerpc32/dl-machine.h
11508 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
11509 * sysdeps/s390/s390-32/dl-machine.h
11510 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11511 * sysdeps/sparc/sparc32/dl-machine.h
11512 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11513 * sysdeps/sparc/sparc64/dl-machine.h
11514 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11515
ff9f1c5f
DM
11516 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
11517 lazy binding.
48e2e132 11518 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
11519 undefined symbol errors.
11520
48e2e132 11521 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
11522 DT_NEEDED entries.
11523
e80d6f94
MM
115242012-04-05 Michael Matz <matz@suse.de>
11525
11526 [BZ #13592]
11527 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
11528
349fa79f
AJ
115292012-04-05 Andreas Jaeger <aj@suse.de>
11530
11531 [BZ #13908]
11532 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
11533 comment.
11534
f402708f
KK
115352012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11536
11537 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
11538 which ROUND is no valid rounding mode.
11539
2ecccfc9
KK
115402012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11541
11542 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
11543 read again.
11544 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
11545
8a53f50f
KK
115462012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11547
11548 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
11549 an exception using FPU order intentionally.
11550
115512012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11552
11553 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
11554 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
11555 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
11556 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
11557
d653abb7
SJ
115582012-04-05 Simon Josefsson <simon@josefsson.org>
11559
11560 [BZ #12340]
11561 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
11562 EINVAL when BUFLEN is too smal.
11563
c3b1bf7d
TS
115642012-04-05 Thomas Schwinge <thomas@codesourcery.com>
11565
11566 [BZ #13553]
11567 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
11568 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
11569
b1aa60f3
AJ
115702012-04-03 Andreas Jaeger <aj@suse.de>
11571
c3b1bf7d 11572 [BZ #13938]
67f60a26
AJ
11573 * manual/setjmp.texi (System V contexts): Fix sentence.
11574
b1aa60f3
AJ
11575 [BZ #13926]
11576 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
11577 New macro for this case.
11578 [!__GNUC__] (__bswap_64): New inline function for this case.
11579 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11580 * bits/byteswap.h: Likewise.
11581 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
11582 ull, guard with __GLIBC_HAVE_LONG_LONG.
11583
11584 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
11585 __GLIBC_HAVE_LONG_LONG.
11586
11587 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
11588 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
11589
39c59c35
TMQMF
115902012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11591
11592 [BZ #13691]
11593 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
11594 inptr and inend, rather than using last_ch.
11595
135ffda8
DM
115962012-04-02 David S. Miller <davem@davemloft.net>
11597
11598 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
11599 * stdio-common/printf-parse.h (read_int): Change return type to
11600 'int', return -1 on INT_MAX overflow.
11601 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
11602 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
11603 overflows INT_MAX. Check for overflow of in-format-string precision
11604 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
11605 SIZE_MAX not INT_MAX for integer overflow test.
11606 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
11607 skip the construct in the format string but do not record anything.
11608 * stdio-common/bug22.c: Adjust to test both width/prevision
11609 INT_MAX overflow as well as total length INT_MAX overflow. Check
11610 explicitly for proper errno values.
11611
228c019e
TS
116122012-04-02 Thomas Schwinge <thomas@codesourcery.com>
11613
302cadd3
TS
11614 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
11615 CHAR_MAX.
11616 * string/test-strcmp.c [! WIDE]: Likewise.
11617 * time/tst-mktime2.c: Likewise for INT_MAX.
11618 * string/test-string.h: #include <sys/param.h> for MIN.
11619
228c019e
TS
11620 * csu/init-first.c (__libc_init_first): Call __ctype_init.
11621 * sysdeps/i386/init-first.c (init): Likewise.
11622 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
11623 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
11624 * sysdeps/sh/init-first.c (init): Likewise.
11625
cfa633f5
UD
116262012-04-01 Ulrich Drepper <drepper@gmail.com>
11627
11628 * po/ru.po: Update from translation team.
d1635ef8 11629 * po/vi.po: Likewise.
cfa633f5 11630
6cd0a5ea
SP
116312012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11632
11633 * resolv/nss_dns/dns-host.c: Merge copyright years.
11634
4b43400f
LD
116352012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11636
11637 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
11638 Optimize memcpy with prefetch if
11639 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
11640 src, dst pointers have unequal 16 byte alignments.
11641
48c41d04
SP
116422012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11643
11644 [BZ #13928]
11645 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
11646 from a CNAME entry and return the minimum ttl for the query.
11647 (gaih_getanswer_slice): Likewise.
11648
b8dc394d
JL
116492012-03-30 Jeff Law <law@redhat.com>
11650
11651 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
11652 due to long keys.
11653 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
11654 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11655
2f5a5ed0
JL
11656 * resolv/nss_dns/dns-host.c: Update copyright year.
11657
1d39e359
UD
116582012-03-30 Ulrich Drepper <drepper@gmail.com>
11659
c030f70c 11660 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 11661 requests to save a system call. Fix check that all bytes are sent.
c030f70c 11662
1d39e359
UD
11663 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
11664 comments for sendmmsg.
11665
116662012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
11667
11668 [BZ #13691]
11669 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
11670 with only 1 character between 0x0041 and 0x01b0.
11671 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
11672 * wcsmbs/tst-mbsnrtowcs.c: New file.
11673
20fde227
DM
116742012-03-29 David S. Miller <davem@davemloft.net>
11675
11676 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
11677 small copies by hand.
11678
984a4237
JL
116792012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11680
11681 [BZ #13761]
11682 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
11683 _nss_compat_initgroups_dyn): Fall back to malloc/free
11684 for large group memberships.
11685
18c9d62b
DM
116862012-03-28 David S. Miller <davem@davemloft.net>
11687
88d85d4f
DM
11688 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
11689 that branches into memcpy.
11690 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
11691 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
11692 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11693 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
11694 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
11695 bits.
11696 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
11697 implementation too.
11698 * sysdeps/sparc/mempcpy.S: New file.
11699
e5aa83e1
DM
11700 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
11701 the IFUNC routine in the libc case.
11702 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11703
88570753
DM
11704 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
11705 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
11706 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
11707 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
11708 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
11709 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
11710 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
11711 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
11712
249d7567
DM
11713 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
11714 loop to 256 bytes instead of 64 bytes and fix test signedness.
11715
18c9d62b
DM
11716 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
11717 * sysdeps/sparc/sparc32/Makefile: rather than here...
11718 * sysdeps/sparc/sparc64/Makefile: and here.
11719
05f3d1f6
UD
117202012-03-28 Ulrich Drepper <drepper@gmail.com>
11721
11722 * malloc/mallocbug.c: Avoid warnings about unused variables.
11723
86ae07a8
JL
117242012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11725
11726 [BZ #13760]
11727 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
11728 in the right place. Discard and retry query if response is
11729 larger than input buffer size.
11730
41bf21a1
JM
117312012-03-28 Joseph Myers <joseph@codesourcery.com>
11732
d6270972
JM
11733 [BZ #369]
11734 [BZ #2678]
11735 [BZ #3866]
11736 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
11737 x for large integer exponent.
11738 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11739 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
11740 sign of result as needed afterwards.
11741 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11742 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
11743 result for underflowing pow the same as for overflow.
11744 (__kernel_standard_l): Handle powl overflow and underflow here
11745 rather than calling __kernel_standard.
11746 * math/libm-test.inc (pow_test): Add more tests.
11747
414fca03 11748 [BZ #3868]
41bf21a1
JM
11749 [BZ #13879]
11750 [BZ #13910]
11751 [BZ #13911]
11752 [BZ #13912]
11753 [BZ #13913]
11754 [BZ #13915]
11755 [BZ #13916]
11756 [BZ #13917]
11757 [BZ #13918]
11758 [BZ #13919]
11759 [BZ #13920]
11760 [BZ #13921]
11761 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
11762 * sysdeps/ieee754/k_standard.c: Include <float.h>.
11763 (__kernel_standard_l): New function.
11764 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
11765 __kernel_standard.
11766 * math/w_acosl.c (__acosl): Likewise.
11767 * math/w_asinl.c (__asinl): Likewise.
11768 * math/w_atan2l.c (__atan2l): Likewise.
11769 * math/w_atanhl.c (__atanhl): Likewise.
11770 * math/w_coshl.c (__coshl): Likewise.
11771 * math/w_exp10l.c (__exp10l): Likewise.
11772 * math/w_exp2l.c (__exp2l): Likewise.
11773 * math/w_fmodl.c (__fmodl): Likewise.
11774 * math/w_hypotl.c (__hypotl): Likewise.
11775 * math/w_j0l.c (__j0l, __y0l): Likewise.
11776 * math/w_j1l.c (__j1l, __y1l): Likewise.
11777 * math/w_jnl.c (__jnl, __ynl): Likewise.
11778 * math/w_lgammal.c (__lgammal): Likewise.
11779 * math/w_log10l.c (__log10l): Likewise.
11780 * math/w_log2l.c (__log2l): Likewise.
11781 * math/w_logl.c (__logl): Likewise.
11782 * math/w_powl.c (__powl): Likewise.
11783 * math/w_remainderl.c (__remainderl): Likewise.
11784 * math/w_scalbl.c (sysv_scalbl): Likewise.
11785 * math/w_sinhl.c (__sinhl): Likewise.
11786 * math/w_sqrtl.c (__sqrtl): Likewise.
11787 * math/w_tgammal.c (__tgammal): Likewise.
11788 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
11789 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
11790 * math/libm-test.inc (acos_test): Add more tests.
11791 (acosh_test): Likewise.
11792 (asin_test): Likewise.
11793 (atanh_test): Likewise.
11794 (exp_test): Likewise.
11795 (exp10_test): Likewise.
11796 (exp2_test): Likewise.
11797 (expm1_test): Likewise.
11798 (lgamma_test): Likewise.
11799 (log_test): Likewise.
11800 (log10_test): Likewise.
11801 (log1p_test): Likewise.
11802 (log2_test): Likewise.
11803 (pow_test): Do not allow some spurious overflow exceptions.
11804 (sqrt_test): Add more tests.
11805 (tgamma_test): Likewise.
11806 (y0_test): Likewise.
11807 (y1_test): Likewise.
11808 (yn_test): Likewise.
11809
dd62fda6
AB
118102012-03-27 Anton Blanchard <anton@samba.org>
11811
11812 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
11813 MAP_HUGETLB.
11814 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11815 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11816 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11817
1e3cdfda
AJ
118182012-03-27 David S. Miller <davem@davemloft.net>
11819
b855ab85
DM
11820 * conform/Makefile: Run run-conformtest.sh using $(BASH).
11821
1e3cdfda
AJ
11822 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
11823 have-as-vis3 check.
11824
118252012-03-27 Andreas Jaeger <aj@suse.de>
11826
11827 * sysdeps/x86_64/elf/configure.in: Moved to ...
11828 * sysdeps/x86_64/configure.in: ... here.
11829 * sysdeps/x86_64/elf/start.S: Moved to ...
11830 * sysdeps/x86_64/start.S: ... here.
11831 * sysdeps/x86_64/elf/configure: Delete.
11832
11833 * sysdeps/x86_64/configure.in: Merge contents from
11834 sysdeps/i386/configure.in (without i686 check).
11835
11836 * sysdeps/i386/elf/Versions: Merge into ...
11837 * sysdeps/i386/Versions: ... this.
11838 * sysdeps/i386/elf/Versions: Delete file.
11839 * sysdeps/i386/elf/start.S: Moved to ...
11840 * sysdeps/i386/start.S: ...here.
11841 * sysdeps/i386/elf/configure.in: Merge into...
11842 * sysdeps/i386/configure.in: ...here.
11843 * sysdeps/i386/elf/configure.in: Delete file.
11844 * sysdeps/i386/elf/configure: Delete file.
11845
11846 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
11847 * debug/backtracesyms.c: ... here.
11848 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
11849 * debug/backtracesymsfd.c: ... here.
11850 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
11851 * sysdeps/generic/ifunc-sel.h: ... here.
11852
11853 * sysdeps/unix/i386/start.c: Delete file.
11854 * sysdeps/unix/sparc/start.c: Delete file.
11855 * sysdeps/unix/start.c: Delete file.
11856
11857 * sysdeps/sh/elf/configure.in: Moved to ...
11858 * sysdeps/sh/configure.in: ... here.
11859 * sysdeps/sh/elf/start.S: Moved to ...
11860 * sysdeps/sh/start.S: ... here.
11861 * sysdeps/sh/elf/configure: Delete file.
11862
11863 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
11864 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
11865 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
11866 * sysdeps/powerpc/powerpc64/entry.h: ... here.
11867 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
11868 * sysdeps/powerpc/powerpc64/start.S: here.
11869 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
11870 * sysdeps/powerpc/powerpc64/Makefile: ... this.
11871 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
11872 * sysdeps/powerpc/powerpc64/configure.in: ... this.
11873 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
11874
11875 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
11876 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
11877 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
11878 * sysdeps/powerpc/powerpc32/start.S: ... here.
11879 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
11880 * sysdeps/powerpc/powerpc32/configure.in: ... this.
11881 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
11882
11883 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
11884 * sysdeps/powerpc/ifunc-sel.h: ... here.
11885 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
11886 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
11887
11888 * sysdeps/sparc/elf/configure.in: Moved to ...
11889 * sysdeps/sparc/configure.in: ... here.
11890 * sysdeps/sparc/elf/configure: Delete file.
11891 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
11892 * sysdeps/sparc/sparc32/start.S: ... here.
11893 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
11894 * sysdeps/sparc/sparc64/start.S: ... here.
11895 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
11896 * sysdeps/sparc/sparc32/Makefile: ... this.
11897 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
11898 * sysdeps/sparc/sparc64/Makefile: ... this.
11899
11900 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
11901 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
11902 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
11903 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
11904 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
11905 * sysdeps/s390/s390-32/setjmp.S: ... here.
11906 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
11907 * sysdeps/s390/s390-32/configure.in: ... here.
11908 * sysdeps/s390/s390-32/elf/configure: Delete file.
11909 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
11910 * sysdeps/s390/s390-32/start.S: ... here.
11911
11912 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
11913 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
11914 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
11915 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
11916 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
11917 * sysdeps/s390/s390-64/setjmp.S: ... here.
11918 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
11919 * sysdeps/s390/s390-64/configure.in: ... here
11920 * sysdeps/s390/s390-64/elf/configure: Delete file.
11921 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
11922 * sysdeps/s390/s390-64/start.S: ... here.
11923 * sysdeps/s390/s390-64/elf/configure: Delete.
11924
11925 * configure.in: Remove support for elf directories in sysdeps.
11926
11927 * configure: Regenerated.
11928 * sysdeps/i386/configure: Regenerated.
11929 * sysdeps/powerpc/powerpc32/configure: Regenerated.
11930 * sysdeps/powerpc/powerpc64/configure: Regenerated.
11931 * sysdeps/s390/s390-32/configure: Regenerated.
11932 * sysdeps/s390/s390-64/configure: Regenerated.
11933 * sysdeps/sh/configure: Regenerated.
11934 * sysdeps/sparc/configure: Regenerated.
11935 * sysdeps/x86_64/configure: Regenerated.
11936
a3f61311
AS
119372012-03-26 Andreas Schwab <schwab@linux-m68k.org>
11938
c876e002
AS
11939 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11940
a3f61311
AS
11941 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
11942 denormal result into account.
11943
ac4c54f0
RM
119442012-03-25 Roland McGrath <roland@hack.frob.com>
11945
11946 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
11947 Reported by Allan McRae <allan@archlinux.org>.
11948
6a9b9c02
JL
119492012-03-23 Jeff Law <law@redhat.com>
11950
11951 * nss/getnssent.c (__nss_getent): Fix typo.
11952
4c42a0c1
DM
119532012-03-23 David S. Miller <davem@davemloft.net>
11954
11955 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11956
1532c7ac
L
119572012-03-23 H.J. Lu <hongjiu.lu@intel.com>
11958
11959 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
11960 to pad to uint64_t for each field.
11961 (dl_tls_index): Replace unsigned long with uint64_t.
11962
3ff42526
PP
119632012-03-23 Daniel Jacobowitz <dmj@google.com>
11964 Paul Pluzhnikov <ppluzhnikov@google.com>
11965
11966 [BZ #6528]
11967 * grp/Makefile (otherlibs): Don't set it.
11968 * inet/Makefile (otherlibs): Likewise.
11969 * login/Makefile (otherlibs): Likewise.
11970 * nscd/Makefile (otherlibs): Likewise.
11971 * posix/Makefile (otherlibs): Likewise.
11972 * pwd/Makefile (otherlibs): Likewise.
11973 * rt/Makefile (otherlibs): Likewise.
11974 * sunrpc/Makefile (otherlibs): Likewise.
11975 * nss/Makefile (otherlibs): Likewise.
11976 Add libnss_files to routines and static-only-routines.
11977 ($(objpfx)getent): Remove rule.
11978 * resolv/Makefile: Add libnss_dns and libresolv to routines and
11979 static-only-routines.
11980
7c69cd14
JM
119812012-03-22 Joseph Myers <joseph@codesourcery.com>
11982
11983 [BZ #13892]
11984 * math/s_cexp.c: Include <float.h>.
11985 (__cexp): Handle exp result overflowing not necessarily
11986 overflowing both real and imaginary parts of result.
11987 * math/s_cexpf.c: Likewise.
11988 * math/s_cexpl.c: Likewise.
11989 * math/libm-test.inc (cexp_test): Add more tests.
11990 * sysdeps/i386/fpu/libm-test-ulps: Update.
11991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11992
81b035fe
L
119932012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11994
11995 * include/link.h (ELFW): New macro.
11996 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
11997 Replace ELF64_R_TYPE with ELFW(R_TYPE).
11998
1da7940c
L
119992012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12000
12001 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
12002 with uint64_t.
12003
b749dbb9
L
120042012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12005
12006 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
12007 declaration.
12008 (struct La_x32_retval): Likewise.
12009
2ff87f3f
L
120102012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12011
12012 * sysdeps/x86_64/preconfigure.in: New file.
12013 * sysdeps/x86_64/preconfigure: New generated file.
12014
c0df8e69
JM
120152012-03-22 Joseph Myers <joseph@codesourcery.com>
12016
48e44791
JM
12017 [BZ #13824]
12018 * math/e_exp2l.c: Include <float.h>.
12019 (__ieee754_exp2l): Handle overflow and underflow cases
12020 separately. Only pass fractional part of argument to
12021 __ieee754_expl.
12022 * math/libm-test.inc (exp2_test): Add more tests.
12023
c0df8e69
JM
12024 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
12025 negating x to take absolute value.
12026 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
12027 Likewise.
12028 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12029 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
12030 Likewise.
12031 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
12032 computing low part if x was negated.
12033 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12034
c8e43ba7
L
120352012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12036
12037 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
12038 la_x32_gnu_pltexit.
12039 (pltexit): Cast int_retval to ptrdiff_t.
12040 * elf/tst-auditmod3b.c: Likewise.
12041 * elf/tst-auditmod4b.c: Likewise.
12042 * elf/tst-auditmod5b.c: Likewise.
12043 * elf/tst-auditmod6b.c: Likewise.
12044 * elf/tst-auditmod6c.c: Likewise.
12045 * elf/tst-auditmod7b.c: Likewise.
12046
12047 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
12048 and x32_gnu_pltexit.
12049
12050 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
12051 __ELF_NATIVE_CLASS.
12052 (La_x32_regs): New macro.
12053 (La_x32_retval): Likewise.
12054 (la_x32_gnu_pltenter): New function prototype.
12055 (la_x32_gnu_pltexit): Likewise.
12056
7998fa78
AS
120572012-03-21 Andreas Schwab <schwab@linux-m68k.org>
12058
dcb33988
AS
12059 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
12060 exponent.
12061
233fc563
AS
12062 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12063
7998fa78
AS
12064 * configure.in (libc_cv_cc_nofma): Check for option to disable
12065 generation of FMA instructions.
12066 * configure: Regenerate.
12067 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
12068 * sysdeps/ieee754/dbl-64/Makefile: New file.
12069 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
12070 Remove brandred-fma4.
12071 (CFLAGS-brandred-fma4.c): Remove.
12072 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
12073 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
12074 define.
12075 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
12076 define.
12077
8e95c99a
L
120782012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12079
12080 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12081 LLONG_MAX != LONG_MAX.
12082 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12083 (_fitoa_word): Likewise.
12084 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
12085 LLONG_MAX != LONG_MAX.
12086 * stdio-common/_itowa.h: Include <_itoa.h>.
12087 (_itowa_word): Use _ITOA_WORD_TYPE on value.
12088 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
12089 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
12090 only if not defined.
12091 (_ITOA_WORD_TYPE): Likewise.
12092 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12093 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
12094
6f4db457
DM
120952012-03-21 David S. Miller <davem@davemloft.net>
12096
12097 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12098
7785fe5a
L
120992012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12100
12101 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
12102 of x86_64 when setting libc_cv_slibdir, libdir and
12103 libc_cv_localedir.
12104 * sysdeps/unix/sysv/linux/configure: Regenerated.
12105
4535cd55
JM
121062012-03-21 Joseph Myers <joseph@codesourcery.com>
12107
12108 * manual/lang.texi (Old Varargs): Remove section.
12109 (How Variadic): Update menu.
12110 (va_start): Do not mention varargs.h.
12111
17228132
TS
121122012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12113 Joseph Myers <joseph@codesourcery.com>
12114
12115 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
12116 link test.
12117 * configure: Regenerated.
12118
8149f976
TS
121192012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12120
05f3d1f6
UD
12121 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
12122 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
12123 conformtest.pl
8149f976 12124
1a4ac776
JM
121252012-03-21 Joseph Myers <joseph@codesourcery.com>
12126
be22ce65
JM
12127 * NOTES: Remove.
12128 * Makefile (files-for-dist): Remove NOTES.
12129 (NOTES): Remove rule.
12130 * README: Don't refer to NOTES.
12131 * manual/creature.texi: Don't include macros.texi.
12132 * manual/intro.texi (creature.texi): Remove comment referring to
12133 NOTES.
12134
40b601fb
JM
12135 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
12136 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
12137 * configure: Regenerated.
12138 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
12139 LIBC_TRY_CC_OPTION.
12140 (libc_cv_as_i686): Likewise.
12141 (libc_cv_cc_avx): Likewise.
12142 (libc_cv_cc_sse2avx): Likewise.
12143 (libc_cv_cc_fma4): Likewise.
12144 (libc_cv_cc_novzeroupper): Likewise.
12145 * sysdeps/i386/configure: Regenerated.
12146
1a4ac776
JM
12147 [BZ #13883]
12148 * sysdeps/i386/fpu/s_cexp.S: Remove.
12149 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12150 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12151 * math/libm-test.inc (cexp_test): Add more tests.
12152 * sysdeps/i386/fpu/libm-test-ulps: Update.
12153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12154
a458e7fe
AM
121552012-03-21 Allan McRae <allan@archlinux.org>
12156
12157 * timezone/Makefile: Do not install iso3166.tab and zone.tab
12158
0cb7efc5
JM
121592012-03-21 Joseph Myers <joseph@codesourcery.com>
12160
12161 [BZ #13871]
12162 * math/w_exp2.c: Do not include <float.h>.
12163 (o_threshold, u_threshold): Remove.
12164 (__exp2): Calculate result before checking finiteness and calling
12165 __kernel_standard.
12166 * math/w_exp2f.c: Likewise.
12167 * math/w_exp2l.c: Likewise.
12168 * math/libm-test.inc (exp2_test): Require overflow exception for
12169 1e6 input.
2460d3aa
JM
12170
12171 [BZ #3866]
12172 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
12173 range of signed 64-bit integers before using fistpll. Remove
12174 checks for whether integers fit in mantissa bits.
12175 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
12176 the range of signed 32-bit integers before using fistpl. Remove
12177 checks for whether integers fit in mantissa bits.
12178 * sysdeps/i386/fpu/e_powl.S (p64): New object.
12179 (__ieee754_powl): Test for y outside the range of signed 64-bit
12180 integers before using fistpll. Reduce 64-bit values to 63-bit
12181 ones as needed.
12182 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
12183 divide-by-zero is raised for zero to large negative powers.
12184 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
12185 (__ieee754_powl): Test for y outside the range of signed 64-bit
12186 integers before using fistpll. Reduce 64-bit values to 63-bit
12187 ones as needed.
12188 * math/libm-test.inc (pow_test): Add more tests.
12189
eb96ffb0
L
121902012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12191
12192 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
12193 <stdio-common/_itoa.h>.
12194 * debug/segfault.c: Likewise.
12195 * elf/dl-cache.c: Likewise.
12196 * elf/dl-minimal.c: Likewise.
12197 * elf/dl-misc.c: Likewise.
12198 * elf/dl-sysdep.c: Likewise.
12199 * elf/dl-version.c: Likewise.
12200 * elf/rtld.c: Likewise.
12201 * hurd/hurdsock.c: Likewise.
12202 * hurd/lookup-retry.c: Likewise.
12203 * malloc/malloc.c: Likewise.
12204 * malloc/mtrace.c: Likewise.
12205 * nscd/nscd_getgr_r.c: Likewise.
12206 * nscd/nscd_getpw_r.c: Likewise.
12207 * nscd/nscd_getserv_r.c: Likewise.
12208 * posix/getopt_init.c: Likewise.
12209 * posix/wordexp.c: Likewise.
12210 * stdio-common/_itoa.c: Likewise.
12211 * stdio-common/printf_fphex.c: Likewise.
12212 * stdio-common/vfprintf.c: Likewise.
12213 * string/_strerror.c: Likewise.
12214 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
12215 * sysdeps/i386/i686/hp-timing.h: Likewise.
12216 * sysdeps/mach/_strerror.c: Likewise.
12217 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
12218 * sysdeps/mach/hurd/sethostid.c: Likewise.
12219 * sysdeps/mach/hurd/xmknodat.c: Likewise.
12220 * sysdeps/mach/xpg-strerror.c: Likewise.
12221 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12222 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12223 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
12224 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
12225 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12226 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
12227 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
12228 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
12229 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
12230 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
12231 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
12232 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12233 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
12234 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12235 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12236 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
12237 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
12238 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
12239 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
12240 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12241 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
12242
12243 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
12244
12245 * stdio-common/_itoa.h: Moved to ...
12246 * sysdeps/generic/_itoa.h: Here.
12247
12248 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
12249
12250 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
12251 instead of "_itoa.h" and "_itowa.h".
12252 * stdio-common/vfprintf.: Likewise.
12253
d1af992d
L
122542012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12255
12256 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
12257 <bits/wordsize.h>.
12258 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
12259 (__signbit): Likwise.
12260 (llrintf): Likwise.
12261 (llrint): Likwise.
12262
114883e0
L
122632012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12264
12265 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
12266 __WORDSIZE != 64.
12267
c135cc1b
JM
122682012-03-20 Joseph Myers <joseph@codesourcery.com>
12269
12270 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
12271 OVERFLOW_EXCEPTION_OK.
12272 * math/libm-test.inc ("Philosophy"): Update comment about
12273 exception testing.
12274 (OVERFLOW_EXCEPTION): Define.
12275 (OVERFLOW_EXCEPTION_OK): Likewise.
12276 (INVALID_EXCEPTION_OK): Renumber.
12277 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12278 (IGNORE_ZERO_INF_SIGN): Likewise.
12279 (test_exceptions): Handle FE_OVERFLOW.
12280 (exp10_test): Expect overflow exceptions.
12281 (exp2_test): Likewise.
12282 (expm1_test): Likewise.
12283 (nextafter_test): Likewise.
12284 (pow_test): Likewise.
12285 (scalbn_test): Likewise.
12286 (scalbln_test): Likewise.
12287
95443d88
L
122882012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12289
12290 * sysdeps/x86_64/bits/atomic.h
12291 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
12292 64bit integer.
12293 (atomic_exchange_acq): Likewise.
12294 (__arch_exchange_and_add_body): Likewise.
12295 (__arch_add_body): Likewise.
12296 (atomic_add_negative): Likewise.
12297 (atomic_add_zero): Likewise.
12298
490df6c4
L
122992012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12300
c2722551 12301 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
12302 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
12303
5e52b189
L
123042012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12305
12306 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
12307 Check __x86_64__ instead of __WORDSIZE.
12308
a9879d4c
L
123092012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12310
12311 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
12312
5df98260
DM
123132012-03-19 David S. Miller <davem@davemloft.net>
12314
e1497744
DM
12315 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12316
5df98260
DM
12317 * sysdeps/sparc/fpu/fenv_private.h: New file.
12318 * sysdeps/sparc/fpu/math_private.h: Use it.
12319 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
12320 Remove.
12321 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
12322 (libc_feholdexcept_setroundl): Remove.
12323 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
12324 Remove.
12325 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
12326 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
12327
b4c35121
L
123282012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12329
12330 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
12331 int64_t instead of long int.
12332 (INSERT_WORDS64): Likwise.
12333
56965fd7
L
123342012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12335
12336 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
12337 _Unwind_GetCFA return to _Unwind_Ptr first.
12338
83d1aec8
JM
123392012-03-19 Joseph Myers <joseph@codesourcery.com>
12340
1897ad44
JM
12341 [BZ #13629]
12342 * math/s_clog.c: Include <float.h>.
12343 (__clog): Scale large or subnormal inputs.
12344 * math/s_clogf.c: Likewise.
12345 * math/s_clogl.c: Likewise.
12346 * math/s_clog10.c: Include <float.h>.
12347 (M_LOG10_2): Define.
12348 (__clog10): Scale large or subnormal inputs.
12349 * math/s_clog10f.c: Likewise.
12350 * math/s_clog10l.c: Likewise.
12351 * math/libm-test.inc (clog_test): Add more tests.
12352 (clog10_test): Likewise.
12353 * sysdeps/i386/fpu/libm-test-ulps: Update.
12354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12355
7726d6a9
JM
12356 [BZ #11451]
12357 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
12358 x and y.
12359 * math/libm-test.inc (atan2_test): Add another test.
12360
83d1aec8
JM
12361 * Makerules (common-objdir-compile): Remove.
12362 * sysdeps/unix/Makefile (config-generated): Do not add
12363 $(unix-generated) to variable.
12364 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
12365 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
12366 Remove rule.
12367 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
12368 Likewise.
12369 [generic bits/local_lim.h] (before-compile): Do not append to
12370 variable.
12371 [generic bits/local_lim.h] (common-generated): Likewise.
12372 [generic sys/param.h] (before-compile): Do not append to variable.
12373 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
12374 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
12375 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
12376 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
12377 include.
12378 [generic sys/param.h] (sys/param.h-includes): Remove variable.
12379 [generic sys/param.h] (sys/param.h-includes): Remove rule.
12380 [generic sys/param.h] ($(addprefix
12381 $(common-objpfx),$(sys/param.h-includes))): Likewise.
12382 [generic sys/param.h] (common-generated): Do not append to
12383 variable.
12384 [generic sys/param.h] (sysdep_headers): Likewise.
12385 [generic bits/errno.h] (before-compile): Do not append to
12386 variable.
12387 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
12388 rule.
12389 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
12390 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
12391 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
12392 [generic bits/errno.h] (common-generated): Do not append to
12393 variable.
12394 [generic bits/ioctls.h] (before-compile): Do not append to
12395 variable.
12396 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
12397 rule.
12398 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
12399 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
12400 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
12401 rule.
12402 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
12403 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
12404 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
12405 [generic bits/ioctls.h] (common-generated): Do not append to
12406 variable.
12407 [generic sys/syscall.h] (syscall.h): Remove variable.
12408 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
12409 rule.
12410 [generic sys/syscall.h] (before-compile): Do not append to
12411 variable.
12412 [generic sys/syscall.h] (common-generated): Likewise.
12413 * sysdeps/unix/errnos-tmpl.c: Remove file.
12414 * sysdeps/unix/errnos.awk: Likewise.
12415 * sysdeps/unix/ioctls-tmpl.c: Likewise.
12416 * sysdeps/unix/ioctls.awk: Likewise.
12417 * sysdeps/unix/mk-local_lim.c: Likewise.
12418 * sysdeps/unix/snarf-ioctls: Likewise.
12419
4851a949
RH
124202012-03-19 Richard Henderson <rth@twiddle.net>
12421
bd37f2ee
RH
12422 * sysdeps/i386/fpu/fenv_private.h: New file.
12423 * sysdeps/i386/fpu/math_private.h: Use it.
12424 (math_opt_barrier, math_force_eval): Remove.
12425 (libc_feholdexcept_setround_53bit): Remove.
12426 (libc_feupdateenv_53bit): Remove.
12427 * sysdeps/x86_64/fpu/math_private.h: Likewise.
12428 (math_opt_barrier, math_force_eval): Remove.
12429 (libc_feholdexcept): Remove.
12430 (libc_feholdexcept_setround): Remove.
12431 (libc_fetestexcept, libc_fesetenv): Remove.
12432 (libc_feupdateenv_test): Remove.
12433 (libc_feupdateenv, libc_feholdsetround): Remove.
12434 (libc_feresetround): Remove.
12435
d0adc922
RH
12436 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
12437 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
12438
0fe0f1f8
RH
12439 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
12440 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
12441 (libc_feupdateenv_testl): New.
12442 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
12443 (libc_feupdateenv_testf): New.
12444 (libc_feupdateenv): Use libc_feupdateenv_test.
12445 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
12446 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
12447
eb92c487
RH
12448 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
12449 (libc_feholdsetroundf, libc_feholdsetroundl): New.
12450 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
12451 (libc_feresetround_noex): New.
12452 (libc_feresetround_noexf): New.
12453 (libc_feresetround_noexl): New.
12454 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
12455 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
12456 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
12457 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
12458 SET_RESTORE_ROUND.
12459 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12460 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
12461 (__cos): Likewise.
12462 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
12463 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
12464 SET_RESTORE_ROUND_NOEX.
12465 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
12466 SET_RESTORE_ROUND_NOEXF.
12467 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
12468 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
12469 (libc_feholdsetroundf): New.
12470 (libc_feresetround, libc_feresetroundf): New.
12471
7d2e8012
RH
12472 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
12473 (libc_feholdexcept_setround_53bit): Convert from macro to function.
12474 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
12475
b4dabbb4
RH
12476 * sysdeps/generic/math_private.h: Include <fenv.h>.
12477 (default_libc_feholdexcept): New.
12478 (default_libc_feholdexcept_setround): New.
12479 (default_libc_fesetenv, default_libc_feupdateenv): New.
12480 (libc_feholdexcept): Only define if undefined.
12481 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
12482 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
12483 (libc_feholdexcept_setroundl): Likewise.
12484 (libc_feholdexcept_setround_53bit): Likewise.
12485 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
12486 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
12487 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
12488 (libc_feupdateenv_53bit): Likewise.
12489 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
12490 (libc_feholdexcept): Convert from macro to inline function.
12491 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
12492 (libc_fesetenv, libc_feupdateenv): Likewise.
12493
4851a949
RH
12494 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
12495 not previously defined.
12496 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
12497 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
12498 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
12499 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
12500 * sysdeps/ieee754/flt-32/math_private.h: New file.
12501 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
12502 math_private.h below SET_FLOAT_WORD.
12503 (__isnan, __isinf_ns, __finite): Remove.
12504 (__isnanf, __isinf_nsf, __finitef): Remove.
12505
e79d442e
AS
125062012-03-18 Andreas Schwab <schwab@linux-m68k.org>
12507
12508 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12509
90b80344
DM
125102012-03-17 David S. Miller <davem@davemloft.net>
12511
12512 [BZ #6471]
12513 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
12514 for 2.16.
12515
edc21804
DM
125162012-03-16 David S. Miller <davem@davemloft.net>
12517
77e927af
DM
12518 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
12519 warnings.
12520
374976dd
DM
12521 [BZ #6471]
12522 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
12523 properly.
12524 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
12525 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
12526 sysdep_routines when subdir is sysvipc.
12527 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
12528 __getshmlba helper.
12529
edc21804
DM
12530 * sysdeps/sparc/fpu/libm-test/ulps: Update.
12531
473c3ef3
L
125322012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12533
12534 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
12535 [__LP64__].
12536
eb0f39b6
L
125372012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12538
12539 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
12540 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
12541 (__lround): Renamed to ...
12542 (__llround): This. Replace long int with long long int.
12543 Define lround functions as aliases of llround functions.
12544 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
12545
6b6cd74b
L
125462012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12547
12548 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
12549 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
12550 adresses to uintptr_t. Replace "long int" and "unsigned long
12551 int" with "greg_t" on va_arg.
12552
f1a77b01
L
125532012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12554
12555 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
12556 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
12557
12558 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
12559 Move e_machine check before EI_CLASS check. Handle x32
12560 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
12561 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
12562 SKIP_EM_IA_64 and include
12563 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
12564
12565 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
12566 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
12567 (add_system_dir): New macro.
12568
12569 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
12570 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
12571
11b90b9f
JM
125722012-03-16 Joseph Myers <joseph@codesourcery.com>
12573
c36e1d23
JM
12574 [BZ #2551]
12575 [BZ #2552]
12576 [BZ #2553]
12577 [BZ #2554]
12578 [BZ #2562]
12579 [BZ #2563]
12580 [BZ #2565]
12581 [BZ #2566]
12582 [BZ #2576]
12583 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
12584 (y0): Likewise.
12585 * math/w_j0f.c (j0f): Likewise.
12586 (y0f): Likewise.
12587 * math/w_j0l.c (__j0l): Likewise.
12588 (__y0l): Likewise.
12589 * math/w_j1.c (j1): Likewise.
12590 (y1): Likewise.
12591 * math/w_j1f.c (j1f): Likewise.
12592 (y1f): Likewise.
12593 * math/w_j1l.c (__j1l): Likewise.
12594 (__y1l): Likewise.
12595 * math/w_jn.c (jn): Likewise.
12596 (yn): Likewise.
12597 * math/w_jnf.c (jnf): Likewise.
12598 (ynf): Likewise.
12599 * math/w_jnl.c (__jnl): Likewise.
12600 (__ynl): Likewise.
12601 * math/libm-test.inc (j0_test): Add more tests.
12602 (j1_test): Likewise.
12603 (jn_test): Likewise. Add trailing semicolon to existing test.
12604 (y0_test): Likewise.
12605 (y1_test): Likewise.
12606 * sysdeps/i386/fpu/libm-test-ulps: Update.
12607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12608
11b90b9f
JM
12609 [BZ #13851]
12610 [BZ #13854]
12611 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
12612 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
12613 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
12614 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
12615 (__tanl): Set errno for infinite argument.
12616 * sysdeps/i386/fpu/mptan.c: Remove.
12617 * sysdeps/i386/fpu/s_tan.S: Likewise.
12618 * sysdeps/i386/fpu/s_tanl.S: Likewise.
12619 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
12620 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
12621 * math/libm-test.inc (tan_test): Add more tests and enable more
12622 tests for double and long double.
12623 * sysdeps/i386/fpu/libm-test-ulps: Update.
12624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12625
6a1bd2a1
JK
126262012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12627
12628 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
12629 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
12630
10a803e0
RM
126312012-03-16 Roland McGrath <roland@hack.frob.com>
12632
12633 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
12634 * configure.in: Use it for both main tree and add-ons.
12635 * configure: Regenerated.
12636
f196c7f7
L
126372012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12638
12639 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
12640
8848d99d
JM
126412012-03-16 Joseph Myers <joseph@codesourcery.com>
12642
96cbe7f4
JM
12643 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
12644 in comment.
12645
8848d99d
JM
12646 [BZ #13851]
12647 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
12648 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
12649 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
12650 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
12651 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
12652 infinite argument.
12653 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
12654 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
12655 != 0 for prec == 2.
12656 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
12657 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
12658 * sysdeps/i386/fpu/s_cosl.S: Likewise.
12659 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
12660 * sysdeps/i386/fpu/s_sinl.S: Likewise.
12661 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
12662 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
12663 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
12664 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
12665 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
12666 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
12667 * math/libm-test.inc (cos_test): Add more tests and enable more
12668 tests for long double.
12669 (sin_test): Likewise.
12670 (sincos_test): Likewise.
12671 * sysdeps/i386/fpu/libm-test-ulps: Update.
12672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12673
dd7f4703
DM
126742012-03-16 David S. Miller <davem@davemloft.net>
12675
12676 * sysdeps/sparc/fpu/math_private.h: New file.
12677
006f1daa
DM
126782012-03-15 David S. Miller <davem@davemloft.net>
12679
c0c83bc8
DM
12680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
12681 file.
e6a62e18 12682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
12683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
12684 file.
e6a62e18
DM
12685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
12686 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
12687 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
12688 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
12689 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
12690 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
12691 sysdep routines.
12692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
12693
88cb87d9
DM
12694 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
12695 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
12696
006f1daa 12697 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
12698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
12699 sparc-ifunc.h
006f1daa 12700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
12701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
12702 Likewise.
12703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
12704 Likewise.
006f1daa
DM
12705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
12706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
12707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
12708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
12709 Likewise.
006f1daa
DM
12710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
12711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
12712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
12713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
12714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
12715 Likewise.
12716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
12717 Likewise.
006f1daa
DM
12718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
12719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
12720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
12721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
12722 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12723 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12724 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
12725 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
12726 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12727 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12728 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
12729 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
12730 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
12731 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
12732 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
12733 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
12734 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
12735 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
12736 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
12737 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
12738 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
12739 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
12740 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
12741 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
12742
11e0098e
AS
127432012-03-15 Andreas Schwab <schwab@linux-m68k.org>
12744
12745 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
12746 scaling.
12747 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12748
e85b09d0
AJ
127492012-03-15 Andreas Jaeger <aj@suse.de>
12750
12751 [BZ #13852]
12752 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
12753 ieee754/flt-32 implementation for sin, cos and sincos.
12754 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
12755 * sysdeps/i386/fpu/s_cosf.S: Likewise.
12756 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
12757 * sysdeps/i386/fpu/s_sinf.S: Likewise.
12758 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
12759 ieee754/flt-32 implementation for tan.
12760
12761 * math/libm-test.inc (cos_test): Enable some large input tests for
12762 float as well
12763 (sin_test): Likewise.
12764 (sincos_test): Likewise.
12765 (tan_test): Add tests for large input.
12766
12767 * sysdeps/i386/fpu/libm-test-ulps: Update.
12768
81c64153
AJ
127692012-03-15 Andreas Jaeger <aj@suse.de>
12770
12771 [BZ #13658]
12772 * math/libm-test.inc (cos_test): Add more test cases.
12773 (sin_test): Likewise.
12774 (sincos_test): Likewise.
12775
7bbfa5c6
AJ
127762012-03-15 Andreas Jaeger <aj@suse.de>
12777
12778 [BZ #13837]
12779 * math/libm-test.inc (cos_test): Add a test case for large input
12780 value.
12781 (sin_test): Likewise.
12782 (sincos_test): Likewise.
12783
127842012-03-15 Andreas Jaeger <aj@suse.de>,
12785 Joseph Myers <joseph@codesourcery.com>
12786
12787 [BZ #13658]
0671f479 12788 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
12789 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
12790 * sysdeps/i386/fpu/branred.c: Likewise.
12791 * sysdeps/i386/fpu/dosincos.c: Likewise.
12792 * sysdeps/i386/fpu/mpa.c: Likewise.
12793 * sysdeps/i386/fpu/s_cos.S: Likewise.
12794 * sysdeps/i386/fpu/s_sin.S: Likewise.
12795 * sysdeps/i386/fpu/s_sincos.S: Likewise.
12796 * sysdeps/i386/fpu/sincos32.c: Likewise.
12797
12798 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
12799 Define.
12800 (libc_feupdateenv_53bit): Define.
12801 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
12802 Define.
12803 (libc_feupdateenv_53bit): Define.
12804
12805 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
12806 53 bit (without extend i386 double precision).
12807
12808 * math/libm-test.inc (sincos_test): Add tests for large input.
12809 (sin): Likewise.
12810 (cos): Likewise.
12811
12812 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12813
9cad04ea
AS
128142012-03-15 Andreas Schwab <schwab@linux-m68k.org>
12815
12816 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12817
f7062b9a
DM
128182012-03-15 David S. Miller <davem@davemloft.net>
12819
12820 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
12821 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
12822 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
12823 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
12824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
12825 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
12826 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
12827 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
12828 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
12829 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
12830 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
12831 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
12832 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
12833 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
12834 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
12835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
12836 file.
f7062b9a 12837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
12838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
12839 file.
f7062b9a 12840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
12841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
12842 file.
f7062b9a 12843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
12844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
12845 file.
f7062b9a
DM
12846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
12847 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
12848 fmin/fmax sysdep routines.
12849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
12850
7bd951ff
DM
128512012-03-14 David S. Miller <davem@davemloft.net>
12852
559398ab
DM
12853 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
12854 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
12855 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
12856 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
12857 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
12858 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
12859 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
12860 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
12861 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
12862 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
12863 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
12864 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
12865 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
12866 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
12867 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
12868 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
12869 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
12870 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
12871 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
12872 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
12873 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
12874 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
12875 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
12876 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
12877 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
12878 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
12879 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
12880 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
12881 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
12882 routines.
12883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
12884 file.
559398ab 12885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
12886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
12887 file.
559398ab 12888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
12889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
12890 file.
559398ab 12891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
12892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
12893 file.
559398ab 12894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
12895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
12896 file.
559398ab 12897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
12898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
12899 file.
12900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
12901 file.
12902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
12903 file.
12904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
12905 file.
12906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
12907 New file.
12908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
12909 file.
12910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
12911 file.
559398ab 12912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
12913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
12914 file.
559398ab 12915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
12916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
12917 file.
559398ab 12918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
12919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
12920 file.
559398ab 12921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
12922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
12923 VIS3 routines.
559398ab
DM
12924
12925 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
12926 New file.
12927
5a1c1e32
DM
12928 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12929
eae47a36
DM
12930 * sysdeps/sparc/configure.in: New file.
12931 * sysdeps/sparc/configure: Generate.
12932 * configure.in (libc_cv_sparc_as_vis3): Substitute.
12933 * configure: Regenerate.
12934 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
12935 * config.make.in (have-as-vis3): New.
12936 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
12937 available use -Av9d instead of -Av9a.
12938 * sysdeps/sparc/sparc64/Makefile: Likewise.
12939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
12940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
12941 New file.
12942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
12943 file.
12944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
12945 New file.
12946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
12947 file.
eae47a36
DM
12948 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
12949 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
12950 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
12951 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
12952 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
12953
c0c83bc8
DM
12954 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
12955 fzeros/fnegs to load 0x80000000 into a float register instead of
12956 using the stack.
7bd951ff
DM
12957 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
12958
bd951ccb
JM
129592012-03-14 Joseph Myers <joseph@codesourcery.com>
12960
12961 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12962 bits/syscall.h.
12963 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
12964 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
12965 ($(inst_includedir)/bits/syscall.h): Remove rule.
12966 ($(objpfx)bits/syscall.d): Include instead of
12967 $(objpfx)syscall-list.d.
12968 (generated): Change syscall-list.h and syscall-list.d to
12969 bits/syscall.h and bits/syscall.d.
12970
bb4e6db2
RM
129712012-03-14 Roland McGrath <roland@hack.frob.com>
12972
12973 [BZ #13846]
12974 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
12975
aa4a2ae1
JM
129762012-03-14 Joseph Myers <joseph@codesourcery.com>
12977
e456826d
JM
12978 [BZ #13841]
12979 * math/s_csqrt.c: Include <float.h>.
12980 (__csqrt): Scale large or subnormal inputs.
12981 * math/s_csqrtf.c: Likewise.
12982 * math/s_csqrtl.c: Likewise.
12983 * math/libm-test.inc (csqrt_test): Add more tests.
12984 * sysdeps/i386/fpu/libm-test-ulps: Update.
12985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12986
aa4a2ae1
JM
12987 [BZ #13840]
12988 * math/libm-test.inc (hypot_test): Add more tests.
12989
7c10fd35
DM
129902012-03-13 David S. Miller <davem@davemloft.net>
12991
12992 [BZ #13840]
12993 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
12994 double-precision for the calculation instead of scaling.
12995
f453b98b
JM
129962012-03-13 Joseph Myers <joseph@codesourcery.com>
12997
12998 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
12999 manipulate bits before adding and subtracting TWO52[sx].
13000 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
13001 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
13002 Likewise.
13003 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
13004
09a3453f
DM
130052012-03-13 David S. Miller <davem@davemloft.net>
13006
8e59da90
DM
13007 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
13008 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
13009 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
13010 rtld-global-offsets.h
13011 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13012
2a8ab7f2
DM
13013 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
13014 large parameters.
13015
10f62770
DM
13016 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
13017
5f0bdb18
DM
13018 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
13019 'err' in the ifdef scope in which it is actually used.
13020
09a3453f
DM
13021 * nss/nss_db/db-init.c: Include string.h
13022
b4b2eb5e
DM
130232012-03-12 David S. Miller <davem@davemloft.net>
13024
98bb2f1c
DM
13025 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13026 masking out of the most significant byte of random value used.
13027 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13028 Fix coding style in previous change.
13029
b4b2eb5e
DM
13030 * sysdeps/unix/sysv/linux/kernel-features.h
13031 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
13032 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
13033 expression.
13034 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
13035 later.
13036
6e226b09
DM
130372012-03-11 David S. Miller <davem@davemloft.net>
13038
a1bcbd40
DM
13039 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13040 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
13041 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
13042 for 'resultvar' otherwise things get truncated on 64-bit.
13043
cb9d6174
DM
13044 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13045 Fix masking out of the most significant byte of random value used.
13046
6e226b09
DM
13047 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13048
058c132d
AS
130492012-03-10 Andreas Schwab <schwab@linux-m68k.org>
13050
13051 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13052
2d2cd515
DM
130532012-03-09 David S. Miller <davem@davemloft.net>
13054
13055 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
13056 variables with appropriate CPP guards.
13057 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
13058 frame pointer, not the stack pointer. Correct layout comments. Fix test
13059 on resulting framesize and the management of the outregs buffer for pltexit.
13060 Preserve floating point return values across _dl_call_pltexit call.
13061 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
13062 framesize and the management of the outregs buffer for pltexit.
13063 Preserve floating point return values across _dl_call_pltexit
13064 call.
13065 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
13066 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
13067 (print_exit): Fix format string for return register value.
13068
9a07f9d0
JM
130692012-03-10 Joseph Myers <joseph@codesourcery.com>
13070
13071 * sunrpc/Makefile (others): Add rpcgen.
13072 ($(objpfx)rpcgen): Remove special build rule and dependency on
13073 libc.
13074 * sunrpc/rpcgen.c: New file.
13075
547b5e30
PE
130762012-03-09 Paul Eggert <eggert@cs.ucla.edu>
13077
c524201a
PE
13078 [BZ #13673]
13079 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
13080 * stdio-common/bug-vfprintf-nargs.c: Likewise.
13081 * sysdeps/i386/crti.S: Likewise.
13082 * sysdeps/i386/crtn.S: Likewise.
13083 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
13084 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
13085 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
13086 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
13087 * sysdeps/sh/crti.S: Likewise.
13088 * sysdeps/sh/crtn.S: Likewise.
13089 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13090
7b6235f2
PE
13091 [BZ #13673]
13092 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
13093 with URL.
13094 * locale/programs/locfile-kw.gperf: Likewise.
13095 * locale/programs/charmap-kw.h: Regenerated.
13096 * locale/programs/locfile-kw.h: Likewise.
13097
547b5e30
PE
13098 [BZ #13673]
13099 * intl/plural.y: Replace FSF snail mail address with URL.
13100 * intl/plural.c: Regenerated.
13101
5f0a5dae
RH
131022012-03-09 Richard Henderson <rth@twiddle.net>
13103
13104 * include/math_private.h: Remove file.
13105 * math/math_private.h: Move file ...
13106 * sysdeps/generic/math_private.h: ... here.
13107
b8c03620
RH
13108 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
13109 * sysdeps/powerpc/fpu/math_private.h: Likewise.
13110 * sysdeps/x86_64/fpu/math_private.h: Likewise.
13111
4e234f5d 13112 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
13113 and <math_private.h>.
13114 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13115 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13116 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13117 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13118 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13119 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
13120 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13121 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13122 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13123 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13124 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13125 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13126 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13127 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13128 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13129 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13130 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13131 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13132 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13133 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13134 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13135 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13136 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13137 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13138 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13139 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13140 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13141 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13142 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13143 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13144 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13145 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13146 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13147 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13148 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13149 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13150 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13151 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13152 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13153 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13154 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
13155 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13156 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13157 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13158 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13159 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13160 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13161 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13162 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13163 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13164 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13165 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13166 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13167 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13168 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13169 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13170 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13171 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13172 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13173 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
13174 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13175 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13176 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13177 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13178 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
13179 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13180 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13181 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13182 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
13183 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
13184 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13185 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13186 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13187 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13188 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
13189 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
13190 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
13191 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13192 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
13193 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13194 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13195 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13196 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13197 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13198 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13199 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
13200 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
13201 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
13202 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13203 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13204 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13205 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13206 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13207 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13208 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13209 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13210 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13211 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13212 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13213 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13214 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13215 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13216 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13217 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13218 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13219 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13220 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13221 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13222 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13223 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13224 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13225 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13226 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13227 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13228 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
13229 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13230 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13231 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13232 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13233 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13234 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13235 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13236 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13237 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
13238 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13239 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13240 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13241 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
13242 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13243 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13244 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13245 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13246 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13247 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13248 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13249 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13250 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13251 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13252 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
13253 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13254 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13255 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13256 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13257 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
13258 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
13259 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13260 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13261 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13262 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
13263 * sysdeps/ieee754/k_standard.c: Likewise.
13264 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13265 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13266 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13267 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13268 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13269 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13270 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13271 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13272 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13273 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13274 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13275 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13276 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13277 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13278 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13279 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13280 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13281 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13282 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13283 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
13284 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13285 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13286 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13287 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13288 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13289 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13290 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13291 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13292 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13293 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13294 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13295 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13296 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13297 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13298 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13299 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13300 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13301 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
13302 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
13303 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13304 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13305 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13306 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13307 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13308 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13309 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13310 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13311 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13312 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13313 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13314 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13315 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13316 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13317 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
13318 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13319 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13320 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
13321 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
13322 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13323 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13324 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13325 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13326 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13327 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13328 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13329 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13330 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13331 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13332 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13333 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13334 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13335 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13336 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13337 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13338 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13339 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13340 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
13341 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13342 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13343 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13344 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13345 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13346 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13347 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13348 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
13349 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13350 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13351 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
13352 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13353 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13354 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
13355 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13356 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
13357 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13358 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13359 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13360 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
13361 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
13362 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
13363 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
13364 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13365 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13366 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13367 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13368 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
13369 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13370 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13371 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
13372 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
13373 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13374 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13375 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13376 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13377 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13378 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13379 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13380 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13381 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13382 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13383 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13384 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13385 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13386 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13387 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13388 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13389 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
13390 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13391 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13392 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13393 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13394 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13395 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13396 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13397 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13398 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13399 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13400 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
13401 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13402 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13403 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13404 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13405 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13406 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13407 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13408 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13409 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13410 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13411 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13412 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13413 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
13414 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13415 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13416 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13417 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13418 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
13419 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
13420 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13421 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13422 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13423 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13424 * sysdeps/ieee754/s_lib_version.c: Likewise.
13425 * sysdeps/ieee754/s_matherr.c: Likewise.
13426 * sysdeps/ieee754/s_signgam.c: Likewise.
13427 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13428 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13429 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
13430 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
13431 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
13432 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13433 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
13434 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
13435 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
13436 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
13437 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13438 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
13439 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13440 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13441 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
13442 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13443 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13444 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13445 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13446 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13447 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 13448
1991fa03
JM
134492012-03-09 Joseph Myers <joseph@codesourcery.com>
13450
13451 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
13452 * sunrpc/rpc_main.c: Likewise.
13453 * sunrpc/rpc_svcout.c: Likewise.
13454
60d6f5a6
DM
134552012-03-09 David S. Miller <davem@davemloft.net>
13456
13457 * include/math_private.h: New file.
13458
4962050e
JM
134592012-03-09 Joseph Myers <joseph@codesourcery.com>
13460
02a6f887
JM
13461 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
13462 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
13463 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
13464 from <bits/socket_type.h>.
13465 (enum __socket_type): Don't define here.
13466 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
13467 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13468 bits/socket_type.h.
13469
c6e013c1
JM
13470 [BZ #13566]
13471 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
13472 checking __USE_GNU.
13473
4962050e
JM
13474 * Makerules ($(inst_includedir)/%.h): New rule.
13475 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
13476 (install-others): Remove variable setting.
13477 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
13478
38842f45
RH
134792012-03-08 Richard Henderson <rth@twiddle.net>
13480
67bb6da6
RH
13481 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
13482 from macro to inline function; merge with the
13483 !__LIBC_INTERNAL_MATH_INLINES version.
13484 (__ieee754_sqrtf): Likewise.
13485
15194b4b
RH
13486 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
13487 to inline function.
13488 (__rintf, __floor, __floorf): Likewise.
13489
64e21ede
RH
13490 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
13491 macro to inline function.
13492 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
13493
38842f45
RH
13494 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
13495 not <math/math_private.h>.
13496
c64bf5fe
DM
134972012-03-08 David S. Miller <davem@davemloft.net>
13498
13499 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
13500 copyright year.
13501 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
13502
82d86f28
TS
135032012-03-08 Thomas Schwinge <thomas@codesourcery.com>
13504
13505 * resolv/gai_misc.c (handle_requests): Fix struct timespec
13506 normalization.
13507 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
13508 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
13509
aea5d727
UD
135102012-03-08 Ulrich Drepper <drepper@gmail.com>
13511
13512 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
13513 be defined individually, they must be defined as a block. Define
13514 S for printing a string instead of hidint the different by using a
13515 macro for adding the 'l'.
13516 * stdio-common/tst-fphex-wide.c: Adjust.
13517
70bca0a3
MP
135182012-03-07 Marek Polacek <polacek@redhat.com>
13519
13520 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
13521
65b81130
MP
135222012-03-08 Marek Polacek <polacek@redhat.com>
13523
13524 [BZ #13806]
13525 * stdio-common/Makefile (tests): Add tst-fphex-wide.
13526 * stdio-common/tst-fphex.c: Define a few macros to make the
13527 test reusable. Use them.
13528 * stdio-common/tst-fphex-wide.c: New file.
13529
07037eeb
JM
135302012-03-08 Joseph Myers <joseph@codesourcery.com>
13531
a7a93d50
JM
13532 [BZ #6911]
13533 * manual/macros.texi (gnusystems): New macro.
13534 (nongnusystems): Likewise.
13535 (gnulinuxhurdsystems): Likewise.
13536 (gnuhurdsystems): Likewise..
13537 (gnulinuxsystems): Likewise.
13538 * manual/charset.texi: Use new macros or @theglibc{} to refer to
13539 variants of the GNU system, not "GNU system".
13540 * manual/conf.texi: Likewise.
13541 * manual/errno.texi: Likewise. Update example of errno macro
13542 expansion.
13543 * manual/filesys.texi: Likewise.
13544 (getumask): Document as specific to GNU/Hurd.
13545 * manual/install.texi: Likewise. Reword some references to
13546 GNU/Linux.
13547 * manual/intro.texi: Likewise.
13548 * manual/io.texi: Likewise.
13549 (File Name Portability): Detail which constraints are inapplicable
13550 to all GNU systems and which are only inapplicable to GNU/Hurd.
13551 * manual/job.texi: Likewise.
13552 * manual/llio.texi: Likewise.
13553 (O_NOCTTY): Document as present on GNU/Linux.
13554 * manual/maint.texi: Likewise.
13555 * manual/memory.texi: Likewise.
13556 * manual/pattern.texi: Likewise.
13557 * manual/pipe.texi: Likewise.
13558 * manual/process.texi: Likewise.
13559 * manual/resource.texi: Likewise.
13560 (RUSAGE_CHILDREN): Remove statement about specifying a particular
13561 child on GNU/Hurd.
13562 * manual/setjmp.texi: Likewise.
13563 * manual/signal.texi: Likewise.
13564 * manual/startup.texi: Likewise.
13565 * manual/stdio.texi: Likewise.
13566 * manual/terminal.texi: Likewise.
13567 (ONLCR): Document as POSIX.
13568 (OXTABS): Document availability on GNU/Linux as XTABS.
13569 (ONOEOT): Document availability separately from other bits.
13570 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
13571 * manual/time.texi: Likewise.
13572 * manual/users.texi: Likewise.
13573 * INSTALL: Regenerated.
13574 * sysdeps/gnu/errlist.c: Regenerated.
13575
07037eeb
JM
13576 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
13577 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
13578 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
13579 puts.
13580 * configure: Regenerated.
13581
d1d3431a
JM
135822012-03-07 Joseph Myers <joseph@codesourcery.com>
13583
af6a1e37
JM
13584 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
13585 default includes instead of AC_HEADER_CHECK.
13586 * sysdeps/i386/configure: Regenerated.
13587
d1d3431a
JM
13588 [BZ #10716]
13589 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
13590 * math/s_cacoshf.c (__cacoshf): Likewise.
13591 * math/s_cacoshl.c (__cacoshl): Likewise.
13592 * math/s_casinh.c (__casinh): Set signs of result from argument.
13593 * math/s_casinhf.c (__casinhf): Likewise.
13594 * math/s_casinhl.c (__casinhl): Likewise.
13595 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
13596 (casinh_test): Add more tests.
13597 * sysdeps/i386/fpu/libm-test-ulps: Update.
13598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13599
482ff4da
UD
136002012-03-07 Ulrich Drepper <drepper@gmail.com>
13601
872fda05
UD
13602 * po/zh_TW.po: Update from translation team.
13603
a4300c7a
UD
13604 * login/Makefile (distribute): Remove variable.
13605 * catgets/Makefile: Likewise.
13606 * mach/Makefile: Likewise.
13607 * malloc/Makefile: Likewise.
13608 * misc/Makefile: Likewise.
13609 * iconv/Makefile: Likewise.
13610 * nscd/Makefile: Likewise.
13611 * hurd/Makefile: Likewise.
13612 * manual/Makefile: Likewise.
13613 * locale/Makefile: Likewise.
13614 * intl/Makefile: Likewise.
13615 * conform/Makefile: Likewise.
13616 * nss/Makefile: Likewise.
13617 * time/Makefile: Likewise.
13618 * soft-fp/Makefile: Likewise.
13619 * dirent/Makefile: Likewise.
13620 * gmon/Makefile: Likewise.
13621 * po/Makefile: Likewise.
13622 * rt/Makefile: Likewise.
13623 * socket/Makefile: Likewise.
13624 * math/Makefile: Likewise.
13625 * signal/Makefile: Likewise.
13626 * debug/Makefile: Likewise.
13627 * elf/Makefile: Likewise.
13628 * timezone/Makefile: Likewise.
13629 * stdlib/Makefile: Likewise.
13630 * iconvdata/Makefile: Likewise.
13631 * sunrpc/Makefile: Likewise.
13632 * io/Makefile: Likewise.
13633 * argp/Makefile: Likewise.
13634 * inet/Makefile: Likewise.
13635 * hesiod/Makefile: Likewise.
13636 * grp/Makefile: Likewise.
13637 * csu/Makefile: Likewise.
13638 * wctype/Makefile: Likewise.
13639 * crypt/Makefile: Likewise.
13640 * libio/Makefile: Likewise.
13641 * string/Makefile: Likewise.
13642 * nis/Makefile: Likewise.
13643 * resolv/Makefile: Likewise.
13644 * stdio-common/Makefile: Likewise.
13645 * wcsmbs/Makefile: Likewise.
13646 * dlfcn/Makefile: Likewise.
13647 * posix/Makefile: Likewise.
13648
3b7c4e74 13649 [BZ #6959]
482ff4da
UD
13650 * timezone/Makefile: Don't install timezone files, just the programs
13651 and scripts.
13652
f72ed77d
UD
136532012-03-06 Ulrich Drepper <drepper@gmail.com>
13654
a000466f
UD
13655 * nss/databases.def: Add missing gshadow entry.
13656
f72ed77d
UD
13657 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
13658
a53b7a4e
MP
136592012-03-06 Marek Polacek <polacek@redhat.com>
13660
13661 [BZ #13726]
13662 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
13663 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13664 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
13665 * stdio-common/tst-long-dbl-fphex.c: New file.
13666
e9258400
DM
136672012-03-06 David S. Miller <davem@davemloft.net>
13668
13669 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13670 (set_obp_int): New function.
13671 (get_obp_int): New function.
13672 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
13673 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
13674 Avoid unused variable warnings on 'val' and use builtin_expect.
13675 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
13676 __builtin_expect.
e9258400
DM
13677 (INLINE_CLONE_SYSCALL): Likewise.
13678
3bd2c723
DM
136792012-03-05 David S. Miller <davem@davemloft.net>
13680
13681 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13682
bbb78d03
AS
136832012-03-05 Andreas Schwab <schwab@linux-m68k.org>
13684
884c5db4
AS
13685 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13686
bbb78d03
AS
13687 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
13688 only for |x| >= 40.
13689 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13690
1c9f702a 136912012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
13692
13693 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
13694 Replace gettimeofday with __vdso_gettimeofday.
13695
7be16f82
RM
13696 * sysdeps/unix/sysv/linux/x86_64/init-first.c
13697 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
13698 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
13699
13700 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
13701 time with __vdso_time.
13702
ed58a00f
JM
137032012-03-05 Joseph Myers <joseph@codesourcery.com>
13704
13705 * manual/lang.texi (size_t): Note types to which size_t may be
13706 equivalent with the GNU C Library, but do not describe when
13707 differences between them are significant.
13708
30ee4ced
AJ
137092012-03-05 Andreas Jaeger <aj@suse.de>
13710
13711 * sysdeps/i386/fpu/libm-test-ulps: Update.
13712
b7cd39e8
JM
137132012-03-05 Joseph Myers <joseph@codesourcery.com>
13714
13715 [BZ #3976]
13716 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
13717 (__ieee754_pow): Save and restore rounding mode and use
13718 round-to-nearest for main computations.
13719 * math/libm-test.inc (pow_test_tonearest): New function.
13720 (pow_test_towardzero): Likewise.
13721 (pow_test_downward): Likewise.
13722 (pow_test_upward): Likewise.
13723 (main): Call the new functions.
13724 * sysdeps/i386/fpu/libm-test-ulps: Update.
13725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
13726
13727 [BZ #3976]
13728 * math/libm-test.inc (cosh_test_tonearest): New function.
13729 (cosh_test_towardzero): Likewise.
13730 (cosh_test_downward): Likewise.
13731 (cosh_test_upward): Likewise.
13732 (sinh_test_tonearest): Likewise.
13733 (sinh_test_towardzero): Likewise.
13734 (sinh_test_downward): Likewise.
13735 (sinh_test_upward): Likewise.
13736 (main): Call the new functions.
13737 * sysdeps/i386/fpu/libm-test-ulps: Update.
13738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13739
6c6a98c9
TV
137402012-03-05 Tom de Vries <tom@codesourcery.com>
13741
13742 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
13743 default stack guard is set in last bytes.
13744 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
13745
21bb2d2e 137462012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 13747
21bb2d2e 13748 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 13749
21bb2d2e
AJ
13750 [BZ #13656]
13751 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
13752 possibly allocate from heap instead of stack.
13753 * stdio-common/bug-vfprintf-nargs.c: New file.
13754 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 13755
c6922934
AS
137562012-03-03 Andreas Schwab <schwab@linux-m68k.org>
13757
13758 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13759
bc957d53
MP
137602012-03-03 Marek Polacek <polacek@redhat.com>
13761
13762 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
13763 * math/math_private.h: Likewise.
13764 * stdlib/tst-strtod.c: Likewise.
13765 * sysdeps/i386/i486/bits/atomic.h: Likewise.
13766 * sysdeps/x86_64/bits/atomic.h: Likewise.
13767
6358490d
DM
137682012-03-02 David S. Miller <davem@davemloft.net>
13769
13770 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
13771 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
13772 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
13773 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
13774 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
13775 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
13776 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
13777 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
13778
01ae168d
RM
137792012-03-02 Roland McGrath <roland@hack.frob.com>
13780
d9a17c07
RM
13781 [BZ #13792]
13782 * manual/examples/README: New file, says the example source files
13783 can be used under GPL>=2.
13784 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
13785 line containing just "*/".
13786 * manual/examples/add.c: Add copyright header (GPL>=2).
13787 * manual/examples/argp-ex1.c: Likewise.
13788 * manual/examples/argp-ex2.c: Likewise.
13789 * manual/examples/argp-ex3.c: Likewise.
13790 * manual/examples/argp-ex4.c: Likewise.
13791 * manual/examples/atexit.c: Likewise.
13792 * manual/examples/db.c: Likewise.
13793 * manual/examples/dir.c: Likewise.
13794 * manual/examples/dir2.c: Likewise.
13795 * manual/examples/execinfo.c: Likewise.
13796 * manual/examples/filecli.c: Likewise.
13797 * manual/examples/filesrv.c: Likewise.
13798 * manual/examples/fmtmsgexpl.c: Likewise.
13799 * manual/examples/genpass.c: Likewise.
13800 * manual/examples/inetcli.c: Likewise.
13801 * manual/examples/inetsrv.c: Likewise.
13802 * manual/examples/isockad.c: Likewise.
13803 * manual/examples/longopt.c: Likewise.
13804 * manual/examples/memopen.c: Likewise.
13805 * manual/examples/memstrm.c: Likewise.
13806 * manual/examples/mkfsock.c: Likewise.
13807 * manual/examples/mkisock.c: Likewise.
13808 * manual/examples/mygetpass.c: Likewise.
13809 * manual/examples/pipe.c: Likewise.
13810 * manual/examples/popen.c: Likewise.
13811 * manual/examples/rprintf.c: Likewise.
13812 * manual/examples/search.c: Likewise.
13813 * manual/examples/select.c: Likewise.
13814 * manual/examples/setjmp.c: Likewise.
13815 * manual/examples/sigh1.c: Likewise.
13816 * manual/examples/sigusr.c: Likewise.
13817 * manual/examples/stpcpy.c: Likewise.
13818 * manual/examples/strdupa.c: Likewise.
13819 * manual/examples/strftim.c: Likewise.
13820 * manual/examples/strncat.c: Likewise.
13821 * manual/examples/subopt.c: Likewise.
13822 * manual/examples/swapcontext.c: Likewise.
13823 * manual/examples/termios.c: Likewise.
13824 * manual/examples/testopt.c: Likewise.
13825 * manual/examples/testpass.c: Likewise.
13826 * manual/examples/timeval_subtract.c: Likewise.
13827
01ae168d
RM
13828 [BZ #13792]
13829 * manual/time.texi (Elapsed Time): Move timeval_subtract example
13830 function to ...
13831 * manual/timeval_subtract.c.texi: ... here, new file.
13832
49efa33d
DM
138332012-03-02 David S. Miller <davem@davemloft.net>
13834
13835 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
13836
28afd92d
JM
138372012-03-02 Joseph Myers <joseph@codesourcery.com>
13838
804360ed
JM
13839 [BZ #3976]
13840 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
13841 (__sin): Save and restore rounding mode and use round-to-nearest
13842 for all computations.
13843 (__cos): Save and restore rounding mode and use round-to-nearest
13844 for all computations.
13845 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
13846 <fenv.h>.
13847 (tan): Save and restore rounding mode and use round-to-nearest for
13848 all computations.
13849 * math/libm-test.inc (cos_test_tonearest): New function.
13850 (cos_test_towardzero): Likewise.
13851 (cos_test_downward): Likewise.
13852 (cos_test_upward): Likewise.
13853 (sin_test_tonearest): Likewise.
13854 (sin_test_towardzero): Likewise.
13855 (sin_test_downward): Likewise.
13856 (sin_test_upward): Likewise.
13857 (tan_test_tonearest): Likewise.
13858 (tan_test_towardzero): Likewise.
13859 (tan_test_downward): Likewise.
13860 (tan_test_upward): Likewise.
13861 (main): Call the new functions.
13862 * sysdeps/i386/fpu/libm-test-ulps: Update.
13863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13864
a6d06d7b
JM
13865 [BZ #10135]
13866 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
13867 small n, then large n, before computing and testing k+n.
13868 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
13869 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
13870 Likewise.
13871 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
13872 Likewise.
13873 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
13874 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
13875 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
13876 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
13877 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13878 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13879 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
13880 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
13881 * math/libm-test.inc (scalbn_test): Add more tests.
13882 (scalbln_test): Likewise.
13883
07e12bb3
JM
13884 * manual/filesys.texi (mode_t): Describe constraints on size and
13885 signedness, not exact equivalence to a particular type.
13886 (ino_t): Likewise.
13887 (ino64_t): Likewise.
13888 (dev_t): Likewise.
13889 (nlink_t): Likewise.
13890 (blkcnt_t): Likewise.
13891 (blkcnt64_t): Likewise.
13892 * manual/llio.texi (off_t): Likewise.
13893
28afd92d
JM
13894 [BZ #3976]
13895 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
13896 (__ieee754_exp): Save and restore rounding mode and use
13897 round-to-nearest for all computations.
13898 * math/libm-test.inc (exp_test_tonearest): New function.
13899 (exp_test_towardzero): Likewise.
13900 (exp_test_downward): Likewise.
13901 (exp_test_upward): Likewise.
13902 (main): Call the new functions.
13903 * sysdeps/i386/fpu/libm-test-ulps: Update.
13904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13905
b1eeb65d
CD
139062012-03-01 Chris Demetriou <cgd@google.com>
13907
13908 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
13909 have predictable order.
13910
53362a4b
DM
139112012-03-01 David S. Miller <davem@davemloft.net>
13912
3c969083
DM
13913 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
13914
759707de
DM
13915 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
13916 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
13917 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
13918 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
13919
dfdb8ff2
DM
13920 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
13921 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
13922 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
13923 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
13924 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
13925 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
13926 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
13927 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
13928 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
13929
ead89f96
DM
13930 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13931
7f66bd07
DM
13932 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
13933 * sysdeps/sparc/fpu/libm-test-ulps: to here.
13934 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
13935
53362a4b
DM
13936 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
13937 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13938 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
13939 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
13940 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
13941 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
13942 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
13943 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13944 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
13945 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
13946 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
13947 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
13948 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13949 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
13950 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13951 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13952 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
13953 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
13954 * sysdeps/sparc/elf/configure: Regenerated.
13955
7b1902cb
JM
139562012-03-01 Joseph Myers <joseph@codesourcery.com>
13957
bec039bc
JM
13958 * configure.in (AS, LD): Require binutils 2.20 or later.
13959 * configure: Regenerated.
13960 * manual/install.texi (Tools for Compilation): Give binutils 2.20
13961 as required minimum version.
13962 * INSTALL: Regenerated.
13963
7b1902cb
JM
13964 [BZ #2541]
13965 [BZ #4108]
13966 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
13967 before squaring exponent.
13968 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
13969 bottom long double and 27 bits of top long double before squaring
13970 exponent.
13971 * math/libm-test.inc (erfc_test): Add more tests.
13972 * sysdeps/i386/fpu/libm-test-ulps: Update.
13973 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13975
f775c276
KT
139762012-03-01 Kai Tietz <ktietz@redhat.com>
13977
13978 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
13979 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
13980 containing bit-fields.
13981 * soft-fp/extended.h (_FP_UNION_E): Likewise.
13982 * soft-fp/single.h (_FP_UNION_S): Likewise.
13983 * soft-fp/double.h (_FP_UNION_D): Likewise.
13984
5b8a4d4a
JM
139852012-02-29 Joseph Myers <joseph@codesourcery.com>
13986
0bab47b6
JM
13987 [BZ #13786]
13988 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
13989 not include ../strcmp.S.
13990 [USE_AS_STRNCASECMP_L]: Likewise.
13991 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
13992 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
13993 * sysdeps/i386/i686/multiarch/strncase_l-c.c
13994 (__strncasecmp_l_ia32): Define as alias to
13995 __strncasecmp_l_nonascii.
13996
0fcad3e2
JM
13997 [BZ #5794]
13998 * math/libm-test.inc (expm1_test): Add test for bug 5794.
13999 * sysdeps/i386/fpu/libm-test-ulps: Update.
14000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14001
5b8a4d4a
JM
14002 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
14003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14004
8fdceb2e
JL
140052012-02-29 Jeff Law <law@redhat.com>
14006
14007 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
14008 out of bounds read.
14009
1f393a11
MP
140102012-02-29 Marek Polacek <polacek@redhat.com>
14011
14012 [BZ #13706]
14013 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
14014 * elf/Makefile: Add rules to run tst-unused-dep.out.
14015
8847f037
DM
140162012-02-28 David S. Miller <davem@davemloft.net>
14017
14018 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
14019 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
14020 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
14021 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
14022 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
14023 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
14024
169d7f11
JM
140252012-02-29 Joseph Myers <joseph@codesourcery.com>
14026
14027 * math/libm-test.inc (llround_test): Move one test from
14028 lround_test. Use TEST_f_L in moved test.
14029 (lround_test): Move misplaced test to llround_test. Add testcase
14030 from bug 2561.
14031
39adf059
UD
140322012-02-28 Ulrich Drepper <drepper@gmail.com>
14033
14034 * sysdeps/x86_64/fpu/e_expf.S: New file.
14035 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
14036
71b5d1c5
SB
140372012-02-28 Stanislav Brabec <sbrabec@suse.cz>
14038
14039 [BZ #13637]
14040 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
14041 of remain_len that may cause incomplete multi-byte character and
14042 false match.
14043 * posix/bug-regex33.c: New file.
14044 * posix/Makefile (tests): Add bug-regex33.
14045
1f77f049
JM
140462012-02-28 Joseph Myers <joseph@codesourcery.com>
14047
14048 * manual/macros.texi: New file.
14049 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
14050 * manual/libc.texinfo: Include macros.texi.
14051 * manual/creatute.texi: Likewise.
14052 * manual/install.texi: Likewise.
14053 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
14054 @glibcadj{} in references to the GNU C Library.
14055 * manual/charset.texi: Likewise.
14056 * manual/conf.texi: Likewise.
14057 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
14058 when not using those macros.
14059 * manual/creature.texi: Likewise.
14060 * manual/crypt.texi: Likewise.
14061 * manual/errno.texi: Likewise.
14062 * manual/filesys.texi: Likewise.
14063 * manual/header.texi: Likewise.
14064 * manual/install.texi: Likewise.
14065 * manual/intro.texi: Likewise.
14066 * manual/io.texi: Likewise.
14067 * manual/job.texi: Likewise.
14068 * manual/lang.texi: Likewise.
14069 * manual/libc.texiinfo: Likewise.
14070 * manual/llio.texi: Likewise.
14071 * manual/locale.texi: Likewise.
14072 * manual/maint.texi: Likewise.
14073 * manual/math.texi: Likewise.
14074 * manual/memory.texi: Likewise.
14075 * manual/message.texi: Likewise.
14076 * manual/nss.texi: Likewise.
14077 * manual/pattern.texi: Likewise.
14078 * manual/process.texi: Likewise.
14079 * manual/resource.texi: Likewise.
14080 * manual/search.texi: Likewise.
14081 * manual/setjmp.texi: Likewise.
14082 * manual/signal.texi: Likewise.
14083 * manual/socket.texi: Likewise.
14084 * manual/startup.texi: Likewise.
14085 * manual/stdio.texi: Likewise.
14086 * manual/string.texi: Likewise.
14087 * manual/sysinfo.texi: Likewise.
14088 * manual/syslog.texi: Likewise.
14089 * manual/terminal.texi: Likewise.
14090 * manual/time.texi: Likewise.
14091 * manual/users.texi: Likewise.
14092 * INSTALL: Regenerated.
14093 * NOTES: Regenerated.
d40c5d54 14094 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 14095
450bf206
AS
140962012-02-28 Andreas Schwab <schwab@linux-m68k.org>
14097
14098 * include/dirent.h: Include <dirstream.h> before
14099 <dirent/dirent.h>.
14100
741a235b
DM
141012012-02-28 David S. Miller <davem@davemloft.net>
14102
14103 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
14104 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
14105 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
14106 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
14107
d6b5aa58
DM
141082012-02-27 David S. Miller <davem@davemloft.net>
14109
1aff59a3
DM
14110 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
14111 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
14112 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
14113 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
14114
d6b5aa58
DM
14115 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
14116 frame pointer instead of stack pointer relative arg slot.
14117 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14118 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14119 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14120
433f48bf
CD
141212012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
14122
14123 [BZ #3992]
14124 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
14125
d674b76d
DM
141262012-02-27 David S. Miller <davem@davemloft.net>
14127
14128 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
14129 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14130 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14131 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
14132 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14133 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14134 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
14135 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
14136
0e7727f7
JM
141372012-02-27 Joseph Myers <joseph@codesourcery.com>
14138
14139 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
14140 later. Allow versions 5-9.
43be4ca2 14141 * configure: Regenerated.
0e7727f7
JM
14142 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
14143 required minimum version and 4.6 as recommended version. Do not
14144 mention bugs in GCC 2.7 and 2.8.
43be4ca2 14145 * INSTALL: Regenerated.
0e7727f7 14146
a78bc654
DM
141472012-02-27 David S. Miller <davem@davemloft.net>
14148
428d5830
DM
14149 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
14150 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
14151 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
14152 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
14153 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
14154 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
14155 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
14156 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
14157
a78bc654
DM
14158 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
14159 manipulate bits before adding and subtracting TWO112[sx].
14160 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14161
4579f81c
RM
141622012-02-27 Roland McGrath <roland@hack.frob.com>
14163
36c8acb4
RM
14164 [BZ #13775]
14165 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
14166 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
14167 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
14168 being in POSIX, because they are in 1003.1-2008.
14169
84ad622b
RM
14170 * rt/tst-aio.c: Include <fcntl.h>.
14171 * rt/tst-aio7.c: Likewise.
14172 * rt/tst-aio64.c: Likewise.
14173
4579f81c
RM
14174 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
14175
abd923db
JM
141762012-02-27 Joseph Myers <joseph@codesourcery.com>
14177
14178 * manual/install.texi (--with-headers): Describe headers as
14179 interface headers, not private headers.
14180 (Specific advice for GNU/Linux systems): Describe use of headers
14181 from "make headers_install", not private headers from older
14182 kernels.
43be4ca2 14183 * INSTALL: Regenerated.
abd923db
JM
14184 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
14185 Change to 2.6.19.
14186 * sysdeps/unix/sysv/linux/configure: Regenerated.
14187
6664049b
JM
14188 * manual/llio.texi (fclean): Remove documentation.
14189
bb8b6697
JM
14190 * manual/Makefile (libc-texi-generated): New variable. Include
14191 version.texi.
14192 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
14193 $(libc-texi-generated), not duplicated list of files.
14194 (version.texi, stamp-version): New rules.
14195 (realclean): Remove $(libc-texi-generated), not individual files
14196 from that list. Do not remove dir-add.texinfo.
14197 * manual/libc.texinfo: Comment out uses of edition numbers and
14198 references to printed manual. Remove last-updated dates.
14199 (EDITION): Comment out.
14200 (ISBN): Likewise.
14201 (VERSION, UPDATED): Remove.
14202 (version.texi): Include.
14203
12e5c3b9
AS
142042012-02-27 Andreas Schwab <schwab@linux-m68k.org>
14205
14206 * sysdeps/posix/spawni.c: Include <signal.h>.
14207 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
14208 * sysdeps/pthread/aio_fsync.c: Likewise.
14209
4efeffc1 142102012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 14211
ba63ba08
UD
14212 * conform/Makefile (tests): Run only when not cross-compiling and
14213 when fast-check is not defined.
14214
d94a4670
UD
14215 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
14216 * conform/data/limits.h-data: Fixes for POSIX2008.
14217 * conform/run-conformtest.sh: Run all tests.
14218 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
14219 headers.
14220 * include/bits/dlfcn.h: Likewise.
14221 * include/langinfo.h: Likewise.
14222 * include/monetary.h: Likewise.
14223 * include/sys/poll.h: Likewise.
14224
14225 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
14226 for __USE_GNU.
14227 * posix/spawn.h: Define __need_sigset_t.
14228 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
14229 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
14230 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
14231 to get sigevent_t only.
14232 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
14233 only for __USE_GNU.
14234 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14235 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14236 process_vm_writev only for __USE_GNU.
14237 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
14238
14239 * conform/Makefile: For now ignore errors from run-conformtest.
14240 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
14241 POSIX to avoid namespace pollution. Don't prepend headers.
14242 * conform/data/aio.h-data: Fixes for POSIX testing.
14243 * conform/data/fcntl.h-data: Likewise.
14244 * conform/data/glob.h-data: Likewise.
14245 * conform/data/grp.h-data: Likewise.
14246 * conform/data/pthread.h-data: Likewise.
14247 * conform/data/pwd.h-data: Likewise.
14248 * conform/data/signal.h-data: Likewise.
14249 * conform/data/spawn.h-data: Likewise.
14250 * conform/data/stdio.h-data: Likewise.
14251 * conform/data/stdlib.h-data: Likewise.
14252 * conform/data/stropts.h-data: Likewise.
14253 * conform/data/sys/mman.h-data: Likewise.
14254 * conform/data/sys/stat.h-data: Likewise.
14255 * conform/data/sys/types.h-data: Likewise.
14256 * conform/data/sys/wait.h-data: Likewise.
14257 * conform/data/time.h-data: Likewise.
14258 * conform/data/unistd.h-data: Likewise.
14259 * conform/data/utime.h-data: Likewise.
14260
14261 * io/sys/stat.h: fchmod was always in POSIX.
14262 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
14263 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
14264 * rt/aio.h: Define __need_timespec before including <time.h>.
14265 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
14266 struct. Add forward declaration of pthread_attr_t and use it in
14267 sigevent.
14268 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14269 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14270 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
14271 always remove CLK_TCK definition.
14272
c20105c3
AS
142732012-02-26 Andreas Schwab <schwab@linux-m68k.org>
14274
14275 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
14276
7a270350
UD
142772012-02-25 Ulrich Drepper <drepper@gmail.com>
14278
31341567
UD
14279 * conform/run-conformtest.sh: New file.
14280 * conform/Makefile: Run run-conformtest for tests.
14281 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
14282 support.
14283
14284 * conform/data/uchar.h-data: New file.
14285 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
14286 * conform/data/arpa/inet.h-data: Likewise.
14287 * conform/data/assert.h-data: Likewise.
14288 * conform/data/complex.h-data: Likewise.
14289 * conform/data/cpio.h-data: Likewise.
14290 * conform/data/ctype.h-data: Likewise.
14291 * conform/data/dirent.h-data: Likewise.
14292 * conform/data/dlfcn.h-data: Likewise.
14293 * conform/data/errno.h-data: Likewise.
14294 * conform/data/fcntl.h-data: Likewise.
14295 * conform/data/float.h-data: Likewise.
14296 * conform/data/fmtmsg.h-data: Likewise.
14297 * conform/data/fnmatch.h-data: Likewise.
14298 * conform/data/ftw.h-data: Likewise.
14299 * conform/data/glob.h-data: Likewise.
14300 * conform/data/grp.h-data: Likewise.
14301 * conform/data/iconv.h-data: Likewise.
14302 * conform/data/inttypes.h-data: Likewise.
14303 * conform/data/langinfo.h-data: Likewise.
14304 * conform/data/libgen.h-data: Likewise.
14305 * conform/data/limits.h-data: Likewise.
14306 * conform/data/locale.h-data: Likewise.
14307 * conform/data/math.h-data: Likewise.
14308 * conform/data/monetary.h-data: Likewise.
14309 * conform/data/mqueue.h-data: Likewise.
14310 * conform/data/ndbm.h-data: Likewise.
14311 * conform/data/net/if.h-data: Likewise.
14312 * conform/data/netdb.h-data: Likewise.
14313 * conform/data/netinet/in.h-data: Likewise.
14314 * conform/data/nl_types.h-data: Likewise.
14315 * conform/data/poll.h-data: Likewise.
14316 * conform/data/pthread.h-data: Likewise.
14317 * conform/data/pwd.h-data: Likewise.
14318 * conform/data/regex.h-data: Likewise.
14319 * conform/data/sched.h-data: Likewise.
14320 * conform/data/search.h-data: Likewise.
14321 * conform/data/semaphore.h-data: Likewise.
14322 * conform/data/setjmp.h-data: Likewise.
14323 * conform/data/signal.h-data: Likewise.
14324 * conform/data/spawn.h-data: Likewise.
14325 * conform/data/stdarg.h-data: Likewise.
14326 * conform/data/stdio.h-data: Likewise.
14327 * conform/data/stdlib.h-data: Likewise.
14328 * conform/data/string.h-data: Likewise.
14329 * conform/data/strings.h-data: Likewise.
14330 * conform/data/stropts.h-data: Likewise.
14331 * conform/data/sys/ipc.h-data: Likewise.
14332 * conform/data/sys/mman.h-data: Likewise.
14333 * conform/data/sys/msg.h-data: Likewise.
14334 * conform/data/sys/resource.h-data: Likewise.
14335 * conform/data/sys/select.h-data: Likewise.
14336 * conform/data/sys/sem.h-data: Likewise.
14337 * conform/data/sys/shm.h-data: Likewise.
14338 * conform/data/sys/socket.h-data: Likewise.
14339 * conform/data/sys/stat.h-data: Likewise.
14340 * conform/data/sys/statvfs.h-data: Likewise.
14341 * conform/data/sys/time.h-data: Likewise.
14342 * conform/data/sys/timeb.h-data: Likewise.
14343 * conform/data/sys/times.h-data: Likewise.
14344 * conform/data/sys/types.h-data: Likewise.
14345 * conform/data/sys/uio.h-data: Likewise.
14346 * conform/data/sys/un.h-data: Likewise.
14347 * conform/data/sys/utsname.h-data: Likewise.
14348 * conform/data/sys/wait.h-data: Likewise.
14349 * conform/data/syslog.h-data: Likewise.
14350 * conform/data/tar.h-data: Likewise.
14351 * conform/data/termios.h-data: Likewise.
14352 * conform/data/utime.h-data: Likewise.
14353 * conform/data/utmpx.h-data: Likewise.
14354 * conform/data/varargs.h-data: Likewise.
14355 * conform/data/wchar.h-data: Likewise.
14356 * conform/data/wctype.h-data: Likewise.
14357 * conform/data/wordexp.h-data: Likewise.
14358
14359 * include/stropts.h: New file.
14360 * include/uchar.h: New file.
14361 * include/aio.h: Changes to allow conformtest.pl to use the headers.
14362 * include/assert.h: Likewise.
14363 * include/ctype.h: Likewise.
14364 * include/dirent.h: Likewise.
14365 * include/dlfcn.h: Likewise.
14366 * include/fcntl.h: Likewise.
14367 * include/fnmatch.h: Likewise.
14368 * include/glob.h: Likewise.
14369 * include/grp.h: Likewise.
14370 * include/libio.h: Likewise.
14371 * include/locale.h: Likewise.
14372 * include/math.h: Likewise.
14373 * include/net/if.h: Likewise.
14374 * include/netdb.h: Likewise.
14375 * include/netinet/in.h: Likewise.
14376 * include/pthread.h: Likewise.
14377 * include/pwd.h: Likewise.
14378 * include/regex.h: Likewise.
14379 * include/sched.h: Likewise.
14380 * include/search.h: Likewise.
14381 * include/setjmp.h: Likewise.
14382 * include/signal.h: Likewise.
14383 * include/stdio.h: Likewise.
14384 * include/stdlib.h: Likewise.
14385 * include/string.h: Likewise.
14386 * include/sys/cdefs.h: Likewise.
14387 * include/sys/mman.h: Likewise.
14388 * include/sys/msg.h: Likewise.
14389 * include/sys/resource.h: Likewise.
14390 * include/sys/select.h: Likewise.
14391 * include/sys/socket.h: Likewise.
14392 * include/sys/stat.h: Likewise.
14393 * include/sys/statvfs.h: Likewise.
14394 * include/sys/time.h: Likewise.
14395 * include/sys/times.h: Likewise.
14396 * include/sys/uio.h: Likewise.
14397 * include/sys/utsname.h: Likewise.
14398 * include/sys/wait.h: Likewise.
14399 * include/termios.h: Likewise.
14400 * include/time.h: Likewise.
14401 * include/ulimit.h: Likewise.
14402 * include/unistd.h: Likewise.
14403 * include/utime.h: Likewise.
14404 * include/wchar.h: Likewise.
14405 * include/wctype.h: Likewise.
14406 * include/wordexp.h: Likewise.
14407
14408 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
14409
7a270350
UD
14410 * time/time.h: TIME_UTC must be a macro.
14411 Make timespec_get available for ISO C11 only as well.
14412
7724defc
UD
144132012-02-24 Ulrich Drepper <drepper@gmail.com>
14414
14415 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
14416 Reported by Peng Haitao <penght@cn.fujitsu.com>.
14417
6b1d1d46
JM
144182012-02-24 Joseph Myers <joseph@codesourcery.com>
14419
14420 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 14421
0f8bbd69
JM
144222012-02-24 Joseph Myers <joseph@codesourcery.com>
14423
14424 * manual/texinfo.tex: Update to version 2012-01-19.16.
14425
66ab80bc
JM
144262012-02-24 Joseph Myers <joseph@codesourcery.com>
14427
14428 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
14429
74981cc5
RM
144302012-02-24 Roland McGrath <roland@hack.frob.com>
14431
ee968201
RM
14432 [BZ #13738]
14433 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
14434 * manual/fdl-1.3.texi: New file.
14435 * manual/fdl-1.1.texi: File removed.
14436
74981cc5
RM
14437 [BZ #13738]
14438 * manual/libc.texinfo (FDL_VERSION): New @set.
14439 Use it for mention of FDL in cover text.
14440 (Documentation License): Use it in @include file name.
14441
7bb764bc
JM
144422012-02-22 Joseph Myers <joseph@codesourcery.com>
14443 Roland McGrath <roland@hack.frob.com>
14444
14445 [BZ #5461]
14446 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
14447 not LONG_LONG_MAX and LONG_LONG_MIN.
14448 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
14449 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
14450 name.
14451 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
14452
6cbeae47
JM
144532012-02-22 Joseph Myers <joseph@codesourcery.com>
14454
14455 [BZ #2547]
14456 [BZ #11365]
14457 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
14458 manipulate bits before adding and subtracting TWO23[sx].
14459 * math/libm-test.inc (nearbyint_test): Add more tests.
14460
fe45ce09
JM
144612012-02-22 Joseph Myers <joseph@codesourcery.com>
14462
14463 [BZ #2548]
14464 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
14465 bits before adding and subtracting TWO23[sx].
14466 * math/libm-test.inc (rint_test): Add more tests.
14467 (rint_test_tonearest): Likewise.
14468 (rint_test_towardzero): Likewise.
14469 (rint_test_downward): Likewise.
14470 (rint_test_upward: Likewise.
14471
ff3b3d82
JM
144722012-02-22 Joseph Myers <joseph@codesourcery.com>
14473
14474 [BZ #10110]
14475 * include/stdc-predef.h: New file. Extracted from features.h.
14476 * include/features.h: Include stdc-predef.h.
14477 * Makefile (headers): Add stdc-predef.h.
14478 * CONFORMANCE (Compiler limitations): Update.
14479
ef0aab35
JM
144802012-02-22 Joseph Myers <joseph@codesourcery.com>
14481
14482 * manual/libc.texinfo (VERSION, UPDATED): Revert.
14483
58639409
DM
144842012-02-21 David S. Miller <davem@davemloft.net>
14485
14486 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
14487 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14488
c0e70b25
DM
144892012-02-20 David S. Miller <davem@davemloft.net>
14490
14491 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
14492 using a normal save/restore sequence, rather than allocating a
14493 dummy stack frame just to store a frame pointer and restore.
14494 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14495
fb06851d
JM
144962012-02-21 Joseph Myers <joseph@codesourcery.com>
14497
14498 * manual/install.texi: Fix stray word in line-wrapped comment.
14499
7a8b71c3
DM
145002012-02-20 David S. Miller <davem@davemloft.net>
14501
d510c123
DM
14502 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
14503 both binutils and gcc support GOTDATA.
14504
0722d7c2
DM
14505 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
14506 "rd %pc" in the PIC register setup sequences.
14507
3d2b3019
DM
14508 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
14509 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
14510 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14511 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
14512 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14513 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
14514 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14515 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14516 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
14517 (SYSCALL_ERROR_HANDLER): Likewise.
14518 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14519 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14520 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
14521 (SYSCALL_ERROR_HANDLER): Likewise.
14522
c80098a9
DM
14523 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
14524 (HAVE_GCC_GOTDATA): New.
14525 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
14526 relocation support in both binutils and gcc.
14527 * sysdeps/sparc/elf/configure: Regenerate.
14528
3a2545a0
DM
14529 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
14530 * sysdeps/sparc/sparc32/elf/configure: Delete.
14531 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
14532 * sysdeps/sparc/sparc64/elf/configure: Delete.
14533 * sysdeps/sparc/elf/configure.in: New file.
14534 * sysdeps/sparc/elf/configure: Generate.
14535
7a8b71c3
DM
14536 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
14537 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
14538 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14539 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
14540 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
14541
f1e86fca
JM
145422012-02-21 Joseph Myers <joseph@codesourcery.com>
14543
14544 * manual/install.texi: Do not mention specific glibc version
14545 numbers.
14546 * manual/libc.texinfo (VERSION, UPDATED): Update.
14547 (@copying): Use @copyright{} and range of years.
14548
0e7dfaef
JM
145492012-02-21 Joseph Myers <joseph@codesourcery.com>
14550
14551 [BZ #13695]
14552 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
14553 [crti.S not in sysdirs] (generated): Do not append.
14554 [crti.S not in sysdirs] (omit-deps): Likewise.
14555 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
14556 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
14557 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
14558 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
14559 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
14560 Likewise.
14561 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
14562 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
14563 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
14564 * csu/defs.awk: Remove file.
14565 * sysdeps/generic/initfini.c: Likewise.
14566 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
14567 variable.
14568 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
14569 Likewise.
14570
599af3ca
JM
145712012-02-20 Joseph Myers <joseph@codesourcery.com>
14572
14573 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
14574 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
14575 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
14576 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
14577 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14578 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
14579 <bits/epoll.h>.
14580 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
14581 (__EPOLL_PACKED): Define to empty if not defined by
14582 <bits/epoll.h>.
14583 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
14584 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14585 bits/epoll.h.
14586
0e499750
JM
145872012-02-20 Joseph Myers <joseph@codesourcery.com>
14588
14589 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
14590 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
14591 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
14592 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
14593 <bits/timerfd.h>.
14594 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
14595 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14596 bits/timerfd.h.
14597
5ad91f6e
JM
145982012-02-20 Joseph Myers <joseph@codesourcery.com>
14599
14600 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
14601 in C locale.
14602 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14603 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14604 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
14605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14606
06b99b02
AJ
146072012-02-20 Aurelien Jarno <aurelien@aurel32.net>
14608
14609 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14610 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14611
7638c0fd
AS
146122012-02-19 Andreas Schwab <schwab@linux-m68k.org>
14613
14614 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
14615 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
14616 defined.
14617 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
14618 Likewise.
14619 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
14620 entry for 2.16.
14621
92221550
AJ
146222012-02-19 Aurelien Jarno <aurelien@aurel32.net>
14623
14624 * math/w_acos.c: Use non-signaling floating-point comparisons.
14625 * math/w_acosf.c: Likewise.
14626 * math/w_acosh.c: Likewise.
14627 * math/w_acoshf.c: Likewise.
14628 * math/w_acoshl.c: Likewise.
14629 * math/w_acosl.c: Likewise.
14630 * math/w_asin.c: Likewise.
14631 * math/w_asinf.c: Likewise.
14632 * math/w_asinl.c: Likewise.
14633 * math/w_atanh.c: Likewise.
14634 * math/w_atanhf.c: Likewise.
14635 * math/w_atanhl.c: Likewise.
14636 * math/w_exp2.c: Likewise.
14637 * math/w_exp2f.c: Likewise.
14638 * math/w_exp2l.c: Likewise.
14639 * math/w_j0.c: Likewise.
14640 * math/w_j0f.c: Likewise.
14641 * math/w_j0l.c: Likewise.
14642 * math/w_j1.c: Likewise.
14643 * math/w_j1f.c: Likewise.
14644 * math/w_j1l.c: Likewise.
14645 * math/w_jn.c: Likewise.
14646 * math/w_jnf.c: Likewise.
14647 * math/w_log.c: Likewise.
14648 * math/w_log10.c: Likewise.
14649 * math/w_log10f.c: Likewise.
14650 * math/w_log10l.c: Likewise.
14651 * math/w_log2.c: Likewise.
14652 * math/w_log2f.c: Likewise.
14653 * math/w_log2l.c: Likewise.
14654 * math/w_logf.c: Likewise.
14655 * math/w_logl.c: Likewise.
14656 * math/w_sqrt.c: Likewise.
14657 * math/w_sqrtf.c: Likewise.
14658 * math/w_sqrtl.c: Likewise.
14659 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14660 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
14661 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14662 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14663 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14664
ebaf36eb
JM
146652012-02-19 Joseph Myers <joseph@codesourcery.com>
14666
14667 [BZ #9739]
14668 * manual/string.texi (strnlen): Use correct parameter name in
14669 equivalent expression.
14670
71c254a6
JM
146712012-02-19 Joseph Myers <joseph@codesourcery.com>
14672
14673 [BZ #11174]
14674 * manual/users.texi (seteuid): Consistently use neweuid for
14675 argument name.
14676
16d2c631
JM
146772012-02-19 Joseph Myers <joseph@codesourcery.com>
14678
14679 [BZ #13704]
14680 * manual/nss.texi (Services in the NSS configuration): Correct
14681 list of services in example configuration file.
14682
cd837b09
NB
146832012-02-19 Nick Bowler <nbowler@draconx.ca>
14684
14685 [BZ #11322]
14686 * manual/arith.texi: Remove statements about negative zero
14687 behaving identically to zero.
14688
02c4bbad
JM
146892012-02-18 Joseph Myers <joseph@codesourcery.com>
14690
14691 [BZ #5993]
14692 * manual/install.texi: Do not document upgrading from libc5.
14693
366842e7
JM
146942012-02-18 Joseph Myers <joseph@codesourcery.com>
14695
14696 [BZ #4596]
14697 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
14698
dd54084d
DM
146992012-02-18 David S. Miller <davem@davemloft.net>
14700
14701 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
14702 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
14703 %o7 across the call.
14704 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
14705 instead.
14706 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
14707 SETUP_PIC_REG_LEAF.
14708 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14709 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
14710 * sysdeps/sparc/crtn.S: Likewise.
14711
2bcc53a3
UD
147122012-02-17 Ulrich Drepper <drepper@gmail.com>
14713
14714 * aout/Makefile: Remove.
14715
09c093b5
RK
147162012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
14717
14718 [BZ #13058]
14719 * manual/examples/argp-ex1.c (main): Format definition in GNU
14720 style.
14721 * manual/examples/argp-ex2.c (main): Likewise.
14722 * manual/examples/argp-ex3.c (main): Likewise.
14723 * manual/examples/argp-ex4.c (main): Likewise.
14724 * manual/examples/longopt.c (main): Use new-style prototype
14725 definition.
14726 * manual/examples/strncat.c (main): Specify return type and use
14727 (void) for arguments.
14728 * manual/examples/subopt.c (main): Use char **argv argument.
14729
2ee633a2
JM
147302012-02-17 Joseph Myers <joseph@codesourcery.com>
14731
14732 [BZ #5077]
14733 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
14734 rounding modes.
14735
0520adde
FB
147362012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
14737
14738 [BZ #6907]
14739 * manual/string.texi (strchr): Change when strchrnul is
14740 recommended.
14741
3f4081cd
DGM
147422012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
14743
14744 [BZ #174]
14745 * manual/locale.texi (setlocale): Document LOCPATH.
14746
d1b10e78
JM
147472012-02-17 Joseph Myers <joseph@codesourcery.com>
14748
14749 [BZ #10210]
14750 * manual/process.texi (execle): Move @dots{} before last argument.
14751
79c6869c
PB
147522012-02-17 Paul Bolle <pebolle@tiscali.nl>
14753
14754 [BZ #12047]
14755 * manual/charset.texi (Generic Charset Conversion): Fix typo
14756 (LC_TYPE -> LC_CTYPE).
14757
cc6e48bc
NB
147582012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
14759
14760 [BZ #5805]
14761 * manual/arith.texi (scalbn): Use @var{} on parameter names.
14762 (scalbnf): Likewise.
14763 (scalbnl): Likewise.
14764 (scalbln): Likewise.
14765 (scalblnf): Likewise.
14766 (scalblnl): Likewise.
14767 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
14768 (vwarnx): Likewise.
14769 (verr): Likewise.
14770 (verrx): Likewise.
14771 * manual/filesys.texi (telldir): Use braces around return type.
14772 * manual/llio.texi (mmap): Add space after comma.
14773 (mmap64): Likewise.
14774 * manual/math.texi (jn): Use @var{} on parameter names.
14775 (jnf): Likewise.
14776 (jnl): Likewise.
14777 (yn): Likewise.
14778 (ynf): Likewise.
14779 (ynl): Likewise.
14780 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
14781 line.
14782 * manual/resource.texi (ulimit): Use @dots{} instead of literal
14783 "...".
14784 (sched_get_priority_min): Remove semicolon on @deftypefun line.
14785 (sched_get_priority_max): Likewise.
14786 * manual/signal.texi (sigvec): Add space after comma.
14787 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
14788 names.
14789 (if_indextoname): Likewise.
14790 (if_freenameindex): Likewise.
14791 (sendto): Use ',' instead of '.' in prototype.
14792 * manual/startup.texi (syscall): Use @dots{} instead of literal
14793 "...".
14794 * manual/stdio.texi (__fpending): Separate initial words of
14795 paragraph from @deftypefun line.
14796 * manual/syslog.texi (syslog): Use @dots{} instead of literal
14797 "...".
14798 (vsyslog): Use @var{} on parameter names.
14799 * manual/terminal.texi (stty): Use @var{} on parameter names.
14800 * manual/users.texi (getutmp): Use @var{} on parameter names.
14801 (getutmpx): Likewise.
14802
5b23062f
JM
148032012-02-17 Joseph Myers <joseph@codesourcery.com>
14804
14805 [BZ #6884]
14806 * manual/stdio.texi (fopen): Fix typos in description of
14807 ",ccs=STRING".
14808
8dee4833
AJ
148092012-02-17 Aurelien Jarno <aurelien@aurel32.net>
14810
14811 [BZ #4026]
14812 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
14813 get clock_id definition.
14814
9078ce93
TS
148152012-02-17 Thomas Schwinge <thomas@schwinge.name>
14816
14817 [BZ #4822]
14818 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
14819 (madvise): Cast every argument to void on its own.
14820
3835c55f
JM
148212012-02-17 Joseph Myers <joseph@codesourcery.com>
14822
14823 [BZ #9902]
14824 * manual/startup.texi (Exit Status): Fix typo.
14825
35c47e37
JM
148262012-02-17 Joseph Myers <joseph@codesourcery.com>
14827
14828 [BZ #10140]
14829 * manual/examples/argp-ex1.c: Include <stdlib.h>.
14830 * manual/examples/argp-ex2.c: Likewise.
14831 * manual/examples/argp-ex3.c: Likewise.
14832
e3b69ca7
RH
148332012-02-16 Richard Henderson <rth@redhat.com>
14834
14835 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
14836 * sysdeps/s390/s390-32/initfini.c: Remove.
14837 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
14838 * sysdeps/s390/s390-64/initfini.c: Remove.
14839
df83af67
KK
148402012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14841
14842 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
14843 compiler output for sysdeps/generic/initfini.c.
14844 * sysdeps/sh/elf/initfini.c: Remove file.
14845
f63f3380
DM
148462012-02-16 David S. Miller <davem@davemloft.net>
14847
fb59b3a4
DM
14848 [BZ #11494]
14849 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
14850
f63f3380
DM
14851 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
14852 * sysdeps/sparc/crti.S: New file.
14853 * sysdeps/sparc/crtn.S: New file.
14854 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
14855 * sysdeps/sparc/sparc64/Makefile: Likewise.
14856
df6a4a4a
MF
148572012-02-15 Mike Frysinger <vapier@gentoo.org>
14858
6dd8f3dc 14859 [BZ #3335]
df6a4a4a
MF
14860 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
14861
1cac7236
RM
148622012-02-15 Roland McGrath <roland@hack.frob.com>
14863
d2c736f8
RM
14864 [BZ #4822]
14865 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
14866
1cac7236
RM
14867 * mach/devstream.c (cookie_io_functions_t): Macro removed.
14868 (write, read, close): Likewise.
14869 Patch by Aurelien Jarno <aurelien@aurel32.net>.
14870
8e475601
JM
148712012-02-15 Joseph Myers <joseph@codesourcery.com>
14872
14873 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
14874 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
14875 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
14876 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
14877 <bits/signalfd.h>.
14878 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
14879 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14880 bits/signalfd.h.
14881
ed656b40
MP
148822012-02-14 Marek Polacek <polacek@redhat.com>
14883
14884 * sysdeps/x86_64/crti.S: New file.
14885 * sysdeps/x86_64/crtn.S: New file.
14886 * sysdeps/x86_64/elf/initfini.c: Remove file.
14887
2a979d3a
JM
148882012-02-13 Joseph Myers <joseph@codesourcery.com>
14889
14890 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
14891 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
14892 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
14893 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
14894 <bits/inotify.h>.
14895 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
14896 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14897 bits/inotify.h.
14898
2a418ac3
JM
148992012-02-13 Joseph Myers <joseph@codesourcery.com>
14900
14901 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
14902 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
14903 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
14904 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
14905 <bits/eventfd.h>.
14906 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
14907 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14908 bits/eventfd.h.
14909
fb779be7
TS
149102012-02-10 Thomas Schwinge <thomas@codesourcery.com>
14911
e19e83c5
RM
14912 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
14913 __feraiseexcept instead of feraiseexcept.
7c35ffed 14914
fb779be7
TS
14915 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
14916 nanosleep invocations.
14917 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
14918 strings, and add error checking for a nanosleep invocations.
14919
59ba27a6
PE
149202012-02-09 Paul Eggert <eggert@cs.ucla.edu>
14921
14922 Replace FSF snail mail address with URLs, as per GNU coding standards.
14923 Most of the snail mail addresses were wrong anyway, and omitting
14924 them makes the source code easier to maintain. Almost all of the
14925 changes are to license notices and to locale LC_IDENTIFICATION
14926 addresses, except for this one:
14927 * manual/libc.texinfo: In "Published by", give the FSF's URL,
14928 not its snail mail address.
14929
57b957eb
RH
149302012-02-09 Richard Henderson <rth@twiddle.net>
14931
af850b1c
RH
14932 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
14933 of kernel-features.h.
14934
57b957eb
RH
14935 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
14936
6b73181a
MP
149372012-02-08 Marek Polacek <polacek@redhat.com>
14938
14939 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
14940 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
14941 * sysdeps/gnu/_G_config.h: Likewise.
14942 * sysdeps/generic/_G_config.h: Likewise.
14943
26ecc33a
AS
149442012-02-08 Andreas Schwab <schwab@linux-m68k.org>
14945
6c6dbc63
AS
14946 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
14947 tests.
14948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14949
e216c012
AS
14950 * sysdeps/powerpc/powerpc32/crti.S: New file.
14951 * sysdeps/powerpc/powerpc32/crtn.S: New file.
14952 * sysdeps/powerpc/powerpc64/crti.S: New file.
14953 * sysdeps/powerpc/powerpc64/crtn.S: New file.
14954
26ecc33a
AS
14955 * Makeconfig (have-initfini): Don't set.
14956 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
14957 * configure.in (nopic_initfini): Don't substitute.
14958 * config.h.in (HAVE_INITFINI): Don't #undef.
14959 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
14960 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
14961
3add8e13
JM
149622012-02-08 Joseph Myers <joseph@codesourcery.com>
14963
14964 Support crti.S and crtn.S provided directly by architectures.
14965 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
14966 [crti.S in sysdirs] (omit-deps): Likewise.
14967 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
14968 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
14969 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
14970 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
14971 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
14972 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
14973 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
14974 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
14975 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
14976 compiler output for sysdeps/generic/initfini.c.
14977 * sysdeps/i386/elf/Makefile: Remove file.
14978 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
14979
a22f12b4
MP
149802012-02-07 Marek Polacek <polacek@redhat.com>
14981
14982 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
14983 * sysdeps/gnu/_G_config.h: Likewise.
14984 * sysdeps/mach/hurd/_G_config.h: Likewise.
14985
148cf100
MP
149862012-02-07 Marek Polacek <polacek@redhat.com>
14987
14988 * math/Makefile (tests): Add tst-CMPLX2.
14989 * math/tst-CMPLX2.c: New file.
14990
cfdc0dd7
AS
149912012-02-07 Andreas Schwab <schwab@linux-m68k.org>
14992
84ba42c4
AS
14993 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14994
cfdc0dd7
AS
14995 * math/libm-test.inc (jn_test): Add missing L suffix.
14996
622c86f4
MP
149972012-02-06 Marek Polacek <polacek@redhat.com>
14998
14999 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
15000 * sysdeps/i386/fpu/e_powf.S: Likewise.
15001 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15002 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15003 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15004 * sysdeps/i386/fpu/e_pow.S: Likewise.
15005 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15006 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15007 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15008 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15009 * sysdeps/i386/fpu/e_log2.S: Likewise.
15010 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15011 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15012 * sysdeps/i386/fpu/e_powl.S: Likewise.
15013 * sysdeps/i386/fpu/s_log1p.S: Likewise.
15014 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15015 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15016 * sysdeps/i386/fpu/e_logl.S: Likewise.
15017 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15018 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
15019 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15020 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15021 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15022 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15023 * sysdeps/i386/fpu/e_log.S: Likewise.
15024 * sysdeps/i386/fpu/s_cexp.S: Likewise.
15025 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15026 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
15027 * sysdeps/i386/fpu/e_logf.S: Likewise.
15028 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15029 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15030 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
15031 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15032 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15033 * sysdeps/i386/fpu/e_log10.S: Likewise.
15034 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15035 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15036 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15037 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15038 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15039 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15040 * sysdeps/i386/asm-syntax.h: Likewise.
15041 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15042 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15043 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15044 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
15045 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
15046 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15047 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15048 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15049 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15050 * sysdeps/powerpc/sysdep.h: Likewise.
15051 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
15052 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15053
d4a54ac6
JM
150542012-02-06 Joseph Myers <joseph@codesourcery.com>
15055
15056 [BZ #411]
15057 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
15058
314054ea
JM
150592012-02-06 Joseph Myers <joseph@codesourcery.com>
15060
15061 * sysdeps/i386/sysdep.h: Include <features.h>.
15062 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
15063 version.
15064
d8e0ca50
JM
150652012-02-05 Joseph Myers <joseph@codesourcery.com>
15066
15067 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
15068 Define.
15069 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
15070 LOAD_PIC_REG_STR.
15071
b1da7dd9
JM
150722012-02-03 Joseph Myers <joseph@codesourcery.com>
15073
15074 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
15075 (SETUP_PIC_REG): Use GET_PC_THUNK.
15076 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
15077 macro.
15078
9a1d9254
JM
150792012-02-03 Joseph Myers <joseph@codesourcery.com>
15080
15081 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
15082 for non-PIC compilation.
15083 (SETUP_PIC_REG): Add .p2align directive.
15084 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
15085 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
15086 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15087 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15088 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15089 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15090 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
15091 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15092 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15093 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15094 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15095 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15096 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15097 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15098 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15099 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15100 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15101 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15102 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15103 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15104 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15105 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15106 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15107 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15108 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15109 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15110 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15111 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15112 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15113 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15114 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15115 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15116 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15117 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15118 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15119 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15120 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15121 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15122 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15123 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15124 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15125
65dc3b75
JM
151262012-02-03 Joseph Myers <joseph@codesourcery.com>
15127
15128 * math/tst-CMPLX.c: Include <stdio.h>.
15129
d55bf177
JM
151302012-01-31 Joseph Myers <joseph@codesourcery.com>
15131
15132 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
15133 float.
15134 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15135 * sysdeps/sparc/bits/mathdef.h: Likewise.
15136
69db4f8f
MP
151372012-01-31 Marek Polacek <polacek@redhat.com>
15138
15139 * libio/libio.h: Don't define _PARAMS.
15140 * locale/programs/config.h: Don't define PARAMS.
15141 * stdlib/strtol_l.c: Likewise.
15142 (__strtol_l): Remove PARAMS from the prototype.
15143
41b81892
UD
151442012-01-31 Ulrich Drepper <drepper@gmail.com>
15145
3b49edc0
UD
15146 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
15147 names. Just use the correct names. Remove unnecessary wrapper
15148 functions.
15149 * malloc/arena.c: Likewise.
15150 * malloc/hooks.c: Likewise.
15151
41b81892
UD
15152 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
15153 ARENA_TEST says not to. Simplify test for creation of a new arena.
15154 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
15155
27a25b6e
UD
151562012-01-30 Ulrich Drepper <drepper@gmail.com>
15157
15158 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
15159 into tail calls.
15160 (update_get_addr): New function.
15161 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
15162 GET_ADDR_MODULE parameter.
15163
c8a89e7d
JM
151642012-01-30 Joseph Myers <joseph@codesourcery.com>
15165
15166 * crypt/cert.c: Remove __STDC__ conditionals.
15167 * crypt/crypt-entry.c: Likewise.
15168 * crypt/crypt_util.c: Likewise.
15169 * libio/filedoalloc.c: Likewise.
15170 * libio/fileops.c: Likewise.
15171 * libio/genops.c: Likewise.
15172 * libio/iofclose.c: Likewise.
15173 * libio/iofdopen.c: Likewise.
15174 * libio/iofopen.c: Likewise.
15175 * libio/iofopen64.c: Likewise.
15176 * libio/iogetdelim.c: Likewise.
15177 * libio/iopopen.c: Likewise.
15178 * libio/obprintf.c: Likewise.
15179 * libio/oldfileops.c: Likewise.
15180 * libio/oldiofclose.c: Likewise.
15181 * libio/oldiofdopen.c: Likewise.
15182 * libio/oldiofopen.c: Likewise.
15183 * libio/oldiopopen.c: Likewise.
15184 * libio/wfiledoalloc.c: Likewise.
15185 * libio/wgenops.c: Likewise.
15186 * locale/programs/xmalloc.c: Likewise.
15187 * misc/syslog.c: Likewise.
15188 * stdio-common/xbug.c: Likewise.
15189 * string/memchr.c: Likewise.
15190 * string/memcmp.c: Likewise.
15191 * string/memrchr.c: Likewise.
15192 * string/rawmemchr.c: Likewise.
15193 * sysdeps/posix/getcwd.c: Likewise.
15194 * time/strftime_l.c: Likewise.
15195
3b100462
JM
151962012-01-30 Joseph Myers <joseph@codesourcery.com>
15197
15198 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
15199 * config.make.in (config-cflags-sse2avx): Define.
15200 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
15201 Fix typo.
15202
607998af
CM
152032012-01-29 Chris Metcalf <cmetcalf@tilera.com>
15204
15205 * scripts/config.guess: Update from upstream config git repository.
15206 * scripts/config.sub: Likewise.
15207
3601428f
CM
152082012-01-28 Chris Metcalf <cmetcalf@tilera.com>
15209
3ac8b282
CM
15210 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
15211 (EM_NUM): Update.
15212 (R_TILEPRO_*, R_TILEGX_*): New macros.
15213
e034841e
CM
15214 * scripts/firstversions.awk: Fix bug in version range handling.
15215
540d7568
CM
15216 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
15217
3601428f
CM
15218 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
15219
463de862
CM
15220 * include/sys/epoll.h: New file.
15221 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
15222 libc_hidden_def.
15223
73139a76
UD
152242012-01-28 Ulrich Drepper <drepper@gmail.com>
15225
96bc5b45
UD
15226 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
15227 Avoid unnecessary __WORDSIZE == 64 test.
15228 (fmaxf): Use VEX format if possible.
15229 (fmax): Likewise.
15230 (fminf): Likewise.
15231 (fmin): Likewise.
15232
56f6f6a2
UD
15233 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
15234 * math/math_private.h: Remove libc_fegetround* and
15235 libc_fesetround*.
15236 * sysdeps/i386/configure.in: Check for -msse2avx.
15237 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
15238 also if SSE2AVX is defined.
15239 Remove libc_fegetround* and libc_fesetround*.
15240 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
15241 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
15242 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
15243 of HAS_YMM_USABLE.
15244 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15245 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15246 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15247 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15248 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15249
73139a76
UD
15250 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
15251
d73f93a4
AZ
152522012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15253
15254 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
15255 size is not set.
15256 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15257
6ee65ed6
UD
152582012-01-27 Ulrich Drepper <drepper@gmail.com>
15259
15260 [BZ #13618]
15261 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
15262 relocation.
15263 * Makeconfig (libm): Define.
15264 * elf/Makefile: Add rules to build and run tst-relsort1.
15265 * elf/tst-relsort1.c: New file.
15266 * elf/tst-relsort1mod1.c: New file.
15267 * elf/tst-relsort1mod2.c: New file.
15268
8db21882
JM
152692012-01-27 Joseph Myers <joseph@codesourcery.com>
15270
15271 * math/s_ldexp.c: Remove __STDC__ conditionals.
15272 * math/s_ldexpf.c: Likewise.
15273 * math/s_ldexpl.c: Likewise.
15274 * math/s_nextafter.c: Likewise.
15275 * math/s_nexttowardf.c: Likewise.
15276 * math/s_significand.c: Likewise.
15277 * math/s_significandf.c: Likewise.
15278 * math/s_significandl.c: Likewise.
15279 * math/w_jnl.c: Likewise.
15280 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
15281 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15282 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15283 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15284 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15285 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15286 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
15287 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15288 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15289 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15290 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15291 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15292 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15293 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15294 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15295 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15296 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15297 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15298 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15299 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15300 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15301 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15302 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15303 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15304 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15305 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15306 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15307 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15308 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
15309 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15310 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15311 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
15312 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15313 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
15314 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
15315 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15316 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15317 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
15318 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
15319 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15320 * sysdeps/ieee754/k_standard.c: Likewise.
15321 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15322 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15323 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15324 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15325 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15326 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15327 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15328 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15329 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15330 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15331 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15332 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
15333 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15334 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15335 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15336 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15337 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15338 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15339 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15340 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15341 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15342 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15343 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15344 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15345 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15346 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15347 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15348 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15349 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15350 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15351 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15352 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
15353 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15354 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
15355 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15356 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
15357 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
15358 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15359 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
15360 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
15361 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
15362 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
15363 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
15364 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
15365 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15366 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15367 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15368 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15369 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15370 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
15371 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
15372 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15373 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15374 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
15375 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15376 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
15377 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
15378 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15379 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15380 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15381 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15382 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15383 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15384 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15385 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15386 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15387 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15388 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15389 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15390 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15391 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15392 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15393 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15394 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15395 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15396 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15397 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15398 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15399 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15400 * sysdeps/ieee754/s_matherr.c: Likewise.
15401 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15402 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15403 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15404 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15405
965a54a4
JM
154062012-01-26 Joseph Myers <joseph@codesourcery.com>
15407
15408 * crypt/md5.h: Remove __STDC__ conditionals.
15409 * libio/libioP.h: Likewise.
15410 * locale/programs/config.h: Likewise.
15411 * sysdeps/generic/sysdep.h: Likewise.
15412 * sysdeps/i386/asm-syntax.h: Likewise.
15413 * sysdeps/s390/asm-syntax.h: Likewise.
15414 * sysdeps/unix/sysdep.h: Likewise.
15415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15417
7071ad79
JM
154182012-01-26 Joseph Myers <joseph@codesourcery.com>
15419
15420 * libio/libio.h: Remove __STDC__ conditionals.
15421 * malloc/obstack.h: Likewise.
15422 * math/complex.h: Likewise.
15423 * math/math.h: Likewise.
15424 * sysdeps/generic/_G_config.h: Likewise.
15425 * sysdeps/gnu/_G_config.h: Likewise.
15426 * sysdeps/mach/hurd/_G_config.h: Likewise.
15427 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15428 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15429 * sysdeps/sparc/bits/mathdef.h: Likewise.
15430
afc5ed09
UD
154312012-01-26 Ulrich Drepper <drepper@gmail.com>
15432
15433 [BZ #13583]
15434 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 15435 Clean up HAS_* macros.
afc5ed09 15436 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
15437 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
15438 possible.
15439 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
15440 HAS_AVX.
15441 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15442 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15443 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15444 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15445 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 15446
bdb6de1d
JM
154472012-01-25 Joseph Myers <joseph@codesourcery.com>
15448
15449 * elf/tst-unique3.cc (gets): Remove declaration.
15450 * elf/tst-unique3lib.cc (gets): Likewise.
15451 * elf/tst-unique3lib2.cc (gets): Likewise.
15452 * elf/tst-unique4.cc (gets): Likewise.
15453
b15549e6
UD
154542012-01-24 Ulrich Drepper <drepper@gmail.com>
15455
15456 * include/stdio.h: Add C++ protection. Add gets declarations and
15457 definitions.
15458 * debug/tst-chk1.c: Don't declare gets here.
15459 * stdio-common/tst-gets.c: Likewise.
15460
a037381f
JM
154612012-01-24 Joseph Myers <joseph@codesourcery.com>
15462
15463 * posix/glob: Remove directory.
15464
f1d4aa75
JM
154652012-01-24 Joseph Myers <joseph@codesourcery.com>
15466
15467 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
15468
81c0c964
PT
154692012-01-22 Pino Toscano <toscano.pino@tiscali.it>
15470
15471 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
15472 of the non-standard EPFNOSUPPORT.
15473
0ea698ae
ST
154742011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
15475
15476 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
15477 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
15478 ANYWHERE set to 1 only on KERN_NO_SPACE error.
15479
d220b117
UD
154802012-01-21 Ulrich Drepper <drepper@gmail.com>
15481
15482 * wcsmbs/uchar.h: Test __STDC_VERSION__.
15483
3e1aa84e
UD
154842012-01-20 Ulrich Drepper <drepper@gmail.com>
15485
15486 * nscd/aicache.c (addhstaiX): Do not cache negative results of
15487 transient errors.
15488 * nscd/grpcache.c (cache_addgr): Likewise.
15489 * nscd/hstcache.c (cache_addhst): Likewise.
15490 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15491 * nscd/pwdcache.c (cache_addpw): Likewise.
15492 * nscd/servicescache.c (cache_addserv): Likewise.
15493
400aa020
UD
154942012-01-16 Ulrich Drepper <drepper@gmail.com>
15495
d77e7869
UD
15496 * malloc/malloc.c: Various cleanups.
15497 * malloc/hooks.c: Likewise.
15498
400aa020
UD
15499 * stdlib/Makefile (tests): Add bug-fmtmsg1.
15500 * stdlib/bug-fmtmsg1.c: New file.
15501
15502 * stdlib/fmtmsg.c (init): Add missing unlock.
15503 Patch by Peng Haitao <penght@cn.fujitsu.com>.
15504
e0a309cf
MP
155052012-01-12 Marek Polacek <polacek@redhat.com>
15506
15507 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
15508 and _GNU_SOURCE.
15509
929d11c7
WS
155102012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15511
15512 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
15513 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
15514 macro to ensure uniqueness of label name.
15515 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
15516 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
15517
41d0e869
UD
155182012-01-11 Ulrich Drepper <drepper@gmail.com>
15519
0cc5ed3b
UD
15520 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
15521
41d0e869
UD
15522 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
15523 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
15524 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15525 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
15526
a47a831a
UD
155272012-01-10 Ulrich Drepper <drepper@gmail.com>
15528
daa891c0
UD
15529 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
15530
15531 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
15532 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
15533 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
15534
e58ef0f2
UD
15535 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
15536
a47a831a 15537 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
15538 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
15539 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 15540 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
15541
15542 * math/bits/math-finite.h: Add ldexp support.
15543
a0bfc9c7
MP
155442012-01-10 Marek Polacek <polacek@redhat.com>
15545
15546 * locale/programs/localedef.h (show_archive_content): Add noreturn
15547 attribute.
15548
d6e97a1d
UD
155492012-01-09 Ulrich Drepper <drepper@gmail.com>
15550
15551 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
15552
d5835c26
UD
155532012-01-08 Ulrich Drepper <drepper@gmail.com>
15554
e5f484c6
UD
15555 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
15556
d5835c26
UD
15557 * io/Makefile (headers): Add bits/poll2.h.
15558
d1f741e9
WS
155592011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
15560
15561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
15562 typo #include statement.
15563
ec09c1c4
UD
155642012-01-08 Ulrich Drepper <drepper@gmail.com>
15565
15566 * include/sys/cdefs.h: Define __attribute_alloc_size.
15567 * catgets/gencat.c: Add alloc_size attribute and apply consistently
15568 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
15569 * elf/pldd.c: Likewise.
15570 * iconv/iconv_charmap.c: Likewise.
15571 * iconv/iconvconfig.c: Likewise.
15572 * iconv/strtab.c: Likewise.
15573 * locale/programs/locale.c: Likewise.
15574 * locale/programs/localedef.h: Likewise.
15575 * locale/programs/simple-hash.c: Likewise.
15576 * nscd/nscd.h: Likewise.
15577 * nss/makedb.c: Likewise.
15578 * sysdeps/generic/ldconfig.h: Likewise.
15579 * locale/programs/localedef.c: Remove xmalloc prototype.
15580 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
15581
20b38e03
PP
155822012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15583
15584 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
15585 appropriate.
15586
a0da5fe1
UD
155872012-01-08 Ulrich Drepper <drepper@gmail.com>
15588
1d5a644a 15589 * math/Makefile (tests): Add tst-CMPLX.
669704fd 15590 * math/tst-CMPLX.c: New file.
1d5a644a 15591
8784a6db
UD
15592 * math/complex.h (CMPLXL): Fix typo.
15593
d9a216c0
UD
15594 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
15595 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
15596 GLIBC_2.16.
15597 * debug/tst-chk1.c: Add poll and ppoll tests.
15598 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
15599 * include/sys/poll.h: Add hidden proto for ppoll.
15600 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
15601 * sysdeps/mach/hurd/ppoll.c: Likewise.
15602 * io/ppoll.c: Likewise.
15603 * debug/poll_chk.c: New file.
15604 * debug/ppoll_chk.c: New file.
15605 * include/bits/poll2.h: New file.
15606 * io/bits/poll2.h: New file.
15607
ac097f5c
UD
15608 [BZ #1350]
15609 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
15610
2119dcfa
UD
15611 * configure.in: static is always set to yes. Remove.
15612 * config.make.in: Don't set build-static.
15613 * Makeconfig: Remove use of build-static.
15614 * dlfcn/Makefile: Likewise.
15615 * elf/Makefile: Likewise.
15616 * math/Makefile: Likewise.
15617 * misc/Makefile: Likewise.
15618 * nptl/Makefile: Likewise.
15619 * sysdeps/mach/hurd/Makefile: Likewise.
15620
121766a9
UD
15621 * configure.in: PWD_P is not used anymore.
15622 * config.make.in: Remove PWD_P entry.
15623
51a1d39c 15624 * configure.in: Remove last remnants of RANLIB.
8720d066 15625 No need to check for signed size_t anymore.
215f4bdc
UD
15626 Don't set libc_commonpagesize and libc_relro_required here for Alpha
15627 and IA-64.
3857022a 15628 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
15629 * aclocal.m4: Likewise.
15630
d3ed7225
UD
15631 * wcsmbs/mbrtoc16.c: Implement using towc function.
15632 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
15633 * wcsmbs/wcsmbsload.c: Likewise.
15634 * iconv/gconv_simple.c: Likewise.
15635 * iconv/gconv_int.h: Likewise.
15636 * iconv/gconv_builtin.h: Likewise.
15637 * iconv/iconv_prog.c: Remove CHAR16 handling.
15638
15639 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
15640
15641 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
15642
a0da5fe1
UD
15643 * configure.in: Remove --with-elf and --enable-bounded options.
15644 Dont set base_machine for ia64. More non-ELF conditions removed.
15645 Remove testing and setting of leading underscore information.
15646 * config.make.in (build-bounded): Set to no.
15647 * config.h.in: Remove NO_UNDERSCORES entry.
15648 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
15649 them.
15650 * csu/start.c: Remove !NO_UNDERSCORE code.
15651 * locale/localeinfo.h: Likewise.
15652 * sysdeps/generic/machine-gmon.h: Likewise.
15653 * sysdeps/generic/sysdep.h: Likewise.
15654 * sysdeps/i386/sysdep.h: Likewise.
15655 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
15656 * sysdeps/mach/sysdep.h: Likewise.
15657 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15658 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15659 * sysdeps/sh/sysdep.h: Likewise.
15660 * sysdeps/sparc/sparc32/alloca.S: Likewise.
15661 * sysdeps/unix/i386/sysdep.S: Likewise.
15662 * sysdeps/unix/sparc/start.c: Likewise.
15663 * sysdeps/unix/sparc/sysdep.S: Likewise.
15664 * sysdeps/unix/sparc/sysdep.h: Likewise.
15665 * sysdeps/unix/start.c: Likewise.
15666 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15667 * sysdeps/x86_64/sysdep.h: Likewise.
15668
df78418a
UD
156692012-01-07 Ulrich Drepper <drepper@gmail.com>
15670
a784e502
UD
15671 [BZ #13553]
15672 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
15673 for non-gcc.
15674 * argp/argp-fmtstream.h: Use const instead __const.
15675 * argp/argp.h: Likewise.
15676 * assert/assert.h: Likewise.
15677 * bits/fenv.h: Likewise.
15678 * bits/sched.h: Likewise.
15679 * bits/sigset.h: Likewise.
15680 * bits/sigthread.h: Likewise.
15681 * catgets/nl_types.h: Likewise.
15682 * conform/data/pthread.h-data: Likewise.
15683 * crypt/crypt-private.h: Likewise.
15684 * crypt/crypt.h: Likewise.
15685 * crypt/crypt_util.c: Likewise.
15686 * ctype/ctype.h: Likewise.
15687 * debug/execinfo.h: Likewise.
15688 * debug/mbsnrtowcs_chk.c: Likewise.
15689 * debug/mbsrtowcs_chk.c: Likewise.
15690 * debug/wcsnrtombs_chk.c: Likewise.
15691 * debug/wcsrtombs_chk.c: Likewise.
15692 * debug/wcstombs_chk.c: Likewise.
15693 * dirent/dirent.h: Likewise.
15694 * dlfcn/dlfcn.h: Likewise.
15695 * elf/neededtest4.c: Likewise.
15696 * grp/grp.h: Likewise.
15697 * gshadow/gshadow.h: Likewise.
15698 * iconv/gconv.h: Likewise.
15699 * iconv/gconv_int.h: Likewise.
15700 * iconv/gconv_simple.c: Likewise.
15701 * iconv/iconv.h: Likewise.
15702 * iconv/loop.c: Likewise.
15703 * iconv/skeleton.c: Likewise.
15704 * include/aio.h: Likewise.
15705 * include/aliases.h: Likewise.
15706 * include/argz.h: Likewise.
15707 * include/arpa/inet.h: Likewise.
15708 * include/assert.h: Likewise.
15709 * include/dirent.h: Likewise.
15710 * include/dlfcn.h: Likewise.
15711 * include/execinfo.h: Likewise.
15712 * include/fcntl.h: Likewise.
15713 * include/fenv.h: Likewise.
15714 * include/glob.h: Likewise.
15715 * include/grp.h: Likewise.
15716 * include/libintl.h: Likewise.
15717 * include/mntent.h: Likewise.
15718 * include/netdb.h: Likewise.
15719 * include/pwd.h: Likewise.
15720 * include/rpc/netdb.h: Likewise.
15721 * include/sched.h: Likewise.
15722 * include/search.h: Likewise.
15723 * include/shadow.h: Likewise.
15724 * include/signal.h: Likewise.
15725 * include/stdio.h: Likewise.
15726 * include/stdlib.h: Likewise.
15727 * include/string.h: Likewise.
15728 * include/sys/socket.h: Likewise.
15729 * include/sys/stat.h: Likewise.
15730 * include/sys/statfs.h: Likewise.
15731 * include/sys/statvfs.h: Likewise.
15732 * include/sys/syslog.h: Likewise.
15733 * include/sys/time.h: Likewise.
15734 * include/sys/uio.h: Likewise.
15735 * include/time.h: Likewise.
15736 * include/unistd.h: Likewise.
15737 * include/utmp.h: Likewise.
15738 * include/wchar.h: Likewise.
15739 * include/wctype.h: Likewise.
15740 * inet/aliases.h: Likewise.
15741 * inet/arpa/inet.h: Likewise.
15742 * inet/netinet/ether.h: Likewise.
15743 * inet/netinet/in.h: Likewise.
15744 * intl/libintl.h: Likewise.
15745 * io/bits/fcntl2.h: Likewise.
15746 * io/fcntl.h: Likewise.
15747 * io/ftw.h: Likewise.
15748 * io/sys/poll.h: Likewise.
15749 * io/sys/stat.h: Likewise.
15750 * io/sys/statfs.h: Likewise.
15751 * io/sys/statvfs.h: Likewise.
15752 * io/utime.h: Likewise.
15753 * libio/bits/stdio.h: Likewise.
15754 * libio/bits/stdio2.h: Likewise.
15755 * libio/libio.h: Likewise.
15756 * libio/libioP.h: Likewise.
15757 * libio/stdio.h: Likewise.
15758 * locale/lc-ctype.c: Likewise.
15759 * locale/locale.h: Likewise.
15760 * login/utmp.h: Likewise.
15761 * malloc/arena.c: Likewise.
15762 * malloc/malloc.c: Likewise.
15763 * malloc/malloc.h: Likewise.
15764 * malloc/mcheck.c: Likewise.
15765 * malloc/mtrace.c: Likewise.
15766 * math/bits/mathcalls.h: Likewise.
15767 * math/fenv.h: Likewise.
15768 * math/math_private.h: Likewise.
15769 * misc/bits/error.h: Likewise.
15770 * misc/bits/syslog.h: Likewise.
15771 * misc/err.h: Likewise.
15772 * misc/error.h: Likewise.
15773 * misc/fstab.h: Likewise.
15774 * misc/mntent.h: Likewise.
15775 * misc/regexp.h: Likewise.
15776 * misc/search.h: Likewise.
15777 * misc/sgtty.h: Likewise.
15778 * misc/sys/mman.h: Likewise.
15779 * misc/sys/syslog.h: Likewise.
15780 * misc/sys/uio.h: Likewise.
15781 * misc/sys/xattr.h: Likewise.
15782 * misc/ttyent.h: Likewise.
15783 * nis/rpcsvc/ypclnt.h: Likewise.
15784 * nss/nss.h: Likewise.
15785 * posix/bits/unistd.h: Likewise.
15786 * posix/fnmatch.h: Likewise.
15787 * posix/glob.h: Likewise.
15788 * posix/sched.h: Likewise.
15789 * posix/spawn.h: Likewise.
15790 * posix/sys/wait.h: Likewise.
15791 * posix/unistd.h: Likewise.
15792 * posix/wordexp.h: Likewise.
15793 * pwd/pwd.h: Likewise.
15794 * resolv/netdb.h: Likewise.
15795 * resource/sys/resource.h: Likewise.
15796 * rt/aio.h: Likewise.
15797 * rt/bits/mqueue2.h: Likewise.
15798 * rt/mqueue.h: Likewise.
15799 * shadow/shadow.h: Likewise.
15800 * signal/signal.h: Likewise.
15801 * socket/send.c: Likewise.
15802 * socket/sendto.c: Likewise.
15803 * socket/sys/socket.h: Likewise.
15804 * stdio-common/printf.h: Likewise.
15805 * stdlib/bits/stdlib.h: Likewise.
15806 * stdlib/fmtmsg.h: Likewise.
15807 * stdlib/monetary.h: Likewise.
15808 * stdlib/stdlib.h: Likewise.
15809 * stdlib/ucontext.h: Likewise.
15810 * streams/stropts.h: Likewise.
15811 * string/argz.h: Likewise.
15812 * string/bits/string2.h: Likewise.
15813 * string/string.h: Likewise.
15814 * string/strings.h: Likewise.
15815 * sunrpc/rpc/auth.h: Likewise.
15816 * sunrpc/rpc/auth_des.h: Likewise.
15817 * sunrpc/rpc/clnt.h: Likewise.
15818 * sunrpc/rpc/netdb.h: Likewise.
15819 * sunrpc/rpc/pmap_clnt.h: Likewise.
15820 * sunrpc/rpc/xdr.h: Likewise.
15821 * sysdeps/generic/inttypes.h: Likewise.
15822 * sysdeps/generic/net/if.h: Likewise.
15823 * sysdeps/generic/sys/swap.h: Likewise.
15824 * sysdeps/gnu/net/if.h: Likewise.
15825 * sysdeps/gnu/utmpx.h: Likewise.
15826 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
15827 * sysdeps/i386/i486/bits/string.h: Likewise.
15828 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
15829 * sysdeps/s390/bits/string.h: Likewise.
15830 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
15831 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
15832 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
15833 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
15834 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
15835 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
15836 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
15837 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
15838 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
15839 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
15840 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
15841 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15842 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
15843 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15844 * sysdeps/unix/sysv/linux/readv.c: Likewise.
15845 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
15846 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
15847 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15848 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15849 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15850 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
15851 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
15852 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
15853 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
15854 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
15855 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
15856 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
15857 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15858 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
15859 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
15860 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
15861 * sysvipc/sys/ipc.h: Likewise.
15862 * sysvipc/sys/msg.h: Likewise.
15863 * sysvipc/sys/sem.h: Likewise.
15864 * sysvipc/sys/shm.h: Likewise.
15865 * termios/termios.h: Likewise.
15866 * time/sys/time.h: Likewise.
15867 * time/time.h: Likewise.
15868 * wcsmbs/bits/wchar2.h: Likewise.
15869 * wcsmbs/uchar.h: Likewise.
15870 * wcsmbs/wchar.h: Likewise.
15871 * wctype/wctype.h: Likewise.
15872
0269750c
UD
15873 [BZ #13551]
15874 * Makeconfig: Remove all but ELF support including AIX support.
15875 * Makerules: Likewise.
15876 * config.h.in: Likewise.
15877 * config.make.in: Likewise.
15878 * configure: Likewise.
15879 * configure.in: Likewise.
15880 * csu/Makefile: Likewise.
15881 * csu/version.c: Likewise.
15882 * debug/Makefile: Likewise.
15883 * dlfcn/Makefile: Likewise.
15884 * elf/Makefile: Likewise.
15885 * extra-lib.mk: Likewise.
15886 * iconv/Makefile: Likewise.
15887 * include/libc-symbols.h: Likewise.
15888 * include/shlib-compat.h: Likewise.
15889 * resolv/Makefile: Likewise.
15890 * resolv/res_libc.c: Likewise.
15891 * rt/Makefile: Likewise.
15892 * sysdeps/i386/asm-syntax.h: Likewise.
15893 * sysdeps/i386/sysdep.h: Likewise.
15894 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
15895 * sysdeps/mach/sysdep.h: Likewise.
15896 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
15897 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
15898 * sysdeps/s390/asm-syntax.h: Likewise.
15899 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15900 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15901 * sysdeps/sh/sysdep.h: Likewise.
15902 * sysdeps/unix/sparc/sysdep.h: Likewise.
15903 * sysdeps/wordsize-32/divdi3.c: Likewise.
15904 * sysdeps/x86_64/sysdep.h: Likewise.
15905
00bbd29b
UD
15906 * argp/Versions: Remove _argp_unlock_xxx.
15907
15908 [BZ #13559]
15909 * abilist/ld.abilist: Update. Adjust for removal of tls option.
15910 * abilist/libBrokenLocale.abilist: Likewise.
15911 * abilist/libanl.abilist: Likewise.
15912 * abilist/libc.abilist: Likewise.
15913 * abilist/libcrypt.abilist: Likewise.
15914 * abilist/libdl.abilist: Likewise.
15915 * abilist/libm.abilist: Likewise.
15916 * abilist/libnsl.abilist: Likewise.
15917 * abilist/libpthread.abilist: Likewise.
15918 * abilist/libresolv.abilist: Likewise.
15919 * abilist/librt.abilist: Likewise.
15920 * abilist/libthread_db.abilist: Likewise.
15921 * abilist/libutil.abilist: Likewise.
15922 * abilist/libnss_db.abilist: New file.
15923
15924 * scripts/abilist.awk: Add support for indirect functions.
15925
a2693a0e
UD
15926 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
15927
3f05895f
UD
15928 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
15929
ecb6fb48
UD
15930 * shlib-versions: Remove entries for ports architectures.
15931
664f8cb9
UD
15932 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
15933 files in ports.
15934 * elf/stackguard-macros.h: Remove support for IA-64.
15935 * elf/tst-auditmod1.c: Likewise.
15936 * sysdeps/generic/ldsodefs.h: Likewise.
15937
7ae81d88
UD
15938 * sysdeps/unix/sysv/linux/configure.in: Ports should define
15939 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
15940 configure files.
15941
bdeba135
UD
15942 [BZ #13552]
15943 * configure.in: Remove --enable-omitfp support.
15944 * FAQ.in: Adjust.
15945 * config.make.in: Likewise.
15946 * Makeconfig: Likewise.
15947 * manual/install.texi: Likewise.
15948
d75a0a62
UD
15949 In case anyone cares, the IA-64 architecture could move to ports.
15950 * sysdeps/ia64/*: Removed.
15951 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 15952 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 15953
dcc9756b
UD
15954 [BZ #13555]
15955 * configure.in: Remove entries for unsupported architectures.
15956
d3761ebc 15957 [BZ #13533]
9954432e
UD
15958 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
15959 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
15960 routines.
15961 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
15962 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
15963 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
15964 fall back to using wcrtomb.
15965 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
15966 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
15967 renaming.
15968 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
15969 * wcsmbs/tst-c16c32-1.c: New file.
15970
15971 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
15972 local variable.
15973
c3a87236
UD
15974 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
15975
28926a1b
UD
15976 * elf/tst-unique3.cc: Add explicit declaration of gets.
15977 * elf/tst-unique3lib.cc: Likewise.
15978 * elf/tst-unique3lib2.cc: Likewise.
15979 * elf/tst-unique4.cc: Likewise.
15980
df78418a
UD
15981 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
15982
8ecd6b2a
JM
159832012-01-06 Joseph Myers <joseph@codesourcery.com>
15984
15985 [BZ #13566]
15986 * assert/assert.h (static_assert): Don't define for C++.
15987 * libio/stdio.h (gets): Do declare for C++ <= C++11.
15988 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
15989
9f115170
UD
159902012-01-03 Ulrich Drepper <drepper@gmail.com>
15991
5e0d0300
UD
15992 * iconv/loop.c (single loop): Fix assertion in storing of
15993 remaining bytes.
15994
9f115170
UD
15995 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
15996
81fb02b0
UD
159972012-01-01 Ulrich Drepper <drepper@gmail.com>
15998
15999 * posix/getconf.c: Update copyright year.
16000 * nss/getent.c: Likewise.
a316c1f6 16001 * nss/makedb.c: Likewise.
81fb02b0
UD
16002 * iconv/iconvconfig.c: Likewise.
16003 * iconv/iconv_prog.c: Likewise.
16004 * elf/ldconfig.c: Likewise.
a316c1f6
UD
16005 * elf/pldd.c: Likewise.
16006 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
16007 * catgets/gencat.c: Likewise.
16008 * csu/version.c: Likewise.
16009 * elf/ldd.bash.in: Likewise.
16010 * elf/sprof.c (print_version): Likewise.
16011 * locale/programs/locale.c: Likewise.
16012 * locale/programs/localedef.c: Likewise.
a316c1f6 16013 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
16014 * nscd/nscd.c (print_version): Likewise.
16015 * debug/xtrace.sh: Likewise.
16016 * malloc/memusage.sh: Likewise.
16017 * malloc/mtrace.pl: Likewise.
16018 * debug/catchsegv.sh: Likewise.
16019
2ba92745
JJ
160202011-12-30 Jakub Jelinek <jakub@redhat.com>
16021
16022 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
16023 pure attribute.
16024
dadebdae
UD
160252011-12-24 Ulrich Drepper <drepper@gmail.com>
16026
d3761ebc 16027 [BZ #13533]
db6af3eb
UD
16028 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
16029 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
16030 transformations.
16031 * iconv/gconv_int.h: Likewise.
16032 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
16033 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
16034 from libc for GLIBC_2.16.
16035 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
16036 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
16037 * wcsmbs/uchar.h: Really define mbstate_t.
16038 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
16039 * wcsmbs/c16rtomb.c: New file.
16040 * wcsmbs/mbrtoc16.c: New file.
16041 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
16042 for C/POSIX locale.
16043 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
16044 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
16045
dadebdae
UD
16046 * wcsmbs/wchar.h: Add missing __restrict.
16047
67371b56
UD
160482011-12-23 Ulrich Drepper <drepper@gmail.com>
16049
74033a25
UD
16050 [BZ #13532]
16051 * time/Makefile (routines): Add timespec_get.
16052 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
16053 * time/time.h: Define TIME_UTC and declare timespec_get. Define
16054 timespec for ISO C11.
16055 * time/timespec_get.c: New file.
16056 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
16057 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
16058
380d7e87
UD
16059 [BZ #13531]
16060 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
16061 * stdlib/stdlib.h: Declare aligned_alloc.
16062 * Versions.def: Add GLIBC_2.16 for libc.
16063 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
16064
4e9e7a35
UD
16065 [BZ 13527]
16066 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
16067 ISO C11.
16068
380d7e87 16069 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
16070 code.
16071
03a71829
UD
16072 [BZ #13528]
16073 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
16074
839e283e
UD
16075 [BZ #13529]
16076 * assert/assert.h (static_assert): Define.
16077
ce5294e2 16078 * version.h: Update for 2.16 development version.
90fa7312 16079
8d44e150 16080 [BZ #13526]
d7809905
UD
16081 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
16082 _ISOC11_SOURCE.
16083
c0da14cd
UD
16084 * version.h (RELEASE): Bump for 2.15 release.
16085 * include/features.h (__GLIBC_MINOR__): Bump to 15.
16086
530a3249
MP
16087 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
16088 Patch by Marek Polacek <mpolacek@redhat.com>.
16089
67371b56
UD
16090 * bits/byteswap.h: Protect long long constants with __extension__.
16091 * sysdeps/i386/bits/byteswap.h: Likewise.
16092 * sysdeps/ia64/bits/byteswap.h: Likewise.
16093 * sysdeps/s390/bits/byteswap.h: Likewise.
16094 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16095
15db4de1
LD
160962011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16097
16098 [BZ #13540]
bbe315ea
LD
16099 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
16100 destination buffer.
15db4de1
LD
16101 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
16102
2b2596b1
MP
161032011-12-23 Marek Polacek <polacek@redhat.com>
16104
16105 * elf/dl-addr.c (determine_info): Add inline keyword.
16106 * elf/tst-auditmod4b.c (check_avx): Likewise.
16107 * elf/tst-auditmod6b.c (check_avx): Likewise.
16108 * elf/tst-auditmod6c.c (check_avx): Likewise.
16109 * elf/tst-auditmod7b.c (check_avx): Likewise.
16110
70c6c246
UD
161112011-12-23 Ulrich Drepper <drepper@gmail.com>
16112
16113 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
16114 !__SSE_MATH__.
16115
c044cf14
LD
161162011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16117
15db4de1 16118 [BZ #13540]
c044cf14
LD
16119 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
16120 processing for last bytes.
16121
6b13d9d9
BH
161222011-08-06 Bruno Haible <bruno@clisp.org>
16123
d455f537
BH
16124 [BZ #13061]
16125 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
16126 U+0385, not to U+1FEE.
16127
6b13d9d9
BH
16128 [BZ #13062]
16129 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
16130 entry for U+00A5 U+0301.
16131
db910efd
UD
161322011-12-22 Ulrich Drepper <drepper@gmail.com>
16133
27deeafc
UD
16134 [BZ #13166]
16135 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
16136 buffer for the output is too small.
16137
aed9d171
UD
16138 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
16139 optimization.
16140
db910efd
UD
16141 [BZ #13185]
16142 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
16143 SSE flags if possible.
16144
2bd779ae
LD
161452011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16146
e7f9dac3 16147 [BZ #13540]
2bd779ae
LD
16148 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
16149 processing for last bytes.
16150
154bfc16
JM
161512011-12-22 Joseph Myers <joseph@codesourcery.com>
16152
16153 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
16154 (syscall-list-default-options, syscall-list-default-condition)
16155 (syscall-list-includes): Define.
16156 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
16157 list of ABIs and options and #if conditions for each ABI. Do not
16158 handle common syscalls between ABIs specially.
16159 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
16160 Remove.
16161 (syscall-list-variants, syscall-list-32bit-options)
16162 (syscall-list-32bit-condition, syscall-list-64bit-options)
16163 (syscall-list-64bit-condition): Define.
16164 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
16165 (syscall-list-variants, syscall-list-32bit-options)
16166 (syscall-list-32bit-condition, syscall-list-64bit-options)
16167 (syscall-list-64bit-condition): Define.
16168 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
16169 Remove.
16170 (syscall-list-variants, syscall-list-32bit-options)
16171 (syscall-list-32bit-condition, syscall-list-64bit-options)
16172 (syscall-list-64bit-condition): Define.
16173 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
16174 Remove.
16175 (syscall-list-variants, syscall-list-32bit-options)
16176 (syscall-list-32bit-condition, syscall-list-64bit-options)
16177 (syscall-list-64bit-condition): Define.
16178
21eaf3a5
UD
161792011-12-22 Ulrich Drepper <drepper@gmail.com>
16180
16c6f992
UD
16181 * locale/iso-639.def: Add brx entry.
16182
41043168
UD
16183 [BZ #13328]
16184 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
16185 Proposed by Mariusz_Cukr <marcukr@op.pl>.
16186
21eaf3a5
UD
16187 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
16188 __feraiseexcept_renamed.
16189
e3a851a2
UD
161902011-12-21 Ulrich Drepper <drepper@gmail.com>
16191
4920765e
UD
16192 [BZ #13538]
16193 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
16194 EPOLLET with unsigned values.
16195 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16196 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16197
e3a851a2
UD
16198 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
16199 to large cancellation.
16200 * math/s_cacoshf.c: Likewise.
16201 * math/s_cacoshl.c: Likewise.
16202
b27e24b8
RK
162032011-11-18 Richard B. Kreckel <kreckel@ginac.de>
16204
16205 [BZ #13305]
aebefeee 16206 [BZ #12786]
b27e24b8
RK
16207 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
16208 * math/s_cacoshf.c: Likewise.
16209 * math/s_cacoshl.c: Likewise.
16210
ee190f67
UD
162112011-12-21 Ulrich Drepper <drepper@gmail.com>
16212
16213 [BZ #13439]
16214 * iconv/gconv.h: Define __GCONV_SWAP.
16215 * iconvdata/unicode.c: The swap bit must be stored in __flags.
16216 * iconvdata/utf-16.c: Likewise.
16217 * iconvdata/utf-32.c: Likewise.
16218
707f25df
AS
162192011-12-21 Andreas Schwab <schwab@linux-m68k.org>
16220
16221 [BZ #13524]
16222 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
16223 numerator after shifting it by one limb.
16224
d2daaa1e
RÁE
162252011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
16226
16227 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
16228 under [__USE_EXTERN_INLINES].
16229
a4647e72
UD
162302011-12-17 Ulrich Drepper <drepper@gmail.com>
16231
16232 [BZ #13446]
16233 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
16234
f0b264f1
AZ
162352011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16236
16237 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
16238 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
16239 optimized code.
16240 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
16241 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
16242 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
16243 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
16244 for strncasecmp/strncasecmp_l compilation.
16245 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
16246 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
16247
8ef4f244
MP
162482011-12-08 Marek Polacek <mpolacek@redhat.com>
16249
16250 [BZ #13484]
16251 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
16252 of __asm__.
16253
97ac2654
UD
162542011-12-17 Ulrich Drepper <drepper@gmail.com>
16255
16256 [BZ #13506]
16257 * time/tzfile.c (__tzfile_read): Check values from file header.
16258
91d2a845
WS
162592011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
16260
16261 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
16262 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
16263 * powerpc/powerpc32/dl-start.S: Likewise.
16264 * powerpc/powerpc32/elf/start.S: Likewise.
16265 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16266 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
16267 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
16268 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
16269 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16270 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
16271 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
16272 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16273 * powerpc/powerpc32/fpu/s_round.S: Likewise.
16274 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16275 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16276 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16277 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
16278 * powerpc/powerpc32/memset.S: Likewise.
16279 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16280 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16281 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16282 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16283 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16284 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16285 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16286 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16287 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
16288 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
16289 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
16290 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16291 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16292
a1267ba1
AZ
162932011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16294
16295 * math/libm-test.inc: Added more nearbyint tests.
16296 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
16297 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
16298 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
16299 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
16300
ad8ac1bd
RL
163012011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
16302
16303 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
16304 FD_CLOEXEC.
16305
1d3e4b61
UD
163062011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16307
16308 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
16309 Add wcscpy-ssse3 wcscpy-c.
16310 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
16311 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
16312 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
16313 * sysdeps/x86_64/wcschr.S: New file.
16314 * sysdeps/x86_64/wcsrchr.S: New file.
16315 * string/test-strcmp.c: Remove checking of wcscmp function for
16316 wrong alignments.
16317 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
16318 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
16319 wcsrchr-sse2 wcsrchr-c.
16320 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
16321 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
16322 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
16323 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
16324 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
16325 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
16326 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
16327 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
16328 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
16329 * wcsmbc/wcschr.c (WCSCHR): New macro.
16330
5b330a2d
UD
163312011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16332
16333 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
16334 * wcsmbs/test-wcsrchr.c: New file.
16335 * string/test-strrchr.c: Add wcsrchr support.
16336 (WIDE): New macro.
16337 * wcsmbs/test-wcscpy.c: New file.
16338 * string/test-strcpy.c: Add wcscpy support.
16339 (WIDE): New macro.
26428b7c 16340
f039c043
UD
163412011-12-10 Ulrich Drepper <drepper@gmail.com>
16342
16343 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
16344 the inner loop.
16345
850fb039
AS
163462011-12-06 Andreas Schwab <schwab@linux-m68k.org>
16347
16348 [BZ #13472]
16349 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
16350
4efbd5cb
UD
163512011-12-04 Ulrich Drepper <drepper@gmail.com>
16352
52ff5dd0 16353 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 16354 Minor optimizations.
52ff5dd0 16355
4efbd5cb
UD
16356 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
16357 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
16358 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
16359
8a426e12
UD
163602011-12-03 Ulrich Drepper <drepper@gmail.com>
16361
aff2453d
UD
16362 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
16363 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
16364 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
16365 for gcc to avoid warnings.
16366 * inet/Makefile (tests): Add tst-checks.
16367 * inet/tst-checks.c: New file.
16368
16369 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
16370 warning.
16371
16372 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
16373 __wmemcmp_sse2.
16374
16375 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
16376 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
16377
8a426e12
UD
16378 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
16379
9bea3473
UD
163802011-12-02 Ulrich Drepper <drepper@gmail.com>
16381
3a965496
UD
16382 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
16383 problem.
16384
9bea3473
UD
16385 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
16386
f101631b
UD
163872011-11-29 Joseph Myers <joseph@codesourcery.com>
16388
16389 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
16390 conditional on GCC version.
16391 (__arch_compare_and_exchange_val_8_acq)
16392 (__arch_compare_and_exchange_val_16_acq)
16393 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
16394 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
16395 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
16396
a98275aa
UD
163972011-12-02 Joseph Myers <joseph@codesourcery.com>
16398
16399 * sysdeps/sh/backtrace.c: New file.
16400
d4cc29a2
AS
164012011-12-02 Andreas Schwab <schwab@redhat.com>
16402
16403 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
16404 parenthesis.
16405
6257af2d
AS
164062011-12-01 Andreas Schwab <schwab@redhat.com>
16407
16408 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
16409 falling back to utime.
16410
b5f44c1a
AS
164112011-11-30 Andreas Schwab <schwab@redhat.com>
16412
16413 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
16414 expectations for float.
16415
f3a6cc0a
AS
164162011-11-29 Andreas Schwab <schwab@redhat.com>
16417
16418 * locale/weight.h (findidx): Add parameter len.
16419 * locale/weightwc.h (findidx): Likewise.
16420 * posix/fnmatch_loop.c (FCT): Adjust caller.
16421 * posix/regcomp.c (build_equiv_class): Likewise.
16422 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
16423 * posix/regexec.c (check_node_accept_bytes): Likewise.
16424 * string/strcoll_l.c (STRCOLL): Likewise.
16425 * string/strxfrm_l.c (STRXFRM): Likewise.
16426
9d65ea3a
UD
164272011-11-17 Ulrich Drepper <drepper@gmail.com>
16428
16429 * Makefile.in: Remove CVSOPT handling.
16430 * configure.in: Remove use of AC_REVISION.
16431 * iconvdata/Makefile (distribute): No need to filter out CVS.
16432 * scripts/list-sources.sh: Remove CVS, subversion and monotone
16433 handling.
16434
5583a086
AS
164352011-11-16 Andreas Schwab <schwab@redhat.com>
16436
16437 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
16438 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
16439 [USE_AS_STRNCASECMP_L]: Likewise.
16440 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
16441 NO_TLS_DIRECT_SEG_REFS.
16442 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
16443 Fix argument offsets for non-PIC.
16444 [USE_AS_STRNCASECMP_L]: Likewise.
16445 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
16446 NO_TLS_DIRECT_SEG_REFS.
16447
d62a8200
UD
164482011-11-15 Ulrich Drepper <drepper@gmail.com>
16449
9d65ea3a 16450 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
16451 O_CLOEXEC.
16452 * locale/loadlocale.c (_nl_load_locale): Likewise.
16453
09f93bd3
AS
164542011-11-15 Andreas Schwab <schwab@redhat.com>
16455
446514f9
AS
16456 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
16457 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
16458 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
16459 (SYSCALL_GETTIME): Set errno on error.
16460
09f93bd3
AS
16461 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
16462 count references to noai6ai_cached.
16463
312be3f9
UD
164642011-11-15 Ulrich Drepper <drepper@gmail.com>
16465
16466 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
16467
16468 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
16469 FD_CLOEXEC for /proc/self/maps.
16470
16471 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
16472 FD_CLOEXEC for /proc/meminfo.
16473
16474 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
16475 gai.conf.
16476
16477 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
16478 FD_CLOEXEC for given file.
16479
16480 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
16481
16482 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
16483 FD_CLOEXEC for /etc/hosts.
16484 (_gethtent): Likewise.
16485
16486 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
16487
16488 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
16489 cancellation and set FD_CLOEXEC for /etc/netgroup.
16490
16491 * nss/nss_files/files-key.c (search): Don't allow cancellation when
16492 reading /etc/publickey.
16493
16494 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
16495 allow cancellation when reading /etc/group.
16496
16497 * nss/nss_files/files-alias.c (internal_setent): Don't allow
16498 cancellation.
16499 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
16500
16501 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
16502 when using data file.
16503
16504 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
16505
16506 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
16507 (write_nis_obj): Use "c" and "e" in fopen.
16508
16509 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
16510
16511 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
16512
16513 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
16514
16515 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
16516
16517 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
16518 locale.alias.
16519
16520 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
16521
16522 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
16523
16524 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
16525
16526 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
16527 file parsing and set FD_CLOEXEC.
16528
82af0fa8
UD
165292011-11-14 Ulrich Drepper <drepper@gmail.com>
16530
16531 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
16532
a5fb313c
AS
165332011-11-14 Andreas Schwab <schwab@redhat.com>
16534
16535 * malloc/arena.c (arena_get2): Don't call reused_arena when
16536 _int_new_arena failed.
16537
6abf3465
UD
165382011-11-14 Ulrich Drepper <drepper@gmail.com>
16539
16540 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
16541 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
16542 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
16543 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16544 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16545 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
16546 to compile strcasecmp and strncasecmp.
16547 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
16548 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
16549
16550 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
16551
76e3966e
UD
165522011-11-13 Ulrich Drepper <drepper@gmail.com>
16553
16554 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
16555 locale-defines.sym to gen-as-const-headers.
16556 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
16557 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
16558 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
16559 to compile strcasecmp and strncasecmp.
16560 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
16561 strcasecmp_l and strncasecmp_l.
16562 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
16563 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
16564 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
16565 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
16566 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
16567 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
16568 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
16569 * sysdeps/i386/i686/multiarch/strncase.S: New file.
16570 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
16571 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
16572 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
16573
ab26144e
UD
165742011-11-12 Ulrich Drepper <drepper@gmail.com>
16575
7edb22ef
UD
16576 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
16577 result of SYSDEP_GETTIME_CPU to retval.
16578 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
16579 parameter list to macro. Remove trailing semicolon. Adjust users.
16580
9694fc44
UD
16581 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
16582 variable.
16583
8ad89ef8
UD
16584 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
16585 mantissa words.
16586 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16587
0c822ef9
UD
16588 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
16589 from unused variable.
16590
874e0564
UD
16591 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
16592 DWARF definitions.
16593 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
16594 for assembling.
16595
3a2edc79
UD
16596 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
16597 over namespaces.
16598
f3c2577f
UD
16599 * sunrpc/rpc_prot.c (rejected): Fix case value.
16600
294ce126
UD
16601 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
16602 unsigned long long int to avoid warnings in shift.
16603
5e2b63c6
UD
16604 * posix/regex_internal.c (re_string_reconstruct): Actually use result
16605 of use of trans.
16606 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
16607 variable tmp.
16608
e7f4b08e
UD
16609 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
16610 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
16611 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
16612
ab26144e
UD
16613 * nis/nis_table.c (nis_list): Use variable of correct type for
16614 result of __follow_path call.
16615
8a6d5255
AZ
166162011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16617
16618 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
16619 of math functions ceil, trunc, floor, round, and sqrt, when
16620 avaliable on the platform.
16621 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
16622 name clash.
16623 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16624 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
16625 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
16626
aaddc98c
MP
166272011-10-30 Marek Polacek <mpolacek@redhat.com>
16628
16629 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
16630 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
16631
95b7042b
RM
166322011-11-11 Roland McGrath <roland@hack.frob.com>
16633
16634 * include/unistd.h: Fix __readlink return type.
16635 Reported by Chris Metcalf <cmetcalf@tilera.com>.
16636
57769839
UD
166372011-11-11 Ulrich Drepper <drepper@gmail.com>
16638
16639 * stdlib/ucontext.h: Undo last change for makecontext.
16640
edc5984d
AS
166412011-11-11 Andreas Schwab <schwab@redhat.com>
16642
98591e58
AS
16643 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
16644
edc5984d
AS
16645 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
16646 * setjmp/setjmp.h: Mark functions as non-leaf.
16647 * setjmp/bits/setjmp2.h: Likewise.
16648 * stdlib/ucontext.h: Likewise.
16649
77cdc054
AS
166502011-11-10 Andreas Schwab <schwab@redhat.com>
16651
16652 * malloc/arena.c (_int_new_arena): Don't increment narenas.
16653 (reused_arena): Don't check arena limit.
16654 (arena_get2): Atomically check arena limit.
16655
fe72eebd
UD
166562011-11-08 Ulrich Drepper <drepper@gmail.com>
16657
5f078c32
UD
16658 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
16659 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
16660
fe72eebd
UD
16661 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
16662 instructions.
16663
ae1bc2fa
AS
166642011-11-07 Andreas Schwab <schwab@redhat.com>
16665
7583a88d
AS
16666 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
16667 handler when locking.
16668
ae1bc2fa
AS
16669 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16670 Fix size of allocated buffer.
16671
10fb0bfa
AS
166722011-11-04 Andreas Schwab <schwab@redhat.com>
16673
998832a4
AS
16674 [BZ #10103]
16675 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
16676 declarations for long double functions.
16677 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
16678
10fb0bfa
AS
16679 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
16680
3d7ba52b
AS
166812011-11-03 Andreas Schwab <schwab@redhat.com>
16682
a9ae54a1
AS
16683 * nscd/nscd.c (main): Don't start AVC thread until credentials are
16684 installed.
16685
3d7ba52b
AS
16686 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
16687 is disabled.
16688
bc8db248
ST
166892011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16690
16691 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
16692
45b96dd6
AS
166932011-11-01 Andreas Schwab <schwab@linux-m68k.org>
16694
647776f6
AS
16695 * include/alloca.h (stackinfo_alloca_round): Define.
16696 (extend_alloca): Use it.
16697 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
16698 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
16699 here.
16700
d91a8b93
AS
16701 * scripts/check-local-headers.sh: Ignore libaudit.h.
16702
45b96dd6
AS
16703 * nscd/Makefile (extra-objs): Make recursively expanded.
16704
432d41ce
UD
167052011-11-01 Ulrich Drepper <drepper@gmail.com>
16706
34372fc6
UD
16707 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
16708 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16709
fadb59f8
UD
16710 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
16711 * posix/tst-rfc3484-2.c: Likewise.
16712 * posix/tst-rfc3484-3.c: Likewise.
16713
78239589
UD
16714 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
16715 process_vm_writev.
16716 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
16717 process_vm_writev.
16718 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
16719 process_vm_writev from libc using GLIBC_2.15 version.
16720
432d41ce
UD
16721 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
16722
02f9c6cf
PP
167232011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
16724
16725 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
16726 stack usage.
16727
3a2c0242
UD
167282011-10-31 Ulrich Drepper <drepper@gmail.com>
16729
f4ec4833
UD
16730 [BZ #13367]
16731 * nss/getent.c (initgroups_keys): Show error message in case no group
16732 names are given.
16733
3a2c0242
UD
16734 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
16735 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
16736 __bump_nl_timestamp.
16737 * nscd/connections (nscd_init): When host database is served open
16738 netlink socket and request notification about configuration changes.
16739 (main_loop_poll): Track netlink file descriptor and bump timestamp
16740 in case data becomes available.
16741 (main_loop_epoll): Likewise.
16742 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
16743 (database_pers_head): Add extra_data fileds.
16744 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
16745 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
16746 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
16747 Adjust caller.
16748 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
16749 in6ai data, call __free_in6ai.
16750 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
16751 Add -DHAVE_NETLINK.
16752 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
16753 interface information. Reuse previous data if netlink timestamp
16754 is not changed.
16755 (__bump_nl_timestamp): New function.
16756 (__free_in6ai): New function.
16757
636064eb
UD
167582011-10-30 Ulrich Drepper <drepper@gmail.com>
16759
16760 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
16761 close_not_cancel_no_status here.
16762 (__check_pf): Reorganize code a bit to not call close twice if OOM.
16763
9beb2334
UD
167642011-10-29 Ulrich Drepper <drepper@gmail.com>
16765
6ef76f3b
UD
16766 [BZ #13276]
16767 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
16768 return value.
16769
0ffc4f3e 16770 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
16771 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
16772 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
16773
cb95113e
UD
167742011-07-03 Andreas Jaeger <aj@suse.de>
16775
16776 [BZ #10709]
16777 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
16778 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
16779 * math/libm-test.inc (sin_test): Add test case.
16780
a1b560ff
UD
167812011-10-29 Ulrich Drepper <drepper@gmail.com>
16782
c9aaface
UD
16783 [BZ #13337]
16784 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
16785 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16786
d272e7f1
UD
16787 * elf/chroot_canon.c (chroot_canon): Cleanups.
16788
1bc33071
UD
16789 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
16790
1760874d
TJ
16791 [BZ #13335]
16792 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
16793 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16794
51d91b18
UD
16795 * string/test-strchr.c: Make usable for strchrnul testing.
16796 * string/test-strchrnul.c: New file.
16797 * string/Makefile (strop-tests): Add strchrnul.
16798
a1b560ff 16799 * po/it.po: Update from translation team.
b611fb81 16800 * po/es.po: Likewise.
a1b560ff 16801
a5b81e1f
UD
168022011-10-28 Ulrich Drepper <drepper@gmail.com>
16803
fd52bc6d
UD
16804 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
16805 the three constants needed as parameters. Drop the others.
16806 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
16807 __m128i_strloadu_tolower.
52e4b9eb
UD
16808 Create and initialize variable zero and use it in all the places
16809 where _mm_setzero_si128 was used.
fd52bc6d 16810
a5b81e1f
UD
16811 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
16812 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
16813 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
16814 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
16815 anymore.
16816 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
16817 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
16818 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
16819 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
16820 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
16821 __mpranred, __mptan.
16822 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
16823 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
16824 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
16825 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
16826 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
16827 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
16828 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
16829 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
16830 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
16831
b4343346
AS
168322011-10-28 Andreas Schwab <schwab@redhat.com>
16833
0c92d8a8
AS
16834 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
16835 redefine if SHARED.
16836 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
16837
b4343346
AS
16838 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
16839 wide char related routines to wcsmbs subdir.
16840
3871f58f
AS
168412011-10-27 Andreas Schwab <schwab@redhat.com>
16842
16843 [BZ #13344]
16844 * misc/sys/cdefs.h (__THROWNL): Define.
16845 * posix/unistd.h: Use __THREADNL instead of __THREAD
16846 for memory synchronization functions.
16847
94d44d9f
RM
168482011-10-26 Roland McGrath <roland@hack.frob.com>
16849
21b64b15 16850 [BZ #13349]
94d44d9f
RM
16851 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
16852 doesn't exist.
16853 * manual/stdio.texi (Obstack Streams): Node removed.
16854
f6ce9294
AS
168552011-10-26 Andreas Schwab <schwab@redhat.com>
16856
80479147
AS
16857 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
16858 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16859 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16860
f6ce9294
AS
16861 * math/math_private.h (math_force_eval): Allow non-addressable
16862 arguments.
16863 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
16864
618280a1
UD
168652011-10-25 Ulrich Drepper <drepper@gmail.com>
16866
e0016b11
UD
16867 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
16868 file is not needed.
16869
16870 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
16871 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
16872 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16873 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16874 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16875 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16876 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16877 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
16878 Add AVX variants.
16879 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
16880 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
16881 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
16882 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
16883 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
16884 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
16885 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
16886 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
16887 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
16888 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
16889 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
16890 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
16891 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
16892 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
16893 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
16894 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
16895 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
16896 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
16897 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
16898
16899 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
16900 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
16901
618280a1
UD
16902 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
16903 place. Use VEX encoding when compiling for AVX.
16904
37822576
AS
169052011-10-25 Andreas Schwab <schwab@redhat.com>
16906
1f1e1947
AS
16907 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
16908 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16909
37822576
AS
16910 * string/test-strchr.c (do_test): Don't generate NUL bytes.
16911
31ea014d
UD
169122011-10-25 Ulrich Drepper <drepper@gmail.com>
16913
d7826aa1 16914 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 16915 useless if() expression.
d7826aa1
UD
16916 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16917 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16918 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16919 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16920 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16921 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16922 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16923 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16924 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16925 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16926 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16927 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16928 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16929 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16930 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16931 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16932 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16933 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16934 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
16935
31ea014d
UD
16936 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
16937
16437fec
AS
169382011-10-25 Andreas Schwab <schwab@redhat.com>
16939
16940 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
16941 condition.
16942 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16943
31d3cc00
UD
169442011-10-25 Ulrich Drepper <drepper@gmail.com>
16945
16946 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
16947 .text section. Avoid duplicate constants.
16948 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16949 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16950 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16951 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16952 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16953 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16954 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16955 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16956 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16957 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
16958 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16959 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16960 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
16961 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
16962 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
16963 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
16964 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
16965 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16966 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16967 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16968 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16969 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16970 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16971 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
16972 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
16973 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
16974 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
16975 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
16976 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
16977 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
16978 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
16979 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
16980 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16981 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
16982 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
16983 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
16984 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
16985 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
16986 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
16987 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
16988 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
16989 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
16990 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
16991 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
16992 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
16993
58985aa9
UD
169942011-10-24 Ulrich Drepper <drepper@gmail.com>
16995
202c9deb
UD
16996 * sysdeps/x86_64/dla.h: Move to ...
16997 * sysdeps/x86_64/fpu/dla.h: ...here.
16998 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
16999 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 17000
af968f62
UD
17001 * config.make.in: Add have-mfma4 entry.
17002 * configure.in: Substitute libc_cv_cc_fma4.
17003 * math/Makefile (dbl-only-routines): Add sincostab.
17004 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
17005 Use __sincostab not sincos.
17006 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
17007 name is a macro.
17008 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17009 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17010 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17011 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
17012 using __copysign.
17013 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
17014 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
17015 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
17016 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
17017 and __inv.
17018 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
17019 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
17020 __copysign.
17021 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
17022 define aliases when function name is a macro.
17023 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
17024 sysdeps/ieee754/dbl-64/sincos.tbl.
17025 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
17026 fma4-enabled routines.
17027 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
17028 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
17029 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
17030 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
17031 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
17032 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
17033 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
17034 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
17035 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
17036 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
17037 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
17038 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
17039 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
17040 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
17041 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
17042 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
17043 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
17044 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
17045 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
17046 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
17047 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
17048 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
17049 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
17050 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
17051 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
17052 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
17053 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
17054 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
17055 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
17056 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
17057
58985aa9
UD
17058 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
17059 rename.
17060 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17061 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17062 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17063 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17064 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17065 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17066 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17067 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17068
a201fbcf
AS
170692011-10-24 Andreas Schwab <schwab@redhat.com>
17070
17071 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
17072
fc2ee42a
LD
170732011-10-23 Ulrich Drepper <drepper@gmail.com>
17074
bb3129bd
UD
17075 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
17076
0275fff8
UD
17077 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
17078 prediction.
17079 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
17080
2fa2ae85
UD
17081 * string/strnlen.c: Don't define STRNLEN, reverse logic.
17082 Remove unused variable magic_bits.
17083 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
17084
fc2ee42a
LD
17085 * string/strnlen.c: Define and use STRNLEN macro.
17086 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
17087 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
17088 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
17089 * wcsmbs/wcslen.c: Define and use WCSLEN.
17090 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
17091 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
17092 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
17093 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
17094 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
17095 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
17096 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17097
ce7dd29f
LD
170982011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17099
17100 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17101 strnlen-sse2-no-bsf.
17102 Rename strlen-no-bsf to strlen-sse2-no-bsf.
17103 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
17104 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
17105 Add strnlen support.
17106 (USE_AS_STRNLEN): New macro.
17107 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
17108 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
17109 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
17110 * sysdeps/x86_64/wcslen.S: New file.
17111
979c70a3
MZ
171122011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
17113
17114 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17115 XMM-moves are used for copying on small sizes.
17116
2d09f82f
LD
171172011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17118
17119 * wcsmbs/Makefile (strop-tests): Add wcschr.
17120 * wcsmbs/test-wcschr.c: New file.
17121 * string/test-strchr.c: Update.
17122 Add wcschr support.
17123 (WIDE): New macro.
17124
619fccca
LD
171252011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17126
2d09f82f 17127 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
17128 * wcsmbs/test-wcslen.c: New file.
17129 * string/test-strlen.c: Update.
17130 Add wcslen support.
17131 (WIDE): New macro.
17132
09f699ea
UD
171332011-10-23 Ulrich Drepper <drepper@gmail.com>
17134
17135 * po/it.po: Update from translation team.
17136
95584d3b
LD
171372011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17138
17139 * sysdeps/x86_64/wcscmp.S: Update.
17140 Fix wrong comparison semantics.
17141 wcscmp shall use signed comparison not unsigned.
17142 Don't use substraction to avoid overflow bug.
17143 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
17144 * wcsmbc/wcscmp.c: Likewise.
17145 * string/test-strcmp.c: Likewise.
17146 Add new tests to check cases with negative values.
17147
c8b3296b
UD
171482011-10-23 Ulrich Drepper <drepper@gmail.com>
17149
17150 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
17151 * sysdeps/x86_64/dla.h: ...here. New file.
17152 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
17153 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17154 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17155 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17156 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17157 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17158 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17159 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17160 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17161
246ad57a
AS
171622011-10-23 Andreas Schwab <schwab@linux-m68k.org>
17163
17164 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
17165 __ynl_finite aliases.
17166
a1a87169
UD
171672011-10-22 Ulrich Drepper <drepper@gmail.com>
17168
0d355eb7
UD
17169 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17170
a1a87169
UD
17171 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
17172 define DLA_FMA.
17173 [DLA_FMA] (EMULV): Use DLA_FMA.
17174 [DLA_FMA] (MUL12): Use EMULV.
17175 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
17176 that are not needed.
17177 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17178 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17179 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17180 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17181 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17182 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17183 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17184
ee2aafe0
AS
171852011-10-22 Andreas Schwab <schwab@linux-m68k.org>
17186
17187 * math/s_nan.c: Undef __nan.
17188 * math/s_nanf.c: Undef __nanf.
17189 * math/s_nanl.c: Undef __nanl.
17190 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
17191 "math_private.h".
17192
bc62c2fb
UD
171932011-10-22 Ulrich Drepper <drepper@gmail.com>
17194
77425c63
UD
17195 * math/s_catan.c: Add branch predictions.
17196 * math/s_catanf.c: Likewise.
17197 * math/s_catanh.c: Likewise.
17198 * math/s_catanhf.c: Likewise.
17199 * math/s_catanhl.c: Likewise.
17200 * math/s_catanl.c: Likewise.
17201 * math/s_cexp.c: Likewise.
17202 * math/s_cexpf.c: Likewise.
17203 * math/s_cexpl.c: Likewise.
17204 * math/s_clog.c: Likewise.
17205 * math/s_clog10.c: Likewise.
17206 * math/s_clog10f.c: Likewise.
17207 * math/s_clog10l.c: Likewise.
17208 * math/s_clogf.c: Likewise.
17209 * math/s_clogl.c: Likewise.
17210 * math/s_csqrt.c: Likewise.
17211 * math/s_csqrtf.c: Likewise.
17212 * math/s_csqrtl.c: Likewise.
17213 * math/s_ctanf.c: Likewise.
17214 * math/s_ctanh.c: Likewise.
17215 * math/s_ctanhf.c: Likewise.
17216 * math/s_ctanhl.c: Likewise.
17217 * math/s_ctanl.c: Likewise.
17218
bc62c2fb
UD
17219 * math/math_private.h: Define __nan, __nanf, __nanl.
17220 * math/s_cacosh.c: Include <math_private.h>.
17221 * math/s_cacoshl.c: Likewise.
17222 * math/s_casinh.c: Likewise.
17223 * math/s_casinhf.c: Likewise.
17224 * math/s_casinhl.c: Likewise.
17225 * math/s_ccos.c: Rely entire on ccosh.
17226 * math/s_ccosf.c: Rely entire on ccoshf.
17227 * math/s_ccosl.c: Rely entirely on ccoshl.
17228 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
17229 Remove tests for FE_INVALID.
17230 * math/s_ccoshf.c: Likewise.
17231 * math/s_ccoshl.c: Likewise.
17232 * math/s_csin.c: Likewise.
17233 * math/s_csinf.c: Likewise.
17234 * math/s_csinh.c Likewise.
17235 * math/s_csinhf.c: Likewise.
17236 * math/s_csinhl.c: Likewise.
17237 * math/s_csinl.c: Likewise.
17238 * math/s_ctan.c: Likewise.
17239 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
17240 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
17241 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
17242
8ec250a4
UD
172432011-10-21 Ulrich Drepper <drepper@gmail.com>
17244
c196fed8
UD
17245 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
17246 compilation problems.
17247
8ec250a4
UD
17248 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
17249 __builtin_expect.
17250
8d4f46c6
UD
172512011-10-20 Ulrich Drepper <drepper@gmail.com>
17252
ed72b654
UD
17253 * sysdeps/i386/configure.in: Test for -mfma4 option.
17254 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
17255 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
17256 COMMON_CPUID_INDEX_80000001.
17257 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
17258 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
17259 use it if FMA3 is not supported.
17260 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
17261
8d4f46c6
UD
17262 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
17263 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17264
d45c60c2
AS
172652011-10-20 Andreas Schwab <schwab@redhat.com>
17266
17267 [BZ #12892]
17268 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
17269 it would create a cycle with a link time dependency.
17270
d9a4d2ab
UD
172712011-10-19 Ulrich Drepper <drepper@gmail.com>
17272
855d1560
UD
17273 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
17274 instruction.
17275 * string/Makefile (strop-tests): Add rawmemchr.
17276 * string/test-rawmemchr.c: New file.
17277
d9a4d2ab
UD
17278 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
17279 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
17280 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
17281 when compiling str{,n}casecmp and when AVX is available. Hook up
17282 new optimized code in initializers.
17283
8f3b1ffe
AS
172842011-10-19 Andreas Schwab <schwab@redhat.com>
17285
17286 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
17287 __feraiseexcept instead of feraiseexcept.
17288
d38f1dba
UD
172892011-10-18 Ulrich Drepper <drepper@gmail.com>
17290
d9a8d0ab
UD
17291 * math/math_private.h: Define defaults for libc_fetestexcept and
17292 libc_feupdateenv.
17293 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
17294 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
17295 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17296 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17297 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17298 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17299 libc_fetestexcept and libc_feupdateenv.
17300
4855e3dd
UD
17301 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
17302 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
17303 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
17304 * sysdeps/x86_64/fpu/math_private.h: Define special version of
17305 libc_feholdexcept_setround.
17306
581d30e3
UD
17307 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
17308 Add s_nearbyint-c and s_nearbyintf-c.
17309 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
17310 nearbyintf inlines.
17311 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
17312 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
17313 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
17314 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
17315
d38f1dba
UD
17316 * math/math_private.h: Define defaults for libc_fegetround,
17317 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
17318 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
17319 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
17320 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
17321 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
17322 standard functions.
17323 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17324 Remove comments and hacks for old compiler versions.
17325 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17326 libc_fegetround, libc_fesetround, libc_feholdexcept, and
17327 libc_feholdexceptl.
17328
caa6c9d8
AS
173292011-10-18 Andreas Schwab <schwab@redhat.com>
17330
17331 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
17332 (__feraiseexcept_renamed): Add __NTH.
17333 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
17334 namespace violations.
17335
97c066e6
UD
173362011-10-17 Ulrich Drepper <drepper@gmail.com>
17337
99ce7b04
UD
17338 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
17339
1004d182
UD
17340 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
17341
228a984d
UD
17342 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
17343 recently added interfaces.
17344 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
17345
c8553a6a
UD
17346 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
17347 about macro parameter expansion.
17348
ed22dcf6
UD
17349 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
17350 __NO_MATH_INLINES is defined. Cleanups.
17351
17352 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
17353 and __floorf is target has SSE4.1.
17354 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
17355 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
17356 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
17357 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
17358
b171c137
UD
17359 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
17360 name.
17361 (floorf): Likewise.
17362
97c066e6
UD
17363 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
17364
629f62ef
AS
173652011-10-17 Andreas Schwab <schwab@redhat.com>
17366
49a43d80
AS
17367 * misc/sys/cdefs.h: Fix last change.
17368
629f62ef
AS
17369 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
17370 database lookup.
17371
e453f6cd
UD
173722011-10-16 Ulrich Drepper <drepper@gmail.com>
17373
aa78043a
UD
17374 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
17375
ad0f5cad
UD
17376 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
17377 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17378 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17379 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17380 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17381 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17382 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17383 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17384 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17385 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
17386 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
17387 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
17388 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
17389 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
17390 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
17391 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
17392 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
17393 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
17394 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
17395 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
17396 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
17397 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
17398
17399 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
17400 ceil, ceilf, floor, floorf.
17401
17402 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
17403 Perform IRELATIVE relocations last.
17404
e453f6cd
UD
17405 * elf/do-rel.h: Add another parameter nrelative, replacing the
17406 local variable with the same name. Change name of the function
17407 to end in Rel or Rela (uppercase).
17408 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
17409 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
17410 elf_dynamic_do_##reloc function.
17411
fd5bdc09
UD
174122011-10-15 Ulrich Drepper <drepper@gmail.com>
17413
79b195b5
UD
17414 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
17415 is sufficient, at least on modern CPUs.
17416
d4a28569
UD
17417 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
17418
b61099b5
UD
17419 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
17420 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
17421
bcf01e6d
UD
17422 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
17423 __expl_finite.
17424 * math/bits/math-finite.h: Add entries for exp.
17425 * math/e_expl.c: Add __*_finite alias.
17426 * sysdeps/i386/fpu/e_exp.S: Likewise.
17427 * sysdeps/i386/fpu/e_expf.S: Likewise.
17428 * sysdeps/i386/fpu/e_expl.c: Likewise.
17429 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17430 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17431 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17432 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17433 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
17434 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17435 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17436
ba1a0d59
UD
17437 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
17438 is sufficient, at least on modern CPUs.
17439
fd5bdc09
UD
17440 * ctype/ctype-info.c (__ctype_init): Define.
17441 * include/ctype.h (__ctype_init): Declare.
17442 (__ctype_b_loc): The variable is always initialized.
17443 (__ctype_toupper_loc): Likewise.
17444 (__ctype_tolower_loc): Likewise.
17445 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
17446 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
17447
7872cfb0
AS
174482011-10-15 Andreas Schwab <schwab@linux-m68k.org>
17449
b468825a
AS
17450 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
17451
7872cfb0
AS
17452 * configure.in: Also look in $cxxmachine/include for C++ system
17453 headers.
17454
be13f7bf
LD
174552011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17456
17457 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
17458 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
17459 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
17460 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
17461 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
17462 (USE_AS_WMEMCMP): New macro.
17463 Fixing indents.
17464 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
17465 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
17466 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
17467 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
17468 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17469 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
17470 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
17471 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
17472 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
17473 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
17474 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
17475 (USE_AS_WMEMCMP): New macro.
17476 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
17477 * sysdeps/string/test-memcmp.c: Update.
17478 Fix simple_wmemcmp.
17479 Add new tests.
17480 * wcsmbs/wmemcmp.c: Update.
17481 (WMEMCMP): New macro.
17482 Fix overflow bug.
17483
556a2007
AJ
174842011-10-12 Andreas Jaeger <aj@suse.de>
17485
17486 [BZ #13268]
17487 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
17488
538faaa7
UD
174892011-10-15 Ulrich Drepper <drepper@gmail.com>
17490
ab6737ff
UD
17491 * libio/iofwide.c (do_length): Avoid warning.
17492
538faaa7
UD
17493 * ctype/ctype.h (__isctype_f): Add missing __THROW.
17494
396a21b1
UD
174952011-10-14 Ulrich Drepper <drepper@gmail.com>
17496
cdf2901f
UD
17497 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
17498
38ad40ce
UD
17499 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
17500 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
17501 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
17502 * sysdeps/i386/i686/fpu/e_log.S: New file.
17503 * sysdeps/i386/i686/fpu/e_logf.S: New file.
17504 * sysdeps/i386/i686/fpu/e_logl.S: New file.
17505
396a21b1
UD
17506 * ctype/ctype.h: Add support for inlined isXXX functions when
17507 compiling C++ code.
17508
6b1f68c9
AS
175092011-10-14 Andreas Schwab <schwab@redhat.com>
17510
349290c0
AS
17511 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17512
6b1f68c9
AS
17513 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
17514
f2282d42
RM
175152011-10-13 Roland McGrath <roland@hack.frob.com>
17516
17517 [BZ #13291]
17518 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
17519
5298ffa8
AS
175202011-10-13 Andreas Schwab <schwab@redhat.com>
17521
714fad23
AS
17522 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
17523 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
17524 feraiseexcept.
17525
81dcc7fb
AS
17526 * sysdeps/x86_64/memrchr.S: Check for zero size.
17527
5298ffa8
AS
17528 * string/stratcliff.c: Add memrchr tests.
17529
951fbcec
LD
175302011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17531
17532 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17533 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
17534 rawmemchr-sse2 rawmemchr-sse2-bsf.
17535 * sysdeps/i386/i686/multiarch/memchr.S: New file.
17536 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
17537 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
17538 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
17539 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
17540 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
17541 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
17542 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
17543 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
17544 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
17545 * string/memrchr.c (MEMRCHR): New macro.
17546
0ac5ae23
UD
175472011-10-12 Ulrich Drepper <drepper@gmail.com>
17548
17549 Add integration with gcc's -ffinite-math-only and optimize wrapper
17550 functions in libm.
17551 * Versions.def: Define GLIBC_2.15 version for libm.
17552 * math/Makefile (headers): Add bits/math-finite.h.
17553 * math/bits/math-finite.h: New file.
17554 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
17555 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
17556 * math/e_acoshl.c: Add __*_finite alias.
17557 * math/e_acosl.c: Likewise.
17558 * math/e_asinl.c: Likewise.
17559 * math/e_atan2l.c: Likewise.
17560 * math/e_atanhl.c: Likewise.
17561 * math/e_coshl.c: Likewise.
17562 * math/e_exp10.c: Likewise.
17563 * math/e_exp10f.c: Likewise.
17564 * math/e_exp10l.c: Likewise.
17565 * math/e_exp2l.c: Likewise.
17566 * math/e_fmodl.c: Likewise.
17567 * math/e_gammal_r.c: Likewise.
17568 * math/e_hypotl.c: Likewise.
17569 * math/e_j0l.c: Likewise.
17570 * math/e_j1l.c: Likewise.
17571 * math/e_jnl.c: Likewise.
17572 * math/e_lgammal_r.c: Likewise.
17573 * math/e_log10l.c: Likewise.
17574 * math/e_log2l.c: Likewise.
17575 * math/e_logl.c: Likewise.
17576 * math/e_powl.c: Likewise.
17577 * math/e_sinhl.c: Likewise.
17578 * math/e_sqrtl.c: Likewise.
17579 * math/e_scalb.c: Completely rewritten and optimized.
17580 * math/e_scalbf.c: Likewise.
17581 * math/e_scalbl.c: Likewise.
17582 * math/w_acos.c: Likewise.
17583 * math/w_acosf.c: Likewise.
17584 * math/w_acosl.c: Likewise.
17585 * math/w_acosh.c: Likewise.
17586 * math/w_acoshf.c: Likewise.
17587 * math/w_acoshl.c: Likewise.
17588 * math/w_asin.c: Likewise.
17589 * math/w_asinf.c: Likewise.
17590 * math/w_asinl.c: Likewise.
17591 * math/w_atan2.c: Likewise.
17592 * math/w_atan2f.c: Likewise.
17593 * math/w_atan2l.c: Likewise.
17594 * math/w_atanh.c: Likewise.
17595 * math/w_atanhf.c: Likewise.
17596 * math/w_atanhl.c: Likewise.
17597 * math/w_exp10.c: Likewise.
17598 * math/w_exp10f.c: Likewise.
17599 * math/w_exp10l.c: Likewise.
17600 * math/w_fmod.c: Likewise.
17601 * math/w_fmodf.c: Likewise.
17602 * math/w_fmodl.c: Likewise.
17603 * math/w_j0.c: Likewise.
17604 * math/w_j0f.c: Likewise.
17605 * math/w_j0l.c: Likewise.
17606 * math/w_j1.c: Likewise.
17607 * math/w_j1f.c: Likewise.
17608 * math/w_j1l.c: Likewise.
17609 * math/w_jn.c: Likewise.
17610 * math/w_jnf.c: Likewise.
17611 * math/w_log.c: Likewise.
17612 * math/w_logf.c: Likewise.
17613 * math/w_logl.c: Likewise.
17614 * math/w_log10.c: Likewise.
17615 * math/w_log10f.c: Likewise.
17616 * math/w_log10l.c: Likewise.
17617 * math/w_log2.c: Likewise.
17618 * math/w_log2f.c: Likewise.
17619 * math/w_log2l.c: Likewise.
17620 * math/w_pow.c: Likewise.
17621 * math/w_powf.c: Likewise.
17622 * math/w_powl.c: Likewise.
17623 * math/w_remainder.c: Likewise.
17624 * math/w_remainderf.c: Likewise.
17625 * math/w_remainderl.c: Likewise.
17626 * math/w_scalb.c: Likewise.
17627 * math/w_scalbf.c: Likewise.
17628 * math/w_scalbl.c: Likewise.
17629 * math/w_sqrt.c: Likewise.
17630 * math/w_sqrtf.c: Likewise.
17631 * math/w_sqrtl.c: Likewise.
17632 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
17633 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
17634 used.
17635 * math/math_private.h: Declare __kernel_standard_f.
17636 * math/w_cosh.c: Remove cruft and optimize a bit.
17637 * math/w_coshf.c: Likewise.
17638 * math/w_coshl.c: Likewise.
17639 * math/w_exp2.c: Likewise.
17640 * math/w_exp2f.c: Likewise.
17641 * math/w_exp2l.c: Likewise.
17642 * math/w_hypot.c: Likewise.
17643 * math/w_hypotf.c: Likewise.
17644 * math/w_hypotl.c: Likewise.
17645 * math/w_lgamma.c: Likewise.
17646 * math/w_lgamma_r.c: Likewise.
17647 * math/w_lgammaf.c: Likewise.
17648 * math/w_lgammaf_r.c: Likewise.
17649 * math/w_lgammal.c: Likewise.
17650 * math/w_lgammal_r.c: Likewise.
17651 * math/w_sinh.c: Likewise.
17652 * math/w_sinhf.c: Likewise.
17653 * math/w_sinhl.c: Likewise.
17654 * math/w_tgamma.c: Likewise.
17655 * math/w_tgammaf.c: Likewise.
17656 * math/w_tgammal.c: Likewise.
17657 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17658 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17659 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
17660 Minor optimizations. Pretty printing. Remove cruft.
17661 * sysdeps/i386/fpu/e_acosf.S: Likewise.
17662 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17663 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17664 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17665 * sysdeps/i386/fpu/e_acosl.c: Likewise.
17666 * sysdeps/i386/fpu/e_asin.S: Likewise.
17667 * sysdeps/i386/fpu/e_asinf.S: Likewise.
17668 * sysdeps/i386/fpu/e_atan2.S: Likewise.
17669 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
17670 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
17671 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17672 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17673 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17674 * sysdeps/i386/fpu/e_exp10.S: Likewise.
17675 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
17676 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
17677 * sysdeps/i386/fpu/e_exp2.S: Likewise.
17678 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
17679 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
17680 * sysdeps/i386/fpu/e_fmod.S: Likewise.
17681 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
17682 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
17683 * sysdeps/i386/fpu/e_hypot.S: Likewise.
17684 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
17685 * sysdeps/i386/fpu/e_log.S: Likewise.
17686 * sysdeps/i386/fpu/e_log10.S: Likewise.
17687 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17688 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17689 * sysdeps/i386/fpu/e_log2.S: Likewise.
17690 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17691 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17692 * sysdeps/i386/fpu/e_logf.S: Likewise.
17693 * sysdeps/i386/fpu/e_logl.S: Likewise.
17694 * sysdeps/i386/fpu/e_pow.S: Likewise.
17695 * sysdeps/i386/fpu/e_powf.S: Likewise.
17696 * sysdeps/i386/fpu/e_powl.S: Likewise.
17697 * sysdeps/i386/fpu/e_remainder.S: Likewise.
17698 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
17699 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
17700 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17701 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17702 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17703 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
17704 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
17705 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
17706 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17707 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17708 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17709 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17710 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17711 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17712 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17713 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17714 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17715 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17716 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17717 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17718 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17719 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17720 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17721 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17722 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17723 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17724 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17725 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17726 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17727 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17728 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17729 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17730 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17731 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17732 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17733 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17734 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17735 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17736 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17737 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17738 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17739 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17740 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17741 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17742 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17743 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17744 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17745 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17746 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17747 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17748 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17749 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17750 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17751 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17752 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17753 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17754 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17755 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17756 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17757 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17758 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17759 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17760 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17761 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17762 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17763 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17764 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17765 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17766 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17767 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
17768 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17769 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17770 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
17771 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17772 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
17773 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
17774 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
17775 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17776 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
17777 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
17778 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
17779 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17780 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
17781 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17782 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
17783 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
17784 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17785 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
17786 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17787 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
17788 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
17789 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17790 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17791 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17792 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17793 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
17794 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17795 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17796 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17797 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17798 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17799 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17800 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17801 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17802 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17803 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
17804 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
17805 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
17806 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
17807 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
17808 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
17809 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
17810 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17811 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17812 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17813 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17814 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
17815 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17816 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
17817 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
17818 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
17819 (__isnanf): Likewise.
17820 (__isinf_ns): Likewise.
17821 (__isinf_nsf): Likewise.
17822 (__finite): Likewise.
17823 (__finitef): Likewise.
17824 (__ieee754_sqrt): Define as macro.
17825 (__ieee754_sqrtf): Define as macro.
17826 (__ieee754_sqrtl): Define as macro.
17827 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
17828 inlined copy.
17829 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
17830 __FINITE_MATH_ONLY__ consistent.
17831 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
17832
12cc2fcd
AS
178332011-10-10 Andreas Schwab <schwab@linux-m68k.org>
17834
a843a204
AS
17835 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
17836 of rawmemchr.
17837
12cc2fcd
AS
17838 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
17839
c853acd5
UD
178402011-10-09 Ulrich Drepper <drepper@gmail.com>
17841
17842 * po/ja.po: Update from translation team.
17843
c658d255
RM
178442011-10-08 Roland McGrath <roland@hack.frob.com>
17845
110946e4
RM
17846 * locale/programs/locarchive.c (prepare_address_space): New function.
17847 (create_archive, enlarge_archive, open_archive): Use it.
17848
50604220
RM
17849 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
17850 inside [SHARED], where it is used.
17851
c658d255
RM
17852 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
17853
17854 * nss/getent.c (netgroup_keys): Remove unused variable.
17855 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
17856
6a621eb7
UD
178572011-10-08 Ulrich Drepper <drepper@gmail.com>
17858
7edb55ce
UD
17859 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
17860 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
17861 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
17862 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
17863 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
17864 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
17865 * math/Makefile (libm-calls): Add s_isinf_ns.
17866 * math/divtc3.c: Use __isinf_nsl instead of isinf.
17867 * math/multc3.c: Likewise.
17868 * math/s_casin.c: Likewise.
17869 * math/s_casinf.c: Likewise.
17870 * math/s_casinl.c: Likewise.
17871 * math/s_ccos.c: Likewise.
17872 * math/s_ccosf.c: Likewise.
17873 * math/s_ccosl.c: Likewise.
17874 * math/s_ctan.c: Likewise.
17875 * math/s_ctanf.c: Likewise.
17876 * math/s_ctanh.c: Likewise.
17877 * math/s_ctanhf.c: Likewise.
17878 * math/s_ctanhl.c: Likewise.
17879 * math/s_ctanl.c: Likewise.
17880 * math/w_fmod.c: Likewise.
17881 * math/w_fmodf.c: Likewise.
17882 * math/w_fmodl.c: Likewise.
17883 * math/w_remainder.c: Likewise.
17884 * math/w_remainderf.c: Likewise.
17885 * math/w_remainderl.c: Likewise.
17886 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
17887 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
17888 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
17889 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
17890 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
17891 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
17892 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
17893 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
17894
187da0ae
UD
17895 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
17896 of the number.
17897 * stdio-common/printf_fphex.c: Likewise.
17898 * stdio-common/printf_size.c: Likewise.
17899
9277c064
UD
17900 * math/e_exp10.c: Include math_private.h using <...> not "...".
17901 * math/e_exp10f.c: Likewise.
17902 * math/e_exp10l.c: Likewise.
17903 * math/e_exp2l.c: Likewise.
17904 * math/e_j0l.c: Likewise.
17905 * math/e_j1l.c: Likewise.
17906 * math/e_jnl.c: Likewise.
17907 * math/e_lgammal_r.c: Likewise.
17908 * math/e_rem_pio2l.c: Likewise.
17909 * math/e_scalb.c: Likewise.
17910 * math/e_scalbf.c: Likewise.
17911 * math/e_scalbl.c: Likewise.
17912 * math/k_cosl.c: Likewise.
17913 * math/k_sinl.c: Likewise.
17914 * math/k_tanl.c: Likewise.
17915 * math/s_cacoshf.c: Likewise.
17916 * math/s_catan.c: Likewise.
17917 * math/s_catanf.c: Likewise.
17918 * math/s_catanh.c: Likewise.
17919 * math/s_catanhf.c: Likewise.
17920 * math/s_catanhl.c: Likewise.
17921 * math/s_catanl.c: Likewise.
17922 * math/s_ccosh.c: Likewise.
17923 * math/s_ccoshf.c: Likewise.
17924 * math/s_ccoshl.c: Likewise.
17925 * math/s_cexp.c: Likewise.
17926 * math/s_cexpf.c: Likewise.
17927 * math/s_cexpl.c: Likewise.
17928 * math/s_clog.c: Likewise.
17929 * math/s_clog10.c: Likewise.
17930 * math/s_clog10f.c: Likewise.
17931 * math/s_clog10l.c: Likewise.
17932 * math/s_clogf.c: Likewise.
17933 * math/s_clogl.c: Likewise.
17934 * math/s_csin.c: Likewise.
17935 * math/s_csinf.c: Likewise.
17936 * math/s_csinh.c: Likewise.
17937 * math/s_csinhf.c: Likewise.
17938 * math/s_csinhl.c: Likewise.
17939 * math/s_csinl.c: Likewise.
17940 * math/s_csqrt.c: Likewise.
17941 * math/s_csqrtf.c: Likewise.
17942 * math/s_csqrtl.c: Likewise.
17943 * math/s_ctan.c: Likewise.
17944 * math/s_ctanf.c: Likewise.
17945 * math/s_ctanh.c: Likewise.
17946 * math/s_ctanhf.c: Likewise.
17947 * math/s_ctanhl.c: Likewise.
17948 * math/s_ctanl.c: Likewise.
17949 * math/s_ldexp.c: Likewise.
17950 * math/s_ldexpf.c: Likewise.
17951 * math/s_ldexpl.c: Likewise.
17952 * math/s_significand.c: Likewise.
17953 * math/s_significandf.c: Likewise.
17954 * math/s_significandl.c: Likewise.
17955 * math/w_acos.c: Likewise.
17956 * math/w_acosf.c: Likewise.
17957 * math/w_acosh.c: Likewise.
17958 * math/w_acoshf.c: Likewise.
17959 * math/w_acoshl.c: Likewise.
17960 * math/w_acosl.c: Likewise.
17961 * math/w_asin.c: Likewise.
17962 * math/w_asinf.c: Likewise.
17963 * math/w_asinl.c: Likewise.
17964 * math/w_atan2.c: Likewise.
17965 * math/w_atan2f.c: Likewise.
17966 * math/w_atan2l.c: Likewise.
17967 * math/w_atanh.c: Likewise.
17968 * math/w_atanhf.c: Likewise.
17969 * math/w_atanhl.c: Likewise.
17970 * math/w_cosh.c: Likewise.
17971 * math/w_coshf.c: Likewise.
17972 * math/w_coshl.c: Likewise.
17973 * math/w_dremf.c: Likewise.
17974 * math/w_exp10.c: Likewise.
17975 * math/w_exp10f.c: Likewise.
17976 * math/w_exp10l.c: Likewise.
17977 * math/w_exp2.c: Likewise.
17978 * math/w_exp2f.c: Likewise.
17979 * math/w_fmod.c: Likewise.
17980 * math/w_fmodf.c: Likewise.
17981 * math/w_fmodl.c: Likewise.
17982 * math/w_hypot.c: Likewise.
17983 * math/w_hypotf.c: Likewise.
17984 * math/w_hypotl.c: Likewise.
17985 * math/w_j0.c: Likewise.
17986 * math/w_j0f.c: Likewise.
17987 * math/w_j0l.c: Likewise.
17988 * math/w_j1.c: Likewise.
17989 * math/w_j1f.c: Likewise.
17990 * math/w_j1l.c: Likewise.
17991 * math/w_jn.c: Likewise.
17992 * math/w_jnf.c: Likewise.
17993 * math/w_jnl.c: Likewise.
17994 * math/w_lgamma.c: Likewise.
17995 * math/w_lgamma_r.c: Likewise.
17996 * math/w_lgammaf.c: Likewise.
17997 * math/w_lgammaf_r.c: Likewise.
17998 * math/w_lgammal.c: Likewise.
17999 * math/w_lgammal_r.c: Likewise.
18000 * math/w_log.c: Likewise.
18001 * math/w_log10.c: Likewise.
18002 * math/w_log10f.c: Likewise.
18003 * math/w_log10l.c: Likewise.
18004 * math/w_log2.c: Likewise.
18005 * math/w_log2f.c: Likewise.
18006 * math/w_log2l.c: Likewise.
18007 * math/w_logf.c: Likewise.
18008 * math/w_logl.c: Likewise.
18009 * math/w_pow.c: Likewise.
18010 * math/w_powf.c: Likewise.
18011 * math/w_powl.c: Likewise.
18012 * math/w_remainder.c: Likewise.
18013 * math/w_remainderf.c: Likewise.
18014 * math/w_remainderl.c: Likewise.
18015 * math/w_scalb.c: Likewise.
18016 * math/w_scalbf.c: Likewise.
18017 * math/w_scalbl.c: Likewise.
18018 * math/w_sinh.c: Likewise.
18019 * math/w_sinhf.c: Likewise.
18020 * math/w_sinhl.c: Likewise.
18021 * math/w_sqrt.c: Likewise.
18022 * math/w_sqrtf.c: Likewise.
18023 * math/w_sqrtl.c: Likewise.
18024 * math/w_tgamma.c: Likewise.
18025 * math/w_tgammaf.c: Likewise.
18026 * math/w_tgammal.c: Likewise.
18027
6a621eb7
UD
18028 * po/ja.po: Update from translation team.
18029
bf582445
AJ
180302011-09-29 Andreas Jaeger <aj@suse.de>
18031
f9efbf3a
AJ
18032 [BZ #13179]
18033 * sunrpc/netname.c (netname2host): Fix logic.
18034
bf582445
AJ
18035 [BZ #6779]
18036 [BZ #6783]
18037 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
18038 correctly.
18039 * math/w_remainder.c (__remainder): Likewise.
18040 * math/w_remainderf.c (__remainderf): Likewise.
18041 * math/libm-test.inc (remainder_test): Add test cases.
18042
48693bea
AK
180432011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18044
18045 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
18046 sdiv_qrnnd.
18047
42622229
LD
180482011-10-07 Ulrich Drepper <drepper@gmail.com>
18049
18050 * string/test-memcmp.c: Avoid unncessary #defines.
18051 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18052
093ecf92
LD
180532011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18054
18055 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
18056 Use new sse2 version for core i3 - i7 as it's faster
18057 than sse42 version.
18058 (bit_Prefer_PMINUB_for_stringop): New.
18059 * sysdeps/x86_64/rawmemchr.S: Update.
18060 Replace with faster SSE2 version.
18061 * sysdeps/x86_64/memrchr.S: New file.
18062 * sysdeps/x86_64/memchr.S: Update.
18063 Replace with faster SSE2 version.
18064
fde56e5c
MP
180652011-09-12 Marek Polacek <mpolacek@redhat.com>
18066
18067 * elf/dl-load.c (lose): Add cast to avoid warning.
18068
21fd49a9
UD
180692011-10-07 Ulrich Drepper <drepper@gmail.com>
18070
5a06e643
UD
18071 * po/ca.po: Update from translation team.
18072
684ae515
UD
18073 * inet/getnetgrent_r.c: Hook up nscd.
18074 * nscd/Makefile (routines): Add nscd_netgroup.
18075 (nscd-modules): Add netgroupcache.
18076 (CFLAGS-netgroupcache.c): Define.
18077 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
18078 (cache_search): Add const to second parameter.
18079 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
18080 INNETGR.
18081 (dbs): Add netgrdb entry.
18082 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
18083 (verify_persistent_db): Handle netgrdb.
18084 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
18085 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
18086 GETFDNETGR.
18087 (netgroup_response_header): Define.
18088 (innetgroup_response_header): Define.
18089 (datahead): Add netgroup_response_header and innetgroup_response_header
18090 elements.
18091 * nscd/nscd.conf: Add entries for netgroup cache.
18092 * nscd/nscd.h (dbtype): Add netgrdb.
18093 (_PATH_NSCD_NETGROUP_DB): Define.
18094 (netgroup_iov_disabled): Declare.
18095 (xmalloc, xcalloc, xrealloc): Move declarations here.
18096 (cache_search): Adjust prototype.
18097 Add netgroup-related prototypes.
18098 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
18099 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
18100 (__nscd_innetgr): Declare.
18101 * nscd/selinux.c (perms): Use access_vector_t as element type and
18102 add netgroup-related initializers.
18103 * nscd/netgroupcache.c: New file.
18104 * nscd/nscd_netgroup.c: New file.
18105 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
18106 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
18107 For four parameters use innetgr.
18108 * nss/nss_files/files-init.c: Add definition and callback for netgr.
18109 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
18110 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
18111 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
18112
21fd49a9
UD
18113 * nscd/connections.c (register_traced_file): Don't register file
18114 for disabled databases.
18115
054c0457
UD
181162011-10-06 Ulrich Drepper <drepper@gmail.com>
18117
32b63198
UD
18118 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
18119
054c0457
UD
18120 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
18121 from tree and freeing node.
18122
64031225
JO
181232011-09-25 Jiri Olsa <jolsa@redhat.com>
18124
18125 * nss/nsswitch.c (__nss_database_lookup): Handle
18126 nss_parse_service_list out of memory case.
18127
0490345c
JO
181282011-09-15 Jiri Olsa <jolsa@redhat.com>
18129
18130 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
18131 out of memory case.
18132
3a62d00d
AS
181332011-10-04 Andreas Schwab <schwab@redhat.com>
18134
18135 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
18136 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
18137 pass it down.
18138 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
18139 elf_machine_rela, elf_machine_lazy_rel.
18140 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
18141 (ELF_DYNAMIC_DO_REL): Likewise.
18142 (ELF_DYNAMIC_DO_RELA): Likewise.
18143 (ELF_DYNAMIC_RELOCATE): Likewise.
18144 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
18145 to ELF_DYNAMIC_DO_REL.
18146 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
18147 (dl_main): In trace mode always set __RTLD_NOIFUNC.
18148 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
18149 elf_machine_rela.
18150 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
18151 skip_ifunc, don't call ifunc function if non-zero.
18152 (elf_machine_rela): Likewise.
18153 (elf_machine_lazy_rel): Likewise.
18154 (elf_machine_lazy_rela): Likewise.
18155 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
18156 (elf_machine_lazy_rel): Likewise.
18157 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
18158 Likewise.
18159 (elf_machine_lazy_rel): Likewise.
18160 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18161 Likewise.
18162 (elf_machine_lazy_rel): Likewise.
18163 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
18164 (elf_machine_lazy_rel): Likewise.
18165 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
18166 (elf_machine_lazy_rel): Likewise.
18167 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18168 (elf_machine_lazy_rel): Likewise.
18169 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
18170 (elf_machine_lazy_rel): Likewise.
18171 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
18172 (elf_machine_lazy_rel): Likewise.
18173 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18174 (elf_machine_lazy_rel): Likewise.
18175
68577918
UD
181762011-09-28 Ulrich Drepper <drepper@gmail.com>
18177
18178 * nss/nss_files/files-init.c (_nss_files_init): Use static
18179 initialization for all the *_traced_file variables.
18180
68822d74
AS
181812011-09-28 Andreas Schwab <schwab@redhat.com>
18182
18183 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18184
2056100b
RM
181852011-09-27 Roland McGrath <roland@hack.frob.com>
18186
18187 [BZ #13226]
18188 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
18189
32c76b63
AS
181902011-09-27 Andreas Schwab <schwab@redhat.com>
18191
18192 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18193 Reread the line before reparsing it.
18194
bf972c9d
AS
181952011-09-26 Andreas Schwab <schwab@redhat.com>
18196
18197 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
18198
e057a1b5
JM
181992011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
18200 Maxim Kuvyrkov <maxim@codesourcery.com>
18201 Joseph Myers <joseph@codesourcery.com>
18202
18203 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
18204 if needed for __stack_chk_guard.
18205
bc7e1c36
RM
182062011-09-19 Roland McGrath <roland@hack.frob.com>
18207
ecb1482f
RM
18208 * sysdeps/posix/spawni.c (script_execute): Always define it.
18209 It will be optimized away if unused.
18210 (maybe_script_execute): New function.
18211 (__spawni): Call it.
18212
bc7e1c36
RM
18213 * Makerules: Don't include tls.make.
18214 (config-tls): Always set to thread.
18215 * tls.make.c: File removed.
18216
1c3b002b
MF
182172011-09-19 Mike Frysinger <vapier@gentoo.org>
18218
18219 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
18220 * config.make.in (CPPFLAGS-config): New substituted variable.
18221
2840865d
UD
182222011-09-15 Ulrich Drepper <drepper@gmail.com>
18223
88738eb6
UD
18224 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
18225
cbf645a6 18226 [BZ #13192]
2840865d
UD
18227 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
18228 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
18229
b402e91a
RM
182302011-09-15 Roland McGrath <roland@hack.frob.com>
18231
18232 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
18233 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
18234 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18235 (CALL_FAIL): Likewise.
18236 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
18237 (CALL_FAIL): Macro removed.
18238 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
18239
4c1a1f71
UD
182402011-09-15 Ulrich Drepper <drepper@gmail.com>
18241
18242 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
18243 for __FINITE_MATH_ONLY__ == 1.
18244
edc121be
AS
182452011-09-15 Andreas Schwab <schwab@redhat.com>
18246
18247 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
18248 __ieee754_sqrt instead of sqrt.
18249 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
18250 __ieee754_sqrtf instead of sqrtf.
18251 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
18252 __floorf instead of floorf.
18253 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
18254 __floorf, __truncf instead of floorf, truncf.
18255
cd205654
UD
182562011-09-14 Ulrich Drepper <drepper@gmail.com>
18257
ee4d0315
UD
18258 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
18259
cd205654
UD
18260 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
18261 __extern_always_inline.
18262 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
18263 32-bit.
18264
48b67d71
AS
182652011-09-14 Andreas Schwab <schwab@redhat.com>
18266
18267 * elf/rtld.c (dl_main): Also relocate in dependency order when
18268 doing symbol dependency testing.
18269
1ae12c75
AS
182702011-09-13 Andreas Schwab <schwab@linux-m68k.org>
18271
18272 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18273 Always define `refsym'.
18274
995a80df
AS
182752011-09-13 Andreas Schwab <schwab@redhat.com>
18276
e529793b
AS
18277 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
18278 (__FD_ELT): Renamed from __FDELT.
18279 * misc/bits/select2.h (__FD_ELT): Likewise.
18280 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
18281 __FD_MASK instead of __FDELT, __FDMASK.
18282 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18283 Likewise.
18284 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18285 Likewise.
18286
52d4fef8
AS
18287 * elf/Makefile (gen-ldd): Fix pattern.
18288
995a80df
AS
18289 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
18290 (init_tls): Likewise.
18291
8682f8b0
UD
182922011-09-12 Ulrich Drepper <drepper@gmail.com>
18293
18294 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
18295
de82006d
AS
182962011-09-12 Andreas Schwab <schwab@redhat.com>
18297
a7c8e6a1
AS
18298 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
18299 `struct cmsghdr *' instead of `void *'.
18300 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
18301 Likewise.
18302
0f31fe77
AS
183032011-09-11 Andreas Schwab <schwab@linux-m68k.org>
18304
18305 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
18306 if non-absolute.
18307 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
18308 ldd_rewrite_script.
0f31fe77 18309
32b4c839
UD
183102011-09-11 Ulrich Drepper <drepper@gmail.com>
18311
83cd1420
UD
18312 * configure.in: Remove --with-tls option.
18313 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
18314 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
18315 out in case it is missing.
18316 * sysdeps/ia64/elf/configure.in: Likewise.
18317 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
18318 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
18319 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
18320 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
18321 * sysdeps/sh/elf/configure.in: Likewise.
18322 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
18323 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18324 * sysdeps/x86_64/elf/configure.in: Likewise.
18325 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
18326 * sysdeps/mach/hurd/tls.h: Likewise.
18327
633f745d
UD
18328 [BZ #13067]
18329 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
18330
f318beb8
UD
18331 [BZ #13090]
18332 * configure.in: Fix use of AC_INIT.
18333
32b4c839
UD
18334 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
18335
3ce1f295
UD
183362011-09-10 Ulrich Drepper <drepper@gmail.com>
18337
bb016596
UD
18338 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
18339 __set_errno.
8e58439c
UD
18340 * malloc/hooks.c: Likewise.
18341
aebae053 18342 [BZ #11929]
02d46fc4
UD
18343 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
18344 variables statically.
18345 (narenas): Initialize.
18346 (list_lock): Initialize.
bb016596
UD
18347 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
18348 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
18349 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
18350 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
18351 Add initializers to main_arena and mp_.
18352 (malloc_state): Remove pagesize member. Change all users to use
18353 GLRO(dl_pagesize).
18354
18355 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
18356 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
18357 is always initialized.
18358
22a89187
UD
18359 * malloc/malloc.c: Removed unused configurations and dead code.
18360 * malloc/arena.c: Likewise.
18361 * malloc/hooks.c: Likewise.
02d46fc4 18362 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 18363
d063d164
UD
18364 * include/tls.h: Removed. USE___THREAD must always be defined.
18365 * bits/libc-tsd.h: Don't handle !USE___THREAD.
18366 * elf/dl-libc.c: Likewise.
18367 * elf/dl-tsd.c: Likewise.
18368 * include/errno.h: Likewise.
18369 * include/netdb.h: Likewise.
18370 * include/resolv.h: Likewise.
18371 * inet/herrno-loc.c: Likewise.
18372 * inet/herrno.c: Likewise.
18373 * malloc/arena.c: Likewise.
18374 * malloc/hooks.c: Likewise.
18375 * malloc/malloc.c: Likewise.
18376 * resolv/res-state.c: Likewise.
18377 * resolv/res_libc.c: Likewise.
18378 * sysdeps/i386/dl-machine.h: Likewise.
18379 * sysdeps/ia64/dl-machine.h: Likewise.
18380 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
18381 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18382 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
18383 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18384 * sysdeps/sh/dl-machine.h: Likewise.
18385 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18386 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18387 * sysdeps/unix/i386/sysdep.S: Likewise.
18388 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18389 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
18390 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
18391 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18392 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
18393 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18394 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18395 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18396 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18397 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18398 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18399 * sysdeps/x86_64/dl-machine.h: Likewise.
18400 * tls.make.c: Likewise.
18401
3ce1f295
UD
18402 * configure.in: Remove --with-__thread option. Make tests for
18403 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
18404 tls_model attribute fail if no support is available. Remove
18405 USE_IN_LIBIO.
18406 * Makeconfig: Adjust for dropped configure option. All features are
18407 now mandatory.
18408 * Makerules: Likewise.
18409 * Versions.def: Likewise.
18410 * argp/argp-fmtstream.c: Likewise.
18411 * argp/argp-fmtstream.h: Likewise.
18412 * argp/argp-help.c: Likewise.
18413 * assert/assert.c: Likewise.
18414 * config.h.in: Likewise.
18415 * config.make.in: Likewise.
18416 * configure: Likewise.
18417 * configure.in: Likewise.
18418 * csu/Versions: Likewise.
18419 * csu/init.c: Likewise.
18420 * elf/tst-audit2.c: Likewise.
18421 * elf/tst-tls10.c: Likewise.
18422 * elf/tst-tls10.h: Likewise.
18423 * elf/tst-tls11.c: Likewise.
18424 * elf/tst-tls12.c: Likewise.
18425 * elf/tst-tls14.c: Likewise.
18426 * elf/tst-tlsmod11.c: Likewise.
18427 * elf/tst-tlsmod12.c: Likewise.
18428 * elf/tst-tlsmod13.c: Likewise.
18429 * elf/tst-tlsmod13a.c: Likewise.
18430 * elf/tst-tlsmod14a.c: Likewise.
18431 * elf/tst-tlsmod15b.c: Likewise.
18432 * elf/tst-tlsmod16a.c: Likewise.
18433 * elf/tst-tlsmod16b.c: Likewise.
18434 * elf/tst-tlsmod7.c: Likewise.
18435 * elf/tst-tlsmod8.c: Likewise.
18436 * elf/tst-tlsmod9.c: Likewise.
18437 * gmon/gmon.c: Likewise.
18438 * grp/fgetgrent_r.c: Likewise.
18439 * grp/putgrent.c: Likewise.
18440 * hurd/fopenport.c: Likewise.
18441 * include/libc-symbols.h: Likewise.
18442 * include/tls.h: Likewise.
18443 * intl/gettextP.h: Likewise.
18444 * intl/loadinfo.h: Likewise.
18445 * locale/global-locale.c: Likewise.
18446 * locale/localeinfo.h: Likewise.
18447 * mach/devstream.c: Likewise.
18448 * malloc/arena.c: Likewise.
18449 * malloc/set-freeres.c: Likewise.
18450 * misc/err.c: Likewise.
18451 * misc/getttyent.c: Likewise.
18452 * misc/mntent_r.c: Likewise.
18453 * posix/getopt.c: Likewise.
18454 * posix/wordexp.c: Likewise.
18455 * pwd/fgetpwent_r.c: Likewise.
18456 * resolv/Versions: Likewise.
18457 * resolv/res_hconf.c: Likewise.
18458 * shadow/fgetspent_r.c: Likewise.
18459 * shadow/putspent.c: Likewise.
18460 * stdio-common/printf_fphex.c: Likewise.
18461 * stdio-common/tmpfile.c: Likewise.
18462 * stdlib/abort.c: Likewise.
18463 * stdlib/fmtmsg.c: Likewise.
18464 * sunrpc/auth_unix.c: Likewise.
18465 * sunrpc/clnt_perr.c: Likewise.
18466 * sunrpc/clnt_tcp.c: Likewise.
18467 * sunrpc/clnt_udp.c: Likewise.
18468 * sunrpc/clnt_unix.c: Likewise.
18469 * sunrpc/openchild.c: Likewise.
18470 * sunrpc/svc_simple.c: Likewise.
18471 * sunrpc/svc_tcp.c: Likewise.
18472 * sunrpc/svc_udp.c: Likewise.
18473 * sunrpc/svc_unix.c: Likewise.
18474 * sunrpc/xdr.c: Likewise.
18475 * sunrpc/xdr_array.c: Likewise.
18476 * sunrpc/xdr_rec.c: Likewise.
18477 * sunrpc/xdr_ref.c: Likewise.
18478 * sunrpc/xdr_stdio.c: Likewise.
18479
1248c1c4
PB
184802011-09-09 Ulrich Drepper <drepper@gmail.com>
18481
18482 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18483
184842011-07-03 Andreas Jaeger <aj@suse.de>
18485
18486 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
18487 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
18488 regenerate with gen-libm-tests.pl.
18489
184902010-05-12 Petr Baudis <pasky@suse.cz>
18491
18492 [BZ #11589]
18493 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
18494 around j0() zero points by switching to j1().
18495 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18496 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18497 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18498 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18499
f22e1074
UD
185002011-09-09 Ulrich Drepper <drepper@gmail.com>
18501
f19009c1
UD
18502 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
18503 instead of 0.
18504 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
18505 instead of 0. .
18506 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18507 Patch in part by Pavel Roskin <proski@gnu.org>.
18508
3f8cc204
UD
18509 [BZ #13138]
18510 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
18511 realloc.
18512 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
18513 Free memory block if necessary.
18514
f22e1074
UD
18515 [BZ #12847]
18516 * libio/genops.c (INTDEF): For string streams the _lock pointer can
18517 be NULL. Don't lock in this case.
18518
0a2349f9
RM
185192011-09-09 Roland McGrath <roland@hack.frob.com>
18520
18521 * elf/elf.h (ELFOSABI_GNU): New macro.
18522 (ELFOSABI_LINUX): Define to that.
18523
f3cdd467
DZ
185242011-07-29 Denis Zaitceff <zaitceff@gmail.com>
18525
18526 * string/strncat.c (strncat): Undef the symbol in case it has been
18527 defined in bits/string.h.
18528
74718d13
UD
185292011-09-09 Ulrich Drepper <drepper@gmail.com>
18530
633e9e0f
UD
18531 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
18532
0a2349f9 18533 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
18534 link map.
18535
f9924780
AJ
185362011-08-17 Andreas Jaeger <aj@suse.de>
18537
18538 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
18539
7f5517aa
PP
185402011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
18541 Ian Lance Taylor <iant@google.com>
18542
18543 * math/libm-test.inc (lround_test): New testcase.
18544 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
18545
762011fe
UD
185462011-09-08 Ulrich Drepper <drepper@gmail.com>
18547
92963737
UD
18548 * Makefile: Remove support for automatic cvs check-ins.
18549 * Makerules: Likewise.
18550 * config.make.in: Likewise.
18551 * configure.in: Likewise.
18552 * intl/Makefile: Likewise.
18553 * locale/Makefile: Likewise.
18554 * po/Makefile: Likewise.
18555 * posix/Makefile: Likewise.
18556 * sysdeps/gnu/Makefile: Likewise.
18557 * sysdeps/mach/hurd/Makefile: Likewise.
18558 * sysdeps/sparc/sparc32/Makefile: Likewise.
18559
b0727fd8
JS
18560 [BZ #13118]
18561 * posix/Makefile (bug-regex32-ENV): Define.
18562 Patch by John Stanley <jpsinthemix@verizon.net>.
18563
a0f33f99
UD
18564 * misc/Makefile (headers): Add bits/select2.h.
18565 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
18566 * misc/bits/select2.h: New file.
18567 * include/bits/select2.h: New file.
18568 * debug/Makefile (routines): Add fdelt_chk.
18569 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
18570 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
18571 FD_ISSET.
18572 * debug/fdelt_chk.c: New file.
18573
762011fe
UD
18574 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
18575 * wcsmbs/test-wmemcmp.c: Likewise.
18576 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 18577 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
18578
185792011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18580
18581 * string/Makefile (strop-tests): Add memcmp.
18582 * string/test-wmemcmp.c: New file.
18583 * string/test-memcmp.c: Add wmemcmp support.
18584
7f513ec8
RM
185852011-09-08 Roland McGrath <roland@hack.frob.com>
18586
0442afb4
RM
18587 [BZ #13153]
18588 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
18589 2011-07-19 change.
18590
7f513ec8
RM
18591 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
18592 garbage value in a __mach_port_mod_refs call in the cases of the
18593 task-self and thread-self ports.
18594
a12b2239
ST
185952011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18596
18597 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
18598
610f9ab4
AS
185992011-09-08 Andreas Schwab <schwab@redhat.com>
18600
7f513ec8 18601 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 18602
48882a1a
LD
186032011-09-07 Ulrich Drepper <drepper@gmail.com>
18604
b49865be
UD
18605 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
18606
fdc86bc9
UD
18607 * elf/dl-libc.c (dlerror_run): Pass back error code from
18608 dl_catch_error.
18609
c966526a
UD
18610 [BZ #13123]
18611 * elf/dl-load.c (lose): Free l_origin if it is valid.
18612
48882a1a
LD
18613 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
18614 names.
18615 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
18616 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18617 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18618 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18619 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
18620 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
18621
77a2a8b4
AZ
186222011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18623
18624 * sysdeps/powerpc/fpu/e_hypot.c: New file.
18625 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
18626 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
18627 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
18628 * sysdeps/powerpc/fpu/k_cosf.c: New file.
18629 * sysdeps/powerpc/fpu/k_sinf.c: New file.
18630 * sysdeps/powerpc/fpu/s_cosf.c: New file.
18631 * sysdeps/powerpc/fpu/s_sinf.c: New file.
18632 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
18633 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
18634
24f579d8
AM
186352011-08-15 Alan Modra <amodra@gmail.com>
18636
18637 [BZ #13092]
18638 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
18639 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
18640 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
18641 ppc_mcount to static-only-routines.
18642 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
18643 __mcount_internal.
18644 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
18645 __mcount_internal with usual JUMPTARGET. Remove useless nop.
18646
3d4837df
UD
186472011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
18648
18649 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
18650 for finite and infinity parameters.
18651
22700377
WS
186522011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
18653
18654 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
18655 and add nop instructions for throughput optimization.
18656 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18657
5025581e
WS
186582011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
18659
18660 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
18661 aligned copy for power7 with vector-scalar instructions.
18662 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18663
08a300c9
L
186642011-07-24 H.J. Lu <hongjiu.lu@intel.com>
18665
18666 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
18667 AVX check.
18668
59178ef9
AS
186692011-09-07 Andreas Schwab <schwab@redhat.com>
18670
18671 [BZ #13144]
18672 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
18673 last change.
18674
e38ba7ab
UD
186752011-09-07 Ulrich Drepper <drepper@gmail.com>
18676
18677 * sysdeps/unix/sysv/linux/x86_64/init-first.c
18678 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
18679 syscall wrapper around clock_gettime in __vdso_clock_gettime.
18680 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
18681 clock_gettime.
18682
d53a73ac
UD
186832011-09-06 Ulrich Drepper <drepper@gmail.com>
18684
fc8bffcc
UD
18685 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
18686 Forgot to demangle the pointer.
18687
ceaa0c5d
UD
18688 * sysdeps/i386/sysdep.h: Define atom_text_section.
18689 * sysdeps/x86_64/sysdep.h: Likewise.
18690 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
18691 section with atom_text_section.
18692 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18693 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18694 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
18695 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
18696 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
18697
a77d3c17
UD
18698 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
18699 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
18700 already be defined. Change to take two parameters and don't assign
18701 result to variable. Adjust all users.
18702 Define INTERNAL_GETTIME if not already defined.
18703 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
18704 call.
18705 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
18706 HAVE_CLOCK_GETTIME_VSYSCALL.
18707 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
18708
d53a73ac
UD
18709 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
18710 gettimeofday vsyscall, just use time.
18711
a8f84144
AS
187122011-09-06 Andreas Schwab <schwab@redhat.com>
18713
18714 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
18715 <errno.h>.
18716
ef606249
UD
187172011-09-06 Ulrich Drepper <drepper@gmail.com>
18718
18719 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
18720 syscall on x86-64.
18721 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
18722 syscall.
18723 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
18724 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
18725 syscall if possible.
18726
6585cb60
UD
187272011-09-05 Ulrich Drepper <drepper@gmail.com>
18728
18729 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
18730 e_ident. Don't pass to find_mapsXX.
18731 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
18732
a5f524e4
LD
187332011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18734
18735 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18736 strchr-sse2-no-bsf strrchr-sse2-no-bsf
18737 * sysdeps/x86_64/multiarch/strchr.S: Update.
18738 Check bit_slow_BSF bit.
18739 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18740 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
18741 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
18742
554881ef
UD
187432011-09-05 Ulrich Drepper <drepper@gmail.com>
18744
d96de963
UD
18745 [BZ #13134]
18746 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
18747 before glibc 2.15.
18748 (tryshell): Define.
18749 (__spawni): Change last parameter to be flag. Test
18750 SPAWN_XFLAGS_USE_PATH flag to use path or not.
18751 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
18752 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
18753 * posix/spawni.c: Likewise.
18754 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
18755 * posix/spawnp.c: Likewise. Change normal version to use
18756 SPAWN_XFLAGS_USE_PATH.
18757 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
18758 SPAWN_XFLAGS_TRY_SHELL.
18759
d48e5868
UD
18760 [BZ #13150]
18761 * posix/glob.h: Remove gcc 1.x support.
18762
554881ef
UD
18763 [BZ #13068]
18764 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
18765
693fb948
LD
187662011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18767
18768 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18769 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
18770 strrchr-sse2-bsf
18771 * sysdeps/i386/i686/multiarch/strchr.S: New file.
18772 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
18773 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
18774 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
18775 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
18776 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
18777
1b48c537
UD
187782011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18779
49d42c37
UD
18780 * sysdeps/x86_64/wcscmp.S: New file.
18781
1b48c537
UD
18782 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
18783 wcscmp-c wcscmp-sse2
18784 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
18785 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
18786 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
18787 * wcsmbs/wcscmp.c: Allow renaming.
18788
15c95c5d
DM
187892011-09-05 David S. Miller <davem@davemloft.net>
18790
18791 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
18792 stack slot, rather than the struct return pointer slot.
18793 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
18794 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
18795 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
18796 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
18797
2f0ad8f3
UD
187982011-09-05 Ulrich Drepper <drepper@gmail.com>
18799
d88ae418
UD
18800 * po/ja.po: Update from translation team.
18801
2f0ad8f3
UD
18802 [BZ #13144]
18803 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
18804 kernel in 64-bit binaries.
18805
5f4318d1
DM
188062011-09-01 David S. Miller <davem@davemloft.net>
18807
18808 * elf/elf.h (HWCAP_SPARC_*): Move to..
18809 * sysdeps/sparc/sysdep.h: this new file and add new values.
18810 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
18811 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
18812 _DL_HWCAP_COUNT to 24.
18813 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
18814 entries.
18815 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
18816 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
18817 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
18818 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
18819 instead of magic constants.
18820 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18821
3ba57516
DM
188222011-08-31 David S. Miller <davem@davemloft.net>
18823
18824 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
18825 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
18826 Reimplement to do errno handling inline.
18827 (SYSCALL_ERROR_HANDLER): New macro.
18828 (__SYSCALL_STRING): Do not do errno handling in asm.
18829 (__CLONE_SYSCALL_STRING): Delete.
18830 (__INTERNAL_SYSCALL_STRING): Delete.
18831 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
18832 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
18833 (PSEUDO): Reimplement to do errno handling inline.
18834 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
18835 (SYSCALL_ERROR_HANDLER): New macro.
18836 (__SYSCALL_STRING): Do not do errno handling in asm.
18837 (__CLONE_SYSCALL_STRING): Delete.
18838 (__INTERNAL_SYSCALL_STRING): Delete.
18839 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
18840 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
18841 i386.
18842 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
18843 (inline_syscall*): Add 'err' argument.
18844 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
18845 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
18846 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
18847 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
18848
18849 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
18850 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18851
2bc17433
AS
188522011-08-30 Andreas Schwab <schwab@redhat.com>
18853
18854 * elf/rtld.c (dl_main): Relocate objects in dependency order.
18855
fbeb5f4d
JO
188562011-08-29 Jiri Olsa <jolsa@redhat.com>
18857
18858 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
18859 directive.
18860
ad69cc26
DM
188612011-08-24 David S. Miller <davem@davemloft.net>
18862
18863 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
18864
39dd69df
AS
188652011-08-24 Andreas Schwab <schwab@redhat.com>
18866
18867 * elf/Makefile: Add rules to build and run unload8 test.
18868 * elf/unload8.c: New file.
18869 * elf/unload8mod1.c: New file.
18870 * elf/unload8mod1x.c: New file.
18871 * elf/unload8mod2.c: New file.
18872 * elf/unload8mod3.c: New file.
18873
18874 * elf/dl-close.c (_dl_close_worker): Reset private search list if
18875 it wasn't used.
18876
2c0b250a
DM
188772011-08-23 David S. Miller <davem@davemloft.net>
18878
18879 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
18880 subtract stack bias.
18881 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
18882 %sp not %fp in calculations.
18883 (_JMPBUF_UNWINDS_ADJ): Likewise.
18884
22044b48
DM
18885 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
18886 (aio_suspend): Call it to force an exception region around the
18887 AIO_MISC_WAIT() invocation.
18888
2cae4995
AS
188892011-08-23 Andreas Schwab <schwab@redhat.com>
18890
18891 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
18892 backslash.
18893
873a772e
AJ
188942011-07-04 Aurelien Jarno <aurelien@aurel32.net>
18895
18896 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
18897 protection macro.
18898 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
18899 and <dl-machine.h>.
18900 (Elf64_FuncDesc): Remove.
18901
25ad0df1
DM
189022011-08-22 David S. Miller <davem@davemloft.net>
18903
18904 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
18905 sigaltstack check, add missing cfi directives.
18906 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
18907 missing cfi directives, and sigaltstack handling.
18908
e888bcbe
AS
189092011-08-16 Andreas Schwab <schwab@redhat.com>
18910
18911 [BZ #11724]
18912 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
18913 object is seen twice.
18914 * elf/dl-fini.c (_dl_sort_fini): Likewise.
18915
18916 * elf/Makefile (distribute): Add tst-initorder2.c.
18917 (tests): Add tst-initorder2.
18918 (modules-names): Add tst-initorder2a tst-initorder2b
18919 tst-initorder2c tst-initorder2d. Add rules to build them.
18920 ($(objpfx)tst-initorder2.out): New rule.
18921 * elf/tst-initorder2.c: New file.
18922 * elf/tst-initorder2.exp: New file.
18923
87162f46
AS
189242011-08-22 Andreas Schwab <schwab@redhat.com>
18925
70538b7f
AS
18926 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
18927
f55ffe58
AS
18928 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
18929 dependencies back to end of function.
18930
87162f46
AS
18931 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18932 $(elfobjdir)/ld.so.
18933
91b392a4
UD
189342011-08-21 Ulrich Drepper <drepper@gmail.com>
18935
18936 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
18937 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
18938 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
18939 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
18940 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
18941 of __vdso_gettimeofday.
18942 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
18943 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
18944 attribute_hidden.
18945 (_libc_vdso_platform_setup): Remove initialization of
18946 __vdso_gettimeofday and __vdso_time.
18947
5c43483f
UD
189482011-08-20 Ulrich Drepper <drepper@gmail.com>
18949
775a77e7
UD
18950 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
18951 and fgetc_unlocked.
18952 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
18953 getc_unlocked.
89f447ed 18954
49c74ba9
UD
18955 * elf/dl-open.c (add_to_global): Report additions to the global scope
18956 for LD_DEBUG=scopes.
18957 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 18958 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 18959
5c43483f
UD
18960 [BZ #13114]
18961 * stdio-common/Makefile (tests): Add bug24.
18962 * stdio-common/bug24.c: New file.
18963
a101b025
AJ
189642011-08-19 Andreas Jaeger <aj@suse.de>
18965
18966 [BZ #13114]
18967 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
18968 non-existant file when using close-on-exec mode.
18969
c88f1766
UD
189702011-08-20 Ulrich Drepper <drepper@gmail.com>
18971
0276a718
UD
18972 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
18973 the very first instruction.
18974
c88f1766
UD
18975 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
18976 the CFI state in the end.
18977 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
18978 inclusion of dl-trampoline.h.
18979 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
18980
51ccffa0
AS
189812011-08-19 Andreas Schwab <schwab@redhat.com>
18982
94d7165f
AS
18983 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
18984 expectations for long double.
18985
51ccffa0
AS
18986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
18987 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
18988
fd708658 189892011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
18990
18991 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
18992 artificual limit depends upon the system page size.
18993
44f0a71e
UD
189942011-08-17 Ulrich Drepper <drepper@gmail.com>
18995
18996 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
18997 * resolv/Makefile: Define CFLAGS-libresolv.
18998
8de79a24
AS
189992011-08-17 Andreas Schwab <schwab@redhat.com>
19000
19001 * nss/makedb.c (compute_tables): Make variables used in nested
19002 function static.
19003
27724598
UD
190042011-08-17 Ulrich Drepper <drepper@gmail.com>
19005
c5305d88
UD
19006 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
19007 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
19008 if buffer was too small.
19009
27724598
UD
19010 * elf/pldd.c (main): Attach to all threads in the process.
19011 Rewrite /proc handling to use *at functions.
19012
076fe015
UD
190132011-08-16 Ulrich Drepper <drepper@gmail.com>
19014
174baab3
UD
19015 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
19016 specifies first scope to show.
19017 (dl_open_worker): Update callers. Move printing scope of new
19018 object to before the relocation.
44f0a71e 19019 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
19020 * sysdeps/generic/ldsodefs.h: Update declaration.
19021
076fe015
UD
19022 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
19023 string for the scope number.
19024
a60df2c3
UD
190252011-08-14 Ulrich Drepper <drepper@gmail.com>
19026
19027 * nscd/servicescache.c (cache_addserv): Make sure written is always
19028 initialized.
19029
5e4287d1
RM
190302011-08-14 Roland McGrath <roland@hack.frob.com>
19031
85ae0589
RM
19032 * sysdeps/i386/i486/bits/atomic.h
19033 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
19034 statement expression, so as to suppress "set but not used" warning.
19035 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
19036
69f63097
RM
19037 * string/strncat.c (STRNCAT): Use prototype definition.
19038
675456ef
RM
19039 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
19040 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
19041 -Iprograms here.
19042 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
19043 (localedef-modules): Add localedef.
19044 (locale-modules): Add locale.
19045
5e4287d1
RM
19046 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
19047 * elf/rtld.c (dl_main): Invert order of assignment in last change,
19048 to avoid a warning.
19049
9c96ff23
DM
190502011-08-14 David S. Miller <davem@davemloft.net>
19051
19052 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
19053 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
19054
f9ddf089
UD
190552011-08-13 Ulrich Drepper <drepper@gmail.com>
19056
44f0a71e 19057 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
19058 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
19059 * elf/rtld.c (dl_main): Set l_name of vDSO.
19060 Call _dl_show_scope when DL_DEBUG_SCOPES.
19061 (process_dl_debug): Recognize scopes flag and also set it for all.
19062 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
19063 Declare _dl_show_scope.
19064
1dc27704
UD
19065 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
19066 (do_dlopen): Pass caller_dlopen to dl_open.
19067 (__libc_dlopen_mode): Initialize caller_dlopen.
19068
f9ddf089
UD
19069 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
19070 of libc. Make tolower call locale-independent. Optimize a bit by
19071 using isdigit instead of isalnum.
19072 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
19073
9ac533d3
UD
190742011-08-12 Ulrich Drepper <drepper@gmail.com>
19075
19076 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
19077 was a dependency or dynamically loaded.
19078
89edf2e9
UD
190792011-08-11 Ulrich Drepper <drepper@gmail.com>
19080
8e999d29
UD
19081 * intl/l10nflist.c: Allow architecture-specific pop function.
19082 * sysdeps/x86_64/l10nflist.c: New file.
19083
89edf2e9
UD
19084 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
19085 classification.
19086
14d96785
AS
190872011-08-10 Andreas Schwab <schwab@redhat.com>
19088
19089 * include/dirent.h: Add libc_hidden_proto for scandirat and
19090 scandirat64. Don't declare __scandirat64.
19091 * dirent/scandirat.c: Add libc_hidden_def.
19092 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
19093 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
19094
6761ac04
DM
190952011-08-10 David S. Miller <davem@davemloft.net>
19096
19097 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
19098 enum.
19099 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19100 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19101 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19102
c55fbd1e
UD
191032011-08-09 Ulrich Drepper <drepper@gmail.com>
19104
19105 * Versions.def [libc]: Add GLIBC_2.15.
19106 * dirent/Makefile (routines): Add scandirat and scandirat64.
19107 * dirent/Versions [libc]: Export scandirat and scandirat64 for
19108 GLIBC_2.15.
19109 * dirent/dirent.h: Declare scandirat and scandirat64.
19110 * dirent/scandirat.c: New file.
19111 * dirent/scandirat64.c: New file.
19112 * sysdeps/wordsize-64/scandirat.c: New file.
19113 * sysdeps/wordsize-64/scandirat64.c: New file.
19114 * dirent/opendir.c: Define opendirat.
19115 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
19116 using scandirat.
19117 * dirent/scandir64.c: Adjust for scandir.c change.
19118 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
19119 __scandirat64, and __scandir_cancel_handler.
19120 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
19121 additional parameter and use openat instead of open (outside of ld.so).
19122 Add new __opendir as wrapper around __opendirat.
19123 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
19124 here without requiring old scandirat implementation.
19125
879165f2
UD
191262011-08-08 Ulrich Drepper <drepper@gmail.com>
19127
19128 * dirent/scandir.c (cancel_handler): Renamed to
19129 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
19130 defined. Adjust users.
19131 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
19132 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
19133
cb7e923b
UD
191342011-08-04 Ulrich Drepper <drepper@gmail.com>
19135
16292edd
UD
19136 * string/test-string.h (IMPL): Use __STRING to expand name and then
19137 stringify it.
19138
cb7e923b
UD
19139 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
19140 of cleanups.
19141
cff82933
LD
191422011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19143
19144 * string/Makefile: Update.
19145 (strop-tests): Append strncat.
19146 * string/test-wcscmp.c: New file.
19147 New comprehensive test for wcscmp.
19148 * string/test-strcmp.c: Update.
19149 (WIDE): New define.
19150
9be9bfcc
AS
191512011-07-22 Andreas Schwab <schwab@redhat.com>
19152
19153 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
19154 line.
19155
2e96f1c7
AS
191562011-07-26 Andreas Schwab <schwab@redhat.com>
19157
19158 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19159 encoding to ACE if AI_IDN.
19160
85188888
JJ
191612011-08-01 Jakub Jelinek <jakub@redhat.com>
19162
19163 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
19164 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
19165
5fa16e9b
LD
191662011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19167
19168 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
19169 Fix overflow bug in strncat.
19170 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
19171
19172 * string/test-strncat.c: Update.
19173 Add new tests for checking overflow bugs.
19174
191752011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19176
19177 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19178 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
19179 * sysdeps/i386/i686/multiarch/strcat.S: New file.
19180 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
19181 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
19182 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
19183 * sysdeps/i386/i686/multiarch/strncat.S: New file.
19184 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
19185 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
19186
19187 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
19188 (USE_AS_STRCAT): Define.
19189 Add strcat and strncat support.
19190 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19191
8c1a459f
AS
191922011-07-25 Andreas Schwab <schwab@redhat.com>
19193
19194 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
19195 __n bigger than INT_MAX+1.
19196 (__strncmp_g): Likewise.
19197
bba33c28
UD
191982011-07-23 Ulrich Drepper <drepper@gmail.com>
19199
798be72d
UD
19200 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
19201 * libio/stido.h: Likewise.
19202
8accd4dc
UD
19203 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
19204 (AF_NFC): Define.
19205 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
19206 (AF_NFC): Define.
19207
cbff0d96
UD
19208 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
19209 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19210 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19211 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19212 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19213
9191c04a
UD
19214 [BZ #13021]
19215 * scripts/test-installation.pl: Don't expect libnss_test1 to be
19216 installed.
19217
bba33c28
UD
19218 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
19219 typo.
19220 (_dl_x86_64_save_sse): Likewise.
19221
90f139dd
UD
192222011-07-22 Ulrich Drepper <drepper@gmail.com>
19223
1aae088a
UD
19224 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
19225 OSXSAVE.
19226 (_dl_x86_64_save_sse): Likewise.
19227
8e2045f5
UD
19228 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
19229
90f139dd
UD
19230 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
19231
1d002f25
AS
192322011-07-21 Andreas Schwab <schwab@redhat.com>
19233
19234 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
19235 change.
19236 (_dl_x86_64_save_sse): Use correct AVX check.
19237
21137f89
UD
192382011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19239
19240 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
19241 bug in strncpy/strncat.
19242 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
19243
a65c0b7a
UD
192442011-07-21 Ulrich Drepper <drepper@gmail.com>
19245
19246 * string/tester.c (test_strcat): Add tests for different alignments
19247 of source and destination.
19248 (test_strncat): Likewise.
19249
6986b98a
UD
192502011-07-20 Ulrich Drepper <drepper@gmail.com>
19251
90bb2039
UD
19252 [BZ #12852]
19253 * posix/glob.c (glob): Check passed in values before using them in
19254 expressions to avoid some overflows.
19255 (glob_in_dir): Likewise.
19256
5644ef54
UD
19257 [BZ #13007]
19258 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
19259 check for AVX enablement so that we don't crash with old kernels and
19260 new hardware.
19261 * elf/tst-audit4.c: Add same checks here.
19262 * elf/tst-audit6.c: Likewise.
19263
19264 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 19265
bfc9dc9b
AS
192662011-07-09 Andreas Schwab <schwab@linux-m68k.org>
19267
19268 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
19269
702e64bb
UD
192702011-07-20 Ulrich Drepper <drepper@gmail.com>
19271
19272 * po/cs.po: Update from translation team.
19273 * po/bg.po: Likewise.
19274
295e904f
MP
192752011-07-12 Marek Polacek <mpolacek@redhat.com>
19276
19277 * misc/sys/cdefs.h: Add support for const attribute.
19278 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
19279 to gnu_dev_{major,minor,makedev} functions.
19280
3ff94596
MP
192812011-07-20 Marek Polacek <mpolacek@redhat.com>
19282
19283 * intl/dcigettext.c (get_output_charset): Add missing bracket.
19284
28b59fca
AS
192852011-07-20 Andreas Schwab <schwab@redhat.com>
19286
19287 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
19288 strlen results.
19289
19df733e
AK
192902011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19291
19292 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
19293 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
19294 register in order to avoid conflicts with the soft frame pointer
19295 being held in r11 when necessary.
19296 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19297 (INTERNAL_VSYSCALL_NCS): Likewise.
19298
c8835729
MP
192992011-07-14 Marek Polacek <mpolacek@redhat.com>
19300
19301 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
19302 * elf/dl-fini.c (_dl_fini): Adjust caller.
19303 * elf/dl-close.c (_dl_close_worker): Likewise.
19304 * sysdeps/generic/ldsodefs.h: Adjust declaration.
19305
b902330c
MP
193062011-07-15 Marek Polacek <mpolacek@redhat.com>
19307
8991e135
MP
19308 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
19309 "aux_cache->nlibs < 0".
19310
b902330c
MP
19311 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
19312 in the reload-count case.
19313
99710781
LD
193142011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19315
19316 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19317 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
19318 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
19319 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
19320 * sysdeps/x86_64/multiarch/strcat.S: New file.
19321 * sysdeps/x86_64/multiarch/strncat.S: New file.
19322 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
19323 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
19324 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
19325 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
19326 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
19327 (USE_AS_STRCAT): Define.
19328 Add strcat and strncat support.
19329 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19330 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19331 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
19332 * string/strncat.c: Update.
19333 (USE_AS_STRNCAT): Define.
19334 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19335 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
19336 and i7.
19337 * sysdeps/x86_64/multiarch/init-arch.h
19338 (bit_Prefer_PMINUB_for_stringop): New.
19339 (index_Prefer_PMINUB_for_stringop): Likewise.
19340 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
19341 bit_Prefer_PMINUB_for_stringop.
19342
7dc6bd90
UD
193432011-07-19 Ulrich Drepper <drepper@gmail.com>
19344
19345 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
19346 buffer64.
19347 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
19348 of casting of buffer.
19349 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
19350 buffer32 and buffer64.
19351 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
19352 writes instead of casting of buffer.
19353 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
19354 buffer32.
19355 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
19356 casting of buffer.
19357
e0e72284
AS
193582011-07-19 Andreas Schwab <schwab@redhat.com>
19359
19360 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
19361
feb1eb0b
UD
193622011-07-19 Ulrich Drepper <drepper@gmail.com>
19363
19364 * nscd/nscd.c (termination_handler): Don't do anything for a database
19365 if it has not yet been initialized.
19366
298711ff
UD
193672011-07-18 Ulrich Drepper <drepper@gmail.com>
19368
19369 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19370
193712011-07-15 Marek Polacek <mpolacek@redhat.com>
19372
19373 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19374
f9d68389
UD
193752011-07-18 Ulrich Drepper <drepper@gmail.com>
19376
19377 * po/nl.po: Update from translation team.
19378 * po/sv.po: Likewise.
19379
db290cf5
RM
193802011-07-16 Roland McGrath <roland@hack.frob.com>
19381
19382 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
19383 now disallowed by GCC.
5c550700 19384
fd5e21c7
RM
19385 * configure.in (use-default-link): Default to yes if a test -shared
19386 link meets our qualifications.
19387 * configure: Regenerated.
19388
5c550700
RM
19389 * config.make.in (output-format): New variable.
19390 * configure.in: Check for ld --print-output-format support.
19391 * configure: Regenerated.
19392 * Makerules ($(common-objpfx)format.lds)
19393 [$(output-format) != unknown]: Just use $(output-format),
19394 instead of the linker-script munging.
19395
9fa2c032
RM
193962011-07-14 Roland McGrath <roland@hack.frob.com>
19397
a6928d51
RM
19398 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
19399 of $(common-objpfx)shlib.lds.
19400 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
19401
661607b3
RM
19402 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
19403 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
19404
9fa2c032
RM
19405 * configure.in (-z relro check): Adjust test code to add a large
19406 writable data section after it.
19407 * configure: Regenerated.
19408
defe9061
RM
194092011-07-11 Roland McGrath <roland@hack.frob.com>
19410
19411 * configure.in (-z relro check): Fix test code to make the variable
19412 truly const.
19413 * configure: Regenerated.
19414
319b9ad4
UD
194152011-07-11 Ulrich Drepper <drepper@gmail.com>
19416
19417 * nscd/nscd.h (struct traced_file): Define.
19418 (struct database_dyn): Remove inotify_descr, reset_res, and filename
19419 elements. Add traced_files.
19420 (inotify_fd): Declare.
19421 (register_traced_file): Declare.
19422 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
19423 (inotify_fd): Export.
19424 (resolv_conf_descr): Remove.
19425 (nscd_init): Move inotify descriptor creation to main.
19426 Don't register files for notification here.
19427 (register_traced_file): New function.
19428 (invalidate_cache): Don't use reset_res to determine whether to call
19429 res_init, go through the list of registered files.
19430 (main_loop_poll): The inotify descriptors are now stored in the
19431 structures for the traced files.
19432 (main_loop_epoll): Likewise
19433 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
19434 to __nss_disable_nscd.
19435 * nscd/cache.c (prune_cache): There is no single inotify descriptor
19436 for a database anymore. Check the records for all the registered
19437 files instead.
19438 * nss/Makefile (libnss_files-routines): Add files-init.
19439 (libnss_db-routines): Add db-init.
19440 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
19441 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
19442 * nss/nss_db/db-init.c: New file.
19443 * nss/nss_files/files-init.c: New file.
19444 * nss/nsswitch.c (nss_load_library): New function. Broken out of
19445 __nss_lookup_function.
19446 (__nss_lookup_function): Call nss_load_library.
19447 (nss_load_all_libraries): New function.
19448 (__nss_disable_nscd): Take parameter with callback function for files
19449 to register. Set is_nscd. Load all the DSOs for the NSS modules
19450 used for the cached services.
19451 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
19452 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
19453 options for features to all the files in nscd.
19454
19455 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
19456
23bee3e8
RM
194572011-07-10 Roland McGrath <roland@hack.frob.com>
19458
19459 * csu/elf-init.c (__libc_csu_init): Comment typo.
19460
46a5b7f0
UD
194612011-07-09 Ulrich Drepper <drepper@gmail.com>
19462
19463 * po/pl.po: Update from translation team.
19464 * po/ja.po: Likewise.
19465 * po/ru.po: Likewise.
19466 * po/ko.po: Likewise.
19467 * po/fr.po: Likewise.
19468
d30cf5bb
RM
194692011-07-09 Roland McGrath <roland@hack.frob.com>
19470
113ddea4
RM
19471 * configure.in (.ctors/.dtors header and trailer check):
19472 Use an empirical test on a built program.
19473 * configure: Regenerated.
19474
574920b4
RM
19475 * configure.in (-z relro check): Use an empirical test on a built DSO.
19476 Detect, but do not require, on ia64.
19477 * configure: Regenerated.
19478
d30cf5bb
RM
19479 * configure.in (READELF): Find it with AC_CHECK_TOOL.
19480 Update tests that use readelf to use $READELF instead.
19481 * configure: Regenerated.
19482
8538fdb3
UD
194832011-07-08 Ulrich Drepper <drepper@gmail.com>
19484
19485 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
19486 if the result is not used.
19487
04d08991
AJ
194882011-07-05 Andreas Jaeger <aj@suse.de>
19489
19490 [BZ#9696]
19491 * stdlib/tst-strtod.c: Add testcase.
19492
de283087
AD
194932011-07-07 Ulrich Drepper <drepper@gmail.com>
19494
4e5f31c8 19495 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 19496 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
19497 The latter has a higher limit. Take additional parameter to pass to
19498 the new function.
19499 (__pathconf): Pass file to __statfs_link_max.
19500 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
19501 __statfs_link_max.
19502 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
19503 __statfs_link_max.
19504
de283087
AD
19505 [BZ #12868]
19506 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
19507 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19508 Handle Lustre.
19509 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
19510 (__statfs_filesize_max): Likewise.
19511 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
19512
c75fa153
AJ
195132011-07-05 Andreas Jaeger <aj@suse.de>
19514
19515 * resolv/res_comp.c (dn_skipname): Remove unused variable.
19516
1a544854
UD
195172011-07-06 Marek Polacek <mpolacek@redhat.com>
19518
19519 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
19520 `status' variable.
19521 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
19522 Likewise.
19523
6f0eec67
UD
195242011-07-04 H.J. Lu <hongjiu.lu@intel.com>
19525
19526 * Makefile (strop-tests): Add strncat.
19527 * string/test-strncat.c: New file.
19528
aae30307
UD
195292011-06-30 Marek Polacek <mpolacek@redhat.com>
19530
19531 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
19532
c0cfb5eb
UD
195332011-06-21 Andreas Jaeger <aj@suse.de>
19534
19535 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
19536 Copy rule from iconvdata/Makefile.
19537
01636b21
UD
195382011-07-06 Ulrich Drepper <drepper@gmail.com>
19539
19540 [BZ #12922]
19541 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
19542 but no long options are defined, just return 'W'.
19543
9895c8bc
UD
195442011-06-22 Marek Polacek <mpolacek@redhat.com>
19545
19546 [BZ #9696]
19547 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
19548
5d4cf042
UD
195492011-07-06 Ulrich Drepper <drepper@gmail.com>
19550
19551 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
19552 netgroups to read.
960e5535 19553 (innetgr): Likewise.
5d4cf042 19554
751eb97e
RM
195552011-07-05 Roland McGrath <roland@hack.frob.com>
19556
19557 * config.make.in (install_root): Default to $(DESTDIR).
19558
f15f1e45
UD
195592011-07-05 Ulrich Drepper <drepper@gmail.com>
19560
19561 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
19562
4e34ac6a
RM
195632011-07-02 Roland McGrath <roland@hack.frob.com>
19564
5e9b6af4
RM
19565 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
19566
84f9ea0f
RM
19567 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
19568 containing directory rather than embedding absolute directory names.
19569
ea5ee9f7
RM
19570 * scripts/check-local-headers.sh: Rewritten using awk.
19571 Match by word, not by line. Print error messages for matches.
19572 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
19573
1b74661a
RM
19574 * Makerules [shlib-lds-flags empty]:
19575 ($(common-objpfx)libc_pic.opts): New target.
19576 ($(common-objpfx)libc_pic.os.clean): New target.
19577 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
19578
19579 * config.make.in (OBJCOPY): New variable.
19580 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
19581 * configure: Regenerated.
19582
f781ef40
RM
19583 * config.make.in (use-default-link): New variable.
19584 * configure.in (use_default_link): Grok --with-default-link to set it.
19585 * configure: Regenerated.
19586 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
19587 (shlib-lds, shlib-lds-flags): Define to empty.
19588
2d4fa81e
RM
19589 * Makerules (shlib-lds): New variable.
19590 (shlib-lds-flags): New variable.
19591 (build-shlib, build-moduile, build-module-asneeded): Use it.
19592 ($(common-objpfx)libc.so): Use $(shlib-lds).
19593 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
19594 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
19595
31fffa6b
RM
19596 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
19597 DT_FLAGS/DT_FLAGS_1 with zero flags.
19598
4e34ac6a
RM
19599 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
19600 linker script munging.
19601
fcfc776b
UD
196022011-07-02 Ulrich Drepper <drepper@gmail.com>
19603
19604 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
19605 as 128-bit value.
19606 * crypt/sha512.c (sha512_process_block): Perform total addition using
19607 128-bit if possible.
19608 (__sha512_finish_ctx): Likewise.
19609 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
19610 as 64-bit value.
19611 * crypt/sha256.c (SWAP64): Define.
19612 (sha256_process_block): Perform total addition using 64-bit if
19613 possible.
19614 (__sha256_finish_ctx): Likewise.
19615
99231d9a
UD
196162011-07-01 Ulrich Drepper <drepper@gmail.com>
19617
19618 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
19619 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19620 * nscd/hstcache.c (cache_addhst): Likewise.
19621 * nscd/grpcache.c (cache_addgr): Likewise.
19622 * nscd/aicache.c (addhstaiX): Likewise
19623 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
19624
445b4a53
TK
196252011-07-01 Thorsten Kukuk <kukuk@suse.de>
19626
19627 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
19628 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19629 * nscd/hstcache.c (cache_addhst): Likewise.
19630 * nscd/grpcache.c (cache_addgr): Likewise.
19631 * nscd/aicache.c (addhstaiX): Likewise
19632
6d4d8e8e
AS
196332011-07-01 Andreas Schwab <schwab@redhat.com>
19634
19635 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
19636 domain only when needed.
19637
89f654c5
AS
196382011-06-30 Andreas Schwab <schwab@redhat.com>
19639
19640 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
19641 is always restored.
19642
cf3b23ff
UD
196432011-06-29 Ulrich Drepper <drepper@gmail.com>
19644
19645 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
19646 are re-adding the entry.
19647 * nscd/servicescache.c (cache_addserv): Likewise.
19648
751626f9
AJ
196492011-06-30 Aurelien Jarno <aurelien@aurel32.net>
19650
19651 * sysdeps/generic/dl-irel.h: fix protection against multiple
19652 inclusions.
19653 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
19654
9113ea1f
UD
196552011-06-28 Ulrich Drepper <drepper@gmail.com>
19656
5c0b8d90
UD
19657 [BZ #12935]
19658 * malloc/memusage.sh: Fix quoting in message.
19659 * debug/xtrace.sh: Likewise.
19660
9113ea1f
UD
19661 * configure.in: Remove support for --experimental-malloc option, make
19662 it the default.
19663 * config.make.in: Likewise.
19664 * malloc/Makefile: Likewise.
19665
a4172181
AS
196662011-06-27 Andreas Schwab <schwab@redhat.com>
19667
19668 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
19669 two-byte characters.
19670
78a7eee7
RM
196712011-06-27 Roland McGrath <roland@hack.frob.com>
19672
62bede13
RM
19673 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
19674 AC_CACHE_CHECK invocation.
19675 * configure: Regenerated.
19676
78a7eee7
RM
19677 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
19678
5ce33a62
UD
196792011-06-27 Ulrich Drepper <drepper@gmail.com>
19680
034807a9
UD
19681 [BZ #12350]
19682 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
19683 bit from old_res_options.
19684
4902da17
UD
19685 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
19686
5ce33a62
UD
19687 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
19688 value type for setfct.
19689
c2344f56
L
196902011-06-23 H.J. Lu <hongjiu.lu@intel.com>
19691
19692 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19693 __gettimeofday instead of gettimeofday.
19694
68468076
UD
196952011-06-26 Ulrich Drepper <drepper@gmail.com>
19696
19697 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
19698
acb0d739
L
196992011-06-24 H.J. Lu <hongjiu.lu@intel.com>
19700
19701 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
19702
19703 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
19704 info.
19705
8912479f
L
197062011-06-22 H.J. Lu <hongjiu.lu@intel.com>
19707
19708 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19709 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19710 strcpy-sse2-unaligned strncpy-sse2-unaligned
19711 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
19712 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
19713 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
19714 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
19715 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
19716 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
19717 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
19718 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
19719 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
19720 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
19721 (STRCPY): Support SSE2 and SSSE3 versions.
19722
d5495a11
UD
197232011-06-24 Ulrich Drepper <drepper@gmail.com>
19724
19725 [BZ #12874]
19726 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
19727 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
19728 kernels which artificially limit size of requests.
19729
0b1cbaae
L
197302011-06-22 H.J. Lu <hongjiu.lu@intel.com>
19731
19732 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19733 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19734 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
19735 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
19736 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
19737 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
19738 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
19739 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
19740 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
19741 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
19742 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
19743 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
19744 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
19745 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
19746 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
19747 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19748 Enable unaligned load optimization for Intel Core i3, i5 and i7
19749 processors.
19750 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
19751 Define.
19752 (index_Fast_Unaligned_Load): Define.
19753 (HAS_FAST_UNALIGNED_LOAD): Define.
19754
07f494a0
MP
197552011-06-23 Marek Polacek <mpolacek@redhat.com>
19756
19757 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
19758
fa3fc0fe
UD
197592011-06-22 Ulrich Drepper <drepper@gmail.com>
19760
19761 [BZ #12907]
19762 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
19763 until it is clear that the information is realy needed.
19764 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
19765
e12df166
AS
197662011-06-22 Andreas Schwab <schwab@redhat.com>
19767
19768 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
19769
852eb34d
UD
197702011-06-22 Ulrich Drepper <drepper@gmail.com>
19771
84e2a551
UD
19772 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19773 /sys/devices/system/cpu/online if it is usable.
19774
852eb34d
UD
19775 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
19776 reading the information from the /proc filesystem to once a second.
19777
6e502e19
UD
197782011-06-21 Andreas Jaeger <aj@suse.de>
19779
19780 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
19781 NULL after inclusion of kernel headers.
19782
75d39ff2
UD
197832011-06-21 Ulrich Drepper <drepper@gmail.com>
19784
51f9aa6a
UD
19785 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
19786 calls to internal_setent.
19787
c0244a9d
UD
19788 [BZ #12885]
19789 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
19790 addresses using gethostbyname4_r ignore IPv4 addresses.
19791
c5e3c2ae
UD
19792 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
19793 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
19794
75d39ff2
UD
19795 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
19796
42675c6f
DM
197972011-06-20 David S. Miller <davem@davemloft.net>
19798
19799 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
19800 inclusions.
19801 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
19802
19803 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
19804 (elf_irel): Use it.
19805 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
19806 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
19807 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
19808 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
19809 * sysdeps/x86_64/dl-irel.h: Likewise.
19810
19811 * elf/dl-runtime.c: Use elf_ifunc_invoke.
19812 * elf/dl-sym.c: Likewise.
19813
57912a71
UD
198142011-06-15 Ulrich Drepper <drepper@gmail.com>
19815
19816 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
19817 need to dereference resplen2.
19818
ee22793d
AS
198192011-06-14 Andreas Schwab <schwab@redhat.com>
19820
19821 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
19822
a9e836b0
UD
198232011-06-15 Ulrich Drepper <drepper@gmail.com>
19824
77fb9117
UD
19825 * Makeconfig: Define vardbdir and inst_vardbdir.
19826 * nss/Makefile: Add rules to install db-Makefile.
19827
40c1b22c
UD
19828 * nss/nss_db/db-XXX.c: Cleanup.
19829
9f2da732
UD
19830 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
19831 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
19832 GLIBC_PRIVATE.
19833 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
19834 * nss/makedb.c: Implement -g option to specify that value strings
19835 are generated and should not be added to table iterated over for
19836 get*ent calls.
19837 * nss/nss_db/db-initgroups.c: New file.
19838
82e9a1f7
UD
19839 * nss/getent.c: Add support for initgroups lookups through getgrouplist
19840 interface.
19841
c41af17e
UD
19842 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
19843 (internal_getgrouplist): Adjust to name change.
19844 Update use_initgroups_entry if this is not the first call.
19845 * nss/databases.def: Add initgroups entry.
19846
a9e836b0
UD
19847 * nss/makedb.c (compute_tables): Check result of multiple hash table
19848 sizes to minimize maximum chain length.
19849
2666d441
UD
198502011-06-14 Ulrich Drepper <drepper@gmail.com>
19851
19852 * Versions.def: Add entry for libnss_db.
19853 * shlib-versions: Likewise.
19854 * nss/Makefile: Add rules to build libnss_db.
19855 * nss/Versions: Add libnss_db information. Organize libnss_files
19856 entries better.
19857 * nss/db-Makefile: Add gshadow support. Change rules for the new
19858 makedb progra. Some minor improvements to generate smaller files.
19859 * nss/nss_db/nss_db.h: Move NSS database header data structures to
19860 here from...
19861 * nss/makedb.c: ...here.
19862 Improve database format to be smaller and require less memory at
19863 runtime.
19864 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
19865 db anymore.
19866 * nss/nss_db/db-netgrp.c: Likewise.
19867 * nss/nss_db/db-open.c: Likewise.
19868 * nss/nss_files/flies-XXX.x: Adjust comments.
19869 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
19870 * nss/nss_files/files-grp.c: Likewise.
19871 * nss/nss_files/files-hosts.c: Likewise.
19872 * nss/nss_files/files-network.c: Likewise.
19873 * nss/nss_files/files-proto.c: Likewise.
19874 * nss/nss_files/files-pwd.c: Likewise.
19875 * nss/nss_files/files-rpc.c: Likewise.
19876 * nss/nss_files/files-service.c: Likewise.
19877 * nss/nss_files/files-sgrp.c: Likewise.
19878 * nss/nss_files/files-spwd.c: Likewise.
19879 * nss/nss_db/db-alias.c: Removed.
19880 * nss/nss_db/dummy-db.h: Removed.
19881
9ee76b5a
UD
198822011-06-02 Ulrich Drepper <drepper@gmail.com>
19883
19884 * nss/makedb.c: Rewritten to not use database library.
19885 * nss/Makefile: Update to build new makedb program.
19886
c71ca1f8
AJ
198872011-06-14 Andreas Jaeger <aj@suse.de>
19888
19889 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
19890 memset declaration.
19891
3154bfb8
UD
198922011-06-10 Andreas Schwab <schwab@redhat.com>
19893
19894 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
19895 tmpbuf.
19896
b350afab
RM
198972011-06-10 Roland McGrath <roland@hack.frob.com>
19898
decd4e50
RM
19899 * Makerules (shlib.lds): Fail if the linker script comes out empty.
19900 * elf/Makefile ($(objpfx)ld.so): Likewise.
19901
5615eaf2
RM
19902 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
19903 Don't list ld.so twice in dependencies.
19904
19905 * posix/bug-regex31.c: Include <stdlib.h>.
19906
19907 * nscd/hstcache.c (cache_addhst): Remove unused variable.
19908
19909 * nis/nss_compat/compat-spwd.c
19910 (getspent_next_nss_netgr): Remove unused variable.
19911 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
19912
19913 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
19914 nonmembers" output to use the right array.
19915
19916 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
19917
19918 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
19919
19920 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
19921 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
19922 * catgets/gencat.c (read_input_file): Likewise.
19923 * locale/programs/locarchive.c (enlarge_archive): Likewise.
19924
19925 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
19926 variable definition inside #if's controlling its use.
19927
19928 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
19929
19930 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
19931
19932 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
19933
19934 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
19935 unreachable code.
19936
19937 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
19938
b68e08db
RM
19939 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
19940 * configure: Regenerated.
19941
b350afab
RM
19942 * Makerules: Revert last change.
19943 * elf/Makefile: Likewise.
19944
28368601
RM
199452011-06-09 Roland McGrath <roland@hack.frob.com>
19946
19947 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
19948 * elf/Makefile ($(objpfx)librtld.os): Likewise.
19949 (reloc-link): Likewise.
19950
11988f8f
UD
199512011-06-09 Ulrich Drepper <drepper@gmail.com>
19952
19953 * elf/Makefile: Add rules to build pldd.
19954 * elf/pldd.c: New file.
19955 * elf/pldd-xx.c: New file.
19956
e80fab37
UD
199572011-06-07 Ulrich Drepper <drepper@gmail.com>
19958
19959 * version.h: Update for 2.15 development version.
19960
9b849836
DM
199612011-06-07 David S. Miller <davem@davemloft.net>
19962
19963 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
19964 ifuncs.
19965 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
19966 elf_machine_lazy_rel): Likewise.
19967 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
19968 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
19969 elf_machine_lazy_rel): Likewise.
19970 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
19971 dl_hwcap via passed in argument.
19972 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
19973 Likewise.
19974
5a31b283
AK
199752011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19976
19977 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
19978
069e52f8
RM
199792011-06-06 Roland McGrath <roland@hack.frob.com>
19980
19981 [BZ #12849]
19982 * manual/fdl-1.1.texi: New file, verbatim from:
19983 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
19984 * manual/lgpl-2.1.texi: New file, verbatim from:
19985 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
19986 * manual/Makefile (licenses): New variable, list those new file names.
19987 (texis): Use it.
19988 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
19989
19990 * manual/fdl.texi: File removed.
19991 * manual/lesser.texi: File removed.
19992 * manual/libc.texinfo (Copying, Documentation License):
19993 Use new @include file names, put @appendix directive before @include.
19994
f16846a5
JJ
199952011-06-04 Jakub Jelinek <jakub@redhat.com>
19996
19997 [BZ #12841]
19998 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
19999 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
20000 (mq_open): Add __NTH.
20001
3d29045b
L
200022011-06-02 H.J. Lu <hongjiu.lu@intel.com>
20003
20004 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20005 Assume Intel Core i3/i5/i7 processor if AVX is available.
20006
8c297311
UD
200072011-05-31 Ulrich Drepper <drepper@gmail.com>
20008
20009 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20010 typo.
20011
c8fc0c91
UD
200122011-05-31 Andreas Schwab <schwab@redhat.com>
20013
20014 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
20015 memory. Use alloca_account. Fix memory leak when retrying.
20016
5b27a807
UD
200172011-05-31 Ulrich Drepper <drepper@gmail.com>
20018
356f8bc6
UD
20019 * version.h (RELEASE): Bump for 2.14 release.
20020 * include/features.h (__GLIBC_MINOR__): Bump to 14.
20021
5b27a807
UD
20022 * config.make.in (RANLIB): Remove entry.
20023
01f16ab0
UD
200242011-05-30 Ulrich Drepper <drepper@gmail.com>
20025
41fce8bd
UD
20026 * po/Makefile (po-sed-cmd): Add ksh to extensions.
20027 (libc.pot): Work around missing support for .ksh extension in xgettext.
20028
4769ae77
UD
20029 [BZ #12684]
20030 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
20031 if both request failed.
20032 (send_dg): In case of server errors clear resplen or *resplen2.
20033
6b1e7d19
UD
20034 [BZ #12454]
20035 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
20036 when there are multiple maps.
20037 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
20038 (_dl_fini): Remove test here.
20039
01f16ab0
UD
20040 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
20041
b1ebd700
UD
200422011-05-29 Ulrich Drepper <drepper@gmail.com>
20043
7ae22829
UD
20044 [BZ #12350]
20045 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
20046 bit from old_res_options.
20047 (gaih_inet): Likewise.
20048
553149f6 20049 [BZ #11099]
18a84741 20050 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
20051 as signed.
20052
652ffab1
UD
20053 * resolv/res_init.c (res_setoptions): Make the code more compact.
20054
16985fd0
UD
20055 [BZ #11558]
20056 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
20057 set RES_USEVC.
20058
0464f746
UD
20059 [BZ #11634]
20060 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
20061
7d17596c
UD
20062 * malloc/malloc.h: Mark malloc hook variables as deprecated.
20063
cf6bbbd7
UD
20064 [BZ #11781]
20065 * malloc/malloc.h: Declare malloc hook variables as volatile.
20066
13f1ab36
UD
20067 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
20068 in last patch.
20069
b1ebd700
UD
20070 [BZ #11799]
20071 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 20072 raise in the comment.
80e2212d
UD
20073 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20074 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20075 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 20076
ce67228d
UD
200772011-05-28 Ulrich Drepper <drepper@gmail.com>
20078
8887a920
UD
20079 [BZ #12811]
20080 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
20081 grow the buffers more if it already has to be sufficient.
20082 (build_wcs_upper_buffer): Likewise.
20083 * posix/regexec.c (check_matching): Likewise.
20084 (clean_state_log_if_needed): Likewise.
20085 (extend_buffers): Don't enlarge buffers beyond size of the input
20086 buffer.
20087 Patches mostly by Emil Wojak <emil@wojak.eu>.
20088 * posix/bug-regex32.c: New file.
20089 * posix/Makefile (tests): Add bug-regex32.
20090
4f031072
UD
20091 * locale/findlocale.c (_nl_find_locale): Return right away if
20092 _nl_explode_name failed.
20093 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
20094
d0478f0c
UD
20095 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
20096
de81b246
UD
20097 * debug/xtrace.sh: Unify messages.
20098 * malloc/memusage.sh: Likewise.
20099
c738465a
UD
20100 [BZ #12813]
20101 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
20102 time symbol from vDSO. Substitute with vsyscall if not available.
20103 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
20104 __vdso_time.
20105
f1f929d7
UD
20106 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
20107 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
20108 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
20109 Add sendmmsg and internal_sendmmsg.
20110 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
20111 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
20112 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
20113
ce67228d
UD
20114 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
20115 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
20116 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
20117
e57420c6
UD
201182011-05-27 Ulrich Drepper <drepper@gmail.com>
20119
a8509ca5
UD
20120 [BZ #12813]
20121 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
20122 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
20123 available.
20124 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
20125 __vdso_getcpu.
20126
e57420c6
UD
20127 [BZ #12814]
20128 * iconvdata/Makefile (tests): Add bug-iconv9.
20129 * iconvdata/bug-iconv9.c: New file.
20130
4d07db15
AS
201312011-05-27 Andreas Schwab <schwab@redhat.com>
20132
20133 [BZ #12814]
20134 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
20135
ea486f69
JJ
201362011-05-25 Jakub Jelinek <jakub@redhat.com>
20137
20138 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20139 (struct user_regs_struct): Change intcs field back to cs.
20140
6f038433
UD
201412011-05-25 Ulrich Drepper <drepper@gmail.com>
20142
20143 * po/ja.po: Update from translation team.
20144
67f86a25
UD
201452011-05-23 Ulrich Drepper <drepper@gmail.com>
20146
20147 [BZ #12795]
20148 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
20149 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
20150
def7fbd6
AS
201512011-05-20 Andreas Schwab <schwab@redhat.com>
20152
20153 * stdlib/longlong.h: Update from GCC.
20154
f50ef8f1
AS
201552011-05-23 Andreas Schwab <schwab@redhat.com>
20156
20157 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
20158 parameter name.
20159 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
20160 Add parameter name.
20161 (__sysconf): Pass it down.
20162
de7ce8f1
UD
201632011-05-22 Ulrich Drepper <drepper@gmail.com>
20164
f2962a71
UD
20165 [BZ #12671]
20166 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
20167 some situations.
20168 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
20169 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
20170 add in in __libc_use_alloca calls. Adjust callers.
20171 (glob): Use malloc in some situations.
20172
de7ce8f1
UD
20173 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
20174 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
20175 pltexit.
20176
aec84f53
UD
201772011-05-21 Ulrich Drepper <drepper@gmail.com>
20178
05bb4a68
UD
20179 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
20180 and CLOCK_BOOTTIME_ALARM.
20181
7ea72f99
UD
20182 [BZ #12782]
20183 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
20184 is returned.
20185
7e4afad5
UD
20186 * string/_strerror.c (__strerror_r): Print negative errors as signed
20187 numbers.
20188
8e211fec
UD
20189 [BZ #12777]
20190 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
20191 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
20192 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
20193
f7d82dc9
UD
20194 * configure.in: Fix typo in redirection and correct removal of test
20195 files in two cases.
20196
cc9e536d
UD
20197 [BZ #12788]
20198 * locale/setlocale.c (new_composite_name): Fix test to check for
20199 identical name of all categories.
20200
aec84f53
UD
20201 [BZ #12792]
20202 * libio/filedoalloc.c (local_isatty): New function.
20203 (_IO_file_doallocate): Use local_isatty.
20204 * stdio-common/perror.c (perror): In case a new stream is used
20205 forward the stream error.
20206 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
20207 error flag.
20208
78e64fdc
RT
202092011-05-20 Ulrich Drepper <drepper@gmail.com>
20210
34a9094f
UD
20211 [BZ #11869]
20212 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
20213 alloca.
20214 * include/alloca.h (extend_alloca_account): Define.
20215
78e64fdc
RT
20216 [BZ #11857]
20217 * posix/regex.h: Fix comments with documentation of user-accessible
20218 fields after compilation and describe correct free'ing of pattern
20219 after re_compile_pattern.
20220 Patch by Reuben Thomas <rrt@sc3d.org>.
20221
457bddfc
RA
202222011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
20223
20224 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
20225 and -mno-altivec to prevent the compiler from using Altivec and/or
20226 VSX instructions when the corresponding registers are not available.
20227
a4527b51
AS
202282011-05-19 Andreas Schwab <schwab@redhat.com>
20229
20230 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
20231
ed690b2f
UD
202322011-05-19 Ulrich Drepper <drepper@gmail.com>
20233
20234 * libio/freopen.c (freopen): Use __dup2, not dup2.
20235 * libio/freopen64.c (freopen64): Likewise.
20236
8db73634
L
202372011-05-17 H.J. Lu <hongjiu.lu@intel.com>
20238
20239 [BZ #12775]
20240 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
20241 * math/Makefile (tests): Add test-powl.
20242 (CFLAGS-test-powl.c): Define.
20243 * math/test-powl.c: New file.
20244
0a197a9d
L
202452011-05-16 H.J. Lu <hongjiu.lu@intel.com>
20246
20247 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
20248
ee30c380
UD
202492011-05-17 Ulrich Drepper <drepper@gmail.com>
20250
20251 [BZ #11837]
20252 * iconvdata/gb18030.c: Update to GB18020-2005.
20253
6ce75379
UD
202542011-05-16 Ulrich Drepper <drepper@gmail.com>
20255
a4b89fd8
AR
20256 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
20257 RE_SYNTAX_POSIX_AWK): Update to match recent development.
20258 Patch by Aharon Robbins <arnold@skeeve.com>.
20259
ea389b12
UD
20260 [BZ #11892]
20261 * stdlib/putenv.c (putenv): Don't always create copy of the variable
20262 on the stack.
20263
68a3f91f
UD
20264 [BZ #11895]
20265 * misc/pselect.c (__pselect): Handle timeout value errors hidden
20266 through underflows.
20267
15cc7dd1
UD
20268 [BZ #12766]
20269 * misc/error.c (error_at_line): Ensure file_name and old_file_name
20270 point to strings before performing equality test for error_one_per_line
20271 mode.
20272
f3799213
UD
20273 [BZ #11697]
20274 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
20275
d79a9c94
UD
20276 [BZ #11820]
20277 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20278 (struct user_fpregs_struct): Avoid __uint*_t types.
20279
56e5eb46
UD
20280 [BZ #6420]
20281 * malloc/mtrace.c (tr_where): Add additional parameter to point to
20282 symbol info. Use it instead of calling _dl_addr locally.
20283 (lock_and_info): New function.
20284 (tr_freehook): Call lock_and_info and pass symbol info as additional
20285 parameter to tr_where.
20286 (tr_mallochook): Likewise.
20287 (tr_reallochook): Likewise.
20288 (tr_memalignhook): Likewise.
20289
6ce75379
UD
20290 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
20291 used and couldn't be at all thread-safe.
20292
f8a3b5bf
UD
202932011-05-15 Ulrich Drepper <drepper@gmail.com>
20294
94b7cc37
UD
20295 * libio/freopen.c (freopen): Don't close old file descriptor
20296 before the new one is opened. Instead dup the new file descriptor
20297 to the old one after the new stream is created.
20298 * libio/freopen64.c (freopen64): Likewise.
20299 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
20300 * libio/fileops.c (_IO_new_file_close_it): Handle new
20301 _IO_FLAGS2_NOCLOSE flag.
20302 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
20303 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
20304 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
20305 _IO_FLAGS2_NOCLOSE flag.
20306 * include/unistd.h: Add hidden_proto for dup3.
20307 Define __have_dup3.
20308 * io/dup3.c: Define hidden symbol.
20309 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
20310
bd25564e
UD
20311 [BZ #7101]
20312 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
20313 when an incomplete long option is used.
20314 * posix/tst-getopt_long1.c: New file.
20315 * posix/Makefile (tests): Add tst-getopt_long1.
20316
c84cfef4
UD
20317 [BZ #10138]
20318 * scripts/config.guess: Update from autoconf-2.68.
20319 * scripts/config.sub: Likewise.
20320
3b85df27
UD
20321 [BZ #10157]
20322 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
20323 tests into ...
20324 (has_cpuclock): ...this. New function.
20325 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
20326 macro here based on has_cpuclock code.
20327
15a856b1
UD
20328 [BZ #10149]
20329 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20330 First byte (not low byte) is now always NUL.
20331 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
20332
05f399e6
UD
20333 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20334 Use non-cancelable interfaces.
20335
10a52685 20336 [BZ #9809]
94ecc67d
UD
20337 * locale/iso-639.def: Add entry for Sorani.
20338
f8a3b5bf
UD
20339 [BZ #11901]
20340 * include/stdlib.h: Move include protection to the right place.
20341 Define abort_msg_s. Declare __abort_msg with it.
20342 * stdlib/abort.c (__abort_msg): Adjust type.
20343 * assert/assert.c (__assert_fail_base): New function. Majority
20344 of code from __assert_fail. Allocate memory for __abort_msg with
20345 mmap.
20346 (__assert_fail): Now call __assert_fail_base.
20347 * assert/assert-perr.c: Remove bulk of implementation. Use
20348 __assert_fail_base.
20349 * include/assert.hL Declare __assert_fail_base.
20350 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
20351 mmap.
20352 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
20353
1af4e298
UD
203542011-05-14 Ulrich Drepper <drepper@gmail.com>
20355
f8a3b5bf 20356 [BZ #11952]
d26dfc60
MG
20357 [BZ #12453]
20358 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
20359 until all modules are registered in the DTV.
20360 * elf/Makefile: Add rules to build and run tst-tls19.
20361 * elf/tst-tls19.c: New file.
20362 * elf/tst-tls19mod1.c: New file.
20363 * elf/tst-tls19mod2.c: New file.
20364 * elf/tst-tls19mod3.c: New file.
20365 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
20366
2fc54d6f
UD
20367 [BZ #12083]
20368 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
20369 correctly.
20370
98d76b46
UD
20371 [BZ #12601]
20372 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
20373 two-byte sequence errors.
20374 * iconvdata/Makefile (tests): Add bug-iconv8.
20375 * iconvdata/bug-iconv8.c: New file.
20376
da3c19ef
UD
20377 [BZ #12626]
20378 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
20379 buf2 definition.
20380
ca408c15
UD
20381 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
20382
d6f67f7d
UD
20383 [BZ #12432]
20384 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
20385 (dummy_getcfa): New function.
20386 (init): Get _Unwind_GetCFA address, use dummy if not found.
20387 (backtrace_helper): In recursion check, also check whether CFA changes.
20388 (__backtrace): Completely initialize arg.
20389
1af4e298 20390 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
20391 storing incomplete byte sequence in state object. Avoid testing for
20392 guaranteed too small input if we know there is enough data available.
1af4e298 20393
da62f81b
AS
203942011-05-11 Andreas Schwab <schwab@redhat.com>
20395
20396 * Makeconfig (+link-pie): Indent.
20397 * Rules (binaries-pie): Define if $(have-fpie) and
20398 $(build-shared).
20399 (binaries-shared): Also filter out $(binaries-pie).
20400 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
20401 * nscd/Makefile (others-pie): Add nscd.
20402 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
20403 ($(objpfx)nscd): Remove command override.
20404 * login/Makefile (others-pie): Add pt_chown.
20405 ($(objpfx)pt_chown): Remove command override.
20406 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
20407 remove command overrides.
20408
fcabc0f8
UD
204092011-05-13 Ulrich Drepper <drepper@gmail.com>
20410
20030ae6
UD
20411 * libio/tst_putwc.c: Fix error messages.
20412
fcabc0f8
UD
20413 [BZ #12724]
20414 * libio/fileops.c (_IO_new_file_close_it): Always flush when
20415 currently writing and seek to current position when not.
20416 * libio/Makefile (tests): Add bug-fclose1.
20417 * libio/bug-fclose1.c: New file.
20418
320a5dc0
PB
204192011-05-12 Ulrich Drepper <drepper@gmail.com>
20420
20421 [BZ #12511]
20422 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
20423 don't set DF_1_NODELETE here.
20424 (do_lookup_x): When entering new entry test for copy relocation
20425 and if necessary set DF_1_NODELETE flag.
20426 * elf/tst-unique4.cc: New file.
20427 * elf/tst-unique4.h: New file.
20428 * elf/tst-unique4lib.cc: New file.
20429 * elf/Makefile: Add rules to build and run tst-unique4.
20430 Patch by Piotr Bury <pbury@goahead.com>.
20431
22836f52
UD
204322011-05-11 Ulrich Drepper <drepper@gmail.com>
20433
f574184a
UD
20434 [BZ #12052]
20435 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
20436
e1fb097f
UD
20437 [BZ #12625]
20438 * misc/mntent_r.c (addmntent): Flush the stream after the output
20439
22836f52
UD
20440 [BZ #12393]
20441 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
20442 (is_trusted_path_normalize): Skip initial colon. Append slash
20443 to empty buffer. Duplicate is_trusted_path code but allow
20444 constructed patch to be prefix.
20445 (is_dst): Allow $ORIGIN followed by /.
20446 (_dl_dst_substitute): Correct clearing of check_for_trusted.
20447 Correct testing of result of is_trusted_path_normalize
20448 (decompose_rpath): Fix warning.
20449
7b3b0b2a
UD
204502011-05-10 Ulrich Drepper <drepper@gmail.com>
20451
20452 [BZ #11257]
20453 * grp/initgroups.c (internal_getgrouplist): When we found the service
20454 list through the initgroups entry in nsswitch.conf do not always
20455 continue on a successful lookup. Don't always use the
eac80ce2 20456 __nss_group_database value if it is set.
7b3b0b2a
UD
20457 * nss/nsswitch.conf (initgroups): Change action for successful db
20458 lookup to continue for compatibility.
20459
2a81eaa5
UD
204602011-05-09 Ulrich Drepper <drepper@gmail.com>
20461
be97a69e
UD
20462 [BZ #11532]
20463 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
20464 and CP774 modules.
20465 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
20466 and CP774 modules.
20467 * iconvdata/tst-tables.sh: Likewise.
20468 * iconvdata/cp770.c: New file.
20469 * iconvdata/cp771.c: New file.
20470 * iconvdata/cp772.c: New file.
20471 * iconvdata/cp773.c: New file.
20472 * iconvdata/cp774.c: New file.
20473 * iconvdata/testdata/CP770: New file.
20474 * iconvdata/testdata/CP770..UTF8: New file.
20475 * iconvdata/testdata/CP771: New file.
20476 * iconvdata/testdata/CP771..UTF8: New file.
20477 * iconvdata/testdata/CP772: New file.
20478 * iconvdata/testdata/CP772..UTF8: New file.
20479 * iconvdata/testdata/CP773: New file.
20480 * iconvdata/testdata/CP773..UTF8: New file.
20481 * iconvdata/testdata/CP774: New file.
20482 * iconvdata/testdata/CP774..UTF8: New file.
20483
20484 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
20485 END CHARMAP line.
20486 * iconvdata/gen-8bit-gap.sh: Likewise.
20487 * iconvdata/gen-8bit.sh: Likewise.
20488
c1e9e399
UD
20489 * locale/iso-639.def: Add ary entry.
20490
24c55fb3 20491 [BZ #11258]
96b4b1b0
UD
20492 * locale/C-translit.h.in: Add U20A1 transliteration.
20493
bdc2f971
KB
20494 [BZ #12178]
20495 * locale/iso-639.def: Add wae entry.
20496 Patch by Kevin Bortis <bortis@translate-wae.ch>.
20497
2952b117
UD
20498 [BZ #12545]
20499 * locale/programs/localedef.c (construct_output_path): Use ssize_t
20500 for n.
20501
2a81eaa5
UD
20502 [BZ #12711]
20503 * locale/C-translit.h.in: Add entry for U20B9.
20504 Patch by pravin.d.s@gmail.com.
20505
28377d1b
UD
205062011-05-08 Ulrich Drepper <drepper@gmail.com>
20507
7fb90fb8
UD
20508 [BZ #12713]
20509 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
20510 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
20511 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
20512 in rtld. Use *stat64.
7fb90fb8 20513 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 20514 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 20515 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
20516 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
20517 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
20518 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
20519 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
20520 __fstatat64 macros.
7fb90fb8
UD
20521 * include/dirent.h: Add libc_hidden_proto for rewinddir.
20522 * dirent/rewinddir.c: Add libc_hidden_def.
20523 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 20524 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 20525
28377d1b
UD
20526 * include/dirent.h (__alloc_dir): Add flags parameter.
20527 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
20528 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
20529 __alloc_dir.
20530 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
20531 from fdopendir if O_CLOEXEC is already set.
20532
66bdbaa4
AM
205332011-03-15 Alan Modra <amodra@gmail.com>
20534
20535 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
20536 l_tls_firstbyte_offset non-zero. Save padding offset in
20537 l_tls_firstbyte_offset for later use.
20538 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
20539 freeing static tls block.
20540
95721191
JN
205412011-03-05 Jonathan Nieder <jrnieder@gmail.com>
20542
20543 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
20544 where #ifdef was intended. The intent is to prevent ARG_MAX from
20545 being defined by the kernel headers.
20546
f87dfb1f
UD
205472011-05-07 Ulrich Drepper <drepper@gmail.com>
20548
20549 [BZ #12734]
20550 * resolv/resolv.h: Define RES_NOTLDQUERY.
20551 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
20552 no-tld-query and set RES_NOTLDQUERY.
20553 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
20554 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
20555 modern BIND to search name as TLD unless forbidden.
20556
47c3cd7a
UD
205572011-05-07 Petr Baudis <pasky@suse.cz>
20558 Ulrich Drepper <drepper@gmail.com>
20559
20560 [BZ #12393]
20561 * elf/dl-load.c (fillin_rpath): Move trusted path check...
20562 (is_trusted_path): ...to here.
c1e9ea35 20563 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 20564 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 20565 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 20566
8a35c912
PP
205672011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20568
20569 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
20570 __BEGIN/__END_DECLS.
20571
acd41f47
UD
205722011-05-06 Ulrich Drepper <drepper@gmail.com>
20573
20574 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
20575 NSS_STATUS_NOTFOUND if no record was found.
20576
597df647
AS
205772011-05-05 Andreas Schwab <schwab@redhat.com>
20578
20579 * sunrpc/Makefile (headers): Add rpc/netdb.h.
20580 (headers-not-in-tirpc): Remove rpc/netdb.h
20581 * resolv/netdb.h: Revert last change.
20582
b9af1301
PP
205832011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20584
20585 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
20586 circular dependency between libgcc.a and libc.a.
20587
4e34d5f5
AS
205882011-05-05 Andreas Schwab <schwab@redhat.com>
20589
20590 * resolv/netdb.h: Don't include <rpc/netdb.h>.
20591 * nis/Makefile: Don't install rpcsvc/*.
20592 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
20593 instead of <rpc/types.h>.
20594 (MAXHOSTNAMELEN): Define.
20595
00ee369c
AS
205962011-05-03 Andreas Schwab <schwab@redhat.com>
20597
20598 * elf/ldconfig.c (add_dir): Don't crash on empty path.
20599
0b592a30
MB
206002011-04-28 Maciej Babinski <mbabinski@google.com>
20601
20602 [BZ #12714]
20603 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
20604 gethostbyname4_r when IPv6 results are possible.
20605
6e04cbbe
UD
206062011-05-02 Ulrich Drepper <drepper@gmail.com>
20607
20608 [BZ #12723]
20609 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
20610 _PC_PIPE_BUF handling.
20611
e4ecafe0
BH
206122011-04-30 Bruno Haible <bruno@clisp.org>
20613
20614 [BZ #12717]
20615 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
20616 * resolv/netdb.h (getnameinfo): Change type of flags parameter
20617 to 'int'.
20618 * inet/getnameinfo.c (getnameinfo): Likewise.
20619
125ee683
UD
206202011-04-29 Ulrich Drepper <drepper@gmail.com>
20621
20622 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
20623 to groups setting in database lookup.
20624 * nss/nsswitch.conf: Add initgroups entry.
20625
b722481a
EB
206262011-04-22 Ulrich Drepper <drepper@gmail.com>
20627
20628 [BZ #12685]
20629 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
20630 mode string.
20631 Patch by Eric Blake <eblake@redhat.com>.
20632
4df46dbd
L
206332011-04-20 H.J. Lu <hongjiu.lu@intel.com>
20634
20635 * sunrpc/Makefile (need-export-routines): Add svc_run.
20636 (routines): Remove svc_run.
20637 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
20638 * sunrpc/clnt_perr.c (clnt_perrno): Export.
20639 * sunrpc/svc_run.c (svc_run): Likewise.
20640 * sunrpc/svc_udp.c (svcudp_create): Likewise.
20641
e84142d2
UD
206422011-04-21 Ulrich Drepper <drepper@gmail.com>
20643
20644 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
20645 problem in reallocation in last patch.
20646
877175d8
UD
206472011-04-20 Ulrich Drepper <drepper@gmail.com>
20648
20649 * sunrpc/Makefile: Move inclusion of Rules.
20650
ab8eed78
UD
206512011-04-19 Ulrich Drepper <drepper@gmail.com>
20652
20653 * nss/nss_files/files-initgroups.c: New file.
20654 * nss/Makefile (libnss_files-routines): Add files-initgroups.
20655 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
20656 _nss_files_initgroups_dyn.
20657
e3d8f584
RS
206582011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
20659
20660 * elf/elf.h (R_ARM_IRELATIVE): Define.
20661
af190f45
UD
206622011-04-19 Ulrich Drepper <drepper@gmail.com>
20663
20664 * po/ru.po: Update from translation team.
20665
53cf59ef
UD
206662011-04-17 Ulrich Drepper <drepper@gmail.com>
20667
20668 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
20669 dependencies.
20670
4c559bcd
MF
206712011-02-06 Mike Frysinger <vapier@gentoo.org>
20672
20673 [BZ #12653]
20674 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
20675 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
20676 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20677 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20678 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20679
4420675c
AS
206802011-03-28 Andreas Schwab <schwab@linux-m68k.org>
20681
20682 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
20683 differing bytes.
20684 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20685 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20686 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20687
75ea32ab
UD
206882011-04-17 Ulrich Drepper <drepper@gmail.com>
20689
20690 [BZ #12420]
20691 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
20692 storing it.
20693 * stdlib/bug-getcontext.c: New file.
20694 * stdlib/Makefile: Add rules to build and run bug-getcontext.
20695
27390476
AK
206962011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20697
20698 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
20699 instructions into .machine "z9-109".
20700 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
20701 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
20702
10442705
AK
207032011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20704
20705 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
20706 between environment variables and auxiliary vector.
20707
7b57bfe5
UD
207082011-04-16 Ulrich Drepper <drepper@gmail.com>
20709
20710 * Makefile: Add rules to build linkobj/libc.so.
20711 * include/libc-symbols.h: Define libc_hidden_nolink.
20712 * include/rpc/auth.h: Mark functions which are to be hidden.
20713 * include/rpc/auth_des.h: Likewise.
20714 * include/rpc/auth_unix.h: Likewise.
20715 * include/rpc/clnt.h: Likewise.
20716 * include/rpc/des_crypt.h: Likewise.
20717 * include/rpc/key_prot.h: Likewise.
20718 * include/rpc/pmap_clnt.h: Likewise.
20719 * include/rpc/pmap_prot.h: Likewise.
20720 * include/rpc/pmap_rmt.h: Likewise.
20721 * include/rpc/rpc_msg.h: Likewise.
20722 * include/rpc/svc.h: Likewise.
20723 * include/rpc/svc_auth.h: Likewise.
20724 * include/rpc/xdr.h: Likewise.
20725 * nis/Makefile: Link all DSOs against linkobj/libc.so.
20726 * nss/Makefile: Likewise.
20727 * sunrpc/Makefile: Don't install headers. Build library with normal
20728 entry points. Don't build rpcinfo. Link RPC tests appropriately.
20729 * sunrpc/auth_des.c: Hide exported symbols by default, export some
20730 for the compat linking library. Remove use of INTDEF/INTUSE.
20731 * sunrpc/auth_none.c: Likewise.
20732 * sunrpc/auth_unix.c: Likewise.
20733 * sunrpc/authdes_prot.c: Likewise.
20734 * sunrpc/authuxprot.c: Likewise.
20735 * sunrpc/clnt_gen.c: Likewise.
20736 * sunrpc/clnt_perr.c: Likewise.
20737 * sunrpc/clnt_raw.c: Likewise.
20738 * sunrpc/clnt_simp.c: Likewise.
20739 * sunrpc/clnt_tcp.c: Likewise.
20740 * sunrpc/clnt_udp.c: Likewise.
20741 * sunrpc/clnt_unix.c: Likewise.
20742 * sunrpc/des_crypt.c: Likewise.
20743 * sunrpc/des_soft.c: Likewise.
20744 * sunrpc/get_myaddr.c: Likewise.
20745 * sunrpc/key_call.c: Likewise.
20746 * sunrpc/key_prot.c: Likewise.
20747 * sunrpc/netname.c: Likewise.
20748 * sunrpc/pm_getmaps.c: Likewise.
20749 * sunrpc/pm_getport.c: Likewise.
20750 * sunrpc/pmap_clnt.c: Likewise.
20751 * sunrpc/pmap_prot.c: Likewise.
20752 * sunrpc/pmap_prot2.c: Likewise.
20753 * sunrpc/pmap_rmt.c: Likewise.
20754 * sunrpc/publickey.c: Likewise.
20755 * sunrpc/rpc_cmsg.c: Likewise.
20756 * sunrpc/rpc_common.c: Likewise.
20757 * sunrpc/rpc_dtable.c: Likewise.
20758 * sunrpc/rpc_prot.c: Likewise.
20759 * sunrpc/rpc_thread.c: Likewise.
20760 * sunrpc/rtime.c: Likewise.
20761 * sunrpc/svc.c: Likewise.
20762 * sunrpc/svc_auth.c: Likewise.
20763 * sunrpc/svc_authux.c: Likewise.
20764 * sunrpc/svc_raw.c: Likewise.
20765 * sunrpc/svc_run.c: Likewise.
20766 * sunrpc/svc_simple.c: Likewise.
20767 * sunrpc/svc_tcp.c: Likewise.
20768 * sunrpc/svc_udp.c: Likewise.
20769 * sunrpc/svc_unix.c: Likewise.
20770 * sunrpc/svcauth_des.c: Likewise.
20771 * sunrpc/xcrypt.c: Likewise.
20772 * sunrpc/xdr.c: Likewise.
20773 * sunrpc/xdr_array.c: Likewise.
20774 * sunrpc/xdr_float.c: Likewise.
20775 * sunrpc/xdr_intXX_t.c: Likewise.
20776 * sunrpc/xdr_mem.c: Likewise.
20777 * sunrpc/xdr_rec.c: Likewise.
20778 * sunrpc/xdr_ref.c: Likewise.
20779 * sunrpc/xdr_sizeof.c: Likewise.
20780 * sunrpc/xdr_stdio.c: Likewise.
20781
e6c61494
UD
207822011-04-10 Ulrich Drepper <drepper@gmail.com>
20783
20784 [BZ #12650]
20785 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
20786 * sysdeps/ia64/dl-tls.h: Likewise.
20787 * sysdeps/powerpc/dl-tls.h: Likewise.
20788 * sysdeps/s390/dl-tls.h: Likewise.
20789 * sysdeps/sh/dl-tls.h: Likewise.
20790 * sysdeps/sparc/dl-tls.h: Likewise.
20791 * sysdeps/x86_64/dl-tls.h: Likewise.
20792 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
20793
34fe483e
AS
207942011-03-14 Andreas Schwab <schwab@redhat.com>
20795
20796 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
20797 rpath element also skip the following colon.
20798 (expand_dynamic_string_token): Add is_path parameter and pass
20799 down to DL_DST_REQUIRED and _dl_dst_substitute.
20800 (decompose_rpath): Call expand_dynamic_string_token with
20801 non-zero is_path. Ignore empty rpaths.
20802 (_dl_map_object_from_fd): Call expand_dynamic_string_token
20803 with zero is_path.
20804
f12a32e6
AS
208052011-04-08 Andreas Schwab <schwab@linux-m68k.org>
20806
20807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
20808 Make cancelable.
20809
38a7d692
UD
208102011-04-09 Ulrich Drepper <drepper@gmail.com>
20811
20812 [BZ #12655]
20813 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
20814 Patch by Filipe David Manana <fdmanana@apache.org>.
20815
e451d22b
AS
208162011-04-07 Andreas Schwab <schwab@redhat.com>
20817
20818 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
20819 Maintain aligned stack.
20820 (CHECK_RSP): Remove unused macro.
20821
dedc7c7b
UD
208222011-04-03 Ulrich Drepper <drepper@gmail.com>
20823
20824 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
20825 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
20826
94521213
UD
208272011-04-02 Ulrich Drepper <drepper@gmail.com>
20828
20829 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
20830
8cb700c0 20831 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 20832
0354e355
L
208332011-03-26 H.J. Lu <hongjiu.lu@intel.com>
20834
20835 [BZ #12518]
20836 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
20837 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
20838 * sysdeps/x86_64/memmove.c: New file.
20839 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
20840 (memcpy): Renamed to ...
20841 (__new_memcpy): This.
20842 (memcpy): Provide GLIBC_2_14 memcpy.
20843 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
20844 (memcpy): Provide GLIBC_2_2_5 memcpy.
20845
8593482f
UD
208462011-04-01 Ulrich Drepper <drepper@gmail.com>
20847
20848 [BZ #12631]
20849 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
20850
81a5726b
AS
208512011-03-30 Andreas Schwab <schwab@redhat.com>
20852
20853 * misc/syncfs.c: New file.
20854 * misc/Makefile (routines): Add syncfs.
20855 * posix/unistd.h: Declare syncfs.
20856 * sysdeps/unix/syscalls.list: Add syncfs.
20857
00e5419f
AS
208582011-04-01 Andreas Schwab <schwab@redhat.com>
20859
20860 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
20861 open_by_handle_at.
20862 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
20863 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20864 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20865 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20866 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20867 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
20868 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20869
748876bf
UD
208702011-04-01 Ulrich Drepper <drepper@gmail.com>
20871
658e451d
UD
20872 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
20873 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20874 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
20875 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20876 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20877 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20878 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20879
748876bf
UD
20880 * io/Makefile: Compile fallocate.c, fallocate64.c, and
20881 sync_file_range.c with -fexceptions.
20882 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
20883 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
20884 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
20885 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
20886 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
20887 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
20888 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
20889 sync_file_range as cancellation point
20890 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
20891 now a wrapper around __call_sync_file_range with cancellation handling.
20892 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
20893 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
20894 function name to __call_sync_file_range.
20895 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
20896 Add call_sync_file_range.
748876bf 20897
6e63d5e1
AS
208982011-04-01 Andreas Schwab <schwab@redhat.com>
20899
20900 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 20901 bits/timex.h.
6e63d5e1 20902
46998f74
UD
209032011-04-01 Ulrich Drepper <drepper@gmail.com>
20904
4c1423ed
UD
20905 * iconv/iconv.h: Fix typo in comment.
20906 * io/fcntl.h: Likewise.
20907 * libio/stdio.h: Likewise.
20908 * posix/spawn.h: Likewise.
20909 * posix/unistd.h: Likewise.
20910 * stdlib/stdlib.h: Likewise.
20911 * time/time.h: Likewise.
20912 * wcsmbs/wchar.h: Likewise.
20913
158648c0
UD
20914 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
20915 open_by_handle): Add.
20916 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
20917 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
20918 Augment a few comments.
20919 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20920 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20921 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20922 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20923 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20924 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
20925 open_by_handle.
20926
46998f74
UD
20927 * io/fcntl.h (AT_EMPTY_PATH): Define.
20928
83fe108b
UD
209292011-03-30 Ulrich Drepper <drepper@gmail.com>
20930
20931 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
20932 * sysdeps/unix/sysv/linux/bits/time.h: New file.
20933 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
20934 to...
20935 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
20936 * Versions.def: Add GLIBC_2.14.
20937 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
20938 Export.
83fe108b 20939
bb242059
UD
209402011-03-22 Ulrich Drepper <drepper@gmail.com>
20941
20942 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
20943 round counter.
20944 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
20945
c97a1282
L
209462011-03-20 H.J. Lu <hongjiu.lu@intel.com>
20947
20948 [BZ #12597]
20949 * string/test-strncmp.c (do_page_test): New function.
20950 (check2): Likewise.
20951 (test_main): Call check2.
20952 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
20953
2a115601
UD
209542011-03-20 Ulrich Drepper <drepper@gmail.com>
20955
20956 [BZ #12587]
20957 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
20958 Handle cache information in CPU leaf 4.
20959 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
20960
8126d904
UD
209612011-03-18 Ulrich Drepper <drepper@gmail.com>
20962
042c49c6 20963 [BZ #12583]
8126d904
UD
20964 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
20965 character representation.
20966 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
20967
ccfe366e
RA
209682011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
20969
20970 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
20971 END(__isnan) to END(__isnanf) to match function entry point/label
20972 EALIGN(__isnanf,...).
20973
c6e13027
JJ
209742011-03-10 Jakub Jelinek <jakub@redhat.com>
20975
20976 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
20977
33f85a3f
UD
209782011-03-10 Ulrich Drepper <drepper@gmail.com>
20979
028478fa
UD
20980 [BZ #12510]
20981 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
20982 copy from the symbol referenced in the relocation to initialize the
20983 used variable.
20984 Patch by Piotr Bury <pbury@goahead.com>.
20985 * elf/Makefile: Add rules to build and tst-unique3.
20986 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
20987 * elf/tst-unique3.cc: New file.
20988 * elf/tst-unique3.h: New file.
20989 * elf/tst-unique3lib.cc: New file.
20990 * elf/tst-unique3lib2.cc: New file.
20991
33f85a3f
UD
20992 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
20993
03592fc7
MF
209942011-03-10 Mike Frysinger <vapier@gentoo.org>
20995
20996 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
20997 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
20998 to _start.
03592fc7 20999
6a5ee102
UD
210002011-03-06 Ulrich Drepper <drepper@gmail.com>
21001
21002 * elf/dl-load.c (_dl_map_object): If we are looking for the first
21003 to-be-loaded object along a path to loader is ld.so.
21004
7e4ba49c
HJ
210052011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21006 Ulrich Drepper <drepper@gmail.com>
21007
21008 * sysdeps/x86_64/memset.S: After aligning destination, code
21009 branches to different locations depending on the value of
21010 misalignment, when multiarch is enabled. Fix this.
21011
210122011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21013
21014 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
21015 Set _x86_64_preferred_memory_instruction for AMD processsors.
21016 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21017 Set bit_Prefer_SSE_for_memop for AMD processors.
21018
13a804de
UD
210192011-03-04 Ulrich Drepper <drepper@gmail.com>
21020
21021 * libio/fmemopen.c (fmemopen): Optimize a bit.
21022
9d25c392
AS
210232011-03-03 Andreas Schwab <schwab@redhat.com>
21024
21025 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
21026
a5543c6a
RM
210272011-03-03 Roland McGrath <roland@redhat.com>
21028
21029 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
21030
012d35f7
DM
210312011-02-28 Aurelien Jarno <aurelien@aurel32.net>
21032
7e4ba49c 21033 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
21034 __bzero_ultra1 instead of __memset_ultra1.
21035
4bff6e01
AS
210362011-02-23 Andreas Schwab <schwab@redhat.com>
21037 Ulrich Drepper <drepper@gmail.com>
21038
21039 [BZ #12509]
21040 * include/link.h (struct link_map): Add l_orig_initfini.
21041 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
21042 returning unsuccessfully.
21043 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
21044 close of a file loaded at startup, restore the original l_initfini
21045 list.
21046 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
21047 list, store the pointer.
21048 * elf/Makefile ($(objpfx)noload-mem): New rule.
21049 (noload-ENV): Define.
21050 (tests): Add $(objpfx)noload-mem.
21051 * elf/noload.c: Include <memcheck.h>.
21052 (main): Call mtrace. Close all opened handles.
21053
f2092faf
AS
210542011-02-17 Andreas Schwab <schwab@redhat.com>
21055
21056 [BZ #12454]
21057 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
21058 dependencies are missing.
21059
6c8a2e88
ST
210602011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
21061
f2092faf 21062 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
21063 Hurd needs munmap.
21064 * sysdeps/mach/hurd/ifreq.h: New file.
21065
84a42118
PB
210662011-01-27 Petr Baudis <pasky@suse.cz>
21067 Ulrich Drepper <drepper@gmail.com>
21068
071f805e 21069 [BZ 12445]#
84a42118
PB
21070 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
21071 to extend_alloca().
21072 * stdio-common/bug23.c: New file.
21073 * stdio-common/Makefile (tests): Add bug23.
21074
e23fe25b
AS
210752010-09-28 Andreas Schwab <schwab@redhat.com>
21076 Ulrich Drepper <drepper@gmail.com>
21077
21078 [BZ #12489]
21079 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
21080 before performing relro protection. At old place add assertion
21081 to make sure nothing changed.
21082
d3f02e10
NS
210832011-02-17 Nathan Sidwell <nathan@codesourcery.com>
21084 Glauber de Oliveira Costa <glommer@gmail.com>
21085
21086 * elf/elf.h: Add new ARM TLS relocs.
21087
d55fd7a5
RA
210882011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
21089
21090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21091 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
21092 cast from r3.
21093 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
21094 'tests' variable.
21095 * sysdeps/wordsize-64/tst-writev.c: New file.
21096
2206397e
RA
210972011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
21098
21099 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
21100 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
21101 insns in _dl_start to prevent a TOC reference before relocs are
21102 resolved.
21103
e9433893
UD
211042011-02-15 Ulrich Drepper <drepper@gmail.com>
21105
21106 [BZ #12469]
21107 * Makeconfig: Remove RANLIB definition.
21108 * Makerules: Don't use RANLIB.
21109 * aclocal.m4: Remove ranlib test.
21110 * configure.in: No need to check for ranlib.
21111 * elf/rtld-Rules: Don't use RANLIB.
21112
f75286c6
ST
211132011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
21114
8e31c82d
ST
21115 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
21116 protection macro.
21117 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
21118 inclusion protection macro.
21119
f75286c6
ST
21120 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
21121 SIGRTMIN and SIGRTMAX and print information in that case only when
21122 SIGRTMIN is defined.
21123
c1d0e639
JJ
211242011-02-11 Jakub Jelinek <jakub@redhat.com>
21125
21126 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
21127 arginfo fn returning -1.
21128
21129 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
21130 and thousands string is zero terminated.
21131
edf9294e
AS
211322011-02-03 Andreas Schwab <schwab@redhat.com>
21133
21134 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
21135 sysdeps/unix/sysv/linux/bits/socket.h.
21136
2b7e92df
ST
211372011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
21138
edf9294e
AS
21139 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
21140 (__CPU_COUNT): Remove old macros.
21141 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
21142 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
21143 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
21144 (__sched_cpualloc, __sched_cpufree): Add declarations.
21145
a4c7ea7b
UD
211462011-02-05 Ulrich Drepper <drepper@gmail.com>
21147
21148 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
21149 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
21150 * nscd/aicache.c (addhstaiX): Return timeout of added value.
21151 (readdhstai): Return value of addhstaiX call.
21152 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
21153 (addgrbyX): Return value returned by cache_addgr.
21154 (readdgrbyname): Return value returned by addgrbyX.
21155 (readdgrbygid): Likewise.
21156 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
21157 (addpwbyX): Return value returned by cache_addpw.
21158 (readdpwbyname): Return value returned by addhstbyX.
21159 (readdpwbyuid): Likewise.
21160 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
21161 (addservbyX): Return value returned by cache_addserv.
21162 (readdservbyname): Return value returned by addservbyX:
21163 (readdservbyport): Likewise.
21164 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
21165 (addhstbyX): Return value returned by cache_addhst.
21166 (readdhstbyname): Return value returned by addhstbyX.
21167 (readdhstbyaddr): Likewise.
21168 (readdhstbynamev6): Likewise.
21169 (readdhstbyaddrv6): Likewise.
21170 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
21171 (readdinitgroups): Return value returned by addinitgroupsX.
21172 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
21173 (prune_cache): Keep track of timeout value of re-added entries.
21174 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
21175 * nscd/nscd.h: Adjust prototypes of readd* functions.
21176
a0bf67cc
RM
211772011-02-04 Roland McGrath <roland@redhat.com>
21178
21179 * nis/nis_server.c (nis_servstate): Use the right name for 0.
21180 (nis_stats): Likewise.
21181 * nis/nis_modify.c (nis_modify): Likewise.
21182 * nis/nis_remove.c (nis_remove): Likewise.
21183 * nis/nis_add.c (nis_add): Likewise.
21184
21185 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
21186
21187 * posix/fnmatch_loop.c: Add some consts.
21188
21189 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
21190
435b95eb
L
211912011-02-02 H.J. Lu <hongjiu.lu@intel.com>
21192
21193 [BZ #12460]
21194 * config.make.in (config-cflags-novzeroupper): Define.
21195 * configure.in: Substitute libc_cv_cc_novzeroupper.
21196 * elf/Makefile (AVX-CFLAGS): Define.
21197 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
21198 (CFLAGS-tst-auditmod4a.c): Likewise.
21199 (CFLAGS-tst-auditmod4b.c): Likewise.
21200 (CFLAGS-tst-auditmod6b.c): Likewise.
21201 (CFLAGS-tst-auditmod6c.c): Likewise.
21202 (CFLAGS-tst-auditmod7b.c): Likewise.
21203 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
21204
8517b15e
UD
212052011-02-02 Ulrich Drepper <drepper@gmail.com>
21206
21207 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
21208 function to the callback.
21209 Patch partly by Jiri Olsa <jolsa@redhat.com>.
21210
10a656fe
AS
212112011-02-02 Andreas Schwab <schwab@redhat.com>
21212
21213 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
21214 of errno.
21215
968dad0a
UD
212162011-01-19 Ulrich Drepper <drepper@gmail.com>
21217
9f94d2ea 21218 [BZ #11724]
968dad0a
UD
21219 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
21220 of constructors.
21221 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
21222 of destructors.
21223 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
21224
21225 [BZ #11724]
21226 * elf/Makefile: Add rules to build and run new test.
21227 * elf/tst-initorder.c: New file.
21228 * elf/tst-initorder.exp: New file.
21229 * elf/tst-initordera1.c: New file.
21230 * elf/tst-initordera2.c: New file.
21231 * elf/tst-initordera3.c: New file.
21232 * elf/tst-initordera4.c: New file.
21233 * elf/tst-initorderb1.c: New file.
21234 * elf/tst-initorderb2.c: New file.
21235 * elf/tst-order-a1.c: New file.
21236 * elf/tst-order-a2.c: New file.
21237 * elf/tst-order-a3.c: New file.
21238 * elf/tst-order-a4.c: New file.
21239 * elf/tst-order-b1.c: New file.
21240 * elf/tst-order-b2.c: New file.
21241 * elf/tst-order-main.c: New file.
21242 New test case by George Gensure <werkt0@gmail.com>.
21243
86e92359
UD
212442010-10-01 Andreas Schwab <schwab@redhat.com>
21245
21246 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21247 decoding ACE if AI_CANONIDN.
21248
5d5732b0
UD
212492011-01-18 Ulrich Drepper <drepper@gmail.com>
21250
21251 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
21252
a77e8cbc
UD
212532011-01-17 Ulrich Drepper <drepper@gmail.com>
21254
6392473f
UD
21255 * version.h (RELEASE): Bump for 2.13 release.
21256 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
21257
620a0529
UD
21258 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
21259
18ba70a5
UD
21260 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
21261 MADV_NOHUGEPAGE.
32465c3e
UD
21262 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
21263 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21264 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21265 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21266 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21267 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21268
c0dafcf1
UD
21269 * posix/getconf.c: Update copyright year.
21270 * catgets/gencat.c: Likewise.
21271 * csu/version.c: Likewise.
21272 * debug/catchsegv.sh: Likewise.
21273 * debug/xtrace.sh: Likewise.
21274 * elf/ldconfig.c: Likewise.
21275 * elf/ldd.bash.in: Likewise.
21276 * elf/sprof.c (print_version): Likewise.
21277 * iconv/iconv_prog.c: Likewise.
21278 * iconv/iconvconfig.c: Likewise.
21279 * locale/programs/locale.c: Likewise.
21280 * locale/programs/localedef.c: Likewise.
21281 * malloc/memusage.sh: Likewise.
21282 * malloc/mtrace.pl: Likewise.
21283 * nscd/nscd.c (print_version): Likewise.
21284 * nss/getent.c: Likewise.
21285
a77e8cbc
UD
21286 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
21287 PF_CAIF, and PF_ALG.
21288 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21289
77e8bddf
AS
212902011-01-16 Andreas Schwab <schwab@linux-m68k.org>
21291
1f20b93a
AS
21292 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
21293 (modules-names): Use them.
21294 (ifunc-test-modules, ifunc-pie-tests): Define.
21295 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
21296 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
21297 (test-extras): Likewise.
21298 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
21299 $(compile-command.c).
21300 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
21301 (all-built-dso): Define.
21302 (check-textrel.out, check-execstack.out): Depend on it.
21303
77e8bddf
AS
21304 * configure.in: Don't override --enable-multi-arch.
21305
bc425b33
UD
213062011-01-15 Ulrich Drepper <drepper@gmail.com>
21307
21308 [BZ #6812]
21309 * nscd/hstcache.c (tryagain): Define.
21310 (cache_addhst): Return tryagain not notfound for temporary errors.
21311 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
21312 failed.
21313
794c3ad3
UD
213142011-01-14 Ulrich Drepper <drepper@gmail.com>
21315
70181fdd
UD
21316 [BZ #10563]
21317 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
21318 to make the syscall.
21319 * sysdeps/unix/sysv/linux/setgroups.c: New file.
21320
794c3ad3
UD
21321 [BZ #12378]
21322 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
21323 and fall back to matching as normal character if the string ends before
21324 the matching ']' is found. This is what POSIX requires.
21325 * posix/testfnm.c: Adjust test result.
21326 * posix/globtest.sh: Adjust test result. Add new test.
21327 * posix/tst-fnmatch.input: Likewise.
21328 * posix/tst-fnmatch2.c: Add new test.
21329
68dc9497
AS
213302010-12-28 Andreas Schwab <schwab@linux-m68k.org>
21331
21332 * elf/Makefile (check-execstack): Revert last change. Depend on
21333 check-execstack.h.
21334 (check-execstack.h): New target.
21335 (generated): Add check-execstack.h.
21336 * elf/check-execstack.c: Include "check-execstack.h".
21337 (main): Revert last change.
21338 (handle_file): Return zero if GNU_STACK is absent and
21339 DEFAULT_STACK_PERMS doesn't include PF_X.
21340
451f001b
UD
213412011-01-13 Ulrich Drepper <drepper@gmail.com>
21342
cfa28e56
UD
21343 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
21344 in child fails because the descriptor is already closed.
8cf8ce17
UD
21345 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
21346 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
21347 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 21348
1086d70d
UD
21349 [BZ #12397]
21350 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
21351 syscall.
21352
451f001b
UD
21353 [BZ #10484]
21354 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
21355 temporary buffer used to handle multi lookups locally.
a85b5cb4 21356 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 21357
08769175
UD
213582011-01-12 Ulrich Drepper <drepper@gmail.com>
21359
21360 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
21361 loader is ld.so.
21362
5e49c52e
UD
213632011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
21364
21365 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
21366 alignment for SSE2.
21367
60522a5f
UD
213682011-01-12 Ulrich Drepper <drepper@gmail.com>
21369
21370 [BZ #12394]
21371 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
21372 characters. When rounding increased number of integer digits recompute
21373 number of groups.
21374 * stdio-common/tst-grouping.c: New file.
21375 * stdio-common/Makefile: Add rules to build and run tst-grouping.
21376
f257bbd7
UD
213772011-01-09 Ulrich Drepper <drepper@gmail.com>
21378
21379 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
21380 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
21381
21382 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
21383 void.
21384 * bits/select.h: Likewise.
21385
fa9c15cb
UD
213862011-01-08 Ulrich Drepper <drepper@gmail.com>
21387
21388 * po/ja.po: Update from translation team.
21389
16c2895f
DM
213902011-01-04 David S. Miller <davem@sunset.davemloft.net>
21391
21392 [BZ #11155]
21393 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
21394 implementation just like for lxstat, fxstatat, et al.
21395
2543fef2
JM
213962010-12-27 Jim Meyering <meyering@redhat.com>
21397
21398 [BZ #12348]
21399 * posix/regexec.c (build_trtable): Return failure indication upon
21400 calloc failure. Otherwise, re_search_internal could infloop on OOM.
21401
98727dbe
UD
214022010-12-25 Ulrich Drepper <drepper@gmail.com>
21403
5bd6dc5c
UD
21404 [BZ #12201]
21405 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
21406 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
21407 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
21408 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
21409
97983464
UD
21410 [BZ #12207]
21411 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
21412
98727dbe
UD
21413 [BZ #12204]
21414 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
21415 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
21416
4a531bb0
L
214172010-12-15 H.J. Lu <hongjiu.lu@intel.com>
21418
21419 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
21420 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
21421 script has SORT_BY_INIT_PRIORITY.
21422 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
21423 NO_CTORS_DTORS_SECTIONS is defined.
21424 * elf/soinit.c: Likewise.
21425 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
21426 NO_CTORS_DTORS_SECTIONS is defined.
21427 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
21428 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
21429 * sysdeps/sh/init-first.c: Likewise.
21430 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
21431
07eb4b71
UD
214322010-12-24 Ulrich Drepper <drepper@gmail.com>
21433
21434 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
21435 always use the slow path.
21436
30950a5f
RA
214372010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
21438
21439 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
21440 similar rule which adds the sysdep directories to the header search in
21441 order to pick up the correct platform stackinfo.h.
21442 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
21443 perform test if it is, otherwise return successfully without testing.
21444 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
21445 DEFAULT_STACK_PERMS define in stackinfo.h.
21446 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
21447 defined in stackinfo.h.
21448 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
21449 DEFAULT_STACK_PERMS defined in stackinfo.h.
21450 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
21451 * sysdeps/ia64/stackinfo.h: Likewise.
21452 * sysdeps/s390/stackinfo.h: Likewise.
21453 * sysdeps/sh/stackinfo.h: Likewise.
21454 * sysdeps/sparc/stackinfo.h: Likewise.
21455 * sysdeps/x86_64/stackinfo.h: Likewise.
21456 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
21457 PF_X for powerpc64. Retain PF_X for powerpc32.
21458
db753e2c
UD
214592010-12-19 Ulrich Drepper <drepper@gmail.com>
21460
14b697f7
UD
21461 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
21462 accurately.
db753e2c
UD
21463 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
21464 GETDENTS_64BIT_ALIGNED.
21465
28300719
UD
214662010-12-14 Ulrich Drepper <dreper@gmail.com>
21467
14b697f7 21468 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 21469
4f197237
AS
214702010-12-10 Andreas Schwab <schwab@redhat.com>
21471
dbb0472f
AS
21472 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
21473 _GNU_SOURCE.
21474
4f197237
AS
21475 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
21476 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
21477 Remove __restrict.
21478 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
21479 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
21480
fb88ac72
UD
214812010-12-09 Ulrich Drepper <drepper@gmail.com>
21482
21483 [BZ #11655]
21484 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
21485 are initialized.
21486
42acbb92
JJ
214872010-12-09 Jakub Jelinek <jakub@redhat.com>
21488
21489 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
21490
c038d98d
UD
214912010-12-03 Ulrich Drepper <drepper@gmail.com>
21492
21493 * po/it.po: Update from translation team.
21494
3a4a2499
L
214952010-12-01 H.J. Lu <hongjiu.lu@intel.com>
21496
21497 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
21498 unused codes.
21499
1e24cf6e
UD
215002010-11-30 Ulrich Drepper <drepper@gmail.com>
21501
21502 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
21503
a7690819
AS
215042010-11-24 Andreas Schwab <schwab@redhat.com>
21505
21506 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
21507 specially.
21508 (gaih_getanswer_slice): Likewise.
21509
3bf8d1b1
JJ
215102010-10-20 Jakub Jelinek <jakub@redhat.com>
21511
21512 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
21513
6db52fbb
PB
215142010-05-31 Petr Baudis <pasky@suse.cz>
21515
21516 [BZ #11149]
21517 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
21518 silently even in the chroot mode.
21519
eaca7569
UD
215202010-11-22 Ulrich Drepper <drepper@gmail.com>
21521
21522 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
21523 last patch a bit. Pretty printing
21524
3056dcdb
UD
215252010-05-31 Petr Baudis <pasky@suse.cz>
21526
21527 [BZ #10085]
21528 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
21529 initialization of skip_initgroups_dyn.
21530
cf7c9078
UD
215312010-11-19 Ulrich Drepper <drepper@gmail.com>
21532
21533 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
21534 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21535
a1fb5e3e
UD
215362010-11-16 Ulrich Drepper <drepper@gmail.com>
21537
21538 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
21539
3540d66b
AS
215402010-11-11 Andreas Schwab <schwab@redhat.com>
21541
21542 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
21543 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
21544 (tst-fnmatch-ENV): Set MALLOC_TRACE.
21545 ($(objpfx)tst-fnmatch-mem): New rule.
21546 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
21547 * posix/tst-fnmatch.c (main): Call mtrace.
21548
13b69574
L
215492010-11-11 H.J. Lu <hongjiu.lu@intel.com>
21550
21551 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21552 Support Intel processor model 6 and model 0x2c.
21553
da93d214
LM
215542010-11-10 Luis Machado <luisgpm@br.ibm.com>
21555
21556 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
21557 signed comparison.
21558
8ca52c6e
L
215592010-11-09 H.J. Lu <hongjiu.lu@intel.com>
21560
21561 [BZ #12205]
21562 * string/test-strncasecmp.c (check_result): New function.
21563 (do_one_test): Use it.
21564 (check1): New function.
21565 (test_main): Use it.
21566 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
21567 Support strcasecmp and strncasecmp.
21568
69da074d
UD
215692010-11-08 Ulrich Drepper <drepper@gmail.com>
21570
21571 [BZ #12194]
21572 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
21573 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21574
ff02d528
L
215752010-11-07 H.J. Lu <hongjiu.lu@intel.com>
21576
21577 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
21578 IFUNC support.
21579 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21580 memset-x86-64.
21581 * sysdeps/x86_64/multiarch/bzero.S: New file.
21582 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
21583 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
21584 * sysdeps/x86_64/multiarch/memset.S: New file.
21585 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
21586 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21587 Set bit_Prefer_SSE_for_memop for Intel processors.
21588 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
21589 Define.
21590 (index_Prefer_SSE_for_memop): Define.
21591 (HAS_PREFER_SSE_FOR_MEMOP): Define.
21592
344d0b54
LM
215932010-11-04 Luis Machado <luisgpm@br.ibm.com>
21594
21595 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
21596 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
21597
c0dde15b
UD
215982010-11-03 H.J. Lu <hongjiu.lu@intel.com>
21599
21600 [BZ #12191]
21601 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21602 (__x86_64_raw_data_cache_size_half): Likewise.
21603 (__x86_64_raw_shared_cache_size): Likewise.
21604 (__x86_64_raw_shared_cache_size_half): Likewise.
21605
21606 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21607 (__x86_64_raw_data_cache_size_half): Likewise.
21608 (__x86_64_raw_shared_cache_size): Likewise.
21609 (__x86_64_raw_shared_cache_size_half): Likewise.
21610 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
21611 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
21612 and __x86_64_raw_shared_cache_size_half. Round
21613 __x86_64_data_cache_size_half, __x86_64_data_cache_size
21614 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
21615 to multiple of 256 bytes.
21616
0e516e0e
MS
216172010-11-03 Ulrich Drepper <drepper@gmail.com>
21618
21619 [BZ #12167]
21620 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
21621 of inacessible symlinks. Verify result of symlink before returning it.
21622 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
21623 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
21624
0e012e87
ER
216252010-10-28 Erich Ritz <erichritz@gmail.com>
21626
21627 * math/math.h (isinf): Fix typo in comment.
21628
de0ff7bc
UD
216292010-11-01 Ulrich Drepper <drepper@gmail.com>
21630
21631 * po/da.po: Update from translation team.
21632
fa41c84d
UD
216332010-10-26 Ulrich Drepper <drepper@gmail.com>
21634
21635 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
21636 is added to the list.
21637
f0967738
AK
216382010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21639 Ulrich Drepper <drepper@gmail.com>
21640
21641 * elf/dl-object.c (_dl_new_object): Don't append the new object to
21642 the global list here. Move code to...
21643 (_dl_add_to_namespace_list): ...here. New function.
21644 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
21645 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
21646 * elf/dl-load.c (lose): Don't remove the element from the list.
21647 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
21648 (_dl_map_object): Likewise.
21649
216502010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
21651
21652 [BZ #12159]
21653 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
21654 into all bytes of SSE register.
21655 Patch by Richard Li <richardpku@gmail.com>.
21656
f0967738 216572010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
21658
21659 [BZ #12140]
21660 * malloc/malloc.c (_int_free): Fill correct number of bytes when
21661 perturbing.
21662
d0b9e94f
MB
216632010-10-20 Michael B. Brutman <brutman@us.ibm.com>
21664
21665 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
21666 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
21667 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
21668 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
21669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
21670 submachine.
21671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
21672
8e9f92e9
AS
216732010-10-22 Andreas Schwab <schwab@redhat.com>
21674
21675 * include/dlfcn.h (__RTLD_SECURE): Define.
21676 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
21677 mode & __RTLD_SECURE instead.
21678 (open_path): Rename preloaded parameter to secure.
21679 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
21680 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
21681 * elf/dl-deps.c (openaux): Likewise.
21682 * elf/rtld.c (struct map_args): Remove is_preloaded.
21683 (map_doit): Don't use it.
21684 (dl_main): Likewise.
21685 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
21686 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
21687
bc96fbda
AS
216882010-09-09 Andreas Schwab <schwab@redhat.com>
21689
21690 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
21691 (sysd-rules-targets): Remove duplicates.
21692 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
21693 rtld-%.$o dependency.
21694
22cd1c9b
AS
216952010-10-18 Andreas Schwab <schwab@redhat.com>
21696
21697 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
21698 _dl_map_object do it.
21699
18edac48
UD
217002010-10-19 Ulrich Drepper <drepper@gmail.com>
21701
21702 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
21703 fast fma builtins, define the macros in the C99 standard.
21704 (FP_FAST_FMAF): Likewise.
21705 (FP_FAST_FMAL): Likewise.
21706 * sysdeps/x86_64/bits/mathdef.h: Likewise.
21707
21708 * bits/mathdef.h: Update copyright year.
21709 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21710
d2050124
MM
217112010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
21712
21713 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
21714 builtins, define the macros in the C99 standard.
21715 (FP_FAST_FMAF): Likewise.
21716 (FP_FAST_FMAL): Likewise.
21717 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
21718 multiply/add.
21719 (FP_FAST_FMAF): Likewise.
21720
475facd1
JJ
217212010-10-15 Jakub Jelinek <jakub@redhat.com>
21722
21723 [BZ #3268]
21724 * math/libm-test.inc (fma_test): Some new testcases.
21725 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
21726 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
21727 y and infinite z. Do multiplication by C already in long double.
21728 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
21729 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
21730 y and infinite z. Do bitwise or of inexact bit into u.d.
21731 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
21732 * sysdeps/i386/fpu/s_fmaf.S: Removed.
21733 * sysdeps/i386/fpu/s_fma.S: Removed.
21734 * sysdeps/i386/fpu/s_fmal.S: Removed.
21735
7c08a05c
JJ
217362010-10-16 Jakub Jelinek <jakub@redhat.com>
21737
21738 [BZ #3268]
21739 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
21740 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
21741 computation is not scheduled after fetestexcept. Fix value
21742 of minimum denormal long double.
21743
f3f7372d
JJ
217442010-10-14 Jakub Jelinek <jakub@redhat.com>
21745
21746 [BZ #3268]
21747 * math/libm-test.inc (fma_test): Add some more tests.
21748 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
21749 correctly.
21750
14d43591
AS
217512010-10-15 Andreas Schwab <schwab@redhat.com>
21752
21753 * scripts/data/localplt-s390-linux-gnu.data: New file.
21754 * scripts/data/localplt-s390x-linux-gnu.data: New file.
21755
5e908464
JJ
217562010-10-13 Jakub Jelinek <jakub@redhat.com>
21757
21758 [BZ #3268]
21759 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
21760 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
21761 instead of dbl-64.
21762 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
21763 inlines.
21764 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
21765 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
21766 if one of x and y is very large and the other is subnormal.
21767 * sysdeps/s390/fpu/s_fmaf.c: New file.
21768 * sysdeps/s390/fpu/s_fma.c: New file.
21769 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
21770 * sysdeps/powerpc/fpu/s_fma.S: New file.
21771 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
21772 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
21773 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
21774
217752010-10-12 Jakub Jelinek <jakub@redhat.com>
21776
21777 [BZ #3268]
21778 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
21779 fma tests.
21780 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
21781 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
21782 * sysdeps/i386/i686/multiarch/s_fma.c: Include
21783 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
21784 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
21785 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
21786 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
21787
b833d51f
UD
217882010-10-12 Ulrich Drepper <drepper@redhat.com>
21789
21790 [BZ #12078]
21791 * posix/regcomp.c (parse_branch): One more memory leak plugged.
21792 * posix/bug-regex31.input: Add test case.
21793
1751705d
UD
217942010-10-11 Ulrich Drepper <drepper@gmail.com>
21795
e9b9cbf5
UD
21796 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
21797 * posix/bug-regex31.input: New file.
21798
21799 [BZ #12078]
21800 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
21801 (parse_sub_exp): Fix last change, use postorder.
21802
ef06edbe
UD
21803 * posix/bug-regex31.c: New file.
21804 * posix/Makefile: Add rules to build and run bug-regex31.
21805
a129c80d
UD
21806 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
21807
21808 [BZ #12078]
21809 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
21810
b76b818e
UD
21811 [BZ #12108]
21812 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
21813 to have entries in sys_siglist.
21814
1751705d
UD
21815 [BZ #12093]
21816 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
21817 be NULL.
21818
9ff8d36f
JJ
218192010-10-07 Jakub Jelinek <jakub@redhat.com>
21820
21821 [BZ #3268]
21822 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
21823 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
21824 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
21825 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
21826 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
21827 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
21828 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
21829 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
21830 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
21831 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
21832 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
21833 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
21834 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
21835 * math/ftestexcept.c (fetestexcept): Likewise.
21836 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
21837 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
21838 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
21839 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
21840 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
21841 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
21842 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21843
af325969
UD
218442010-10-11 Ulrich Drepper <drepper@gmail.com>
21845
c579b202 21846 [BZ #12107]
af325969
UD
21847 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
21848 newline.
21849
67a67b95
UD
218502010-10-06 Ulrich Drepper <drepper@gmail.com>
21851
21852 * string/bug-strstr1.c: New file.
21853 * string/Makefile: Add rules to build and run bug-strstr1.
21854
5fb308bc
EB
218552010-10-05 Eric Blake <eblake@redhat.com>
21856
21857 [BZ #12092]
21858 * string/str-two-way.h (two_way_long_needle): Always clear memory
21859 when skipping input due to the shift table.
21860
45db99c7
UD
218612010-10-03 Ulrich Drepper <drepper@gmail.com>
21862
3b111893
UD
21863 [BZ #12005]
21864 * malloc/mcheck.c: Handle large requests.
21865
45db99c7
UD
21866 [BZ #12077]
21867 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
21868 for strncmp and strncasecmp.
21869 * string/stratcliff.c: Add tests for strcmp and strncmp.
21870 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
21871
cf7a1eb8
NI
218722010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21873
21874 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
21875 __set_fpscr.
21876
6484ba5e
AJ
218772010-09-30 Andreas Jaeger <aj@suse.de>
21878
21879 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
21880 (CGROUP_SUPER_MAGIC): Define.
21881 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21882 Handle btrfs and cgroup file systems.
21883 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21884 Likewise.
21885
91c42559
LM
218862010-09-27 Luis Machado <luisgpm@br.ibm.com>
21887
21888 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
21889 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
21890
87a97932
AK
218912010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21892
21893 [BZ #12067]
21894 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
21895 trying to locate the ELF header.
21896
c21cc9bc
AS
218972010-09-27 Andreas Schwab <schwab@redhat.com>
21898
21899 [BZ #11611]
21900 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
21901 Mask out sign-bit copies when constructing f_fsid.
21902
315970f6
PB
219032010-09-24 Petr Baudis <pasky@suse.cz>
21904
21905 * debug/stack_chk_fail_local.c: Add missing licence exception.
21906 * debug/warning-nop.c: Likewise.
21907
1ac7a2c7
JM
219082010-09-15 Joseph Myers <joseph@codesourcery.com>
21909
21910 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
21911 implementing getdents64 using getdents syscall, set d_type if
21912 __ASSUME_GETDENTS32_D_TYPE.
21913
56801c50
AS
219142010-09-16 Andreas Schwab <schwab@redhat.com>
21915
21916 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
21917 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
21918
dda51327
UD
219192010-09-21 Ulrich Drepper <drepper@redhat.com>
21920
21921 [BZ #12037]
21922 * posix/unistd.h: Undo change of feature selection for ftruncate from
21923 2010-01-11.
21924
8ffcee4a
UD
219252010-09-20 Ulrich Drepper <drepper@redhat.com>
21926
a545ecd9 21927 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
21928 detection.
21929
e24f0a8b
AS
219302010-09-20 Andreas Schwab <schwab@redhat.com>
21931
21932 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
21933 fanotify_mark.
21934 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
21935
7291c56f
AS
219362010-09-14 Andreas Schwab <schwab@redhat.com>
21937
21938 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
21939 variables after CHECK_SP call.
21940 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
21941
bc5fb037
AS
219422010-09-13 Andreas Schwab <schwab@redhat.com>
21943 Ulrich Drepper <drepper@redhat.com>
21944
21945 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
21946 re-relocationg ld.so.
21947 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
21948 _dl_init_paths call.
21949 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
21950 here anymore.
21951
e66e7419
UD
219522010-09-14 Ulrich Drepper <drepper@redhat.com>
21953
21954 * resolv/res_init.c (__res_vinit): Count the default server we added.
21955
c044aa75
CLT
219562010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
21957 Ulrich Drepper <drepper@redhat.com>
21958
21959 [BZ #11968]
21960 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
21961 (____longjmp_chk): Use %ebx for saving value across system call.
21962 Add unwind info.
21963
32cf4069
AS
219642010-09-06 Andreas Schwab <schwab@redhat.com>
21965
21966 * manual/Makefile: Don't mix pattern rules with normal rules.
21967
817328ee
AS
219682010-09-05 Andreas Schwab <schwab@linux-m68k.org>
21969
21970 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
21971 operation.
21972 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
21973 * libio/iofopncook.c (_IO_cookie_init): Likewise.
21974 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
21975 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
21976 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21977 Likewise.
21978
29fddf61
UD
219792010-09-04 Ulrich Drepper <drepper@redhat.com>
21980
21981 [BZ #11979]
21982 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
21983 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
21984
0959ffc9
UD
219852010-09-02 Ulrich Drepper <drepper@redhat.com>
21986
21987 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
21988 * sysdeps/x86_64/addmul_1.S: Likewise.
21989 * sysdeps/x86_64/lshift.S: Likewise.
21990 * sysdeps/x86_64/mul_1.S: Likewise.
21991 * sysdeps/x86_64/rshift.S: Likewise.
21992 * sysdeps/x86_64/sub_n.S: Likewise.
21993 * sysdeps/x86_64/submul_1.S: Likewise.
21994
ece29840
ST
219952010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
21996
0959ffc9
UD
21997 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
21998 Define __sched_param instead of SCHED_* and sched_param when
ece29840 21999 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 22000 * bits/sched.h [__need_schedparam]
ece29840 22001 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
22002 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
22003 (__defined_schedparam): Define to 1.
ece29840
ST
22004 (__sched_param): New structure, identical to sched_param.
22005 (__need_schedparam): Undefine.
22006
e53a31fe
MF
220072010-08-31 Mike Frysinger <vapier@gentoo.org>
22008
fdc0c10d
MF
22009 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
22010 (epoll_create1): Declare.
22011
e53a31fe
MF
22012 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
22013
a726d796
AS
220142010-08-31 Andreas Schwab <schwab@redhat.com>
22015
22016 [BZ #7066]
22017 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
22018 shifting retval into place.
22019
2f3e3dc7
UD
220202010-09-01 Ulrich Drepper <drepper@redhat.com>
22021
f2933da9
UD
22022 * nis/rpcsvc/nis.h: Update copyright notice.
22023 * nis/rpcsvc/nis.x: Likewise.
22024 * nis/rpcsvc/nis_callback.h: Likewise.
22025 * nis/rpcsvc/nis_callback.x: Likewise.
22026 * nis/rpcsvc/nis_object.x: Likewise.
22027 * nis/rpcsvc/nis_tags.h: Likewise.
22028 * nis/rpcsvc/yp.h: Likewise.
22029 * nis/rpcsvc/yp.x: Likewise.
22030 * nis/rpcsvc/ypupd.h: Likewise.
22031 * nis/yp_xdr.c: Likewise.
22032 * nis/ypupdate_xdr.c: Likewise.
22033
2f3e3dc7
UD
22034 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
22035 mainly the body of pmap_getport. Add parameters to specify timeouts.
22036 (pmap_getport): Use __libc_rpc_getport.
22037 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
22038 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
22039 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
22040
f3dcc2f9
AS
220412010-08-31 Andreas Schwab <schwab@linux-m68k.org>
22042
22043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
22044 fanotify_mark.
22045
6d34eb5b
RM
220462010-08-27 Roland McGrath <roland@redhat.com>
22047
22048 * sysdeps/i386/i686/multiarch/Makefile
22049 (CFLAGS-varshift.c): New variable.
22050
9ea3de11
UD
220512010-08-27 Ulrich Drepper <drepper@redhat.com>
22052
c96d23fc
UD
22053 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
22054 * sysdeps/i386/i686/multiarch/varshift.c: New file.
22055
9ea3de11
UD
22056 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
22057
22058 * sysdeps/x86_64/strlen.S: Minimal code improvement.
22059
623aac7f
L
220602010-08-26 H.J. Lu <hongjiu.lu@intel.com>
22061
22062 * sysdeps/x86_64/strlen.S: Unroll the loop.
22063 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22064 strlen-sse2 strlen-sse2-bsf.
22065 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
22066 __strlen_no_bsf if bit_Slow_BSF is set.
22067 (__strlen_sse42): Removed.
22068 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
22069 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
22070
8b2b7715
RM
220712010-08-25 Roland McGrath <roland@redhat.com>
22072
22073 * sysdeps/x86_64/multiarch/varshift.S: File removed.
22074 * sysdeps/x86_64/multiarch/varshift.c: New file.
22075 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
22076 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
22077 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
22078 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22079
e73015f2
L
220802010-08-25 H.J. Lu <hongjiu.lu@intel.com>
22081
22082 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22083 strlen-sse2 strlen-sse2-bsf.
22084 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
22085 __strlen_sse2_bsf if bit_Slow_BSF is unset.
22086 (__strlen_sse2): Removed.
22087 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
22088 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
22089 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22090 bit_Slow_BSF for Atom.
22091 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
22092 (index_Slow_BSF): Define.
22093 (HAS_SLOW_BSF): Define.
22094
df24a73e
UD
220952010-08-25 Ulrich Drepper <drepper@redhat.com>
22096
22097 [BZ #10851]
22098 * resolv/res_init.c (__res_vinit): When no server address at all
22099 is given default to loopback.
22100
f2ac4868
RM
221012010-08-24 Roland McGrath <roland@redhat.com>
22102
09055553
RM
22103 * configure.in: Remove config-name.h generation.
22104 * configure: Regenerated.
22105 * config-name.in: File removed.
22106 * scripts/config-uname.sh: New file.
22107 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
22108 ($(objdir)config-name.h): New target.
22109
f2ac4868
RM
22110 * sunrpc/rpc_parse.h: Avoid nested comment.
22111
73f27d5e
RH
221122010-08-24 Richard Henderson <rth@redhat.com>
22113 Ulrich Drepper <drepper@redhat.com>
22114 H.J. Lu <hongjiu.lu@intel.com>
22115
22116 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
22117 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
22118 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
22119 Replace _mm_srli_si128 with __m128i_shift_right. Replace
22120 _mm_alignr_epi8 with _mm_loadu_si128.
22121 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
22122 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
22123 (__m128i_shift_right): Removed.
22124 * sysdeps/i386/i686/multiarch/varshift.h: New file.
22125 * sysdeps/i386/i686/multiarch/varshift.S: New file.
22126 * sysdeps/x86_64/multiarch/varshift.h: New file.
22127 * sysdeps/x86_64/multiarch/varshift.S: New file.
22128
84b9230c
MF
221292010-08-21 Mike Frysinger <vapier@gentoo.org>
22130
22131 * configure.in: Move assembler checks to before sysdep dir checking.
22132
9bbd0ddc
PB
221332010-08-20 Petr Baudis <pasky@suse.cz>
22134
22135 * LICENSES: Sync the sunrpc license.
22136
9da4bb31
UD
221372010-08-19 Ulrich Drepper <drepper@redhat.com>
22138
a7ab6ec8
UD
22139 * sunrpc/auth_des.c: Update copyright notice once again.
22140 * sunrpc/auth_none.c: Likewise.
22141 * sunrpc/auth_unix.c: Likewise.
22142 * sunrpc/authdes_prot.c: Likewise.
22143 * sunrpc/authuxprot.c: Likewise.
22144 * sunrpc/bindrsvprt.c: Likewise.
22145 * sunrpc/clnt_gen.c: Likewise.
22146 * sunrpc/clnt_perr.c: Likewise.
22147 * sunrpc/clnt_raw.c: Likewise.
22148 * sunrpc/clnt_simp.c: Likewise.
22149 * sunrpc/clnt_tcp.c: Likewise.
22150 * sunrpc/clnt_udp.c: Likewise.
22151 * sunrpc/clnt_unix.c: Likewise.
22152 * sunrpc/des_crypt.c: Likewise.
22153 * sunrpc/des_soft.c: Likewise.
22154 * sunrpc/get_myaddr.c: Likewise.
22155 * sunrpc/getrpcport.c: Likewise.
22156 * sunrpc/key_call.c: Likewise.
22157 * sunrpc/key_prot.c: Likewise.
22158 * sunrpc/openchild.c: Likewise.
22159 * sunrpc/pm_getmaps.c: Likewise.
22160 * sunrpc/pm_getport.c: Likewise.
22161 * sunrpc/pmap_clnt.c: Likewise.
22162 * sunrpc/pmap_prot.c: Likewise.
22163 * sunrpc/pmap_prot2.c: Likewise.
22164 * sunrpc/pmap_rmt.c: Likewise.
22165 * sunrpc/rpc/auth.h: Likewise.
22166 * sunrpc/rpc/auth_unix.h: Likewise.
22167 * sunrpc/rpc/clnt.h: Likewise.
22168 * sunrpc/rpc/des_crypt.h: Likewise.
22169 * sunrpc/rpc/key_prot.h: Likewise.
22170 * sunrpc/rpc/netdb.h: Likewise.
22171 * sunrpc/rpc/pmap_clnt.h: Likewise.
22172 * sunrpc/rpc/pmap_prot.h: Likewise.
22173 * sunrpc/rpc/pmap_rmt.h: Likewise.
22174 * sunrpc/rpc/rpc.h: Likewise.
22175 * sunrpc/rpc/rpc_des.h: Likewise.
22176 * sunrpc/rpc/rpc_msg.h: Likewise.
22177 * sunrpc/rpc/svc.h: Likewise.
22178 * sunrpc/rpc/svc_auth.h: Likewise.
22179 * sunrpc/rpc/types.h: Likewise.
22180 * sunrpc/rpc/xdr.h: Likewise.
22181 * sunrpc/rpc_clntout.c: Likewise.
22182 * sunrpc/rpc_cmsg.c: Likewise.
22183 * sunrpc/rpc_common.c: Likewise.
22184 * sunrpc/rpc_cout.c: Likewise.
22185 * sunrpc/rpc_dtable.c: Likewise.
22186 * sunrpc/rpc_hout.c: Likewise.
22187 * sunrpc/rpc_main.c: Likewise.
22188 * sunrpc/rpc_parse.c: Likewise.
22189 * sunrpc/rpc_parse.h: Likewise.
22190 * sunrpc/rpc_prot.c: Likewise.
22191 * sunrpc/rpc_sample.c: Likewise.
22192 * sunrpc/rpc_scan.c: Likewise.
22193 * sunrpc/rpc_scan.h: Likewise.
22194 * sunrpc/rpc_svcout.c: Likewise.
22195 * sunrpc/rpc_tblout.c: Likewise.
22196 * sunrpc/rpc_util.c: Likewise.
22197 * sunrpc/rpc_util.h: Likewise.
22198 * sunrpc/rpcinfo.c: Likewise.
22199 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
22200 * sunrpc/rpcsvc/key_prot.x: Likewise.
22201 * sunrpc/rpcsvc/klm_prot.x: Likewise.
22202 * sunrpc/rpcsvc/mount.x: Likewise.
22203 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
22204 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
22205 * sunrpc/rpcsvc/rex.x: Likewise.
22206 * sunrpc/rpcsvc/rstat.x: Likewise.
22207 * sunrpc/rpcsvc/rusers.x: Likewise.
22208 * sunrpc/rpcsvc/sm_inter.x: Likewise.
22209 * sunrpc/rpcsvc/spray.x: Likewise.
22210 * sunrpc/rpcsvc/yppasswd.x: Likewise.
22211 * sunrpc/rtime.c: Likewise.
22212 * sunrpc/svc.c: Likewise.
22213 * sunrpc/svc_auth.c: Likewise.
22214 * sunrpc/svc_authux.c: Likewise.
22215 * sunrpc/svc_raw.c: Likewise.
22216 * sunrpc/svc_run.c: Likewise.
22217 * sunrpc/svc_simple.c: Likewise.
22218 * sunrpc/svc_tcp.c: Likewise.
22219 * sunrpc/svc_udp.c: Likewise.
22220 * sunrpc/svc_unix.c: Likewise.
22221 * sunrpc/svcauth_des.c: Likewise.
22222 * sunrpc/xcrypt.c: Likewise.
22223 * sunrpc/xdr.c: Likewise.
22224 * sunrpc/xdr_array.c: Likewise.
22225 * sunrpc/xdr_float.c: Likewise.
22226 * sunrpc/xdr_mem.c: Likewise.
22227 * sunrpc/xdr_rec.c: Likewise.
22228 * sunrpc/xdr_ref.c: Likewise.
22229 * sunrpc/xdr_sizeof.c: Likewise.
22230 * sunrpc/xdr_stdio.c: Likewise.
22231
9da4bb31
UD
22232 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
22233 handling.
22234
bdaa77bc
AS
222352010-08-19 Andreas Schwab <schwab@redhat.com>
22236
22237 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
22238
fe2f79db
LM
222392010-08-19 Luis Machado <luisgpm@br.ibm.com>
22240
22241 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
22242 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
22243 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
22244 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
22245 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
22246 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
22247 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
22248 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
22249 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
22250 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
22251 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
22252 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
22253 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
22254 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
22255
b9b42ee0
AB
222562010-07-26 Anton Blanchard <anton@samba.org>
22257
22258 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
22259 * malloc/arena.c (heap_trim): Likewise.
22260
1c06ba31
UD
222612010-08-16 Ulrich Drepper <drepper@redhat.com>
22262
22263 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
22264 here. Not...
22265 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
22266 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
22267
f8392f40
L
222682010-08-12 H.J. Lu <hongjiu.lu@intel.com>
22269
22270 * sysdeps/i386/elf/Makefile: New file.
22271
3162f12e
AS
222722010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22273
22274 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
22275 from fanotify_init.
22276 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
22277 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22278
28c90b2c
UD
222792010-08-15 Ulrich Drepper <drepper@redhat.com>
22280
22281 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
22282 of strncasecmp_l.
1feccb6c 22283 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 22284
ca6bb004
UD
222852010-08-14 Ulrich Drepper <drepper@redhat.com>
22286
e9f82e0d
UD
22287 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22288 strncase_l-nonascii.
22289 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22290 Add strncase_l-ssse3.
22291 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
22292 * sysdeps/x86_64/strcmp.S: Likewise.
22293 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
22294 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
22295 * sysdeps/x86_64/strncase.S: New file.
22296 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
22297 * sysdeps/x86_64/strncase_l.S: New file.
22298 * string/Makefile (strop-tests): Add strncasecmp.
22299 * string/test-strncasecmp.c: New file.
22300
22301 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
22302 warning.
22303
ca6bb004
UD
22304 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
22305 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
22306
052fa7b3
AS
223072010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22308
22309 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
22310
962dba78
UD
223112010-08-12 Ulrich Drepper <drepper@redhat.com>
22312
22313 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
22314 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
22315 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
22316
bebff237
AM
223172010-05-01 Alan Modra <amodra@gmail.com>
22318
22319 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
22320 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
22321 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
22322 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
22323 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
22324 tidying. Don't tail-call __sigjmp_save for static lib.
22325 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
22326 save location.
22327 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
22328 (CALL_MCOUNT): Add eh info, and nop after bl.
22329 (TAIL_CALL_SYSCALL_ERROR): New macro.
22330 (PSEUDO_RET): Use it.
22331 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22332 Correct save location of integer regs and cr.
22333 (_dl_profile_resolve): Correct cr save location. Delete nops
22334 after bl when SHARED. Reduce cfi size a little by better
22335 placement of cfi directives.
22336 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
22337 make a stack frame. Instead use parm save area as a temp.
22338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
22339 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
22340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22341 Don't make a stack frame for parent, use parm save area.
22342 Increase child stack frame to 112 bytes. Don't save unused reg,
22343 and adjust reg usage. Set up cfi on error recovery and
22344 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
22345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22346 (__makecontext): Add dummy nop after jump to exit.
22347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
22348 Use correct parm save area and cr save, reduce stack frame.
22349 Correct cfi for possible PSEUDO_RET frame setup.
22350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
22351 Branch to local label emitted by PSEUDO_RET rather than
22352 __syscall_error.
22353
02637374
AS
223542010-08-12 Andreas Schwab <schwab@redhat.com>
22355
22356 [BZ #11904]
22357 * locale/programs/locale.c (print_assignment): New function.
22358 (show_locale_vars): Use it.
22359
c3e2f19b
UD
223602010-08-11 Ulrich Drepper <drepper@redhat.com>
22361
3cdaa6ad
UD
22362 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
22363 field.
22364 (struct statfs64): Likewise.
22365 (_STATFS_F_FLAGS): Define.
22366 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
22367 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22368 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
22369 (ST_VALID): Define locally.
22370 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
22371 __statvfs_getflags, use the provided value.
22372 * sysdeps/unix/sysv/linux/kernel-features.h: Define
22373 __ASSUME_STATFS_F_FLAGS.
22374
754f7da3
UD
22375 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
22376
10b3bedc
UD
22377 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
22378 Add sys/fanotify.h.
22379 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
22380 fanotify_mask for GLIBC_2.13.
22381 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
22382 fanotify_init and fanotify_mark.
22383 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22384 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
22385
c08fb0d7
UD
22386 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
22387 Add prlimit.
22388 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
22389 prlimit64 for GLIBC_2.13.
22390 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
22391 prlimit64.
22392 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
22393 syscall.
22394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
22395 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22396 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
22397 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
22398 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
22399 add prlimit alias.
22400 * sysdeps/unix/sysv/linux/prlimit.c: New file.
22401
15bac72b
UD
22402 [BZ #11903]
22403 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
22404 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
22405
c3e2f19b
UD
22406 * nss/Makefile: Add rules to build and run tst-nss-test1.
22407 * shlib-versions: Add entry for libnss_test1.
22408 * nss/nss_test1.c: New file.
22409 * nss/tst-nss-test1.c: New file.
22410
22411 * nss/nsswitch.c (__nss_database_custom): Define new variable.
22412 (__nss_configure_lookup): Set appropriate entry in
22413 __nss_configure_lookup to true.
22414 * nss/nsswitch.h: Define enum with indeces of databases in
22415 databases and __nss_database_custom arrays. Declare
22416 __nss_database_custom.
22417 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
22418 to avoid using nscd when custom rules are installed.
22419 * nss/getXXbyYY_r.c: Likewise.
22420 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22421
22422 * nss/nss_files/files-parse.c: Whitespace fixes.
22423
f15ce4d8
UD
224242010-08-09 Ulrich Drepper <drepper@redhat.com>
22425
22426 [BZ #11883]
22427 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
22428 * posix/fnmatch_loop.c: Likewise.
22429
d22e4cc9
AK
224302010-07-17 Andi Kleen <ak@linux.intel.com>
22431
22432 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
22433 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
22434 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
22435 * Versions.def [GLIBC_2.13]: Add.
22436
805bc17d
UD
224372010-08-06 Ulrich Drepper <drepper@redhat.com>
22438
22439 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22440 Also fail if tpwd after pwuid call is NULL.
22441
5a42321d
ST
224422010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
22443
22444 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
22445 when converting to ms.
22446
fd3ebeda
ST
224472010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22448
22449 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
22450 EOPNOTSUPP errors with ENOTTY.
22451 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
22452 EOPNOTSUPP errors with ENOTTY.
22453
73507d3a
UD
224542010-07-31 Ulrich Drepper <drepper@redhat.com>
22455
22456 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22457 Add strcasecmp_l-ssse3.
22458 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
22459 strcasecmp.
22460 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
22461 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
22462 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
22463
fe36dd02
UD
224642010-07-30 Ulrich Drepper <drepper@redhat.com>
22465
66f6765a
UD
22466 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
22467
42e08a54
UD
22468 * string/Makefile (strop-tests): Add strcasecmp.
22469 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22470 strcasecmp_l-nonascii.
22471 (gen-as-const-headers): Add locale-defines.sym.
22472 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
22473 * sysdeps/x86_64/strcasecmp.S: New file.
22474 * sysdeps/x86_64/strcasecmp_l.S: New file.
22475 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
22476 * sysdeps/x86_64/locale-defines.sym: New file.
22477 * string/test-strcasecmp.c: New file.
22478
fe36dd02
UD
22479 * string/test-strcasestr.c: Test both ends of the range of characters.
22480 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
22481
48cbc0d6
RM
224822010-07-29 Roland McGrath <roland@redhat.com>
22483
76e6d6bc 22484 [BZ #11856]
48cbc0d6
RM
22485 * manual/locale.texi (Yes-or-No Questions): Fix example code.
22486
880113d9
UD
224872010-07-27 Ulrich Drepper <drepper@redhat.com>
22488
22489 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
22490 for ld.so.
22491
deb9cabb
AS
224922010-07-27 Andreas Schwab <schwab@redhat.com>
22493
22494 * manual/memory.texi (Malloc Tunable Parameters): Document
22495 M_PERTURB.
22496
1c7570ff
RM
224972010-07-26 Roland McGrath <roland@redhat.com>
22498
22499 [BZ #11840]
22500 * configure.in (-fgnu89-inline check): Set and substitute
22501 gnu89_inline, not libc_cv_gnu89_inline.
22502 * configure: Regenerated.
22503 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
22504
24fb0f88
UD
225052010-07-26 Ulrich Drepper <drepper@redhat.com>
22506
22507 * string/test-strnlen.c: New file.
22508 * string/Makefile (strop-tests): Add strnlen.
22509 * string/tester.c (test_strnlen): Add a few more test cases.
22510 * string/tst-strlen.c: Better error reporting.
22511
22512 * sysdeps/x86_64/strnlen.S: New file.
22513
8e96b93a
UD
225142010-07-24 Ulrich Drepper <drepper@redhat.com>
22515
22516 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
22517 lower-latency instructions.
22518
dbc676d4
UD
225192010-07-23 Ulrich Drepper <drepper@redhat.com>
22520
22521 * string/test-strcasestr.c: New file.
22522 * string/test-strstr.c: New file.
22523 * string/Makefile (strop-tests): Add strstr and strcasestr.
22524 * string/str-two-way.h: Don't undefine MAX.
22525 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
22526
f6a31e0e
AS
225272010-07-21 Andreas Schwab <schwab@redhat.com>
22528
22529 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22530 strcasestr-nonascii.
22531 (CFLAGS-strcasestr-nonascii.c): Define.
22532 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
22533 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
22534 Remove unused attribute.
22535
5dbc3b6c
RM
225362010-07-20 Roland McGrath <roland@redhat.com>
22537
22538 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
22539 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
22540 ld.so.cache was broken. With it, there is no way to disable dsocaps
22541 like LD_HWCAP_MASK can disable hwcaps.
22542
23d101d8
EPM
225432010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22544
22545 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
22546
cc9f2e47
UD
225472010-07-16 Ulrich Drepper <drepper@redhat.com>
22548
22549 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
22550 call in strcasestr.
22551 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
22552 __strcasestr_sse42_nonascii.
22553 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
22554 strcasestr-nonascii.c.
22555 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
22556
77c1b069
LM
225572010-06-15 Luis Machado <luisgpm@br.ibm.com>
22558
22559 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
22560 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
22561 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
22562 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
22563
440566c3
UD
225642010-07-09 Ulrich Drepper <drepper@redhat.com>
22565
22566 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
22567 fcntl.
22568
5be9d05d
AS
225692010-07-06 Andreas Schwab <schwab@redhat.com>
22570
c30b7ee2 22571 [BZ #11577]
5be9d05d
AS
22572 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
22573 dl_signal_cerror.
22574
8a492a67
UD
225752010-07-06 Ulrich Drepper <drepper@redhat.com>
22576
22577 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
22578 _PC_PIPE_BUF using F_GETPIPE_SZ.
22579
713df3d5
RM
225802010-07-05 Roland McGrath <roland@redhat.com>
22581
22582 * manual/arith.texi (Rounding Functions): Fix rint description
22583 implicit in round description.
22584
702e8f14
UD
225852010-07-02 Ulrich Drepper <drepper@redhat.com>
22586
22587 * elf/Makefile: Fix linking for a few tests to make recent linker
22588 happy.
22589
52ed8be9
AS
225902010-06-30 Andreas Schwab <schwab@redhat.com>
22591
22592 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
22593 $(common-objpfx)libc_nonshared.a.
22594
f47c9a11
LM
225952010-06-21 Luis Machado <luisgpm@br.ibm.com>
22596
22597 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
22598 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
22599 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22600 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22601 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
22602 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
22603 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22604 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
22606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
22607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
22608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
22610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
22612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
22613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
22614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
22615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
22617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
22619 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
22620 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
22621 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
22622 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
22623 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
22624 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
22625 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
22626 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
22627 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
22628 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
22629 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
22630 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
22631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
22632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
22633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
22634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
22635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
22636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
22637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
22638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
22639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
22640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
22641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
22642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
22643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
22644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
22645
6fb8cbcb
L
226462010-06-25 H.J. Lu <hongjiu.lu@intel.com>
22647
22648 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
22649 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
22650 * string/memmove.c (memmove): Renamed to ...
22651 (MEMMOVE): ...this. Default to memmove.
22652 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
22653 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
22654 (END_CHK): Define.
22655 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22656 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
22657 mempcpy-ssse3-back memmove-ssse3-back.
22658 * sysdeps/x86_64/multiarch/bcopy.S: New file .
22659 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
22660 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
22661 * sysdeps/x86_64/multiarch/memcpy.S: New file.
22662 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
22663 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
22664 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
22665 * sysdeps/x86_64/multiarch/memmove.c: New file.
22666 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
22667 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
22668 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
22669 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
22670 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
22671 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
22672 Define.
22673 (index_Fast_Copy_Backward): Define.
22674 (HAS_ARCH_FEATURE): Define.
22675 (HAS_FAST_REP_STRING): Define.
22676 (HAS_FAST_COPY_BACKWARD): Define.
22677
4e733bac 226782010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
22679
22680 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22681 Restore proper fallback handling.
22682
63c4ed22
UD
226832010-06-19 Ulrich Drepper <drepper@redhat.com>
22684
ac2b484c
UD
22685 [BZ #11701]
22686 * posix/group_member.c (__group_member): Correct checking loop.
22687
63c4ed22
UD
22688 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
22689 OOM in getpwuid_r correctly. Return error number when the caller
22690 should return, otherwise -1.
22691 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
22692 call returning > 0 value.
22693 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
22694
765ade4b
AS
226952010-06-07 Andreas Schwab <schwab@redhat.com>
22696
22697 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
22698 libc_nonshared.a from targets in modules-names.
22699
80da2e09
KS
227002010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
22701
22702 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
22703 requires it.
22704
158db122
LM
227052010-06-10 Luis Machado <luisgpm@br.ibm.com>
22706
22707 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
22708 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
22709 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
22710 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
22711
caa78cf8
AS
227122010-06-02 Andreas Schwab <schwab@redhat.com>
22713
22714 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
22715
b2ef2c01
UD
227162010-06-14 Ulrich Drepper <drepper@redhat.com>
22717
22718 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
22719 and F_GETPIPE_SZ.
22720 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
22721 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22722 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22723 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22724 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22725 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
22726
fbd643b6
RM
227272010-06-14 Roland McGrath <roland@redhat.com>
22728
22729 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
22730
f32f2869
JJ
227312010-06-07 Jakub Jelinek <jakub@redhat.com>
22732
22733 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
22734 __REDIRECT followed by __THROW.
22735 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
22736 * posix/getopt.h (getopt): Likewise.
22737
2a50c078
EPM
227382010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22739
22740 * hurd/lookup-at.c (__file_name_lookup_at): Accept
22741 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
22742 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
22743 in AT_FLAGS.
22744 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
22745 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
22746
eb5ad2eb
LM
227472010-05-28 Luis Machado <luisgpm@br.ibm.com>
22748
22749 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
22750
3c88fe1e
L
227512010-05-26 H.J. Lu <hongjiu.lu@intel.com>
22752
22753 [BZ #11640]
22754 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22755 Properly check family and model.
22756
d2f73151
TY
227572010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
22758
22759 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
22760
ebd2e13d
LM
227612010-05-24 Luis Machado <luisgpm@br.ibm.com>
22762
22763 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
22764
b32b8b45
UD
227652010-05-21 Ulrich Drepper <drepper@redhat.com>
22766
22767 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
22768 symbol reference.
22769
9acbe24d
AS
227702010-05-19 Andreas Schwab <schwab@redhat.com>
22771
22772 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
22773 symbol reference.
22774
f0ccf6ea
AS
227752010-05-21 Andreas Schwab <schwab@redhat.com>
22776
3d04ff3a
AS
22777 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
22778 and internal_recvmmsg.
22779 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
22780 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
22781 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
22782 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
22783
f0ccf6ea
AS
22784 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
22785 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
22786 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
22787
5b08ac57
AS
227882010-05-20 Andreas Schwab <schwab@redhat.com>
22789
22790 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
22791
4828935d
LM
227922010-05-17 Luis Machado <luisgpm@br.ibm.com>
22793
22794 POWER7 optimizations.
22795 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
22796 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
22797
373d545e
UD
227982010-05-19 Ulrich Drepper <drepper@redhat.com>
22799
22800 * version.h: Update for 2.13 development version.
22801
21a2b1ae
AS
228022010-05-12 Andrew Stubbs <ams@codesourcery.com>
22803
22804 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
22805 exceptions. Return 0.
22806
3f7dcb2b
RM
228072010-05-07 Roland McGrath <roland@redhat.com>
22808
22809 * elf/ldconfig.c (main): Add a const.
22810
5f24d53a 228112010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 22812
a160f8d8
UD
22813 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
22814 (args_options): Add no-idn option.
22815 (ahosts_keys_int): Add idn_flags to ai_flags.
22816 (parse_option): Handle 'i' option to clear idn_flags.
22817
5f24d53a
UD
22818 * malloc/malloc.c (_int_free): Possible race in the most recently
22819 added check. Only act on the data if no current modification
22820 happened.
265bb1ce
UD
22821
22822See ChangeLog.17 for earlier changes.