]> sourceware.org Git - glibc.git/blame - ChangeLog
Fix typo for ayc_PE
[glibc.git] / ChangeLog
CommitLineData
7e1be741
L
12012-11-21 H.J. Lu <hongjiu.lu@intel.com>
2
6bfea974
L
3 [BZ #14865]
4 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
5 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
6 -z nodlopen, -z initfirst and -z execstack support.
7 * configure: Regenerated.
8
7e1be741
L
9 * elf/elf.h (DF_1_NODIRECT): New macro.
10 (DF_1_IGNMULDEF): Likewise.
11 (DF_1_NOKSYMS): Likewise.
12 (DF_1_NOHDR): Likewise.
13 (DF_1_EDITED): Likewise.
14 (DF_1_NORELOC): Likewise.
15 (DF_1_SYMINTPOSE): Likewise.
16 (DF_1_GLOBAUDIT): Likewise.
17 (DF_1_SINGLETON): Likewise.
18 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
19 DT_1_SUPPORTED_MASK bits.
20 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
21
105ce2ce
CD
222012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
23
24 * sysdeps/unix/make-syscalls.sh: Document prefixes.
25
123be9de
TS
262012-11-20 Thomas Schwinge <thomas@codesourcery.com>
27
d072f3f7
TS
28 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
29 macro.
30
123be9de
TS
31 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
32 (sendmmsg): Move declarations...
33 * socket/sys/socket.h: ... here.
34 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
35 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
36 include it from...
37 * socket/recvmmsg.c: ... this new file.
38 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
39 (sendmmsg): Rename to __sendmmsg, create weak alias and make
40 definition of __sendmmsg hidden.
41 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
42 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
43 Move ENOSYS stub into and include it from...
44 * socket/sendmmsg.c: ... this new file.
45 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
46 (sysdep_routines): Move recvmmsg and sendmmsg...
47 * socket/Makefile (routines): ... here.
48 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
49 (GLIBC_PRIVATE): Add __sendmmsg.
50 * include/sys/socket.h (__sendmmsg): Add declarations.
51 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
52 sendmmsg.
53
cf9a5d18
JM
542012-11-20 Joseph Myers <joseph@codesourcery.com>
55
56 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
57 variable I1 with __attribute__ ((unused)).
58 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
59
ecd4caf9
JM
602012-11-19 Joseph Myers <joseph@codesourcery.com>
61
be14d48f
JM
62 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
63 DUMMY variables with __attribute__ ((unused)).
64
ecd4caf9
JM
65 * bits/byteswap.h: Include <bits/types.h>.
66 (__bswap_64): Use __uint64_t instead of unsigned long long int.
67
986cab95
PT
682012-11-19 Pino Toscano <toscano.pino@tiscali.it>
69
70 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
71 string_t. Do not manually set errno.
72 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
73 length with __strnlen. Make sure to both set errno and return it on
74 failure.
75
6d33cc9d
DM
762012-11-19 David S. Miller <davem@davemloft.net>
77
78 With help from Joseph Myers.
79 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
80 very large arguments properly.
81 * math/libm-test.inc (atan_test): New tests.
82 (atan2_test): New tests.
83 * sysdeps/sparc/fpu/libm-test-ulps: Update.
84 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
85
ee663277
JM
862012-11-19 Joseph Myers <joseph@codesourcery.com>
87
877f2d8e
JM
88 [BZ #14856]
89 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
90 Define to 3.
91
116fc08a
JM
92 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
93 [POSIX] (EADDRNOTAVAIL): Likewise.
94 [POSIX] (EAFNOSUPPORT): Likewise.
95 [POSIX] (EALREADY): Likewise.
96 [POSIX] (ECONNABORTED): Likewise.
97 [POSIX] (ECONNREFUSED): Likewise.
98 [POSIX] (ECONNRESET): Likewise.
99 [POSIX] (EDESTADDRREQ): Likewise.
100 [POSIX] (EDQUOT): Likewise.
101 [POSIX] (EHOSTUNREACH): Likewise.
102 [POSIX] (EIDRM): Likewise.
103 [POSIX] (EISCONN): Likewise.
104 [POSIX] (ELOOP): Likewise.
105 [POSIX] (EMULTIHOP): Likewise.
106 [POSIX] (ENETDOWN): Likewise.
107 [POSIX] (ENETUNREACH): Likewise.
108 [POSIX] (ENOBUFS): Likewise.
109 [POSIX] (ENODATA): Likewise.
110 [POSIX] (ENOLINK): Likewise.
111 [POSIX] (ENOMSG): Likewise.
112 [POSIX] (ENOPROTOOPT): Likewise.
113 [POSIX] (ENOSR): Likewise.
114 [POSIX] (ENOSTR): Likewise.
115 [POSIX] (ENOTCONN): Likewise.
116 [POSIX] (ENOTSOCK): Likewise.
117 [POSIX] (EOPNOTSUPP): Likewise.
118 [POSIX] (EOVERFLOW): Likewise.
119 [POSIX] (EPROTO): Likewise.
120 [POSIX] (EPROTONOSUPPORT): Likewise.
121 [POSIX] (EPROTOTYPE): Likewise.
122 [POSIX] (ESTALE): Likewise.
123 [POSIX] (ETIME): Likewise.
124 [POSIX] (ETXTBSY): Likewise.
125 [POSIX] (EWOULDBLOCK): Likewise.
126 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
127 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
128 [POSIX] (SEEK_CUR): Likewise.
129 [POSIX] (SEEK_END): Likewise.
130 [POSIX || UNIX98] (mode_t): Do not require.
131 [POSIX] (off_t): Likewise.
132 [POSIX] (pid_t): Likewise.
133 [POSIX] (sys/stat.h): Do not allow header.
134 [POSIX] (unistd.h): Likewise.
135 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
136 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
137 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
138 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
139 require.
140 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
141 sigevent): Specify elements.
142 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
143 entry.
144 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
145 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
146
a483863f
JM
147 * conform/data/cpio.h-data [POSIX]: Disable whole file.
148 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
149 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
150 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
151 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
152 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
153 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
154 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
155 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
156 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
157 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
158 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
159 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
160 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
161 Likewise.
162 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
163 Likewise.
164 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
165 Likewise.
166 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
167 Likewise.
168 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
169 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
170 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
171 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
172 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
173 Specify lower bound on value.
174 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
175 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
176 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
177 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
178 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
179 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
180 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
181 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
182 value.
183 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
184 as optional.
185 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
186 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
187 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
188 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
189 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
190 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
191 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
192 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
193 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
194 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
195 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
196 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
197 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
198 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
199 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
200 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
201 entry.
202 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
203 optional.
204 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
205 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
206 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
207 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
208 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
209 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
210 Likewise.
211 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
212 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
213 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
214 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
215 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
216 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
217 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
218 as optional.
219 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
220 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
221 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
222 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
223 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
224 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
225 specify as optional.
226 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
227 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
228 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
229 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
230 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
231 [XPG3] (NL_LANGMAX): Likewise.
232 [POSIX || XPG3] (NL_MSGMAX): Likewise.
233 [POSIX || XPG3] (NL_NMAX): Likewise.
234 [POSIX || XPG3] (NL_SETMAX): Likewise.
235 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
236 [XPG3] (NZERO): Likewise.
237 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
238 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
239 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
240 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
241 (REG_ERANGE): Expect.
242 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
243 optional-constant.
244 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
245 Use (void) in prototype.
246 [POSIX] (*_t): Allow.
247 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
248 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
249 (WRDE_BADVAL): Expect.
250
5ba924e3
JM
251 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
252 expect.
253 [XPG3 || XPG4] (O_RSYNC): Likewise.
254 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
255 Likewise.
256 [XPG3 || XPG4] (pthread_sigmask): Likewise.
257 [XPG3 || XPG4] (sigqueue): Likewise.
258 [XPG3 || XPG4] (sigtimedwait): Likewise.
259 [XPG3 || XPG4] (sigwaitinfo): Likewise.
260 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
261 [XPG3 || XPG4] (vsnprintf): Likewise.
262 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
263 Likewise.
264 [XPG3 || XPG4] (blksize_t): Likewise.
265 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
266 Likewise.
267 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
268 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
269 [XPG3 || XPG4] (struct itimerspec): Likewise.
270 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
271 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
272 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
273 [XPG3 || XPG4] (clockid_t): Likewise.
274 [XPG3 || XPG4] (timer_t): Likewise.
275 [XPG3 || XPG4] (clock_getres): Likewise.
276 [XPG3 || XPG4] (clock_gettime): Likewise.
277 [XPG3 || XPG4] (clock_settime): Likewise.
278 [XPG3 || XPG4] (nanosleep): Likewise.
279 [XPG3 || XPG4] (timer_create): Likewise.
280 [XPG3 || XPG4] (timer_delete): Likewise.
281 [XPG3 || XPG4] (timer_gettime): Likewise.
282 [XPG3 || XPG4] (timer_getoverrun): Likewise.
283 [XPG3 || XPG4] (timer_settime): Likewise.
284 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
285 [XPG3 || XPG4] (getlogin_r): Likewise.
286 [XPG3 || XPG4] (pread): Likewise.
287 [XPG3 || XPG4] (pthread_atfork): Likewise.
288 [XPG3 || XPG4] (pwrite): Likewise.
289
ee663277
JM
290 [BZ #14835]
291 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
292 <bits/siginfo.h>.
293
942caa16
PT
2942012-11-19 Pino Toscano <toscano.pino@tiscali.it>
295
e19af380
PT
296 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
297 finalizing MALLSTREAM.
298
942caa16
PT
299 * sysdeps/mach/hurd/syncfs.c: New file.
300
cfde9b46
SP
3012012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
302
303 [BZ #14719]
304 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
305 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
306 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
307 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
308 (_nss_dns_gethostbyname4_r): Likewise.
309 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
310 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
311
f6da27e5
PH
3122012-11-19 Peng Haitao <penght@cn.fujitsu.com>
313
314 [BZ #13763]
315 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
316
6665d4a2
SM
3172012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
318
1f51ee92
SM
319 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
320 * elf/cache.c (print_entry): Print ",AArch64" for
321 FLAG_AARCH64_LIB64
322
6665d4a2
SM
323 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
324 * elf/cache.c (print_entry): Print ",hard-float" for
325 FLAG_ARM_LIBHF.
326
05b227bd
DM
3272012-11-18 David S. Miller <davem@davemloft.net>
328
329 With help from Joseph Myers.
330 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
331 cutoff to 2**-13.
332 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
333 cutoff to 2**-25.
334 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
335 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
336 small.
337 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
338 * math/libm-test.inc (y0_test): New tests.
339 (y1_test): New tests.
340 * sysdeps/i386/fpu/libm-test-ulps: Update.
341 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
342 * sysdeps/sparc/fpu/libm-test-ulps: Update.
343
786b0b67
AS
3442012-11-18 Andreas Schwab <schwab@linux-m68k.org>
345
346 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
347 64-bit targets.
348 * configure: Regenerated.
349
8e18b86d
DM
3502012-11-17 David S. Miller <davem@davemloft.net>
351
352 [BZ #14811]
353 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
354 nonzero exponents with absolute value below 0x1p-128 to +/-
355 0x1p-128.
356
531f1ae0
JM
3572012-11-17 Joseph Myers <joseph@codesourcery.com>
358
12df29e2
JM
359 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
360
150dc1a0
JM
361 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
362
531f1ae0
JM
363 * posix/getconf-speclist.c: New file.
364 * posix/posix-envs.def: Likewise.
365 * posix/confstr.c (START_ENV_GROUP): New macro.
366 (END_ENV_GROUP): Likewise.
367 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
368 (KNOWN_PRESENT_ENV_STRING): Likewise.
369 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
370 (UNKNOWN_ENVIRONMENT): Likewise.
371 (confstr): Include posix-envs.def instead of handling
372 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
373 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
374 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
375 (END_ENV_GROUP): Likewise.
376 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
377 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
378 (UNKNOWN_ENVIRONMENT): Likewise.
379 (__sysconf): Include posix-envs.def instead of handling associated
380 cases directly here.
381 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
382 preprocessing getconf-speclist.c rather than running getconf or
383 generating empty file.
384
a93f9cbc
PT
3852012-11-16 Pino Toscano <toscano.pino@tiscali.it>
386
387 * scripts/check-local-headers.sh: Ignore 'mach' headers.
388
d64d9f87
AL
3892012-11-16 Andrej Lajovic <natrij@gmail.com>
390
391 [BZ #14672]
392 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
393
447885eb
DM
3942012-11-16 David S. Miller <davem@davemloft.net>
395
396 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
397 smaller than LDBL_EPSILON/2.0L, just return xm1.
398
bcbf9830
L
3992012-11-16 H.J. Lu <hongjiu.lu@intel.com>
400
401 * elf/tst-array1.c (init): Set constructor priority to 1000.
402 (fini): Set destructor priority to 1000.
403 * elf/tst-array2dep.c: Likewise.
404
2b766585
SP
4052012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
406
407 [BZ #11741]
408 * libio/fileops.c (_IO_new_file_write): Correctly return error.
409 (_IO_new_file_xsputn): Also return EOF if none of the input
410 data was written when overflow failed.
411 * libio/iopadn.c (_IO_padn): Likewise.
412 * libio/iowpadn.c (_IO_wpadn): Likewise.
413 * stdio-common/tst-put-error.c: Add copyright notice.
414 (do_test): Add case for printing padded string.
415 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
416 _IO_padn returned error.
417 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
418 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
419 return EOF.
420
b1848fde
SP
4212012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
422
423 * libio/libioP.h: Add comment note that the references to C++
424 bits are now obsolete.
425
2fd89785
MS
4262012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
427
428 * math/libm-test.inc (check_complex): Use asprintf.
429
e3ea5409
JM
4302012-11-14 Joseph Myers <joseph@codesourcery.com>
431
432 * debug/pcprofiledump.c (print_version): Update copyright year.
433 * malloc/memusagestat.c (print_version): Likewise.
434
2e64d265
L
4352012-11-14 H.J. Lu <hongjiu.lu@intel.com>
436
437 [BZ #14831]
438 * elf/Makefile (tests): Add tst-audit8.
439 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
440 ($(objpfx)tst-audit8.out): New target.
441 (tst-audit8-ENV): New variable.
442 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
443 audit if l_reloc_result is NULL.
444 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
445 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
446 * elf/tst-audit8.c: New file.
447
c485e4d2
MS
4482012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
449
450 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
451 * misc/Makefile (CFLAGS-select.c): Define.
452 * posix/Makefile (CFLAGS-pause.c): Define.
453
3a0d900a
DM
4542012-11-13 David S. Miller <davem@davemloft.net>
455
456 * crypt/Makefile: Move test targets after toplevel Rules
457 inclusion. Grab any necessary sysdep routines when linking.
458 * crypt/md5.c (md5_process_block): Remove define, we will always
459 name it __md5_process_block.
460 (md5_finish_ctx): Update md5_process_block call.
461 (md5_stream): Likewise.
462 (md5_process_bytes): Likewise.
463 (md5_process_block): Rename to __md5_process_block and move to ...
464 * crypt/md5-block.c: ... here.
465 * crypt/sha256.c (sha256_process_block): Move to ...
466 * crypt/sha256-block.c: ... here.
467 * crypt/sha512.c (sha512_process_block): Move to ...
468 * crypt/sha512-block.c: ... here.
469 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
470 path.
471 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
472 * sysdeps/sparc/sparc64/multiarch/Makefile
473 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
474 crypt subdir.
475 (localedef-aux): Add md5 crypto assembler when in locale subdir.
476 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
477 multiarch changes.
478 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
479 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
480 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
481 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
482 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
483 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
484 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
485 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
486 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
487 file.
488 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
489 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
490 file.
491 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
492
8ca89318
JM
4932012-11-13 Joseph Myers <joseph@codesourcery.com>
494
e27d476a
JM
495 * timezone/tzselect.ksh: Update from tzcode git revision
496 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
497 * timezone/zdump.c: Likewise.
498 * timezone/zic.c: Likewise.
499 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
500 in TZVERSION setting, not $(PKGVERSION).
501 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
502 REPORT_BUGS_TO settings.
503
8ca89318
JM
504 [BZ #14838]
505 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
506 macro.
507
47594329
MS
5082012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
509
510 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
511 detection to immediately after _FP_ROUND().
512 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
513 bits are 0.
514
640ac3f1
DM
5152012-11-11 David S. Miller <davem@davemloft.net>
516
517 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
518 inttypes.h
519 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
520 __close rather than their public counterparts.
521
3d2577bb
JM
5222012-11-10 Joseph Myers <joseph@codesourcery.com>
523
524 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
525 file.
526 [UNIX98] (sem_timedwait): Do not expect.
527 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
528 [XPG4 || UNIX98] (sockatmark): Do not expect.
529 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
530 (clock_getcpuclockid): Do not expect.
531 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
532 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
533 Do not expect.
534 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
535 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
536 [UNIX98] (vwscanf): Likewise.
537 [UNIX98] (vswscanf): Likewise.
538
fb1ae1ee
JM
5392012-11-09 Joseph Myers <joseph@codesourcery.com>
540
9ec6f8bd
JM
541 * timezone/version.h: Remove file.
542 * timezone/README: Do not refer to version.h.
543 * timezone/Makefile ($(objpfx)zic.o): New dependency on
544 $(objpfx)version.h.
545 ($(objpfx)zdump.o): Likewise.
c3f81911 546 ($(objpfx)version.h): New target.
9ec6f8bd 547
0aa8f8a1
JM
548 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
549 2012i.
550 * timezone/README: Don't mention modification to tzselect.ksh.
551 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
552 work on unmodified tzselect.ksh. Substitute version numbers in
553 tzselect.ksh.
554
4e87147f
JM
555 * Makefile (format-me): Remove.
556 (INSTALL): Adjust indentation. Use commands directly instead of
557 using $(format-me).
558
8b748aed
JM
559 * aclocal.m4 (ACX_PKGVERSION): New macro.
560 (ACX_BUGURL): Likewise.
561 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
562 (PKGVERSION): New AC_DEFINE_UNQUOTED.
563 (REPORT_BUGS_TO): Likewise.
564 * configure: Regenerated.
565 * config.h.in (PKGVERSION): New macro.
566 (REPORT_BUGS_TO): Likewise.
567 * config.make.in (PKGVERSION): New variable.
568 (PKGVERSION_TEXI): Likewise.
569 (REPORT_BUGS_TO): Likewise.
570 (REPORT_BUGS_TEXI): Likewise.
571 * Makefile (format-me): Use -I$(common-objpfx)manual.
572 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
573 ($(common-objpfx)manual/%): New target.
574 (manual/%): Remove target.
575 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
576 (print_version): Use PKGVERSION.
577 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
578 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
579 and REPORT_BUGS_TO.
580 ($(objpfx)xtrace): Likewise.
581 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
582 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
583 (print_version): Use PKGVERSION.
584 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
585 (do_version): Use PKGVERSION.
586 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
587 REPORT_BUGS_TO.
588 (common-ldd-rewrite): Likewise.
589 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
590 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
591 (print_version): Use PKGVERSION.
592 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
593 * elf/pldd.c (argp_program_bug_address): Remove variable.
594 (more_help): New function.
595 (argp): Use more_help.
596 (print_version): Use PKGVERSION.
597 * elf/sln.c (main): Use PKGVERSION.
598 (usage): Use REPORT_BUGS_TO.
599 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
600 (top level): Use PKGVERSION.
601 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
602 (print_version): Use PKGVERSION.
603 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
604 (print_version): Use PKGVERSION.
605 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
606 (print_version): Use PKGVERSION.
607 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
608 (print_version): Use PKGVERSION.
609 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
610 (print_version): Use PKGVERSION.
611 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
612 (print_version): Use PKGVERSION.
613 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
614 and BUGURL.
615 ($(objpfx)memusage): Likewise.
616 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
617 (do_version): Use PKGVERSION.
618 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
619 (print_version): Use PKGVERSION.
620 * malloc/mtrace.pl ($PACKAGE): Remove variable.
621 ($PKGVERSION): New variable.
622 ($REPORT_BUGS_TO): Likewise.
623 (usage): Use $REPORT_BUGS_TO.
624 (top level): Use $PKGVERSION.
625 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
626 ($(objpfx)pkgvers.texi): New rule.
627 ($(objpfx)stamp-pkgvers): Likewise.
628 * manual/install.texi: Include pkgvers.texi.
629 (--with-pkgversion): Document new configure option.
630 (--with-bugurl): Likewise.
631 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
632 than necessarily for this particular distribution. Use
633 REPORT_BUGS_TO for where to report bugs.
634 * INSTALL: Regenerated.
635 * manual/libc.texinfo: Include pkgvers.texi.
636 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
637 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
638 (print_version): Use PKGVERSION.
639 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
640 (print_version): Use PKGVERSION.
641 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
642 (print_version): Use PKGVERSION.
643 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
644 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
645 macro.
646 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
647 (print_version): Use PKGVERSION.
648 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
649 (print_version): Use PKGVERSION.
650 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
651 and PKGVERSION.
652
92e4b6a9
JM
653 * timezone/checktab.awk: Update from tzcode 2012i.
654 * timezone/ialloc.c: Likewise.
655 * timezone/private.h: Likewise.
656 * timezone/scheck.c: Likewise.
657 * timezone/tzfile.h: Likewise.
658 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
659 (TZVERSION): Hardcode tzcode version number.
660 * timezone/zdump.c: Update from tzcode 2012i.
661 * timezone/zic.c: Likewise.
662 * timezone/version.h: New file.
663 * timezone/README: Describe version.h. Update upstream location.
664
9bde902c
JM
665 [BZ #14824]
666 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
667 (mktemp): Enable declaration.
668 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
669 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
670 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
671 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
672 Likewise.
673 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
674 Likewise.
675 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
676 Likewise.
677 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
678 Likewise.
679 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
680 Likewise.
681 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
682 Likewise.
683
fb1ae1ee
JM
684 [BZ #14821]
685 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
686 offset in buffer as u_int32_t not u_long. Consistently use memcpy
687 for copies of such integer values.
688 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
689 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
690
2c1adbcb
AJ
6912012-11-09 Andreas Jaeger <aj@suse.de>
692
693 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
694 definitions and declarations that are provided by
695 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
696
d0f8457e
AK
6972012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
698
699 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
700 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
701 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
702 definition.
703
57241e26
MS
7042012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
705
706 * elf/elf.h: Update comment before AArch64 relocations.
707
60e8270d
DM
7082012-11-07 David S. Miller <davem@davemloft.net>
709
710 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
711 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
712 (__start_context): Declare.
713 (__makecontext_ret): Delete.
714 (__makecontext): Hook up __start_context instead of
715 __makecontext_ret.
716 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
717 (sysdep_routines): Add __start_context when in stdlib.
718
0fbb0fbc
JM
7192012-11-07 Joseph Myers <joseph@codesourcery.com>
720
721 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
722 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
723 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
724 hardcoded "nm".
725 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
726 (READELF): New variable. Use it instead of hardcoded "readelf".
727
eb48db7e
L
7282012-11-07 H.J. Lu <hongjiu.lu@intel.com>
729
730 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
731 * sysdeps/x86/Makefile: Here.
732 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
733 * sysdeps/x86/tst-xmmymm.sh: This.
734
05bcf62a
JM
7352012-11-07 Joseph Myers <joseph@codesourcery.com>
736
c4b6cf53
JM
737 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
738 expectations.
739 [UNIX98] (pthread_barrier_t): Do not expect.
740 [UNIX98] (pthread_barrierattr_t): Likewise.
741 [UNIX98] (pthread_spinlock_t): Likewise.
742 [UNIX98] (pthread_barrier_destroy): Likewise.
743 [UNIX98] (pthread_barrier_init): Likewise.
744 [UNIX98] (pthread_barrier_wait): Likewise.
745 [UNIX98] (pthread_barrierattr_destroy): Likewise.
746 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
747 [UNIX98] (pthread_barrierattr_init): Likewise.
748 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
749 [UNIX98] (pthread_getcpuclockid): Likewise.
750 [UNIX98] (pthread_mutex_timedlock): Likewise.
751 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
752 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
753 [UNIX98] (pthread_sigmask): Likewise.
754 [UNIX98] (pthread_spin_destroy): Likewise.
755 [UNIX98] (pthread_spin_init): Likewise.
756 [UNIX98] (pthread_spin_lock): Likewise.
757 [UNIX98] (pthread_spin_trylock): Likewise.
758 [UNIX98] (pthread_spin_unlock): Likewise.
759 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
760 Do not expect.
761 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
762 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
763 [XPG3 || XPG4] (pthread_cond_t): Likewise.
764 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
765 [XPG3 || XPG4] (pthread_key_t): Likewise.
766 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
767 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
768 [XPG3 || XPG4] (pthread_once_t): Likewise.
769 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
770 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
771 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
772 [XPG3 || XPG4] (pthread_t): Likewise.
773
cbe6e120
JM
774 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
775 not expect.
776 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
777
1b126443
JM
778 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
779 Change function return type to int.
780
b961a573
JM
781 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
782 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
783 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
784 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
785 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
786 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
787 [!POSIX] (posix_madvise): Likewise.
788 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
789 && !UNIX98].
790 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
791 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
792 (mode_t): Likewise.
793 (posix_mem_offset): Likewise.
794 (posix_typed_mem_get_info): Likewise.
795 (posix_typed_mem_open): Likewise.
796
9e188909
JM
797 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
798 Change condition to [XOPEN2K8].
799
05bcf62a
JM
800 * conform/conformtest.pl: Preprocess allow-header data with -x c
801 instead of from stdin.
802 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
803 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
804 [C99-based standards] (cerfc): Likewise.
805 [C99-based standards] (cexp2): Likewise.
806 [C99-based standards] (cexpm1): Likewise.
807 [C99-based standards] (clog10): Likewise.
808 [C99-based standards] (clog1p): Likewise.
809 [C99-based standards] (clog2): Likewise.
810 [C99-based standards] (clgamma): Likewise.
811 [C99-based standards] (ctgamma): Likewise.
812 [C99-based standards] (cerff): Likewise.
813 [C99-based standards] (cerfcf): Likewise.
814 [C99-based standards] (cexp2f): Likewise.
815 [C99-based standards] (cexpm1f): Likewise.
816 [C99-based standards] (clog10f): Likewise.
817 [C99-based standards] (clog1pf): Likewise.
818 [C99-based standards] (clog2f): Likewise.
819 [C99-based standards] (clgammaf): Likewise.
820 [C99-based standards] (ctgammaf): Likewise.
821 [C99-based standards] (cerfl): Likewise.
822 [C99-based standards] (cerfcl): Likewise.
823 [C99-based standards] (cexp2l): Likewise.
824 [C99-based standards] (cexpm1l): Likewise.
825 [C99-based standards] (clog10l): Likewise.
826 [C99-based standards] (clog1pl): Likewise.
827 [C99-based standards] (clog2l): Likewise.
828 [C99-based standards] (clgammal): Likewise.
829 [C99-based standards] (ctgammal): Likewise.
830 * conform/data/inttypes.h-data [C99-based standards]: Include
831 stdint.h-data. Remove all expectations for stdint.h contents.
832 [C99-based standards] (PRI*): Do not allow.
833 [C99-based standards] (SCN*): Likewise.
834 [C99-based standards] (*_t): Likewise.
835 [C99-based-standards] (PRId8): Expect macro.
836 [C99-based-standards] (PRIi8): Likewise.
837 [C99-based-standards] (PRIo8): Likewise.
838 [C99-based-standards] (PRIu8): Likewise.
839 [C99-based-standards] (PRIx8): Likewise.
840 [C99-based-standards] (PRIX8): Likewise.
841 [C99-based-standards] (SCNd8): Likewise.
842 [C99-based-standards] (SCNi8): Likewise.
843 [C99-based-standards] (SCNo8): Likewise.
844 [C99-based-standards] (SCNu8): Likewise.
845 [C99-based-standards] (SCNx8): Likewise.
846 [C99-based-standards] (PRIdLEAST8): Likewise.
847 [C99-based-standards] (PRIiLEAST8): Likewise.
848 [C99-based-standards] (PRIoLEAST8): Likewise.
849 [C99-based-standards] (PRIuLEAST8): Likewise.
850 [C99-based-standards] (PRIxLEAST8): Likewise.
851 [C99-based-standards] (PRIXLEAST8): Likewise.
852 [C99-based-standards] (SCNdLEAST8): Likewise.
853 [C99-based-standards] (SCNiLEAST8): Likewise.
854 [C99-based-standards] (SCNoLEAST8): Likewise.
855 [C99-based-standards] (SCNuLEAST8): Likewise.
856 [C99-based-standards] (SCNxLEAST8): Likewise.
857 [C99-based-standards] (PRIdFAST8): Likewise.
858 [C99-based-standards] (PRIiFAST8): Likewise.
859 [C99-based-standards] (PRIoFAST8): Likewise.
860 [C99-based-standards] (PRIuFAST8): Likewise.
861 [C99-based-standards] (PRIxFAST8): Likewise.
862 [C99-based-standards] (PRIXFAST8): Likewise.
863 [C99-based-standards] (SCNdFAST8): Likewise.
864 [C99-based-standards] (SCNiFAST8): Likewise.
865 [C99-based-standards] (SCNoFAST8): Likewise.
866 [C99-based-standards] (SCNuFAST8): Likewise.
867 [C99-based-standards] (SCNxFAST8): Likewise.
868 [C99-based-standards] (PRId16): Likewise.
869 [C99-based-standards] (PRIi16): Likewise.
870 [C99-based-standards] (PRIo16): Likewise.
871 [C99-based-standards] (PRIu16): Likewise.
872 [C99-based-standards] (PRIx16): Likewise.
873 [C99-based-standards] (PRIX16): Likewise.
874 [C99-based-standards] (SCNd16): Likewise.
875 [C99-based-standards] (SCNi16): Likewise.
876 [C99-based-standards] (SCNo16): Likewise.
877 [C99-based-standards] (SCNu16): Likewise.
878 [C99-based-standards] (SCNx16): Likewise.
879 [C99-based-standards] (PRIdLEAST16): Likewise.
880 [C99-based-standards] (PRIiLEAST16): Likewise.
881 [C99-based-standards] (PRIoLEAST16): Likewise.
882 [C99-based-standards] (PRIuLEAST16): Likewise.
883 [C99-based-standards] (PRIxLEAST16): Likewise.
884 [C99-based-standards] (PRIXLEAST16): Likewise.
885 [C99-based-standards] (SCNdLEAST16): Likewise.
886 [C99-based-standards] (SCNiLEAST16): Likewise.
887 [C99-based-standards] (SCNoLEAST16): Likewise.
888 [C99-based-standards] (SCNuLEAST16): Likewise.
889 [C99-based-standards] (SCNxLEAST16): Likewise.
890 [C99-based-standards] (PRIdFAST16): Likewise.
891 [C99-based-standards] (PRIiFAST16): Likewise.
892 [C99-based-standards] (PRIoFAST16): Likewise.
893 [C99-based-standards] (PRIuFAST16): Likewise.
894 [C99-based-standards] (PRIxFAST16): Likewise.
895 [C99-based-standards] (PRIXFAST16): Likewise.
896 [C99-based-standards] (SCNdFAST16): Likewise.
897 [C99-based-standards] (SCNiFAST16): Likewise.
898 [C99-based-standards] (SCNoFAST16): Likewise.
899 [C99-based-standards] (SCNuFAST16): Likewise.
900 [C99-based-standards] (SCNxFAST16): Likewise.
901 [C99-based-standards] (PRId32): Likewise.
902 [C99-based-standards] (PRIi32): Likewise.
903 [C99-based-standards] (PRIo32): Likewise.
904 [C99-based-standards] (PRIu32): Likewise.
905 [C99-based-standards] (PRIx32): Likewise.
906 [C99-based-standards] (PRIX32): Likewise.
907 [C99-based-standards] (SCNd32): Likewise.
908 [C99-based-standards] (SCNi32): Likewise.
909 [C99-based-standards] (SCNo32): Likewise.
910 [C99-based-standards] (SCNu32): Likewise.
911 [C99-based-standards] (SCNx32): Likewise.
912 [C99-based-standards] (PRIdLEAST32): Likewise.
913 [C99-based-standards] (PRIiLEAST32): Likewise.
914 [C99-based-standards] (PRIoLEAST32): Likewise.
915 [C99-based-standards] (PRIuLEAST32): Likewise.
916 [C99-based-standards] (PRIxLEAST32): Likewise.
917 [C99-based-standards] (PRIXLEAST32): Likewise.
918 [C99-based-standards] (SCNdLEAST32): Likewise.
919 [C99-based-standards] (SCNiLEAST32): Likewise.
920 [C99-based-standards] (SCNoLEAST32): Likewise.
921 [C99-based-standards] (SCNuLEAST32): Likewise.
922 [C99-based-standards] (SCNxLEAST32): Likewise.
923 [C99-based-standards] (PRIdFAST32): Likewise.
924 [C99-based-standards] (PRIiFAST32): Likewise.
925 [C99-based-standards] (PRIoFAST32): Likewise.
926 [C99-based-standards] (PRIuFAST32): Likewise.
927 [C99-based-standards] (PRIxFAST32): Likewise.
928 [C99-based-standards] (PRIXFAST32): Likewise.
929 [C99-based-standards] (SCNdFAST32): Likewise.
930 [C99-based-standards] (SCNiFAST32): Likewise.
931 [C99-based-standards] (SCNoFAST32): Likewise.
932 [C99-based-standards] (SCNuFAST32): Likewise.
933 [C99-based-standards] (SCNxFAST32): Likewise.
934 [C99-based-standards] (PRId64): Likewise.
935 [C99-based-standards] (PRIi64): Likewise.
936 [C99-based-standards] (PRIo64): Likewise.
937 [C99-based-standards] (PRIu64): Likewise.
938 [C99-based-standards] (PRIx64): Likewise.
939 [C99-based-standards] (PRIX64): Likewise.
940 [C99-based-standards] (SCNd64): Likewise.
941 [C99-based-standards] (SCNi64): Likewise.
942 [C99-based-standards] (SCNo64): Likewise.
943 [C99-based-standards] (SCNu64): Likewise.
944 [C99-based-standards] (SCNx64): Likewise.
945 [C99-based-standards] (PRIdLEAST64): Likewise.
946 [C99-based-standards] (PRIiLEAST64): Likewise.
947 [C99-based-standards] (PRIoLEAST64): Likewise.
948 [C99-based-standards] (PRIuLEAST64): Likewise.
949 [C99-based-standards] (PRIxLEAST64): Likewise.
950 [C99-based-standards] (PRIXLEAST64): Likewise.
951 [C99-based-standards] (SCNdLEAST64): Likewise.
952 [C99-based-standards] (SCNiLEAST64): Likewise.
953 [C99-based-standards] (SCNoLEAST64): Likewise.
954 [C99-based-standards] (SCNuLEAST64): Likewise.
955 [C99-based-standards] (SCNxLEAST64): Likewise.
956 [C99-based-standards] (PRIdFAST64): Likewise.
957 [C99-based-standards] (PRIiFAST64): Likewise.
958 [C99-based-standards] (PRIoFAST64): Likewise.
959 [C99-based-standards] (PRIuFAST64): Likewise.
960 [C99-based-standards] (PRIxFAST64): Likewise.
961 [C99-based-standards] (PRIXFAST64): Likewise.
962 [C99-based-standards] (SCNdFAST64): Likewise.
963 [C99-based-standards] (SCNiFAST64): Likewise.
964 [C99-based-standards] (SCNoFAST64): Likewise.
965 [C99-based-standards] (SCNuFAST64): Likewise.
966 [C99-based-standards] (SCNxFAST64): Likewise.
967 [C99-based-standards] (PRIdMAX): Likewise.
968 [C99-based-standards] (PRIiMAX): Likewise.
969 [C99-based-standards] (PRIoMAX): Likewise.
970 [C99-based-standards] (PRIuMAX): Likewise.
971 [C99-based-standards] (PRIxMAX): Likewise.
972 [C99-based-standards] (PRIXMAX): Likewise.
973 [C99-based-standards] (SCNdMAX): Likewise.
974 [C99-based-standards] (SCNiMAX): Likewise.
975 [C99-based-standards] (SCNoMAX): Likewise.
976 [C99-based-standards] (SCNuMAX): Likewise.
977 [C99-based-standards] (SCNxMAX): Likewise.
978 [C99-based-standards] (PRIdPTR): Likewise.
979 [C99-based-standards] (PRIiPTR): Likewise.
980 [C99-based-standards] (PRIoPTR): Likewise.
981 [C99-based-standards] (PRIuPTR): Likewise.
982 [C99-based-standards] (PRIxPTR): Likewise.
983 [C99-based-standards] (PRIXPTR): Likewise.
984 [C99-based-standards] (SCNdPTR): Likewise.
985 [C99-based-standards] (SCNiPTR): Likewise.
986 [C99-based-standards] (SCNoPTR): Likewise.
987 [C99-based-standards] (SCNuPTR): Likewise.
988 [C99-based-standards] (SCNxPTR): Likewise.
989 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
990 allow.
991 * conform/data/stdint.h-data: Update comments to clarify
992 requirements.
993 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
994 type.
995 [C99-based standards] (INT8_MAX): Likewise.
996 [C99-based standards] (INT16_MIN): Likewise.
997 [C99-based standards] (INT16_MAX): Likewise.
998 [C99-based standards] (INT32_MIN): Likewise.
999 [C99-based standards] (INT32_MAX): Likewise.
1000 [C99-based standards] (INT64_MIN): Likewise.
1001 [C99-based standards] (INT64_MAX): Likewise.
1002 [C99-based standards] (UINT8_MAX): Likewise.
1003 [C99-based standards] (UINT16_MAX): Likewise.
1004 [C99-based standards] (UINT32_MAX): Likewise.
1005 [C99-based standards] (UINT64_MAX): Likewise.
1006 [C99-based standards] (INT_LEAST8_MIN): Likewise.
1007 [C99-based standards] (INT_LEAST8_MAX): Likewise.
1008 [C99-based standards] (INT_LEAST16_MIN): Likewise.
1009 [C99-based standards] (INT_LEAST16_MAX): Likewise.
1010 [C99-based standards] (INT_LEAST32_MIN): Likewise.
1011 [C99-based standards] (INT_LEAST32_MAX): Likewise.
1012 [C99-based standards] (INT_LEAST64_MIN): Likewise.
1013 [C99-based standards] (INT_LEAST64_MAX): Likewise.
1014 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
1015 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
1016 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
1017 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
1018 [C99-based standards] (INT_FAST8_MIN): Likewise.
1019 [C99-based standards] (INT_FAST8_MAX): Likewise.
1020 [C99-based standards] (INT_FAST16_MIN): Likewise.
1021 [C99-based standards] (INT_FAST16_MAX): Likewise.
1022 [C99-based standards] (INT_FAST32_MIN): Likewise.
1023 [C99-based standards] (INT_FAST32_MAX): Likewise.
1024 [C99-based standards] (INT_FAST64_MIN): Likewise.
1025 [C99-based standards] (INT_FAST64_MAX): Likewise.
1026 [C99-based standards] (UINT_FAST8_MAX): Likewise.
1027 [C99-based standards] (UINT_FAST16_MAX): Likewise.
1028 [C99-based standards] (UINT_FAST32_MAX): Likewise.
1029 [C99-based standards] (UINT_FAST64_MAX): Likewise.
1030 [C99-based standards] (INTPTR_MIN): Likewise.
1031 [C99-based standards] (INTPTR_MAX): Likewise.
1032 [C99-based standards] (UINTPTR_MAX): Likewise.
1033 [C99-based standards] (INTMAX_MIN): Likewise.
1034 [C99-based standards] (INTMAX_MAX): Likewise.
1035 [C99-based standards] (UINTMAX_MAX): Likewise.
1036 [C99-based standards] (PTRDIFF_MIN): Likewise.
1037 [C99-based standards] (PTRDIFF_MAX): Likewise.
1038 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
1039 [C99-based standards] (SIZE_MAX): Likewise.
1040 [C99-based standards] (WCHAR_MAX): Likewise.
1041 [C99-based standards] (WINT_MAX): Likewise.
1042 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
1043 constraint on value.
1044 [C99-based standards] (WCHAR_MIN): Likewise.
1045 [C99-based standards] (WINT_MIN): Likewise.
1046 [C99-based standards] (*_t): Allow.
1047 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
1048 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
1049 Include math.h-data and complex.h-data. Remove all expectations
1050 of math.h and complex.h contents.
1051 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
1052 at end of line.
1053 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
1054 (struct tm): Expect tag.
1055 [C99-based-standards] (wcstof): Expect function.
1056 [C99-based-standards] (wcstold): Likewise.
1057 [C99-based-standards] (wcstoll): Likewise.
1058 [C99-based-standards] (wcstoull): Likewise.
1059 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
1060 macro-int-constant. Specify type.
1061 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
1062 constraint on value.
1063 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1064 Specify type.
1065 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
1066 Specify value.
1067 [ISO C standards]: Do not allow headers.
1068 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
1069 wcs[abcdefghijklmnopqrstuvwxyz]*.
1070 [ISO C standards] (*_t): Do not allow.
1071 * conform/data/wctype.h-data [C99-based standards] (iswblank):
1072 Expect function.
1073 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
1074 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1075 Specify type.
1076 [ISO C standards]: Do not allow headers.
1077 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
1078 is[abcdefghijklmnopqrstuvwxyz]*.
1079 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
1080 to[abcdefghijklmnopqrstuvwxyz]*.
1081 [ISO C standards] (*_t): Do not allow.
1082 * conform/data/stdalign.h-data: New file.
1083 * conform/data/stdbool.h-data: Likewise.
1084 * conform/data/stdnoreturn.h-data: Likewise.
1085
01f34a3b
JL
10862012-11-07 Andreas Jaeger <aj@suse.de>
1087
1088 [BZ #14809]
1089 * sysdeps/unix/sysv/linux/sys/sysctl.h (_UAPI_LINUX_KERNEL_H)
1090 (_UAPI_LINUX_TYPES_H): Starting with Linux 3.7, the include header
1091 guards are changed. Only define if not yet defined, #undef back
1092 after including linux/sysctl.h if defined here.
1093
7514feb8
RM
10942012-11-07 Roland McGrath <roland@hack.frob.com>
1095
1096 [BZ #14815]
1097 * manual/filesys.texi (Directory Entries): Typo fix.
1098 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
1099
19b2ecfc
MS
11002012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1101
1102 * elf/elf.h (EM_AARCH64): New macro.
1103 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
1104 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
1105 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
1106 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
1107 (R_AARCH64_TLSDESC): Likewise.
1108 (NT_ARM_TLS): Likewise.
1109 (NT_ARM_HW_BREAK): Likewise.
1110 (NT_ARM_HW_WATCH): Likewise.
1111
60e235ee
JM
11122012-11-07 Joseph Myers <joseph@codesourcery.com>
1113
1114 [BZ #14811]
1115 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
1116 (__ieee754_powl): Saturate nonzero exponents with absolute value
1117 below 0x1p-79 to +/- 0x1p-79.
1118 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
1119 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
1120 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
1121 nonzero exponents with absolute value below 0x1p-32 to +/-
1122 0x1p-32.
1123 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
1124 (__ieee754_powl): Saturate nonzero exponents with absolute value
1125 below 0x1p-79 to +/- 0x1p-79.
1126 * math/libm-test.inc (pow_test): Add more tests.
1127
0ab234b7
AK
11282012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1129
1130 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
1131 _dl_s390_cap_flags with kernel. Increase string length.
1132 (_dl_s390_platforms): Add z196 and zEC12.
1133
45832f74
JM
11342012-11-07 Joseph Myers <joseph@codesourcery.com>
1135
1136 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
1137 Change XOPEN21K to XOPEN2K.
1138
19218757
MK
11392012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
1140
1141 * string/memmove.c: Use memcpy when possible.
1142
c5f45721
AJ
11432012-11-06 Andreas Jaeger <aj@suse.de>
1144
1145 * po/eo.po: Update from translation team.
1146
82477c28
JM
11472012-11-06 Joseph Myers <joseph@codesourcery.com>
1148
1149 [BZ #14793]
1150 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
1151 exponent and small x and y exponents, scale x or y up. Increase
1152 by 2 the exponent used in scaling up.
1153 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1154 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1155 * math/libm-test.inc (fma_test): Add more tests.
1156 (fma_test_towardzero): Likewise.
1157 (fma_test_downward): Likewise.
1158 (fma_test_upward): Likewise.
1159
99252c8c
JM
11602012-11-05 Joseph Myers <joseph@codesourcery.com>
1161
acfa885f
JM
1162 [BZ #14805]
1163 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
1164 fenv_t *.
1165
99252c8c
JM
1166 [BZ #14801]
1167 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
1168 namespace for names of struct fields.
1169 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
1170 fenv_t fields.
1171 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1172 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
1173
d6d98dea
ST
11742012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1175
1176 [BZ #3665]
1177 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
1178
e10bb107
TS
11792012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1180
1181 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
1182 PTR_DEMANGLE.
1183
1184 [BZ #5246]
1185 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
1186 PTR_DEMANGLE.
1187
a0c2940d
JM
11882012-11-04 Joseph Myers <joseph@codesourcery.com>
1189
1190 [BZ #14797]
1191 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
1192 definitely overflow as x * y not x * y + z.
1193 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1194 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1195 * math/libm-test.inc (fma_test): Add more tests.
1196 (fma_test_towardzero): Likewise.
1197 (fma_test_downward): Likewise.
1198 (fma_test_upward): Likewise.
1199
b830319d
TS
12002012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1201
1202 [BZ #157]
1203
1204 * include/stub-tag.h: Remove file.
1205 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
1206 '#include' of it.
1207 * manual/maint.texi (Porting): Don't reference it.
1208 * Makerules ($(objpfx)stubs): Likewise.
1209 * dirent/closedir.c: Don't include <stub-tag.h>.
1210 * dirent/dirfd.c: Likewise.
1211 * dirent/fdopendir.c: Likewise.
1212 * dirent/getdents.c: Likewise.
1213 * dirent/getdents64.c: Likewise.
1214 * dirent/opendir.c: Likewise.
1215 * dirent/readdir.c: Likewise.
1216 * dirent/readdir64.c: Likewise.
1217 * dirent/readdir64_r.c: Likewise.
1218 * dirent/readdir_r.c: Likewise.
1219 * dirent/rewinddir.c: Likewise.
1220 * dirent/seekdir.c: Likewise.
1221 * dirent/telldir.c: Likewise.
1222 * gmon/profil.c: Likewise.
1223 * grp/setgroups.c: Likewise.
1224 * inet/if_index.c: Likewise.
1225 * io/access.c: Likewise.
1226 * io/chdir.c: Likewise.
1227 * io/chmod.c: Likewise.
1228 * io/chown.c: Likewise.
1229 * io/close.c: Likewise.
1230 * io/dup.c: Likewise.
1231 * io/dup2.c: Likewise.
1232 * io/dup3.c: Likewise.
1233 * io/euidaccess.c: Likewise.
1234 * io/faccessat.c: Likewise.
1235 * io/fchdir.c: Likewise.
1236 * io/fchmod.c: Likewise.
1237 * io/fchmodat.c: Likewise.
1238 * io/fchown.c: Likewise.
1239 * io/fchownat.c: Likewise.
1240 * io/fcntl.c: Likewise.
1241 * io/flock.c: Likewise.
1242 * io/fstatfs.c: Likewise.
1243 * io/fstatfs64.c: Likewise.
1244 * io/fstatvfs.c: Likewise.
1245 * io/fstatvfs64.c: Likewise.
1246 * io/futimens.c: Likewise.
1247 * io/fxstat.c: Likewise.
1248 * io/fxstat64.c: Likewise.
1249 * io/fxstatat.c: Likewise.
1250 * io/fxstatat64.c: Likewise.
1251 * io/getcwd.c: Likewise.
1252 * io/isatty.c: Likewise.
1253 * io/lchmod.c: Likewise.
1254 * io/lchown.c: Likewise.
1255 * io/link.c: Likewise.
1256 * io/linkat.c: Likewise.
1257 * io/lseek.c: Likewise.
1258 * io/lseek64.c: Likewise.
1259 * io/lxstat64.c: Likewise.
1260 * io/mkdir.c: Likewise.
1261 * io/mkdirat.c: Likewise.
1262 * io/mkfifo.c: Likewise.
1263 * io/mkfifoat.c: Likewise.
1264 * io/open.c: Likewise.
1265 * io/open64.c: Likewise.
1266 * io/openat.c: Likewise.
1267 * io/openat64.c: Likewise.
1268 * io/pipe.c: Likewise.
1269 * io/pipe2.c: Likewise.
1270 * io/poll.c: Likewise.
1271 * io/posix_fadvise.c: Likewise.
1272 * io/posix_fadvise64.c: Likewise.
1273 * io/posix_fallocate.c: Likewise.
1274 * io/posix_fallocate64.c: Likewise.
1275 * io/read.c: Likewise.
1276 * io/readlink.c: Likewise.
1277 * io/readlinkat.c: Likewise.
1278 * io/rmdir.c: Likewise.
1279 * io/sendfile.c: Likewise.
1280 * io/sendfile64.c: Likewise.
1281 * io/statfs.c: Likewise.
1282 * io/statfs64.c: Likewise.
1283 * io/statvfs.c: Likewise.
1284 * io/statvfs64.c: Likewise.
1285 * io/symlink.c: Likewise.
1286 * io/symlinkat.c: Likewise.
1287 * io/ttyname.c: Likewise.
1288 * io/ttyname_r.c: Likewise.
1289 * io/umask.c: Likewise.
1290 * io/unlink.c: Likewise.
1291 * io/unlinkat.c: Likewise.
1292 * io/utime.c: Likewise.
1293 * io/utimensat.c: Likewise.
1294 * io/write.c: Likewise.
1295 * io/xmknod.c: Likewise.
1296 * io/xmknodat.c: Likewise.
1297 * io/xstat.c: Likewise.
1298 * io/xstat64.c: Likewise.
1299 * login/getpt.c: Likewise.
1300 * login/grantpt.c: Likewise.
1301 * login/unlockpt.c: Likewise.
1302 * math/e_acoshl.c: Likewise.
1303 * math/e_acosl.c: Likewise.
1304 * math/e_asinl.c: Likewise.
1305 * math/e_atan2l.c: Likewise.
1306 * math/e_atanhl.c: Likewise.
1307 * math/e_coshl.c: Likewise.
1308 * math/e_expl.c: Likewise.
1309 * math/e_fmodl.c: Likewise.
1310 * math/e_gammal_r.c: Likewise.
1311 * math/e_hypotl.c: Likewise.
1312 * math/e_j0l.c: Likewise.
1313 * math/e_j1l.c: Likewise.
1314 * math/e_jnl.c: Likewise.
1315 * math/e_lgammal_r.c: Likewise.
1316 * math/e_log10l.c: Likewise.
1317 * math/e_log2l.c: Likewise.
1318 * math/e_logl.c: Likewise.
1319 * math/e_powl.c: Likewise.
1320 * math/e_rem_pio2l.c: Likewise.
1321 * math/e_sinhl.c: Likewise.
1322 * math/e_sqrtl.c: Likewise.
1323 * math/fclrexcpt.c: Likewise.
1324 * math/fedisblxcpt.c: Likewise.
1325 * math/feenablxcpt.c: Likewise.
1326 * math/fegetenv.c: Likewise.
1327 * math/fegetexcept.c: Likewise.
1328 * math/fegetround.c: Likewise.
1329 * math/feholdexcpt.c: Likewise.
1330 * math/fesetenv.c: Likewise.
1331 * math/fesetround.c: Likewise.
1332 * math/feupdateenv.c: Likewise.
1333 * math/fgetexcptflg.c: Likewise.
1334 * math/fraiseexcpt.c: Likewise.
1335 * math/fsetexcptflg.c: Likewise.
1336 * math/ftestexcept.c: Likewise.
1337 * math/k_cosl.c: Likewise.
1338 * math/k_rem_pio2l.c: Likewise.
1339 * math/k_sinl.c: Likewise.
1340 * math/k_tanl.c: Likewise.
1341 * math/s_asinhl.c: Likewise.
1342 * math/s_atanl.c: Likewise.
1343 * math/s_cbrtl.c: Likewise.
1344 * math/s_erfl.c: Likewise.
1345 * math/s_expm1l.c: Likewise.
1346 * math/s_log1pl.c: Likewise.
1347 * math/s_tanhl.c: Likewise.
1348 * misc/acct.c: Likewise.
1349 * misc/brk.c: Likewise.
1350 * misc/chflags.c: Likewise.
1351 * misc/chroot.c: Likewise.
1352 * misc/fchflags.c: Likewise.
1353 * misc/fgetxattr.c: Likewise.
1354 * misc/flistxattr.c: Likewise.
1355 * misc/fremovexattr.c: Likewise.
1356 * misc/fsetxattr.c: Likewise.
1357 * misc/fsync.c: Likewise.
1358 * misc/ftruncate.c: Likewise.
1359 * misc/futimes.c: Likewise.
1360 * misc/futimesat.c: Likewise.
1361 * misc/getdomain.c: Likewise.
1362 * misc/getdtsz.c: Likewise.
1363 * misc/gethostid.c: Likewise.
1364 * misc/gethostname.c: Likewise.
1365 * misc/getloadavg.c: Likewise.
1366 * misc/getpagesize.c: Likewise.
1367 * misc/getsysstats.c: Likewise.
1368 * misc/getxattr.c: Likewise.
1369 * misc/gtty.c: Likewise.
1370 * misc/ioctl.c: Likewise.
1371 * misc/lgetxattr.c: Likewise.
1372 * misc/listxattr.c: Likewise.
1373 * misc/llistxattr.c: Likewise.
1374 * misc/lremovexattr.c: Likewise.
1375 * misc/lsetxattr.c: Likewise.
1376 * misc/lutimes.c: Likewise.
1377 * misc/madvise.c: Likewise.
1378 * misc/mincore.c: Likewise.
1379 * misc/mlock.c: Likewise.
1380 * misc/mlockall.c: Likewise.
1381 * misc/mmap.c: Likewise.
1382 * misc/mprotect.c: Likewise.
1383 * misc/msync.c: Likewise.
1384 * misc/munlock.c: Likewise.
1385 * misc/munlockall.c: Likewise.
1386 * misc/munmap.c: Likewise.
1387 * misc/preadv.c: Likewise.
1388 * misc/preadv64.c: Likewise.
1389 * misc/ptrace.c: Likewise.
1390 * misc/pwritev.c: Likewise.
1391 * misc/pwritev64.c: Likewise.
1392 * misc/readv.c: Likewise.
1393 * misc/reboot.c: Likewise.
1394 * misc/remap_file_pages.c: Likewise.
1395 * misc/removexattr.c: Likewise.
1396 * misc/revoke.c: Likewise.
1397 * misc/select.c: Likewise.
1398 * misc/setdomain.c: Likewise.
1399 * misc/setegid.c: Likewise.
1400 * misc/seteuid.c: Likewise.
1401 * misc/sethostid.c: Likewise.
1402 * misc/sethostname.c: Likewise.
1403 * misc/setregid.c: Likewise.
1404 * misc/setreuid.c: Likewise.
1405 * misc/setxattr.c: Likewise.
1406 * misc/sstk.c: Likewise.
1407 * misc/stty.c: Likewise.
1408 * misc/swapoff.c: Likewise.
1409 * misc/swapon.c: Likewise.
1410 * misc/sync.c: Likewise.
1411 * misc/syncfs.c: Likewise.
1412 * misc/syscall.c: Likewise.
1413 * misc/truncate.c: Likewise.
1414 * misc/ualarm.c: Likewise.
1415 * misc/usleep.c: Likewise.
1416 * misc/ustat.c: Likewise.
1417 * misc/utimes.c: Likewise.
1418 * misc/vhangup.c: Likewise.
1419 * misc/writev.c: Likewise.
1420 * posix/_exit.c: Likewise.
1421 * posix/alarm.c: Likewise.
1422 * posix/execve.c: Likewise.
1423 * posix/fexecve.c: Likewise.
1424 * posix/fork.c: Likewise.
1425 * posix/fpathconf.c: Likewise.
1426 * posix/getaddrinfo.c: Likewise.
1427 * posix/getegid.c: Likewise.
1428 * posix/geteuid.c: Likewise.
1429 * posix/getgid.c: Likewise.
1430 * posix/getgroups.c: Likewise.
1431 * posix/getlogin.c: Likewise.
1432 * posix/getlogin_r.c: Likewise.
1433 * posix/getpgid.c: Likewise.
1434 * posix/getpid.c: Likewise.
1435 * posix/getppid.c: Likewise.
1436 * posix/getresgid.c: Likewise.
1437 * posix/getresuid.c: Likewise.
1438 * posix/getsid.c: Likewise.
1439 * posix/getuid.c: Likewise.
1440 * posix/glob64.c: Likewise.
1441 * posix/nanosleep.c: Likewise.
1442 * posix/pathconf.c: Likewise.
1443 * posix/pause.c: Likewise.
1444 * posix/posix_madvise.c: Likewise.
1445 * posix/pread.c: Likewise.
1446 * posix/pread64.c: Likewise.
1447 * posix/pwrite.c: Likewise.
1448 * posix/pwrite64.c: Likewise.
1449 * posix/sched_getaffinity.c: Likewise.
1450 * posix/sched_getp.c: Likewise.
1451 * posix/sched_gets.c: Likewise.
1452 * posix/sched_primax.c: Likewise.
1453 * posix/sched_primin.c: Likewise.
1454 * posix/sched_rr_gi.c: Likewise.
1455 * posix/sched_setaffinity.c: Likewise.
1456 * posix/sched_setp.c: Likewise.
1457 * posix/sched_sets.c: Likewise.
1458 * posix/sched_yield.c: Likewise.
1459 * posix/setgid.c: Likewise.
1460 * posix/setlogin.c: Likewise.
1461 * posix/setpgid.c: Likewise.
1462 * posix/setresgid.c: Likewise.
1463 * posix/setresuid.c: Likewise.
1464 * posix/setsid.c: Likewise.
1465 * posix/setuid.c: Likewise.
1466 * posix/sleep.c: Likewise.
1467 * posix/spawni.c: Likewise.
1468 * posix/sysconf.c: Likewise.
1469 * posix/times.c: Likewise.
1470 * posix/wait.c: Likewise.
1471 * posix/wait3.c: Likewise.
1472 * posix/wait4.c: Likewise.
1473 * posix/waitpid.c: Likewise.
1474 * resolv/gai_sigqueue.c: Likewise.
1475 * resource/getpriority.c: Likewise.
1476 * resource/getrlimit.c: Likewise.
1477 * resource/getrusage.c: Likewise.
1478 * resource/nice.c: Likewise.
1479 * resource/setpriority.c: Likewise.
1480 * resource/setrlimit.c: Likewise.
1481 * resource/ulimit.c: Likewise.
1482 * rt/aio_cancel.c: Likewise.
1483 * rt/aio_fsync.c: Likewise.
1484 * rt/aio_read.c: Likewise.
1485 * rt/aio_sigqueue.c: Likewise.
1486 * rt/aio_suspend.c: Likewise.
1487 * rt/aio_write.c: Likewise.
1488 * rt/clock_getres.c: Likewise.
1489 * rt/clock_gettime.c: Likewise.
1490 * rt/clock_nanosleep.c: Likewise.
1491 * rt/clock_settime.c: Likewise.
1492 * rt/lio_listio.c: Likewise.
1493 * rt/mq_close.c: Likewise.
1494 * rt/mq_getattr.c: Likewise.
1495 * rt/mq_notify.c: Likewise.
1496 * rt/mq_open.c: Likewise.
1497 * rt/mq_receive.c: Likewise.
1498 * rt/mq_send.c: Likewise.
1499 * rt/mq_setattr.c: Likewise.
1500 * rt/mq_timedreceive.c: Likewise.
1501 * rt/mq_timedsend.c: Likewise.
1502 * rt/mq_unlink.c: Likewise.
1503 * rt/shm_open.c: Likewise.
1504 * rt/shm_unlink.c: Likewise.
1505 * rt/timer_create.c: Likewise.
1506 * rt/timer_delete.c: Likewise.
1507 * rt/timer_getoverr.c: Likewise.
1508 * rt/timer_gettime.c: Likewise.
1509 * rt/timer_settime.c: Likewise.
1510 * setjmp/__longjmp.c: Likewise.
1511 * setjmp/setjmp.c: Likewise.
1512 * signal/kill.c: Likewise.
1513 * signal/killpg.c: Likewise.
1514 * signal/raise.c: Likewise.
1515 * signal/sigaction.c: Likewise.
1516 * signal/sigaltstack.c: Likewise.
1517 * signal/sigblock.c: Likewise.
1518 * signal/sigignore.c: Likewise.
1519 * signal/sigintr.c: Likewise.
1520 * signal/signal.c: Likewise.
1521 * signal/sigpause.c: Likewise.
1522 * signal/sigpending.c: Likewise.
1523 * signal/sigqueue.c: Likewise.
1524 * signal/sigreturn.c: Likewise.
1525 * signal/sigset.c: Likewise.
1526 * signal/sigsetmask.c: Likewise.
1527 * signal/sigstack.c: Likewise.
1528 * signal/sigsuspend.c: Likewise.
1529 * signal/sigtimedwait.c: Likewise.
1530 * signal/sigvec.c: Likewise.
1531 * signal/sigwait.c: Likewise.
1532 * signal/sigwaitinfo.c: Likewise.
1533 * signal/sysv_signal.c: Likewise.
1534 * socket/accept.c: Likewise.
1535 * socket/accept4.c: Likewise.
1536 * socket/bind.c: Likewise.
1537 * socket/connect.c: Likewise.
1538 * socket/getpeername.c: Likewise.
1539 * socket/getsockname.c: Likewise.
1540 * socket/getsockopt.c: Likewise.
1541 * socket/isfdtype.c: Likewise.
1542 * socket/listen.c: Likewise.
1543 * socket/recv.c: Likewise.
1544 * socket/recvfrom.c: Likewise.
1545 * socket/recvmsg.c: Likewise.
1546 * socket/send.c: Likewise.
1547 * socket/sendmsg.c: Likewise.
1548 * socket/sendto.c: Likewise.
1549 * socket/setsockopt.c: Likewise.
1550 * socket/shutdown.c: Likewise.
1551 * socket/sockatmark.c: Likewise.
1552 * socket/socket.c: Likewise.
1553 * socket/socketpair.c: Likewise.
1554 * stdio-common/ctermid.c: Likewise.
1555 * stdio-common/cuserid.c: Likewise.
1556 * stdio-common/remove.c: Likewise.
1557 * stdio-common/rename.c: Likewise.
1558 * stdio-common/renameat.c: Likewise.
1559 * stdio-common/tempname.c: Likewise.
1560 * stdlib/getcontext.c: Likewise.
1561 * stdlib/makecontext.c: Likewise.
1562 * stdlib/setcontext.c: Likewise.
1563 * stdlib/swapcontext.c: Likewise.
1564 * stdlib/system.c: Likewise.
1565 * streams/fattach.c: Likewise.
1566 * streams/fdetach.c: Likewise.
1567 * streams/getmsg.c: Likewise.
1568 * streams/getpmsg.c: Likewise.
1569 * streams/putmsg.c: Likewise.
1570 * streams/putpmsg.c: Likewise.
1571 * sysdeps/unix/bsd/getpt.c: Likewise.
1572 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
1573 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
1574 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
1576 Likewise.
1577 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
1578 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
1579 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1580 * sysvipc/msgctl.c: Likewise.
1581 * sysvipc/msgget.c: Likewise.
1582 * sysvipc/msgrcv.c: Likewise.
1583 * sysvipc/msgsnd.c: Likewise.
1584 * sysvipc/semctl.c: Likewise.
1585 * sysvipc/semget.c: Likewise.
1586 * sysvipc/semop.c: Likewise.
1587 * sysvipc/semtimedop.c: Likewise.
1588 * sysvipc/shmat.c: Likewise.
1589 * sysvipc/shmctl.c: Likewise.
1590 * sysvipc/shmdt.c: Likewise.
1591 * sysvipc/shmget.c: Likewise.
1592 * termios/tcdrain.c: Likewise.
1593 * termios/tcflow.c: Likewise.
1594 * termios/tcflush.c: Likewise.
1595 * termios/tcgetattr.c: Likewise.
1596 * termios/tcgetpgrp.c: Likewise.
1597 * termios/tcsendbrk.c: Likewise.
1598 * termios/tcsetattr.c: Likewise.
1599 * termios/tcsetpgrp.c: Likewise.
1600 * time/adjtime.c: Likewise.
1601 * time/clock.c: Likewise.
1602 * time/getitimer.c: Likewise.
1603 * time/gettimeofday.c: Likewise.
1604 * time/setitimer.c: Likewise.
1605 * time/settimeofday.c: Likewise.
1606 * time/stime.c: Likewise.
1607 * time/time.c: Likewise.
1608
16092012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 1610
a20492cf
PT
1611 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
1612 /usr/old/bin.
1613
72e182e3
PT
1614 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
1615 instead of spaces.
1616 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
1617
fbeafede
JM
16182012-11-03 Joseph Myers <joseph@codesourcery.com>
1619
5b5b04d6
JM
1620 [BZ #14796]
1621 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
1622 FE_TONEAREST before applying Dekker multiplication and Knuth
1623 addition. Clear inexact exceptions and check for exact zero
1624 results afterwards.
1625 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1626 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1627 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1628 * math/libm-test.inc (fma_test): Add more tests.
1629 (fma_test_towardzero): Likewise.
1630 (fma_test_downward): Likewise.
1631 (fma_test_upward): Likewise.
1632 * sysdeps/generic/math_private.h (default_libc_fesetround): New
1633 function.
1634 (libc_fesetround): New macro.
1635 (libc_fesetroundf): Likewise.
1636 (libc_fesetroundl): Likewise.
1637 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
1638 function.
1639 (libc_fesetround_387): Likewise.
1640 (libc_fesetroundf): New macro.
1641 (libc_fesetround): Likewise.
1642 (libc_fesetroundl): Likewise.
1643 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
1644 function.
1645 (libc_fesetroundf): New macro.
1646 (libc_fesetround): Likewise.
1647 (libc_fesetroundl): Likewise.
1648 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
1649 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
1650 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
1651 libm_hidden_ver.
1652 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
1653 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
1654 libm_hidden_def.
1655 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
1656 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
1657 libm_hidden_ver.
1658 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
1659 libm_hidden_def.
1660
fbeafede
JM
1661 [BZ #3439]
1662 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
1663 integer constant usable in #if and use that to give value to enum
1664 constant.
1665 (FE_DIVBYZERO): Likewise.
1666 (FE_UNDERFLOW): Likewise.
1667 (FE_OVERFLOW): Likewise.
1668 (FE_INVALID): Likewise.
1669 (FE_INVALID_SNAN): Likewise.
1670 (FE_INVALID_ISI): Likewise.
1671 (FE_INVALID_IDI): Likewise.
1672 (FE_INVALID_ZDZ): Likewise.
1673 (FE_INVALID_IMZ): Likewise.
1674 (FE_INVALID_COMPARE): Likewise.
1675 (FE_INVALID_SOFTWARE): Likewise.
1676 (FE_INVALID_SQRT): Likewise.
1677 (FE_INVALID_INTEGER_CONVERSION): Likewise.
1678 (FE_TONEAREST): Likewise.
1679 (FE_TOWARDZERO): Likewise.
1680 (FE_UPWARD): Likewise.
1681 (FE_DOWNWARD): Likewise.
1682 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
1683 (FE_DIVBYZERO): Likewise.
1684 (FE_OVERFLOW): Likewise.
1685 (FE_UNDERFLOW): Likewise.
1686 (FE_INEXACT): Likewise.
1687 (FE_TONEAREST): Likewise.
1688 (FE_DOWNWARD): Likewise.
1689 (FE_UPWARD): Likewise.
1690 (FE_TOWARDZERO): Likewise.
1691 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
1692 (FE_UNDERFLOW): Likewise.
1693 (FE_OVERFLOW): Likewise.
1694 (FE_DIVBYZERO): Likewise.
1695 (FE_INVALID): Likewise.
1696 (FE_TONEAREST): Likewise.
1697 (FE_TOWARDZERO): Likewise.
1698 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
1699 (FE_OVERFLOW): Likewise.
1700 (FE_UNDERFLOW): Likewise.
1701 (FE_DIVBYZERO): Likewise.
1702 (FE_INEXACT): Likewise.
1703 (FE_TONEAREST): Likewise.
1704 (FE_TOWARDZERO): Likewise.
1705 (FE_UPWARD): Likewise.
1706 (FE_DOWNWARD): Likewise.
1707 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
1708 (FE_DIVBYZERO): Likewise.
1709 (FE_OVERFLOW): Likewise.
1710 (FE_UNDERFLOW): Likewise.
1711 (FE_INEXACT): Likewise.
1712 (FE_TONEAREST): Likewise.
1713 (FE_DOWNWARD): Likewise.
1714 (FE_UPWARD): Likewise.
1715 (FE_TOWARDZERO): Likewise.
1716
105ca950
CM
17172012-11-02 Chris Metcalf <cmetcalf@tilera.com>
1718
1719 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
1720
a542b389
AS
17212012-11-03 Andreas Schwab <schwab@linux-m68k.org>
1722
1723 * scripts/cross-test-ssh.sh (command): Use newlines to separate
1724 commands. Quote $PWD.
1725 (blacklist_exports): Don't use remove_newlines. Replace "declare
1726 -x" by "export".
1727 (remove_newlines): Remove.
1728
f62c8abc
L
17292012-11-02 H.J. Lu <hongjiu.lu@intel.com>
1730
1731 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
1732 * stdlib/stdlib.h (atof): Moved to ...
1733 * include/bits/stdlib-float.h: Here. New file.
1734 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
1735 * stdlib/bits/stdlib-float.h: New file.
1736 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
1737 -mno-sse -mno-mmx.
1738 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
1739 <xmmintrin.h>.
1740
0155d5b2
JM
17412012-11-02 Joseph Myers <joseph@codesourcery.com>
1742
a68d0680
JM
1743 * conform/conformtest.pl (@headers): Add fenv.h.
1744 * conform/data/fenv.h-data: New file.
1745 * include/fenv.h [_ISOMAC]: Disable all contents of file except
1746 include of <math/fenv.h>.
1747
caf7f573
JM
1748 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
1749 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
1750 && !UNIX98]. Enables tests for XOPEN2K8.
1751 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
1752 POSIX2008]: Likewise.
1753
6c073ad6
JM
1754 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
1755 (struct rusage): Do not expect type or its members.
1756
0155d5b2
JM
1757 [BZ #3439]
1758 * math/math.h (FP_NAN): Define macro to integer constant usable in
1759 #if and use that to give value to enum constant.
1760 (FP_INFINITE): Likewise.
1761 (FP_ZERO): Likewise.
1762 (FP_SUBNORMAL): Likewise.
1763 (FP_NORMAL): Likewise.
1764
b5dcacb4
AS
17652012-11-02 Andreas Schwab <schwab@linux-m68k.org>
1766
1767 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
1768 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
1769 arguments.
1770
f7934be8
RM
17712012-11-02 Roland McGrath <roland@hack.frob.com>
1772
1773 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
1774 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
1775 autoconf-time if not.
1776 * configure.in: Remove AC_PREREQ.
1777
d7d08bde
TMQMF
17782012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1779
1780 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
1781 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
1782 of the internal implementation.
1783
dcdae19a
JM
17842012-11-02 Joseph Myers <joseph@codesourcery.com>
1785
1786 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
1787 except include of <misc/sys/syslog.h>.
1788
d6cffd3e
AS
17892012-11-01 Andreas Schwab <schwab@linux-m68k.org>
1790
1791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
1792 function returns with a NULL context exit with zero.
1793
b3563932
TMQMF
17942012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1795
1796 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
1797
b288a93d
L
17982012-11-01 H.J. Lu <hongjiu.lu@intel.com>
1799
1800 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
1801 (run_program_cmd): This.
1802 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
1803 (tst_langinfo): New variable. Use it.
1804
a2421a68
SAS
18052012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
1806
1807 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
1808 floating point opcodes.
1809
6f796e1b
TS
18102012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1811
7402596b
TS
1812 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
1813 variable.
1814
d0d4f868
TS
1815 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
1816
6f796e1b
TS
1817 * sysdeps/mach/hurd/powerpc: Remove directory.
1818 * sysdeps/mach/powerpc: Likewise.
1819
4da224a2
AS
18202012-11-01 Andreas Schwab <schwab@linux-m68k.org>
1821
1822 * scripts/check-local-headers.sh: Ignore c++ headers.
1823
341dd673
TS
18242012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1825
1826 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
1827 __libc_cleanup_region_start argument.
1828
473611b2
JM
18292012-11-01 Joseph Myers <joseph@codesourcery.com>
1830
1831 [BZ #14784]
1832 [BZ #14785]
1833 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
1834 x * y using scaling, not as x * y + z.
1835 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1836 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1837 * math/libm-test.inc (fma_test): Add more tests.
1838 (fma_test_towardzero): Likewise.
1839 (fma_test_downward): Likewise.
1840 (fma_test_upward): Likewise.
1841
4078da3d
TS
18422012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1843
1844 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
1845
903252aa
JM
18462012-10-31 Joseph Myers <joseph@codesourcery.com>
1847
1848 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
1849 New variable.
1850
cbc818d0
TS
18512012-10-31 Thomas Schwinge <thomas@codesourcery.com>
1852
1853 * rt/tst-shm.c (worker): Correct checking for mmap failure.
1854
5a03cb1e
AS
18552012-10-31 Andreas Schwab <schwab@linux-m68k.org>
1856
1857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1858 Fix sort order.
1859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1860 Likewise.
1861
90aff2ff
TMQMF
18622012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1863
1864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1865 Fix the order of the list for glibc 2.17.
1866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1867 Likewise.
1868
1818fcb7
AS
18692012-10-31 Andreas Schwab <schwab@linux-m68k.org>
1870
1871 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1872
ef82f4da
JM
18732012-10-31 Joseph Myers <joseph@codesourcery.com>
1874
16a0e2ec
JM
1875 [BZ #14610]
1876 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
1877 for low part of x being zero before using __atanl (y).
1878 * math/libm-test.inc (atan2_test): Add another test.
1879
0eb69512
JM
1880 * manual/install.texi (Configuring and compiling): Document
1881 general use of test-wrapper and test-wrapper-env.
1882 * INSTALL: Regenerated.
1883
ef82f4da
JM
1884 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
1885 (__fma): Do not extract and scale down low bits on after-rounding
1886 systems when result rounded to normal precision would have normal
1887 exponent.
1888 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
1889 (__fmal): Do not extract and scale down low bits on after-rounding
1890 systems when result rounded to normal precision would have normal
1891 exponent.
1892 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
1893 (__fmal): Do not extract and scale down low bits on after-rounding
1894 systems when result rounded to normal precision would have normal
1895 exponent.
1896 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
1897 macro.
1898 (fma_test): Add more tests.
1899 (fma_test_towardzero): Likewise.
1900 (fma_test_downward): Likewise.
1901 (fma_test_upward): Likewise.
1902
954ef0d9
L
19032012-10-30 H.J. Lu <hongjiu.lu@intel.com>
1904
1905 * sysdeps/i386/tininess.h: Renamed to ...
1906 * sysdeps/x86/tininess.h: This.
1907 * sysdeps/x86_64/tininess.h: Removed.
1908
df61ffb2
JM
19092012-10-30 Joseph Myers <joseph@codesourcery.com>
1910
1911 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
1912 input. Use $(build-program-cmd).
1913 ($(objpfx)tst-array1-static.out): Likewise.
1914 ($(objpfx)tst-array2.out): Likewise.
1915 ($(objpfx)tst-array3.out): Likewise.
1916 ($(objpfx)tst-array4.out): Likewise.
1917 ($(objpfx)tst-array5.out): Likewise.
1918 ($(objpfx)tst-array5-static.out): Likewise.
1919
01767843
CM
19202012-10-30 Chris Metcalf <cmetcalf@tilera.com>
1921
47cc1490
CM
1922 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
1923 if defined.
1924
01767843
CM
1925 * nss/nsswitch.h (nss_interface_function): Provide new
1926 macro for use with NSS functions.
1927 * grp/initgroups.c: Use new macro.
1928 * nss/getXXbyYY.c: Likewise.
1929 * nss/getXXbyYY_r.c: Likewise.
1930 * nss/getXXent.c: Likewise.
1931 * nss/getXXent_r.c: Likewise.
1932 * sysdeps/posix/getaddrinfo.c: Likewise.
1933
8321aa97
AJ
19342012-10-30 Andreas Jaeger <aj@suse.de>
1935
1936 * po/ru.po: Update Russion translation from translation project.
1937
2a27fd6d
JM
19382012-10-30 Joseph Myers <joseph@codesourcery.com>
1939
8627a232
JM
1940 [BZ #14152]
1941 [BZ #14783]
1942 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
1943 result and shift together with sticky bit instead of replicating
1944 round-to-nearest rounding.
1945 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1946 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1947 * math/libm-test.inc (fma_test): Add more tests. Do not permit
1948 missing underflow exceptions.
1949 (fma_test_towardzero): Add more tests.
1950 (fma_test_downward): Likewise.
1951 (fma_test_upward): Likewise.
1952
2a27fd6d
JM
1953 [BZ #14047]
1954 * sysdeps/generic/tininess.h: New file.
1955 * sysdeps/i386/tininess.h: Likewise.
1956 * sysdeps/sh/tininess.h: Likewise.
1957 * sysdeps/x86_64/tininess.h: Likewise.
1958 * stdlib/tst-strtod-underflow.c: Likewise.
1959 * stdlib/tst-tininess.c: Likewise.
1960 * stdlib/strtod_l.c: Include <tininess.h>.
1961 (round_and_return): Do not set errno for exact underflow cases.
1962 Force an underflow exception when setting errno for underflow.
1963 Determine underflow based on rounding to normal precision if
1964 TININESS_AFTER_ROUNDING.
1965 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
1966 ERANGE for exact underflow cases.
1967 * stdlib/Makefile (tests): Add tst-tininess and
1968 tst-strtod-underflow.
1969 ($(objpfx)tst-tininess): Use $(link-libm).
1970 ($(objpfx)tst-strtod-underflow): Likewise.
1971
e7170363
AJ
19722012-10-30 Andreas Jaeger <aj@suse.de>
1973
e5088dc6
AJ
1974 [BZ#14767]
1975 * elf/Makefile (tests): Remove conditional for have-initfini-array
1976 since this is now always required and the variable does not exist
1977 anymore.
1978 (tests-static): Likewise.
1979 (modules-names): Likewise.
1980
e7170363 1981 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
1982
1983 * elf/tst-array1.c (fini_array): Make writeable so that it can be
1984 merged with constructor/destructor.
1985 (init_array): Likewise.
1986 * elf/tst-array2dep.c (fini_array): Likewise.
1987 (init_array): Likewise.
1988
60457d8a
MF
19892012-10-29 Mike Frysinger <vapier@gentoo.org>
1990
1991 * manual/message.texi: Delete @cartouche tags.
1992
8bece752
PT
19932012-10-29 Pino Toscano <toscano.pino@tiscali.it>
1994
94ce799f
PT
1995 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
1996 EOPNOTSUPP.
1997 * sysdeps/mach/hurd/fsync.c: Likewise.
1998
8bece752
PT
1999 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
2000 [_POSIX_REALTIME_SIGNALS]: Change condition to
2001 [_POSIX_REALTIME_SIGNALS > 0].
2002
86ebe6b1
AJ
20032012-10-27 Andreas Jaeger <aj@suse.de>
2004
2005 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
2006 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
2007 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
2008 [__WORDSIZE != 64]: Likewise.
2009
54399c08
L
20102012-10-26 H.J. Lu <hongjiu.lu@intel.com>
2011
2012 * iconvdata/tst-table.sh: Remove ${SHELL}.
2013 * iconvdata/tst-tables.sh: Likewise.
2014
e2211bed
DM
20152012-10-25 David S. Miller <davem@davemloft.net>
2016
2017 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2018 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
2019 of strtoull.
2020
f303f97c
DM
2021 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
2022 ifunc-impl-list.c
2023 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2024 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
2025 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
2026 file.
2027
1e9d84cd
RM
20282012-10-25 Roland McGrath <roland@hack.frob.com>
2029
2030 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2031 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
2032 __getdirentries.
2033
df381762
JM
20342012-10-25 Joseph Myers <joseph@codesourcery.com>
2035 Jim Blandy <jimb@codesourcery.com>
2036
2037 * scripts/cross-test-ssh.sh: New file.
2038 * manual/install.texi (Configuring and compiling): Document use of
2039 cross-test-ssh.sh.
2040 * INSTALL: Regenerated.
2041
bff64913
PT
20422012-10-25 Pino Toscano <toscano.pino@tiscali.it>
2043
2044 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
2045 EOPNOTSUPP.
2046
25fe8932
JM
20472012-10-25 Joseph Myers <joseph@codesourcery.com>
2048
2049 * Makeconfig (run-program-prefix): Fix comment.
2050
cc1290d0
JM
20512012-10-24 Joseph Myers <joseph@codesourcery.com>
2052 Jim Blandy <jimb@codesourcery.com>
2053
2054 * Makeconfig (test-wrapper): New variable,
2055 (test-wrapper-env): Likewise.
2056 [$(cross-compiling) = yes && $(test-wrapper) != ""]
2057 (run-built-tests): Define to yes.
2058 (run-program-prefix): Use $(test-wrapper).
2059 (built-program-cmd): Likewise.
2060 * Rules (make-test-out): Use $(test-wrapper-env) and
2061 $(host-built-program-cmd).
2062 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
2063 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
2064 tst-pathopt.sh.
2065 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
2066 $(test-wrapper-env) to tst-rtld-load-self.sh.
2067 ($(objpfx)order2.out): Use $(test-wrapper).
2068 ($(objpfx)tst-initorder.out): Likewise.
2069 ($(objpfx)tst-initorder2.out): Likewise.
2070 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
2071 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
2072 (test_wrapper_env): New variable. Use it to run ld.so.
2073 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
2074 Use it to run ld.so.
2075 (test_wrapper_env): Likewise.
2076 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
2077 $(test-wrapper) to run-iconv-test.sh.
2078 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
2079 (ICONV): Use $test_wrapper.
2080 * posix/Makefile ($(objpfx)globtest.out): Pass
2081 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
2082 globtest.sh, not $(run-program-prefix).
2083 * posix/globtest.sh (run_via_rtld_prefix): New variable.
2084 (test_wrapper): Likewise.
2085 (test_wrapper_env): Likewise. Use it to run globtest with HOME
2086 set together with run_via_rtld_prefix.
2087 (run_program_prefix): Define in terms of test_wrapper and
2088 run_via_rtld_prefix.
2089
6e6249d0
RM
20902012-10-24 Roland McGrath <roland@hack.frob.com>
2091
2092 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
2093 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
2094 Targets removed.
2095
2096 [BZ #14743]
2097 * include/time.h: Remove librt_hidden_proto (clock_gettime).
2098 Declare __clock_getres, __clock_gettime, __clock_settime,
2099 __clock_nanosleep, and __clock_getcpuclockid.
2100 * rt/clock_gettime.c: Define __clock_gettime as an alias.
2101 Remove librt_hidden_def (clock_gettime).
2102 * sysdeps/unix/clock_gettime.c: Likewise.
2103 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
2104 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2105 * rt/clock_getres.c: Define __clock_getres as an alias.
2106 * sysdeps/posix/clock_getres.c: Likewise.
2107 * rt/clock_settime.c: Define __clock_settime as an alias.
2108 * sysdeps/unix/clock_settime.c: Likewise.
2109 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
2110 * sysdeps/unix/clock_nanosleep.c: Likewise.
2111 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2112 * rt/clock-compat.c: New file.
2113 * rt/Makefile (librt-routines): Add clock-compat and move
2114 $(clock-routines) to ...
2115 (routines): ... here, new variable.
2116 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
2117 Don't add get_clockfreq here.
2118 * rt/Versions (libc: GLIBC_2.17): New version set.
2119 Add clock_* symbols here.
2120 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
2121 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
2122 (GLIBC_2.17): Add clock_* symbols.
2123 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2124 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2125 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2127 Likewise.
2128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2129 Likewise.
2130 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2131 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2132 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2133 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2134 * NEWS: Mention the move.
2135
2136 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2137 Use __open, __read, __close rather than their public counterparts.
2138 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2139 (__get_clockfreq_via_cpuinfo): Likewise.
2140 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
2141 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
2142
2143 * config.h.in (HAVE_IFUNC): New #undef.
2144 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
2145 was successful.
2146 * configure: Regenerated.
2147
0cae3f4b
MF
21482012-10-24 Mike Frysinger <vapier@gentoo.org>
2149
2150 * configure.in: Move READELF check to start of file.
2151 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
2152 libc_cv_asm_gnu_indirect_function in the process.
2153 * configure: Regenerated.
2154
8175a253
MF
21552012-10-24 Mike Frysinger <vapier@gentoo.org>
2156
2157 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
2158 send the output to /dev/null.
2159 (libc_cv_cc_with_libunwind): Likewise.
2160 (libc_cv_as_noexecstack): Likewise.
2161 * configure: Regenerate.
2162
0708a7d1
JM
21632012-10-24 Joseph Myers <joseph@codesourcery.com>
2164
10b40d85
JM
2165 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
2166
0708a7d1
JM
2167 * posix/globtest.sh (TMPDIR): Do not set.
2168 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
2169 (testout): Likewise.
2170
9fddec1a
AJ
21712012-10-24 Andreas Jaeger <aj@suse.de>
2172
3a8db22f
AJ
2173 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
2174 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
2175 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
2176 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
2177 posix_fadvise64, posix_fallocate64.
2178
9fddec1a
AJ
2179 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
2180 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
2181 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
2182 Likewise.
2183 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
2184 Likewise.
2185 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
2186
2187 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
2188 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
2189 <bits/fcntl-linux.h>.
2190 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
2191
2192 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
2193 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
2194 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
2195 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
2196 [__WORDSIZE != 64]: Likewise.
2197
ebfd1bbd
JM
21982012-10-23 Joseph Myers <joseph@codesourcery.com>
2199
03ac099f
JM
2200 * Makeconfig (run-built-tests): New variable.
2201 * Rules [$(cross-compiling) = yes]: Change condition to
2202 [$(run-built-tests) = no].
2203 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
2204 to [$(run-built-tests) = yes].
2205 * elf/Makefile [$(cross-compiling) = no]: Likewise
2206 * grp/Makefile [$(cross-compiling) = no]: Likewise.
2207 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
2208 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
2209 * intl/Makefile [$(cross-compiling) = no]: Likewise.
2210 * io/Makefile [$(cross-compiling) = no]: Likewise.
2211 * libio/Makefile [$(cross-compiling) = no]: Likewise.
2212 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
2213 * misc/Makefile [$(cross-compiling) = no]: Likewise.
2214 * posix/Makefile [$(cross-compiling) = no]: Likewise.
2215 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
2216 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
2217 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
2218 * string/Makefile [$(cross-compiling) = no]: Likewise.
2219
ebfd1bbd
JM
2220 * posix/Makefile ($(objpfx)globtest.out): Pass
2221 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
2222 $(rtld-installed-name).
2223 * posix/globtest.sh (elf_objpfx): Remove variable.
2224 (rtld_installed_name): Likewise.
2225 (library_path): Likewise.
2226 (run_program_prefix): New variable. Use for running globtest
2227 binary.
2228
166bca24
JB
22292012-10-23 Jim Blandy <jimb@codesourcery.com>
2230 Joseph Myers <joseph@codesourcery.com>
2231
2232 * Makeconfig (host-built-program-cmd): New variable.
2233 * elf/Makefile (tst-stackguard1-ARGS): Use
2234 $(host-built-program-cmd).
2235 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
2236 (tst-spawn-ARGS): Likewise.
2237 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
2238
88866099
JM
22392012-10-23 Joseph Myers <joseph@codesourcery.com>
2240 Jim Blandy <jimb@codesourcery.com>
2241
2242 * Makeconfig (run-via-rtld-prefix): New variable.
2243 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
2244 (built-program-cmd): Likewise.
2245
b4b4c296
AJ
22462012-10-22 Andreas Jaeger <aj@suse.de>
2247
2248 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
2249 __O_RSYNC if it exists, otherwise to O_SYNC.
2250
6fb54a22
JB
22512012-10-22 Jim Blandy <jimb@codesourcery.com>
2252 Joseph Myers <joseph@codesourcery.com>
2253
2254 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
2255 /dev/null.
2256 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
2257 from /dev/null
2258 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
2259 /dev/null.
2260
481b90b9
AJ
22612012-10-22 Andreas Jaeger <aj@suse.de>
2262
2a0e2669
AJ
2263 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
2264 Define always.
2265 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
2266
76e38f9a
AJ
2267 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2268 bits/fcntl-linux.h.
2269
7cd37b43
AJ
2270 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
2271 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
2272
481b90b9
AJ
2273 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
2274 to __O_LARGEFILE.
2275 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
2276 to __O_LARGEFILE.
2277
aba75984
JB
22782012-10-21 Jim Blandy <jimb@codesourcery.com>
2279 Joseph Myers <joseph@codesourcery.com>
2280
2281 * config.make.in (NM): New variable.
2282
88d4247f
AJ
22832012-10-21 Andreas Jaeger <aj@suse.de>
2284
2285 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
2286 definitions and declarations that are provided by
2287 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2288
f2eed205
L
22892012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2290
2291 [BZ #14683]
2292 * elf/Makefile (tests-static): Add tst-leaks1-static.
2293 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
2294 ($(objpfx)tst-leaks1-static): New rule.
2295 ($(objpfx)tst-leaks1-static-mem): Likewise.
2296 (tst-leaks1-static-ENV): New macro.
2297 * elf/dl-open.c (dl_open_worker): Check the main application
2298 only if SHARED is defined.
2299 * elf/tst-leaks1-static.c: New file.
2300
335e6931
AJ
23012012-10-20 Andreas Jaeger <aj@suse.de>
2302
2303 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
2304 generic values for Linux.
2305 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
2306 and declarations that are provided by <bits/fcntl-linux.h> and
2307 include <bits/fcntl-linux.h>.
2308 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2309 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
2310
ac5c94d3
RM
23112012-10-20 Roland McGrath <roland@hack.frob.com>
2312
2313 * io/fcntl.h: Move include of <bits/types.h> to the top and
2314 include it unconditionally.
2315
de54b33a
L
23162012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2317
228cfb01
L
2318 * wcsmbs/Makefile (tests-ifunc): New variable.
2319 (tests): Add $(tests-ifunc).
2320 * wcsmbs/test-wcschr-ifunc.c: New file.
2321 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2322 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2323 * wcsmbs/test-wcslen-ifunc.c: Likewise.
2324 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2325 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2326
69f07e5f
L
2327 * string/Makefile (tests-ifunc): New variable.
2328 (tests): Add $(tests-ifunc).
2329 * string/test-memccpy.c (TEST_NAME): New macro.
2330 * string/test-memchr.c (TEST_NAME): Likewise.
2331 * string/test-memcmp.c (TEST_NAME): Likewise.
2332 * string/test-memcpy.c (TEST_NAME): Likewise.
2333 * string/test-memmem.c (TEST_NAME): Likewise.
2334 * string/test-memmove.c (TEST_NAME): Likewise.
2335 * string/test-memset.c (TEST_NAME): Likewise.
2336 * string/test-rawmemchr.c (TEST_NAME): Likewise.
2337 * string/test-stpcpy.c (TEST_NAME): Likewise.
2338 * string/test-stpncpy.c (TEST_NAME): Likewise.
2339 * string/test-strcasecmp.c (TEST_NAME): Likewise.
2340 * string/test-strcasestr.c (TEST_NAME): Likewise.
2341 * string/test-strcat.c (TEST_NAME): Likewise.
2342 * string/test-strchr.c (TEST_NAME): Likewise.
2343 * string/test-strcmp.c(TEST_NAME): Likewise.
2344 * string/test-strcpy.c (TEST_NAME): Likewise.
2345 * string/test-strcspn.c (TEST_NAME): Likewise.
2346 * string/test-strlen.c (TEST_NAME): Likewise.
2347 * string/test-strncasecmp.c (TEST_NAME): Likewise.
2348 * string/test-strncmp.c (TEST_NAME): Likewise.
2349 * string/test-strncpy.c (TEST_NAME): Likewise.
2350 * string/test-strnlen.c (TEST_NAME): Likewise.
2351 * string/test-strpbrk.c (TEST_NAME): Likewise.
2352 * string/test-strrchr.c (TEST_NAME): Likewise.
2353 * string/test-strspn.c (TEST_NAME): Likewise.
2354 * string/test-strstr.c (TEST_NAME): Likewise.
2355 * string/test-bcopy-ifunc.c: New file.
2356 * string/test-bzero-ifunc.c: Likewise.
2357 * string/test-memccpy-ifunc.c: Likewise.
2358 * string/test-memchr-ifunc.c: Likewise.
2359 * string/test-memcmp-ifunc.c: Likewise.
2360 * string/test-memcpy-ifunc.c: Likewise.
2361 * string/test-memmem-ifunc.c: Likewise.
2362 * string/test-memmove-ifunc.c: Likewise.
2363 * string/test-mempcpy-ifunc.c: Likewise.
2364 * string/test-memset-ifunc.c: Likewise.
2365 * string/test-rawmemchr-ifunc.c: Likewise.
2366 * string/test-stpcpy-ifunc.c: Likewise.
2367 * string/test-stpncpy-ifunc.c: Likewise.
2368 * string/test-strcasecmp-ifunc.c: Likewise.
2369 * string/test-strcasestr-ifunc.c: Likewise.
2370 * string/test-strcat-ifunc.c: Likewise.
2371 * string/test-strchr-ifunc.c: Likewise.
2372 * string/test-strchrnul-ifunc.c: Likewise.
2373 * string/test-strcmp-ifunc.c: Likewise.
2374 * string/test-strcpy-ifunc.c: Likewise.
2375 * string/test-strcspn-ifunc.c: Likewise.
2376 * string/test-strlen-ifunc.c: Likewise.
2377 * string/test-strncasecmp-ifunc.c: Likewise.
2378 * string/test-strncat-ifunc.c: Likewise.
2379 * string/test-strncmp-ifunc.c: Likewise.
2380 * string/test-strncpy-ifunc.c: Likewise.
2381 * string/test-strnlen-ifunc.c: Likewise.
2382 * string/test-strpbrk-ifunc.c: Likewise.
2383 * string/test-strrchr-ifunc.c: Likewise.
2384 * string/test-strspn-ifunc.c: Likewise.
2385 * string/test-strstr-ifunc.c: Likewise.
2386
de54b33a
L
2387 * debug/Makefile (tests-ifunc): New variable.
2388 (tests): Add $(tests-ifunc).
2389 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
2390 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
2391 * debug/test-stpcpy_chk-ifunc.c: New file.
2392 * debug/test-strcpy_chk-ifunc.c: Likewise.
2393
88481c16
SP
23942012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2395
2396 [BZ #13601]
2397 * elf/dl-load.c (open_verify): Retry read if the entire ELF
2398 header is not read in.
2399
135948bd
JM
24002012-10-19 Joseph Myers <joseph@codesourcery.com>
2401
89f1c388
JM
2402 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
2403 script to $(SHELL) as $<. Pass $(common-objpfx) to script
2404 directly. Pass built executable to script as
2405 $(built-program-cmd).
2406 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
2407 $testprogram without using LD_LIBRARY_PATH and $ldso.
2408
e40a0d21
JM
2409 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
2410 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
2411 $(rtld-installed-name).
2412 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
2413 (rtld_installed_name): Likewise.
2414 (library_path): Likewise.
2415 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
2416 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
2417 $(run-program-prefix) to tst-tables.sh.
2418 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
2419 it to run tst-table-from and tst-table-to.
2420 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
2421 Pass it to tst-table.sh.
2422 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
2423 $(run-program-prefix) to tst-gettext.sh.
2424 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
2425 tst-translit.sh.
2426 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
2427 tst-gettext2.sh.
2428 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
2429 to run tst-gettext.
2430 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
2431 to run tst-gettext2.
2432 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
2433 to run tst-translit.
2434 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
2435 $(run-program-prefix) to tst-mtrace.sh.
2436 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
2437 to run tst-mtrace.
2438 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
2439 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
2440 $(rtld-installed-name).
2441 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
2442 (rtld_installed_name): Likewise.
2443 (run_program_prefix): New variable. Use it to run wordexp-test.
2444
728e272a
JM
2445 * Makeconfig (ARCH): Remove all definitions.
2446 (machine): Likewise.
2447 [ARCH]: Remove conditional code.
2448 [!objdir]: Give error.
2449 [!objdir] (objpfx): Remove.
2450 [!objdir] (common-objpfx): Likewise.
2451 [!objdir] (common-objdir): Likewise.
2452 * configure.in (config_makefile): Remove. Hardcode Makefile in
2453 AC_CONFIG_FILES call.
2454 * configure: Regenerated.
2455
d528cdcf
JM
2456 [BZ #13888]
2457 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
2458 or TMPDIR.
2459 (testout): Likewise.
2460
135948bd
JM
2461 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
2462 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
2463 $(rtld-installed-name).
2464 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
2465 (rtld_installed_name): Likwise.
2466 (runit): Remove function.
2467 (run_getconf): New variable, Use it for running getconf binary.
2468
38c78296
L
24692012-10-18 H.J. Lu <hongjiu.lu@intel.com>
2470
2471 [BZ #14716]
2472 * string/test-memmem.c (check_result): New function.
2473 (do_one_test): Use it.
2474 (check1): New function.
2475 (test_main): Use it.
2476
d077f65f
MT
24772012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
2478
2479 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
2480
ced52c71
JM
24812012-10-18 Joseph Myers <joseph@codesourcery.com>
2482
2483 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
2484 (_G_LSEEK64): Likewise.
2485 (_G_MMAP64): Likewise.
2486 (_G_FSTAT64): Likewise.
2487 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
2488 (_G_LSEEK64): Likewise.
2489 (_G_MMAP64): Likewise.
2490 (_G_FSTAT64): Likewise.
2491 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
2492 unconditional. Call __mmap64 directly.
2493 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
2494 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
2495 __lseek64 directly.
2496 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
2497 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
2498 __mmap64 directly.
2499 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
2500 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
2501 __lseek64 directly.
2502 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
2503 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
2504 __lseek64 directly.
2505 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
2506 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
2507 __lseek64 directly.
2508 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
2509 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
2510 __fxstat64 directly.
2511 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
2512 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
2513 unconditional.
2514 (freopen64) [!_G_OPEN64]: Remove conditional code.
2515 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
2516 unconditional.
2517 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
2518 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
2519 unconditional.
2520 (ftello64) [!_G_LSEEK64]: Remove conditional code.
2521 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
2522 unconditional.
2523 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2524 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
2525 unconditional.
2526 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
2527 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
2528 unconditional.
2529 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2530 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
2531 unconditional.
2532 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2533 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
2534 unconditional.
2535 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2536
b741de23
SP
25372012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2538
2539 [BZ #12140]
2540 * manual/memory.texi (Malloc Tunable Parameters): Add note
2541 about free list pointers overwriting some perturb bytes.
2542 Wording suggested by Roland McGrath.
2543
f9b9d9c9
JM
25442012-10-17 Joseph Myers <joseph@codesourcery.com>
2545
2546 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
2547 (lgamma_test): Likewise.
2548 (tgamma_test): Likewise.
2549
172a631a
FW
25502012-10-16 Florian Weimer <fweimer@redhat.com>
2551
2552 [BZ #14700]
2553 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
2554 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
2555
e9f37252
MK
25562012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
2557
2558 * NEWS: Mention BZ #14716.
2559 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
2560 when removing AVAILABLE1_USES_J macro.
2561
d394eb74
L
25622012-10-12 H.J. Lu <hongjiu.lu@intel.com>
2563
2564 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
2565 (__bswap_64): __uint64_t for unsigned 64-bit int.
2566
ca38dc17
AS
25672012-10-12 Andreas Schwab <schwab@linux-m68k.org>
2568
2569 * include/string.h (memmem): Declare libc hidden alias.
2570 * string/memmem.c (memmem): Define libc hidden alias.
2571 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
2572 __read, __close instead of open, read, close.
2573
9a387d1f
L
25742012-10-11 H.J. Lu <hongjiu.lu@intel.com>
2575
ac49ecaf
L
2576 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
2577 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
2578 global and hidden.
2579 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
2580 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
2581 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
2582 Likewise.
2583 (__rawmemchr_sse2): Likewise.
2584 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
2585 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
2586 (__strchr_sse2): Likewise.
2587 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
2588 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
2589 (__strcasecmp_sse2): Likewise.
2590 (__strncasecmp_sse2): Likewise.
2591 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
2592 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
2593 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
2594 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
2595 (__strrchr_sse2): Likewise.
2596 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
2597 ifunc-impl-list.c.
2598 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2599 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2600 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2601 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2602 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2603 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2604 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2605 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2606 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
2607 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
2608 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
2609 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
2610 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
2611 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2612 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2613 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2614 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2615 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2616 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
2617 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
2618 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
2619 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
2620 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
2621 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
2622 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
2623 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2624 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2625 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2626 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2627 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2628
b090e8ea
L
2629 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
2630 global and hidden.
2631 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
2632 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
2633 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
2634 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
2635 Likewise.
2636 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
2637 Likewise.
2638 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
2639 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
2640 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
2641 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
2642 ifunc-impl-list.c.
2643 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2644 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2645 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2646 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2647 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2648 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2649 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2650 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2651 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2652 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2653 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2654 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2655 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2656 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
2657 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
2658 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2659 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
2660 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
2661 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2662 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2663 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2664 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2665 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2666 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2667 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2668 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
2669 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
2670 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
2671 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
2672 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2673 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
2674 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2675 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2676 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
2677 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2678 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2679 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2680 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2681 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2682 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2683 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
2684
11dd4af6
L
2685 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
2686 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
2687 * include/ifunc-impl-list.h: New file.
2688 * misc/ifunc-impl-list.c: Likewise.
2689 * misc/Makefile (routines): Add ifunc-impl-list.
2690 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
2691 * string/test-string.h: Include <ifunc-impl-list.h>.
2692 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
2693 impl_array): New variables.
2694 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
2695 are defined.
2696 (test_init): Call __libc_ifunc_impl_list to initialize
2697 func_list if TEST_IFUNC and TEST_NAME are defined.
2698
9a387d1f
L
2699 * string/Makefile (strop-tests): Add bcopy and bzero.
2700 * string/test-bcopy.c: New file.
2701 * string/test-bzero.c: Likewise.
2702 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
2703 defined.
2704 * string/test-memset.c: Support bzero test if TEST_BZERO is
2705 defined.
2706 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
2707 __libc_memmove.
2708 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
2709 __libc_memset.
2710 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
2711 of memset.
2712
472371b9
JM
27132012-10-10 Joseph Myers <joseph@codesourcery.com>
2714
1e4a9536
JM
2715 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
2716 * configure: Regenerated.
2717
d173d12e
JM
2718 * Makeconfig (+link-static-before-libc): Don't include
2719 $(link-static-libc).
2720
472371b9
JM
2721 * libio/libio.h (_IO_pos_t): Remove.
2722
89a3ad0b
AO
27232012-10-10 Alexandre Oliva <aoliva@redhat.com>
2724
2725 * NEWS: Add note about FIPS mode. Wording suggested by Roland
2726 McGrath.
2727
e7451425
AO
27282012-10-10 Alexandre Oliva <aoliva@redhat.com>
2729
2730 * crypt/crypt-entry.c: Include fips-private.h.
2731 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
2732 * crypt/md5c-test.c (main): Tolerate disabled MD5.
2733 * sysdeps/unix/sysv/linux/fips-private.h: New file.
2734 * sysdeps/generic/fips-private.h: New file, dummy fallback.
2735
4ba74a35
AO
27362012-10-10 Alexandre Oliva <aoliva@redhat.com>
2737
2738 * crypt/crypt-private.h: Include stdbool.h.
2739 (_ufc_setup_salt_r): Return bool.
2740 * crypt/crypt-entry.c: Include errno.h.
2741 (__crypt_r): Return NULL with EINVAL for bad salt.
2742 * crypt/crypt_util.c (bad_for_salt): New.
2743 (_ufc_setup_salt_r): Check that salt is long enough and within
2744 the specified alphabet.
2745 * crypt/badsalttest.c: New file.
2746 * crypt/Makefile (tests): Add it.
2747 ($(objpfx)badsalttest): New.
2748
f96f1242
MK
27492012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
2750
2751 * NEWS: Add entry for BZ #14602.
2752
0e8e0c1c
JM
27532012-10-09 Joseph Myers <joseph@codesourcery.com>
2754
2755 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
2756 type-generic.
2757 * math/libm-test.inc: Update comment listing what functions and
2758 macros are tested.
2759 (isgreater_test): New function.
2760 (isgreaterequal_test): Likewise.
2761 (isless_test): Likewise.
2762 (islessequal_test): Likewise.
2763 (islessgreater_test): Likewise.
2764 (isunordered_test): Likewise.
2765 (main): Call the new functions.
2766
273edc5e
RM
27672012-10-09 Roland McGrath <roland@hack.frob.com>
2768
b8493de0
RM
2769 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
2770 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
2771 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
2772 * sysdeps/i386/configure: Regenerated.
2773 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
2774 * sysdeps/mach/configure: Regenerated.
2775 * sysdeps/mach/hurd/configure: Regenerated.
2776 * sysdeps/powerpc/configure: Regenerated.
2777 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2778 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2779 * sysdeps/s390/s390-32/configure: Regenerated.
2780 * sysdeps/s390/s390-64/configure: Regenerated.
2781 * sysdeps/sh/configure: Regenerated.
2782 * sysdeps/sparc/configure: Regenerated.
2783 * sysdeps/unix/sysv/linux/configure: Regenerated.
2784 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2785 * sysdeps/x86_64/configure: Regenerated.
2786
273edc5e
RM
2787 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
2788 defined. Don't check if MAP is NULL.
2789
c8450f70
JM
27902012-10-09 Joseph Myers <joseph@codesourcery.com>
2791
2792 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
2793 (_G_stat64): Likewise.
2794 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
2795 (_G_stat64): Likewise.
2796 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
2797 instead of struct _G_stat64.
2798 * libio/fileops.c (mmap_remap_check): Likewise.
2799 (decide_maybe_mmap): Likewise.
2800 (_IO_new_file_seekoff): Likewise.
2801 (_IO_file_stat): Likewise.
2802 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
2803 _G_off64_t.
2804 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
2805 instead of struct _G_stat64.
2806 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
2807
57e605ba
MK
28082012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
2809
2810 [BZ #14602]
2811 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2812 Replace with ...
2813 (CHECK_EOL): New macro.
2814 (two_way_short_needle): Check beginning of haystack for EOL. Use
2815 CHECK_EOL.
2816 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2817 Replace with CHECK_EOL.
2818 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2819 Replace with CHECK_EOL.
2820
ef1bb361
JM
28212012-10-08 Joseph Myers <joseph@codesourcery.com>
2822
2823 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
2824 type-generic.
2825 * math/libm-test.inc: Update comment listing what functions and
2826 macros are tested.
2827 (finite_test): New function.
2828 (isinf_test): Likewise.
2829 (isnan_test): Likewise.
2830 (fpclassify_test): Test subnormal input.
2831 (isfinite_test): Likewise.
2832 (isnormal_test): Likewise.
2833 (main): Call the new functions.
2834
55f11534
JN
28352012-10-08 Jonathan Nieder <jrnieder@gmail.com>
2836
2837 [BZ #14660]
2838 * Makerules (%.dynsym): Force C locale when running
2839 $(OBJDUMP) --dynamic-syms.
2840
1ab29350
AS
28412012-10-08 Andreas Schwab <schwab@linux-m68k.org>
2842
2843 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
2844 <stdint.h>.
2845
f1ecb7ef
DM
28462012-10-06 David S. Miller <davem@davemloft.net>
2847
2848 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
2849 upper 32-bits of the length value in %o2 since we use branch-on-register
2850 tests which consider the entire 64-bit register.
2851
5d41d91a
L
28522012-10-06 H.J. Lu <hongjiu.lu@intel.com>
2853
2854 * string/test-strstr.c (check2): Add a test for page boundary.
2855
3baddb72
DM
28562012-10-05 David S. Miller <davem@davemloft.net>
2857
2858 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
2859 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
2860 file.
2861 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
2862 sysdep_routines.
2863 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
2864 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
2865 and bzero when HWCAP_SPARC_CRYPTO is present.
2866
9cee5585
L
28672012-10-05 H.J. Lu <hongjiu.lu@intel.com>
2868
d7e0dab9
L
2869 [BZ #14602]
2870 * string/test-strstr.c (check2): New function.
2871 (test_main): Call check2.
2872
03759f47
L
2873 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
2874 and bug-strchr1.
2875 * string/bug-strcasestr1.c (do_test): Moved to ...
2876 * string/test-strcasestr.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-strchr1.c (do_test): 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-strstr1.c (main): Moved to ...
2888 * string/test-strchr.c (check1): Here. New function.
2889 (do_one_test): Break out result checking code into ...
2890 (check_result): This. New function.
2891 (do_one_test): Call check_result.
2892 (test_main): Call check1.
2893 * string/bug-strcasestr1.c: Removed.
2894 * string/bug-strchr1.c: Likewise.
2895 * string/bug-strstr1.c: Likewise.
2896
53cea63e
L
2897 * elf/Makefile (dl-routines): Add hwcaps.
2898 * elf/dl-support.c (_dl_important_hwcaps): Removed.
2899 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
2900 (_dl_important_hwcaps): Moved to ...
2901 * elf/dl-hwcaps.c: Here. New file.
2902 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
2903
9cee5585 2904 [BZ #14557]
bb859b06
L
2905 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
2906 if IS_IN_rtld isn't defined.
2907
9cee5585
L
2908 * elf/dl-support.c (_dl_sysinfo_map): New.
2909 Include "get-dynamic-info.h" and "setup-vdso.h".
2910 (_dl_non_dynamic_init): Call setup_vdso.
2911 * elf/dynamic-link.h: Don't include <assert.h>.
2912 (elf_get_dynamic_info): Moved to ...
2913 * elf/get-dynamic-info.h: Here. New file.
2914 * elf/dynamic-link.h: Include "get-dynamic-info.h".
2915 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
2916 * elf/setup-vdso.h: Here. New file.
2917 * elf/rtld.c: Include "setup-vdso.h".
2918 (dl_main): Call setup_vdso.
2919
23c31b76
JM
29202012-10-05 Joseph Myers <joseph@codesourcery.com>
2921
28234b07
JM
2922 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
2923 creal in comment listing functions tested. List finite, isinf,
2924 isnan, isless, islessequal, isgreater, isgreaterequal,
2925 islessgreater, isunordered, lgamma_r and pow10 as functions and
2926 macros not tested. Mention which functions not tested are aliases
2927 for other functions. Fix typo. Note that signs of NaNs are not
2928 tested.
2929
23c31b76
JM
2930 * scripts/config.guess: Update from config.git.
2931 * scripts/config.sub: Likewise.
2932
9043e228
RM
29332012-10-04 Roland McGrath <roland@hack.frob.com>
2934
2935 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
2936 * misc/madvise.c (madvise): Renamed to __madvise.
2937 Make madvise a weak alias.
2938 * include/sys/mman.h: Declare __madvise.
2939 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
2940 * sysdeps/unix/syscalls.list
2941 (madvise): Make __madvise the strong name, and madvise a weak alias.
2942 * sysdeps/unix/sysv/linux/syscalls.list
2943 (madvise, mmap): Remove redundant entries.
2944 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
2945 * malloc/malloc.c (mtrim): Likewise.
2946 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
2947
f57f8055
RM
29482012-10-03 Roland McGrath <roland@hack.frob.com>
2949
2950 * sysdeps/mach/hurd/dl-cache.c: File removed.
2951 * config.h.in (USE_LDCONFIG): New #undef.
2952 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
2953 * configure: Regenerated.
2954 * elf/Makefile (dl-routines): Add dl-cache only under
2955 [$(use-ldconfig) = yes].
2956 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
2957 cache on [USE_LDCONFIG].
2958 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
2959 [USE_LDCONFIG].
2960 * elf/rtld.c (dl_main): Likewise.
2961
5bb0c10a
PT
29622012-10-03 Pino Toscano <toscano.pino@tiscali.it>
2963
2964 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
2965 _SC_LEVEL4_CACHE_LINESIZE.
2966
010188c6
RM
29672012-10-03 Roland McGrath <roland@hack.frob.com>
2968
2969 * sysdeps/unix/bsd/confstr.h: File removed.
2970
b6c5ec07
AO
29712012-10-02 Alexandre Oliva <aoliva@redhat.com>
2972
2973 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
2974 sys/sdt-config.h.
2975
408223d4
RM
29762012-10-02 Roland McGrath <roland@hack.frob.com>
2977
2978 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
2979 Make 'mapoff' field ElfW(Off) rather than off_t.
2980
bb9510dc
DL
29812012-10-02 Dmitry V. Levin <ldv@altlinux.org>
2982
fc997c6e
DL
2983 * nscd/Makefile: Remove nscd-cflags and all its users.
2984 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
2985 (CFLAGS-nonlib): Add compiler flags for nscd modules.
2986
bb9510dc
DL
2987 [BZ #10631]
2988 * malloc.c (malloc_printerr): Clarify error message.
2989
05699367
L
29902012-10-02 H.J. Lu <hongjiu.lu@intel.com>
2991
2992 [BZ #14648]
2993 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2994 Set bit_FMA_Usable if FMA is supported.
2995 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
2996 macro.
2997 (bit_FMA4_Usable): Updated.
2998 (index_FMA_Usable): New macro.
2999 (CPUID_FMA): Likewise
3000 (HAS_FMA): Defined with bit_FMA_Usable.
3001
51367701
RM
30022012-10-01 Roland McGrath <roland@hack.frob.com>
3003
3004 * bits/types.h (__swblk_t): Type removed.
3005 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
3006 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
3007 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3008 (__SWBLK_T_TYPE): Likewise.
3009 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3010 (__SWBLK_T_TYPE): Likewise.
3011 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3012 (__SWBLK_T_TYPE): Likewise.
3013 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3014 (__SWBLK_T_TYPE): Likewise.
3015
4d57bf63 30162012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 3017 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
3018
3019 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
3020 (xdr_mapname): Use YPMAXMAP as maxsize.
3021 (xdr_peername): Use YPMAXPEER as maxsize.
3022 (xdr_keydat): Use YPAXRECORD as maxsize.
3023 (xdr_valdat): Use YPMAXRECORD as maxsize.
3024
93c65d43
RM
30252012-10-01 Roland McGrath <roland@hack.frob.com>
3026
497a03d6
RM
3027 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
3028
93c65d43
RM
3029 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
3030 * csu/init-first.c: ... here.
3031 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
3032 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3033 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
3034 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3035 * sysdeps/i386/init-first.c: File removed.
3036 * sysdeps/sh/init-first.c: File removed.
3037
bec749fd
JM
30382012-10-01 Joseph Myers <joseph@codesourcery.com>
3039
3040 [BZ #14645]
3041 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
3042 if x * y might underflow to zero and z is zero.
3043 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3044 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3045 * math/libm-test.inc (min_subnorm_value): New variable.
3046 (fma_test): Add more tests.
3047 (fma_test_towardzero): Likewise.
3048 (fma_test_downward): Likewise
3049 (fma_test_upward): Likewise.
3050 (initialize): Set min_subnorm_value.
3051
8ec5b013
JM
30522012-09-29 Joseph Myers <joseph@codesourcery.com>
3053
3054 [BZ #14638]
3055 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
3056 0 + 0.
3057 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
3058 mode for addition resulting in exact zero.
3059 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
3060 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
3061 exact 0 + 0.
3062 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3063 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3064 * math/libm-test.inc (fma_test): Add more tests.
3065 (fma_test_towardzero): New function.
3066 (fma_test_downward): Likewise.
3067 (fma_test_upward): Likewise.
3068 (main): Call the new functions.
3069
b1fa802e
DM
30702012-09-28 David S. Miller <davem@davemloft.net>
3071
3072 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
3073
d3b9fd9e
RM
30742012-09-28 Roland McGrath <roland@hack.frob.com>
3075
ea4d37b3
RM
3076 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
3077 instead of SIGALRM.
3078
ac51c949
RM
3079 * sysdeps/gnu/_G_config.h: Moved to ...
3080 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
3081 * sysdeps/mach/hurd/_G_config.h: Moved to ...
3082 * sysdeps/generic/_G_config.h: ... here.
3083
28c195f7
RM
3084 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
3085
848917f9
RM
3086 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
3087
6bacf05b
RM
3088 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
3089 Conditionalize target on [libnss_test1.so-version].
3090
91363dbb
RM
3091 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
3092
cc87f7d8
RM
3093 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
3094 (elfobjdir): Move out of conditionals.
3095
b1c608fe
RM
3096 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
3097 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
3098 (__nss_lookup_function): Conditionalize label remove_from_tree on
3099 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 3100
1d9a6d96
DM
31012012-09-28 David S. Miller <davem@davemloft.net>
3102
3103 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
3104 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
3105 file.
3106 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3107 sysdep_routines.
3108 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3109 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
3110 when HWCAP_SPARC_CRYPTO is present.
3111
72581615
PT
31122012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3113
3114 * io/tst-mknodat.c: Create a FIFO instead of a socket.
3115
715a900c
JL
31162012-09-28 Andreas Schwab <schwab@linux-m68k.org>
3117
3118 [BZ #6530]
3119 * stdio-common/vfprintf.c (process_string_arg): Revert
3120 2000-07-22 change.
3121
31222011-09-28 Jonathan Nieder <jrnieder@gmail.com>
3123
3124 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
3125 for testcase.
3126 * stdio-common/tst-sprintf.c: Include <locale.h>
3127 (main): Test sprintf's handling of incomplete multibyte
3128 characters.
3129
9bac1d86
L
31302012-09-28 H.J. Lu <hongjiu.lu@intel.com>
3131
3132 * elf/dl-runtime.c (VERSYMIDX): Removed.
3133 * elf/dl-version.c (VERSYMIDX): Likewise.
3134 * elf/do-rel.h (VERSYMIDX): Likewise.
3135 (VALIDX): Likewise.
3136 * elf/dynamic-link.h (VERSYMIDX): Likewise.
3137 * elf/rtld.c (VALIDX): Likewise.
3138 (ADDRIDX): Likewise.
9bac1d86
L
3139 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
3140 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
3141 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
3142 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
3143 (VALIDX): Likewise.
3144 (ADDRIDX): Likewise.
9bac1d86 3145
b31606c0
PT
31462012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3147
3148 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
3149
11541177
JL
31502012-09-28 Dmitry V. Levin <ldv@altlinux.org>
3151
3152 [BZ #11438]
3153 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
3154 to global scope.
3155 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
3156 addresses are in the same scope as 192.0.2/24.
3157 * posix/gai.conf: Document new scope table defaults.
3158
adb26fae
SP
31592012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3160
3161 [BZ #5298]
3162 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
3163 for ftell. Compute offsets from write pointers instead.
3164 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3165
4573c6b0
SP
31662012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3167
3168 [BZ #14543]
3169 * libio/Makefile (tests): New test case tst-fseek.
3170 * libio/tst-fseek.c: New test case to verify that fseek/ftell
3171 combination works in wide mode.
3172 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
3173 state when the external buffer state changes.
3174
aa9bbfe6
DM
31752012-09-27 David S. Miller <davem@davemloft.net>
3176
3177 [BZ #14376]
3178 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
3179 pass reloc->r_addend in as the 'high' argument to
3180 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
3181
784421e7
DM
3182 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3183
c39bc8b8
PT
31842012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3185
3186 * rt/tst-aio2.c: Include <pthread.h>.
3187 * rt/tst-aio3.c: Likewise.
3188
1ccc2399
SE
31892012-09-27 Steve Ellcey <sellcey@mips.com>
3190
3191 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
3192
31ed4153
L
31932012-09-27 H.J. Lu <hongjiu.lu@intel.com>
3194
25f5f885
L
3195 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
3196 contents on [SHARED].
31ed4153 3197
b7bfe116
MP
31982012-09-26 Marek Polacek <polacek@redhat.com>
3199
3200 [BZ #14530]
3201 [BZ #13741]
3202 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
3203 for C++ and GCC <4.3 as well as for non GCC compilers.
3204
43c4edba
MT
32052012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
3206
3207 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3208
6a1bf82f
RM
32092012-09-25 Roland McGrath <roland@hack.frob.com>
3210
3211 * Makefile.in (all, install): Declare with .PHONY.
3212 Reported by Michael Hope <michael.hope@linaro.org>.
3213
8ad11b9a
TMQMF
32142012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3215
3216 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
3217 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
3218 system header.
3219 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
3220 Likewise.
3221 (sydep_routines): Add the new and the internal functions.
3222 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
3223 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
3224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
3225 (GLIBC_2.17): Add the new function.
3226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3227 (GLIBC_2.17): Likewise.
3228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
3229 (GLIBC_2.17): Likewise.
3230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
3231 (GLIBC_2.17): Likewise.
3232 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
3233
7e2fca8d
AM
32342012-09-25 Alan Modra <amodra@gmail.com>
3235
3236 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
3237 Add release barrier before setting once_control to say
3238 initialisation is done. Add hints on lwarx. Use macro in
3239 place of isync.
3240 (clear_once_control): Add release barrier.
3241
b87c4b24
JM
32422012-09-25 Joseph Myers <joseph@codesourcery.com>
3243
d032e0d2
JM
3244 [BZ #13629]
3245 * math/s_clog.c (__clog): Handle more values close to |z| = 1
3246 specially.
3247 * math/s_clog10.c (__clog10): Likewise.
3248 * math/s_clog10f.c (__clog10f): Likewise.
3249 * math/s_clog10l.c (__clog10l): Likewise.
3250 * math/s_clogf.c (__clogf): Likewise.
3251 * math/s_clogl.c (__clogl): Likewise.
3252 * math/Makefile (libm-calls): Add x2y2m1.
3253 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
3254 (__x2y2m1): Likewise.
3255 (__x2y2m1l): Likewise.
3256 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
3257 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
3258 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3259 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3260 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
3261 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
3262 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
3263 * sysdeps/i386/fpu/libm-test-ulps: Update.
3264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3265
b87c4b24
JM
3266 [BZ #14621]
3267 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
3268 int as type of variable DEPTH.
3269 (glob): Use size_t instead of int as type of variables NEWCOUNT
3270 and OLD_PATHC.
3271
6d3bf199
LD
32722012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3273
22bf5c17
LD
3274 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3275 Add s_sincosf-sse2.
3276 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
3277 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
3278 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
3279 macros for using routine as __sincosf_ia32.
3280 Use macro for function declaration and weak_alias.
3281 * sysdeps/i386/fpu/libm-test-ulps: Update.
3282
3283 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
3284 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3285
3286 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
3287 subnormal argument.
3288 * math/s_cexpf.c (__cexpf): Likewise.
3289 * math/s_csinf.c (__csinf): Likewise.
3290 * math/s_csinhf.c (__csinhf): Likewise.
3291 * math/s_ctanf.c (__ctanf): Likewise.
3292 * math/s_ctanhf.c (__ctanhf): Likewise.
3293 * math/s_ccosh.c (__ccoshf): Likewise.
3294 * math/s_cexp.c (__cexpl): Likewise.
3295 * math/s_csin.c (__csin): Likewise.
3296 * math/s_csinh.c (__csinh): Likewise.
3297 * math/s_ctan.c (__ctan): Likewise.
3298 * math/s_ctanh.c (ctanh): Likewise.
3299 * math/s_ccoshl.c (__ccoshl): Likewise.
3300 * math/s_cexpl.c (__cexpl): Likewise.
3301 * math/s_csinl.c (__csinl): Likewise.
3302 * math/s_csinhl.c (__csinhl): Likewise.
3303 * math/s_ctanl.c (__ctanl): Likewise.
3304 * math/s_ctanhl.c (__ctanhl): Likewise.
3305
203e5603
JM
33062012-09-25 Joseph Myers <joseph@codesourcery.com>
3307
3308 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
3309 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
3310 (_IO_off_t): Define to __off_t, not _G_off_t.
3311 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
3312 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
3313 (_IO_wint_t): Define to wint_t, not _G_wint_t.
3314 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
3315 type of __dummy and __dummy2 fields.
3316 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
3317 (_G_ssize_t): Likewise.
3318 (_G_off_t): Likewise.
3319 (_G_pid_t): Likewise.
3320 (_G_uid_t): Likewise.
3321 (_G_wchar_t): Likewise.
3322 (_G_wint_t): Likewise.
3323 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
3324 (_G_ssize_t): Likewise.
3325 (_G_off_t): Likewise.
3326 (_G_pid_t): Likewise.
3327 (_G_uid_t): Likewise.
3328 (_G_wchar_t): Likewise.
3329 (_G_wint_t): Likewise.
3330 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
3331 (_G_ssize_t): Likewise.
3332 (_G_off_t): Likewise.
3333 (_G_pid_t): Likewise.
3334 (_G_uid_t): Likewise.
3335 (_G_wchar_t): Likewise.
3336 (_G_wint_t): Likewise.
3337
9fab36eb
SP
33382012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3339
3340 * malloc/arena.c: Include malloc-sysdep.h.
3341 (shrink_heap): Use check_may_shrink_heap to decide if madvise
3342 is sufficient to shrink the heap or an unmap is needed.
3343 * sysdeps/generic/malloc-sysdep.h: New file. Define
3344 new function check_may_shrink_heap.
3345 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
3346 new function check_may_shrink_heap.
3347
2b4f00d1
SP
33482012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3349
3350 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
3351 comments.
3352
9a9028b1
DL
33532012-09-24 Dmitry V. Levin <ldv@altlinux.org>
3354
57c69bef
DL
3355 * catgets/test-gencat.sh: Add "set -e".
3356 * elf/tst-pathopt.sh: Likewise.
3357 * grp/tst_fgetgrent.sh: Likewise.
3358 * iconvdata/run-iconv-test.sh: Likewise.
3359 * intl/tst-gettext.sh: Likewise.
3360 * intl/tst-gettext2.sh: Likewise.
3361 * intl/tst-gettext4.sh: Likewise.
3362 * intl/tst-gettext6.sh: Likewise.
3363 * intl/tst-translit.sh: Likewise.
3364 * io/ftwtest-sh: Likewise.
3365 * libio/test-freopen.sh: Likewise.
3366 * malloc/tst-mtrace.sh: Likewise.
3367 * posix/globtest.sh: Likewise.
3368 * posix/tst-getconf.sh: Likewise.
3369 * posix/wordexp-tst.sh: Likewise.
3370 * stdio-common/tst-printf.sh: Likewise.
3371 * stdio-common/tst-unbputc.sh: Likewise.
3372 * stdlib/tst-fmtmsg.sh: Likewise.
3373 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3374 * catgets/Makefile: Do not specify -e option when running
3375 testsuite shell scripts.
3376 * elf/Makefile: Likewise.
3377 * grp/Makefile: Likewise.
3378 * iconvdata/Makefile: Likewise.
3379 * intl/Makefile: Likewise.
3380 * io/Makefile: Likewise.
3381 * libio/Makefile: Likewise.
3382 * malloc/Makefile: Likewise.
3383 * posix/Makefile: Likewise.
3384 * stdio-common/Makefile: Likewise.
3385 * stdlib/Makefile: Likewise.
3386 * sysdeps/x86_64/Makefile: Likewise.
3387
9a9028b1
DL
3388 * io/ftwtest-sh: Add copyright header.
3389 * posix/globtest.sh: Likewise.
3390 * posix/tst-getconf.sh: Likewise.
3391 * posix/wordexp-tst.sh: Likewise.
3392 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3393
ced6f16e
L
33942012-09-24 H.J. Lu <hongjiu.lu@intel.com>
3395
94b32c39
L
3396 [BZ #13679]
3397 * Makeconfig (+link): Defined as $(+link-static) if
3398 $(build-shared) isn't yes.
3399 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
3400 isn't yes.
3401 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
3402
189e935b
L
3403 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
3404
ced6f16e
L
3405 [BZ #14562]
3406 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
3407 new chunk size with MALLOC_ALIGN_MASK.
3408
a9f8e53a
JM
34092012-09-24 Joseph Myers <joseph@codesourcery.com>
3410
3411 [BZ #5044]
3412 * stdio-common/printf_fphex.c: Include <stdbool.h> and
3413 <rounding-mode.h>.
3414 (__printf_fphex): Determine rounding using get_rounding_mode and
3415 round_away.
3416 * stdio-common/tst-printf-round.c (struct hex_test): New
3417 structure.
3418 (hex_tests): New variable.
3419 (test_hex_in_one_mode): New function.
3420 (do_test): Also run tests for hex float output.
3421
43153109
JM
34222012-09-21 Joseph Myers <joseph@codesourcery.com>
3423
3424 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3425 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3426 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
3427 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3428 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3429 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
3430 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3431 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3432
8a26625d
JM
34332012-09-20 Joseph Myers <joseph@codesourcery.com>
3434
3435 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
3436 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
3437 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
3438 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
3439
f3fd569c
DL
34402012-09-19 Dmitry V. Levin <ldv@altlinux.org>
3441
3442 [BZ #14579]
3443 * elf/rtld.c (dl_main): Limit the check for self loading to normal
3444 mode only.
3445 * elf/tst-rtld-load-self.sh: New test.
3446 * elf/Makefile: Run it.
3447
63bbedd4
JM
34482012-09-18 Joseph Myers <joseph@codesourcery.com>
3449
3450 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
3451 (tst-writev-ENV): Remove.
3452 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
3453
626f8b6a
CM
34542012-09-17 Chris Metcalf <cmetcalf@tilera.com>
3455
3456 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
3457
b7aaa4d6
JM
34582012-09-17 Joseph Myers <joseph@codesourcery.com>
3459
3460 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
3461 unconditional.
3462 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
3463 Likewise.
3464 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
3465 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
3466 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
3467 Likewise.
3468
65513990
L
34692012-09-14 H.J. Lu <hongjiu.lu@intel.com>
3470
3471 [BZ #14587]
3472 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
3473 * config.make.in (have-cpp-asm-debuginfo): Removed.
3474 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
3475 * configure: Regenerated.
3476
784761be
JM
34772012-09-14 Joseph Myers <joseph@codesourcery.com>
3478
3479 [BZ #5044]
3480 * stdio-common/printf_fp.c: Include <stdbool.h> and
3481 <rounding-mode.h>.
3482 (___printf_fp): Determine rounding using get_rounding_mode and
3483 round_away.
3484 * stdio-common/tst-printf-round.c: New file.
3485 * stdio-common/Makefile (tests): Add tst-printf-round.
3486 (link-libm): New variable.
3487 ($(objpfx)tst-printf-round): Depend in $(link-libm).
3488
9503345f
L
34892012-09-13 H.J. Lu <hongjiu.lu@intel.com>
3490
3491 [BZ #14576]
3492 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
3493 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
3494 Likewise.
3495 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
3496 Likewise.
3497
ad35fc00
JM
34982012-09-13 Joseph Myers <joseph@codesourcery.com>
3499
3500 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
3501 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3502 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3503 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3504
6c9b0f68
JM
35052012-09-12 Joseph Myers <joseph@codesourcery.com>
3506
3507 [BZ #14518]
3508 * include/rounding-mode.h: New file.
3509 * sysdeps/generic/get-rounding-mode.h: Likewise.
3510 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
3511 * stdlib/strtod_l.c: Include <rounding-mode.h>.
3512 (MAX_VALUE): New macro.
3513 (MIN_VALUE): Likewise.
3514 (overflow_value): New function.
3515 (underflow_value): Likewise.
3516 (round_and_return): Use overflow_value and underflow_value to
3517 determine return values in overflow and underflow cases. Use
3518 round_away to determine rounding depending on rounding mode.
3519 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
3520 determine return values in overflow and underflow cases.
3521 * stdlib/tst-strtod-round.c: Include <fenv.h>.
3522 (struct test_results): New structure.
3523 (struct test): Use struct test_results to store expected results
3524 for all rounding modes.
3525 (TEST): Include expected results for all rounding modes.
3526 (test_in_one_mode): New function.
3527 (do_test): Use test_in_one_mode to compute and check results.
3528 Check results for all rounding modes.
3529 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
3530 $(link-libm).
3531
19fcedd5
AM
35322012-12-09 Allan McRae <allan@archlinux.org>
3533
1e9d84cd 3534 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 3535
8bbfd2f1
JM
35362012-09-11 Joseph Myers <joseph@codesourcery.com>
3537
3538 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
3539 (_G_int32_t): Likewise.
3540 (_G_uint16_t): Likewise.
3541 (_G_uint32_t): Likewise.
3542 (_G_HAVE_BOOL): Likewise.
3543 (_G_HAVE_ATEXIT): Likewise.
3544 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3545 (_G_HAVE_IO_FILE_OPEN): Likewise.
3546 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
3547 (_G_int32_t): Likewise.
3548 (_G_uint16_t): Likewise.
3549 (_G_uint32_t): Likewise.
3550 (_G_HAVE_BOOL): Likewise.
3551 (_G_HAVE_ATEXIT): Likewise.
3552 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3553 (_G_HAVE_IO_FILE_OPEN): Likewise.
3554 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
3555 (_G_int32_t): Likewise.
3556 (_G_uint16_t): Likewise.
3557 (_G_uint32_t): Likewise.
3558 (_G_HAVE_BOOL): Likewise.
3559 (_G_HAVE_ATEXIT): Likewise.
3560 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3561 (_G_HAVE_IO_FILE_OPEN): Likewise.
3562
b1dc5912
L
35632012-09-11 H.J. Lu <hongjiu.lu@intel.com>
3564
3565 * csu/libc-tls.c: Update copyright years.
3566
0e886ef9
JM
35672012-09-10 Joseph Myers <joseph@codesourcery.com>
3568
28361c5e
JM
3569 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
3570 [!_G_USING_THUNKS]: Remove conditional code.
3571 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
3572 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
3573
0e886ef9
JM
3574 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
3575 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
3576 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3577 (_G_VTABLE_LABEL_PREFIX): Likewise.
3578 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3579 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3580 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3581 (_G_VTABLE_LABEL_PREFIX): Likewise.
3582 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3583 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3584 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3585 (_G_VTABLE_LABEL_PREFIX): Likewise.
3586 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3587
bcba7aa2
L
35882012-09-10 H.J. Lu <hongjiu.lu@intel.com>
3589
3590 * libio/Makefile: Include ../Makeconfig before tests.
3591 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
3592 only if $(build-shared) is yes.
3593
06585ee8
L
3594 * iconv/gconv_db.c: Update copyright years.
3595
80ccd52c
LD
35962012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3597
3598 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
3599 unwind info if defined PIC. Fix special cases description.
3600 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
3601
3602 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
3603 DP_HI_MASK entry.
3604 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
3605
691bc9c1
L
36062012-09-07 H.J. Lu <hongjiu.lu@intel.com>
3607
3d9b46b3
L
3608 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
3609
de2139a9
L
3610 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
3611 is NULL.
3612
5ca78dd0
L
3613 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
3614 (LDLIBS-tst-chk4): This.
3615 (LDFLAGS-tst-chk5): Renamed to ...
3616 (LDLIBS-tst-chk5): This.
3617 (LDFLAGS-tst-chk6): Renamed to ...
3618 (LDLIBS-tst-chk6): This.
3619 (LDFLAGS-tst-lfschk4): Renamed to ...
3620 (LDLIBS-tst-lfschk4): This.
3621 (LDFLAGS-tst-lfschk5): Renamed to ...
3622 (LDLIBS-tst-lfschk5): This.
3623 (LDFLAGS-tst-lfschk6): Renamed to ...
3624 (LDLIBS-tst-lfschk6): This.
3625
691bc9c1
L
3626 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
3627 on $(common-objpfx)soversions.mk.
3628
65cafb1c
JM
36292012-09-07 Joseph Myers <joseph@codesourcery.com>
3630
3631 [BZ #10014]
3632 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
3633 example host name.
3634
c78ab094
SP
36352012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3636
3637 * malloc/arena.c (arena_get_retry): New function that gets
3638 another arena for the caller to try its request on.
3639 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
3640 current arena cannot fulfill the request.
3641 (__libc_memalign): Likewise.
3642 (__libc_memalign): Likewise.
3643 (__libc_pvalloc): Likewise.
3644 (__libc_calloc): Likewise.
3645
01f49f59
JT
36462012-09-05 John Tobey <john.tobey@gmail.com>
3647
3648 [BZ #13542]
3649 * manual/arith.texi (Operations on Complex): Fix description
3650 of carg branch cut.
3651
4c23fed5
JM
36522012-09-06 Joseph Myers <joseph@codesourcery.com>
3653
1d3c8572
JM
3654 [BZ #10014]
3655 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
3656 host name.
3657
4c23fed5
JM
3658 [BZ #10038]
3659 * manual/memory.texi (Memory): Make order of menu items match
3660 order of sections.
3661
04570aaa
L
36622012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3663
3664 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
3665 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
3666 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
3667
b80af2f4
L
36682012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3669
3670 * csu/libc-tls.c (static_dtv): Renamed to ...
3671 (_dl_static_dtv): This. Make it global.
3672 (_dl_initial_dtv): Removed.
3673 (__libc_setup_tls): Updated.
3674 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
3675 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
3676 DL_INITIAL_DTV.
3677
2abe9f15
PM
36782012-09-06 Petr Machata <pmachata@redhat.com>
3679
3680 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
3681 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
3682 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
3683 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
3684
0948c3af
L
36852012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3686
3687 [BZ #14545]
3688 * csu/libc-tls.c (_dl_initial_dtv): New variable.
3689 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
3690 freeing dtv[-1].
3691
a5055ad1
L
36922012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3693
3694 [BZ #14544]
3695 * Makeconfig (link-static-before-libc): Replace $(+prector)
3696 with $(+prectorT).
3697 (link-static-after-libc): Replace $(+postctor) with
3698 $(+postctorT).
3699 (link-bounded): Replace $(+prector)/$(+postctor) with
3700 $(+prectorT)/$(+postctorT).
3701 (+prectorT): New macro.
3702 (+postctorT): Likewise.
3703
ed8c2ecd
JM
37042012-09-06 Joseph Myers <joseph@codesourcery.com>
3705
3706 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
3707 (round_str): Handle values above the maximum for IBM long double
3708 as inexact.
3709 * stdlib/tst-strtod-round.c (tests): Regenerated.
3710
14c996c8
AK
37112012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3712
3713 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
3714 assembler flag.
3715 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
3716 zarch_nohighgprs around the zarch optimized routines.
3717 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3718 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3719 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
3720 for zarch.
3721
430d6ce6
DM
37222012-09-05 David S. Miller <davem@davemloft.net>
3723
3724 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3725
ff04dda4
DM
3726 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
3727 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
3728 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
3729 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
3730 entries.
3731
24d4e01b
AO
37322012-09-05 Alexandre Oliva <aoliva@redhat.com>
3733
3734 * malloc/arena.c: Fold copyright years.
3735 * malloc/mcheck.c, malloc/memusage.c: Likewise.
3736
61d58174
AO
37372012-09-05 Alexandre Oliva <aoliva@redhat.com>
3738
3739 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
3740
20196a5e
AO
37412012-09-05 Alexandre Oliva <aoliva@redhat.com>
3742
3743 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
3744
5c447383
AO
37452012-09-05 Alexandre Oliva <aoliva@redhat.com>
3746
3747 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
3748 change internal state upon failure.
3749
fad64255
AO
37502012-09-05 Alexandre Oliva <aoliva@redhat.com>
3751
3752 * malloc/mcheck.c (mcheck_check_all): Fix typo.
3753 * malloc/memusage.c (mmap): Likewise.
3754 (mmap64, mremap): Likewise. Adjust name in comment.
3755
1ffb8c90
SP
37562012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3757
3758 * libio/fileops.c: Fix typos in comments.
3759 * libio/oldfileops.c: Likewise.
3760 * libio/wfileops.c: Likewise.
3761
6ef9cc37
SP
37622012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3763
3764 [BZ #1349]
3765 * malloc/Makefile (tests): Add tst-malloc-usable test case.
3766 (tst-malloc-usable-ENV): Set environment for test case.
3767 * malloc/hooks.c (malloc_check_get_size): New function to get
3768 requested size.
3769 * malloc/malloc.c (musable): Use malloc_check_get_size.
3770 * malloc/tst-malloc-usable.c: New test case.
3771
4d038ae3
AS
37722012-09-05 Andreas Schwab <schwab@linux-m68k.org>
3773
3774 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
3775
c4e85184
AM
37762012-09-05 Allan McRae <allan@archlinux.org>
3777
b9dafc56 3778 [BZ #13966]
c4e85184
AM
3779 * configure.in (CXX_SYSINCLUDES): Use compiler output to
3780 determine header location.
3781 * configure: Regenerated.
3782
e1343020
AS
37832012-09-05 Andreas Schwab <schwab@linux-m68k.org>
3784
3785 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
3786 float format.
3787 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
3788 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
3789 format.
e1343020
AS
3790 (test): Regenerate.
3791
0a9f1987
DM
37922012-09-04 David S. Miller <davem@davemloft.net>
3793
3794 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
3795 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
3796 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
3797
29237804
FW
37982012-09-04 Florian Weimer <fweimer@redhat.com>
3799
3800 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
3801 failures.
3802
edb3cb88
FW
3803 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
3804
60160d83
JM
38052012-09-04 Joseph Myers <joseph@codesourcery.com>
3806
3807 [BZ #9914]
3808 * libio/iogetdelim.c: Include <limits.h>.
3809 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
3810 + len + 1 would overflow.
3811
bcd6c8dc
AJ
38122012-09-03 Andreas Jaeger <aj@suse.de>
3813
3814 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3815 * sysdeps/i386/fpu/libm-test-ulps: Update.
3816
4ffffbd2
LD
38172012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3818
3819 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3820 Add s_sinf-sse2, s_conf-sse2.
3821
3822 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
3823 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
3824 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
3825 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
3826
3827 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
3828 for using routine as __sinf_ia32.
3829 Use macro for function declaration and weak_alias.
3830 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
3831 for using routine as __cosf_ia32.
3832 Use macro for function declaration and weak_alias.
3833
3834 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
3835 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
3836
3837 * sysdeps/x86_64/fpu/s_sinf.S: New file.
3838 * sysdeps/x86_64/fpu/s_cosf.S: New file.
3839 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3840
3841 * math/libm-test.inc (cos_test): Add more test cases.
3842 (sin_test): Likewise.
3843 (sincos_test): Likewise.
3844
511fa286
AK
38452012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3846
3847 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
3848 (IFUNC_RESOLVE): Make pointers to the specialized implementations
3849 hidden.
3850 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3851
5f30cfec
L
38522012-09-02 H.J. Lu <hongjiu.lu@intel.com>
3853
3854 [BZ #14538]
3855 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
3856 first element of the GOT.
3857 (elf_machine_load_address): Return the difference between
3858 the runtime address of _DYNAMIC and elf_machine_dynamic ().
3859
0786794f
AM
38602012-09-01 Allan McRae <allan@archlinux.org>
3861
5f30cfec
L
3862 [BZ #13412]
3863 * configure.in (AWK): Require gawk version 3.0 or later.
3864 * configure: Regenerated.
0786794f 3865
26889eac
JM
38662012-09-01 Joseph Myers <joseph@codesourcery.com>
3867
3868 * sysdeps/unix/sysv/linux/kernel-features.h
3869 (__ASSUME_POSIX_CPU_TIMERS): Remove.
3870 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3871 [__NR_clock_getres]: Make code unconditional.
3872 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
3873 (clock_getcpuclockid): Remove code left unreachable by removal of
3874 conditionals.
3875 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
3876 code unconditional.
3877 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
3878 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3879 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
3880 Make code unconditional.
3881 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
3882 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3883 * sysdeps/unix/sysv/linux/clock_settime.c
3884 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
3885 conditional code.
3886 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
3887 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3888
d22e28b0
L
38892012-08-29 H.J. Lu <hongjiu.lu@intel.com>
3890
3891 [BZ #14476]
3892 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
3893 scripts/test-installation.pl.
3894
3895 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
3896 and $ld_so_version if it is set.
3897
050af9c4
SP
38982012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3899
3900 [BZ #14516]
3901 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
3902 failure if reading from procfs failed.
3903 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
3904
ad845c0b
JM
39052012-08-27 Joseph Myers <joseph@codesourcery.com>
3906
3907 * sysdeps/unix/sysv/linux/kernel-features.h
3908 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
3909 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
3910 Remove conditional code.
3911 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3912 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
3913 Remove conditional code.
3914 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3915 * sysdeps/unix/sysv/linux/i386/fxstat.c
3916 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3917 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3918 * sysdeps/unix/sysv/linux/i386/fxstatat.c
3919 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3920 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3921 * sysdeps/unix/sysv/linux/i386/lxstat.c
3922 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3923 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3924 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
3925 Remove conditional code.
3926 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3927 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
3928 Remove conditional code.
3929 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3930 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
3931 <kernel-features.h>.
3932 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
3933 Remove.
3934 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
3935 Remove conditional code.
3936 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3937 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
3938 Remove conditional.
3939
5dbf56af
MF
39402012-08-27 Mike Frysinger <vapier@gentoo.org>
3941
3942 [BZ #5400]
3943 * NEWS: Add fixed bug number.
3944
d6e70f43
JM
39452012-08-27 Joseph Myers <joseph@codesourcery.com>
3946
7efb4737
JM
3947 [BZ #14519]
3948 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
3949 underflowing exponent in case of negative sign.
3950 * stdlib/tst-strtod-round-data: Add more tests.
3951 * stdlib/tst-strtod-round.c (tests): Regenerated.
3952
af92131a
JM
3953 [BZ #3479]
3954 * stdlib/strtod_l.c (NDIG): Remove.
3955 (HEXNDIG): Likewise.
3956 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
3957 smallest representable value.
3958 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
3959 lie within an exact representation of 1/2 ulp of the result.
3960 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
3961 unconditionally.
3962 (TENS_P9_IDX): Define unconditionally.
3963 (TENS_P9_SIZE): Likewise.
3964 (TENS_P10_IDX): Likewise.
3965 (TENS_P10_SIZE): Likewise.
3966 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
3967 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
3968 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
3969 entries for 10^2^13 and 10^2^14.
3970 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
3971 (TENS_P13_IDX): Define.
3972 (TENS_P13_SIZE): Likewise.
3973 (TENS_P14_IDX): Likewise.
3974 (TENS_P14_SIZE): Likewise.
3975 (_fpioconst_pow10): Change array size to
3976 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
3977 unconditional.
3978 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
3979 1024]: Add entries for 10^2^13 and 10^2^14.
3980 [LAST_POW10 > _LAST_POW10]: Remove #error.
3981 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
3982 (_fpioconst_pow10): Change array size to
3983 FPIOCONST_POW10_ARRAY_SIZE.
3984 * stdlib/gen-fpioconst.c: New file.
3985 * stdlib/gen-tst-strtod-round.c: Likewise.
3986 * stdlib/tst-strtod-round-data: Likewise.
3987 * stdlib/tst-strtod-round.c: Likewise.
3988 * stdlib/Makefile (tests): Add tst-strtod-round.
3989
d6e70f43
JM
3990 [BZ #14459]
3991 * stdlib/strtod_l.c: Include <stdint.h>.
3992 (NDEBUG): Do not define.
3993 (round_and_return): Change EXPONENT parameter to type intmax_t.
3994 Rearrange calculations to avoid internal overflow possibilities.
3995 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
3996 Rearrange calculations to avoid internal overflow possibilities.
3997 Assert that number fits inside MPNSIZE limbs.
3998 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
3999 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
4000 calculations and add assertions to avoid internal overflow
4001 possibilities. Add casts to avoid signed/unsigned operations.
4002 * stdlib/tst-strtod-overflow.c: New file.
4003 * stdlib/Makefile (tests): Add tst-strtod-overflow.
4004
1f529f7d
MP
40052012-08-25 Marek Polacek <polacek@redhat.com>
4006
4007 * time/time.h: Fix some typos in comments.
4008
59a629f1
RM
40092012-08-23 Roland McGrath <roland@hack.frob.com>
4010
4011 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
4012 * posix/tst-rfc3484-2.c: Likewise.
4013 * posix/tst-rfc3484-3.c: Likewise.
4014
d3bafbc9
SM
40152012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
4016
4017 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
4018 (EF_ARM_ABI_FLOAT_HARD): Likewise.
4019
4efcc022
JM
40202012-08-23 Joseph Myers <joseph@codesourcery.com>
4021
4022 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
4023 #include of fxstatat64.c.
4024
3cc3ef96
RM
40252012-08-22 Roland McGrath <roland@hack.frob.com>
4026
f04e2132
RM
4027 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
4028 * shadow/getspent_r.c: Likewise.
4029 * shadow/getspnam.c: Likewise.
4030 * shadow/getspnam_r.c: Likewise.
4031 * gshadow/getsgent.c: Likewise.
4032 * gshadow/getsgent_r.c: Likewise.
4033 * gshadow/getsgnam.c: Likewise.
4034 * gshadow/getsgnam_r.c: Likewise.
4035 * inet/getnetbyad.c: Likewise.
4036 * inet/getnetbyad_r.c: Likewise.
4037 * inet/getnetbynm.c: Likewise.
4038 * inet/getnetbynm_r.c: Likewise.
4039 * inet/getnetent.c: Likewise.
4040 * inet/getnetent_r.c: Likewise.
4041 * inet/getproto.c: Likewise.
4042 * inet/getproto_r.c: Likewise.
4043 * inet/getprtent.c: Likewise.
4044 * inet/getprtent_r.c: Likewise.
4045 * inet/getprtname.c: Likewise.
4046 * inet/getprtname_r.c: Likewise.
4047 * inet/getrpcbyname.c: Likewise.
4048 * inet/getrpcbyname_r.c: Likewise.
4049 * inet/getrpcbynumber.c: Likewise.
4050 * inet/getrpcbynumber_r.c: Likewise.
4051 * inet/getrpcent.c: Likewise.
4052 * inet/getrpcent_r.c: Likewise.
4053 * inet/getaliasent.c: Likewise.
4054 * inet/getaliasent_r.c: Likewise.
4055 * inet/getaliasname.c: Likewise.
4056 * inet/getaliasname_r.c: Likewise.
4057 * nscd/getgrgid_r.c: Likewise.
4058 * nscd/getgrnam_r.c: Likewise.
4059 * nscd/gethstbyad_r.c: Likewise.
4060 * nscd/gethstbynm3_r.c: Likewise.
4061 * nscd/getpwnam_r.c: Likewise.
4062 * nscd/getpwuid_r.c: Likewise.
4063 * nscd/getsrvbynm_r.c: Likewise.
4064 * nscd/getsrvbypt_r.c: Likewise.
4065 * nscd/gai.c: Likewise.
4066
c53d909c
RM
4067 * configure.in (build_nscd): New substituted variable, set
4068 by --disable-build-nscd and defaults to $use_nscd.
4069 * configure: Regenerated.
4070 * config.make.in (build-nscd): New substituted variable.
4071 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
4072 Change conditional to require [$(build-nscd) = yes] as well.
4073 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
4074
3cc3ef96
RM
4075 [BZ# 13696]
4076 * configure.in (use_nscd): New substituted variable, set by
4077 --disable-nscd. If enabled, define USE_NSCD.
4078 * configure: Regenerated.
4079 * config.h.in: Add USE_NSCD.
4080 * config.make.in (use-nscd): New substituted variable.
4081 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
4082 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
4083 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
4084 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
4085 (CFLAGS-getgrnam_r.c): Likewise.
4086 (CFLAGS-initgroups.c): Likewise.
4087 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
4088 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
4089 Variables removed.
4090 * inet/getnetgrent_r.c
4091 (nscd_setnetgrent): New function, broken out of ...
4092 (setnetgrent): ... here. Call it.
4093 (innetgr): Conditionalize nscd bits on [USE_NSCD].
4094 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
4095 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
4096 * nscd/Makefile (routines, aux): Move definitions after include of
4097 Makeconfig. Conditionalize on [$(use-nscd) != no].
4098 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
4099 Conditionalize on [USE_NSCD].
4100 (is_nscd, nscd_init_cb): Likewise.
4101 (nss_load_library): Conditionalize init callback on [USE_NSCD].
4102 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
4103 * nss/nss_db/db-init.c: Likewise.
4104 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
4105 [USE_NSCD].
4106 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
4107 (make_request): Use it.
4108 (cache_valid_p): New function.
4109 (__check_pf): Use it.
4110 * NEWS: Add item for --disable-nscd.
4111
07e51550
DL
41122012-08-22 Dmitry V. Levin <ldv@altlinux.org>
4113
4114 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
4115 to support sed >= 4.2.1-20-ga9bf076.
4116 * configure: Regenerated.
4117
35a5b08b
RM
41182012-08-22 Roland McGrath <roland@hack.frob.com>
4119
4120 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
4121 Conditionalize whole body on [IREL].
4122
8479f23a
JL
41232012-08-22 Jeff Law <law@redhat.com>
4124
4125 [BZ #14505]
4126 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
4127 if the family is PF_UNSPEC.
4128
48da0b21
MF
41292012-08-22 Mike Frysinger <vapier@gentoo.org>
4130
4131 * Makerules (lib-version): Rename from V.
4132 (install-lib-nosubdir): Change V to lib-version.
4133
15d0da8c
WS
41342012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
4135
4136 [BZ #14252]
4137 * powerpc32/power6/wcschr.c: New file.
4138 * powerpc32/power6/wcscpy.c: New file.
4139 * powerpc32/power6/wcsrchr.c: New file.
4140 * powerpc64/power6/wcschr.c: New file.
4141 * powerpc64/power6/wcscpy.c: New file.
4142 * powerpc64/power6/wcsrchr.c: New file.
4143
bcca0895
MK
41442012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4145
4146 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
4147 (two_way_short_needle): Use it.
5a4aaa33
RM
4148 * string/strstr.c (AVAILABLE1_USES_J): Define.
4149 * string/strcasestr.c: Likewise.
99677e57
MK
4150
4151 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
4152 array references.
4153 * string/strcasestr.c (TOLOWER): Make side-effect safe.
4154
400726de
MK
4155 [BZ #11607]
4156 * NEWS: Add an entry.
4157 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
4158 define their defaults.
4159 (two_way_short_needle): Detect end-of-string on-the-fly.
4160 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
4161 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
4162 * string/bug-strcasestr1.c: New test.
4163 * string/Makefile: Run it.
4164
20a71f2c
MK
41652012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4166
4167 [BZ #11607]
4168 * string/str-two-way.h (two_way_short_needle): Optimize matching of
4169 the first character.
4170
21ad0558
RM
41712012-08-21 Roland McGrath <roland@hack.frob.com>
4172
4173 * csu/elf-init.c (__libc_csu_irel): Function removed.
4174 * csu/libc-start.c (apply_irel): New function.
4175 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
4176
0e1d9911
JM
41772012-08-21 Joseph Myers <joseph@codesourcery.com>
4178
4179 * sysdeps/unix/sysv/linux/kernel-features.h
4180 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
4181 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
4182 <kernel-features.h>.
4183 [__NR_fadvise64_64]: Make code unconditional.
4184 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
4185 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4186 !__NR_fadvise64_64)]: Likewise.
4187 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4188 !__NR_fadvise64_64))]: Likewise.
4189 [__NR_fadvise64]: Make code unconditional.
4190 [!__NR_fadvise64]: Remove conditional code.
4191 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
4192 <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/powerpc/powerpc32/posix_fadvise64.c: Do
4198 not 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 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
4204 include <kernel-features.h>.
4205 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4206 unconditional.
4207 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4208 conditional code.
4209
14a50c9d
WS
42102012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4211
4212 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
4213 slight instruction rearrangements per scrollpipe analysis.
4214 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4215
c0f4faf0
RM
42162012-08-20 Roland McGrath <roland@hack.frob.com>
4217
696da859
RM
4218 * manual/syslog.texi (syslog; vsyslog, closelog):
4219 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
4220 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
4221
c0f4faf0
RM
4222 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
4223 DSOCAPS to match condition on defining it.
4224
348363b2
JM
42252012-08-20 Joseph Myers <joseph@codesourcery.com>
4226
a35cbf28
JM
4227 * sysdeps/unix/sysv/linux/kernel-features.h
4228 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
4229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
4230 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4231 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
4233 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4234 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
4236 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4237 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4238
445f7ecd
JM
4239 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
4240 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
4241
348363b2
JM
4242 * sysdeps/unix/sysv/linux/kernel-features.h
4243 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
4244 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
4245 unconditional.
4246 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4247 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
4248 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4249 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4250 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
4251 Make code unconditional.
4252 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4253 (__mmap64) [!__NR_mmap2]: Likewise.
4254 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
4255 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4256 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4257 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
4258 [__NR_mmap2]: Make code unconditional.
4259 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4260 (__mmap64) [!__NR_mmap2]: Likewise.
4261
bc5bc0e5
AK
42622012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4263
4264 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
4265
88d506de
AJ
42662012-08-18 Andreas Jaeger <aj@suse.de>
4267
4268 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
4269
493387d2
MF
42702012-08-18 Mike Frysinger <vapier@gentoo.org>
4271
4272 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
4273 * include/unistd.h (__have_sock_cloexec): Likewise.
4274 (__have_pipe2): Likewise.
4275 (__have_dup3): Likewise.
4276
a277af22
MF
42772012-08-18 Mike Frysinger <vapier@gentoo.org>
4278
4279 [BZ #9685]
4280 * include/unistd.h (__have_pipe2): Change define into an extern int.
4281 (__have_dup3): Likewise.
4282 * socket/have_sock_cloexec.c: Include fcntl.h.
4283 (__have_pipe2): New variable.
4284 (__have_dup3): Likewise.
4285
fdab8fd3
MF
42862012-08-17 Mike Frysinger <vapier@gentoo.org>
4287
4288 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
4289
31035e80
MP
42902012-08-17 Marek Polacek <polacek@redhat.com>
4291
4292 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
4293 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
4294
3bd9e993
RM
42952012-08-17 Roland McGrath <roland@hack.frob.com>
4296
c91c505f
RM
4297 * configure.in: Add AC_SUBST for sysheaders.
4298 * configure: Regenerated.
4299 * config.make.in (sysheaders): New substituted variable.
4300
7c6f9d53
RM
4301 * sysdeps/unix/mkfifo.c: Moved ...
4302 * sysdeps/posix/mkfifo.c: ... here.
4303 * sysdeps/unix/mkfifoat.c: Moved ...
4304 * sysdeps/posix/mkfifoat.c: ... here.
4305
4306 * sysdeps/unix/utime.c: Moved ...
4307 * sysdeps/posix/utime.c: ... here.
4308
4309 * sysdeps/unix/time.c: Moved ...
4310 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
4311 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
4312 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
4313
4314 * sysdeps/unix/nice.c: Moved ...
4315 * sysdeps/posix/nice.c: ... here.
4316
4317 * sysdeps/unix/alarm.c: Moved ...
4318 * sysdeps/posix/alarm.c: ... here.
4319
3bd9e993
RM
4320 * intl/Makefile ($(codeset_mo)): Depend on the input file.
4321
d1f09384
JL
43222012-08-17 Jeff Law <law@redhat.com>
4323
4324 * intl/Makefile (codeset_mo): New variable.
4325 ($(codeset_mo)): New target.
4326 (tst-codeset.out): Depend on that. Remove explicit rule.
4327 (tst-gettext3.out, tst-gettext5.out): Likewise.
4328 (LOCPATH-ENV, tst-codeset-ENV): New variables.
4329 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
4330 * intl/tst-codeset.sh: Remove.
4331 * intl/tst-gettext3.sh: Likewise.
4332 * intl/tst-gettext5.sh: Likewise.
4333
2ae1ae5c
RM
43342012-08-17 Roland McGrath <roland@hack.frob.com>
4335
c31fdb83
RM
4336 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
4337 * sysdeps/unix/syscalls.list: ... here.
4338
a0844057
RM
4339 * sysdeps/posix/getaddrinfo.c
4340 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
4341 (gaiconf_init, gaiconf_reload): Use them.
4342 [!_STATBUF_ST_NSEC]
4343 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
4344 Define using time_t rather than struct timespec.
4345
750c1f2a
RM
4346 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
4347 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
4348 Macros removed.
4349 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
4350 [!NO_THREADS].
4351 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
4352 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
4353 Likewise.
4354
2ae1ae5c
RM
4355 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
4356 __libc_cleanup_push argument.
4357
e66a42f5
RM
4358 * bits/param.h: New file.
4359 * misc/sys/param.h: New file.
4360 * include/sys/param.h: New file.
4361 * misc/Makefile (headers): Add bits/param.h.
4362 * sysdeps/generic/sys/param.h: File removed.
4363 * sysdeps/unix/sysv/linux/bits/param.h: New file.
4364 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
4365 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 4366 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 4367
b7c08a66
RM
4368 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
4369 last change.
4370
b2e1c562
RM
4371 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
4372 [_IO_MTSAFE_IO].
4373 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
4374 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
4375 New macros.
4376
c75ccd4c
RM
4377 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
4378 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
4379 rather than -D_IO_MTSAFE_IO conditionally.
4380 * stdio-common/Makefile (CPPFLAGS): Likewise.
4381 * wcsmbs/Makefile (CPPFLAGS): Likewise.
4382 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
4383 Use $(libio-mtsafe).
4384 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
4385 of -D_IO_MTSAFE_IO.
4386 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
4387 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
4388 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
4389 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
4390 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
4391 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
4392 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
4393 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
4394 (CFLAGS-fread_u_chk.c): Likewise.
4395 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
4396 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
4397 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
4398 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
4399 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
4400 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
4401 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
4402 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
4403 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
4404
4405 * libio/Makefile: Test [$(libc-reentrant) = yes]
4406 instead of [$(filter %REENTRANT, $(defines)) nonempty].
4407
4408 * Makeconfig
4409 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
4410 * sysdeps/pthread/configure: File removed.
4411 * sysdeps/pthread/Makeconfig: New file.
4412 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
4413 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
4414
d9195db8
GB
44152012-08-16 Gary Benson <gbenson@redhat.com>
4416
4417 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
4418 unmapping the first object in a namespace.
4419
86466cd9
RM
44202012-08-16 Roland McGrath <roland@hack.frob.com>
4421
4422 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
4423 (__internal_setnetgrent): ... this. Add internal_function to
4424 definition. Add libc_hidden_def.
4425 (setnetgrent): Update caller.
4426 (internal_endnetgrent): Renamed to ...
4427 (__internal_endnetgrent): ... this. Add internal_function to
4428 definition. Add libc_hidden_def.
4429 (endnetgrent): Update caller.
4430 (internal_getnetgrent_r): Renamed to ...
4431 (__internal_getnetgrent_r): ... this. Add internal_function to
4432 definition. Add libc_hidden_def.
4433 (__getnetgrent_r): Update caller.
4434 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
4435
c3c8283c
JM
44362012-08-16 Joseph Myers <joseph@codesourcery.com>
4437
4438 * stdlib/longlong.h: Update from GCC.
4439
db1ee0a8
RM
44402012-08-16 Roland McGrath <roland@hack.frob.com>
4441
4442 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
4443 on _QL, which is set by umul_ppmm but never used.
4444 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
4445 variables, which are set by GMP macros but never used.
4446 * stdio-common/_itowa.c (_itowa): Likewise.
4447 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
4448 * stdlib/mod_1.c (mpn_mod_1): Likewise.
4449
30f69637
CD
44502012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
4451
4452 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
4453 struct La_sh_regs is not constant.
4454 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
4455 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
4456 and struct La_sparc64_regs are not constant.
4457
93a78ac4
JM
44582012-08-16 Joseph Myers <joseph@codesourcery.com>
4459
4460 * sysdeps/unix/sysv/linux/kernel-features.h
4461 (__ASSUME_POSIX_TIMERS): Remove.
4462 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4463 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4464 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
4465 Make code unconditional.
4466 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4467 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
4468 Make code unconditional.
4469 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4470 * sysdeps/unix/sysv/linux/clock_nanosleep.c
4471 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
4472 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4473 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
4474 Make code unconditional.
4475 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4476 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
4477 (__libc_missing_posix_timers): Remove.
4478
dd924cd7
RM
44792012-08-15 Roland McGrath <roland@hack.frob.com>
4480
4b4f2771
RM
4481 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
4482 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
4483
601c888b
RM
4484 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
4485
176790a7
RM
4486 * elf/dl-sym.c: Include <stdlib.h>.
4487
329bc018
RM
4488 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
4489 constants, which avoids warnings in 32-bit builds.
4490
e04e272d
RM
4491 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
4492 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
4493
952bf94a
RM
4494 * misc/lseek.c: File moved to ...
4495 * io/lseek.c: ... here.
4496
7c99b50a
RM
4497 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
4498
dd924cd7
RM
4499 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
4500 shifting LEN more than 31 bits at once.
4501
b3f479a8
LD
45022012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4503
4504 [BZ #14195]
8c4ae0d4
RM
4505 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
4506 segmentation fault for a case of two empty input strings.
b3f479a8
LD
4507 * string/test-strncasecmp.c (check1): Renamed to...
4508 (bz12205): ...this.
4509 (bz14195): Add new testcase for two empty input strings and N > 0.
4510 (test_main): Call new testcase, adapt for renamed function.
4511
9c55864e
AJ
45122012-08-15 Andreas Jaeger <aj@suse.de>
4513
4514 [BZ #14090]
4515 * crypt/md5test2.c: New test, based on test supplied by Serge
4516 Belyshev <belyshev@depni.sinp.msu.ru>.
4517 * crypt/Makefile (xtests): Add md5test-giant..
4518 * crypt/Makefile ($(objpfx)md5test-giant): Add.
4519
02dcb6c5
PE
45202012-08-15 Paul Eggert <eggert@cs.ucla.edu>
4521
4522 [BZ #14090]
4523 * crypt/md5.c (md5_process_block): Don't assume the buffer
4524 length is less than 2**32.
4525 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
4526 length is less than 2**64.
4527
a3f95dcc
RM
45282012-08-15 Roland McGrath <roland@hack.frob.com>
4529
be75d758
RM
4530 * string/str-two-way.h: Include <sys/param.h>.
4531 (MAX): Macro removed.
4532
7312ca90
RM
4533 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
4534 Move #define and #undef of memmove to just before and after
4535 including <string.h>.
4536
9a0a5486
RM
4537 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
4538 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
4539 and after including <string.h>. Move declarations of
4540 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
4541 to before #include "string/memmove.c".
4542
67cc348d
RM
4543 * include/dirent.h: Declare __getdirentries.
4544
a3f95dcc
RM
4545 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
4546 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
4547
ca98e171
MF
45482012-08-14 Mike Frysinger <vapier@gentoo.org>
4549
4550 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
4551 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
4552 * sysdeps/i386/configure: Regenerated.
4553 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
4554 STABS_CURRENT_FILE, and STABS_FUN.
4555 (END): Remove call to STABS_FUN_END.
4556 (STABS_CURRENT_FILE1): Delete.
4557 (STABS_CURRENT_FILE): Likewise.
4558 (STABS_FUN): Likewise.
4559 (STABS_FUN_END): Likewise.
4560 (STABS_FUN2): Likewise.
4561 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
4562 * sysdeps/x86_64/configure: Regenerated.
4563
5908bf46
RM
45642012-08-14 Roland McGrath <roland@hack.frob.com>
4565
4566 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 4567 * elf/dl-lookup.c: Likewise.
5908bf46 4568
f2c05b9e
JM
45692012-08-14 Joseph Myers <joseph@codesourcery.com>
4570
4571 * sysdeps/unix/sysv/linux/kernel-features.h
4572 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
4573 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
4574 unconditionally.
4575 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
4576 unconditionally.
4577 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
4578 condition on __ASSUME_CLONE_THREAD_FLAGS.
4579
e11f5155
AJ
45802012-08-14 Andreas Jaeger <aj@suse.de>
4581
4582 * sysdeps/i386/fpu/libm-test-ulps: Update.
4583
51a9ba86
MK
45842012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
4585
2fdd4f78
AJ
4586 * include/atomic.h (atomic_exchange_and_add): Split into ...
4587 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
4588 New atomic macros.
51a9ba86 4589
ba6cba9e
MT
45902012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
4591
4592 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4593
42443a47
JL
45942012-08-13 Jeff Law <law@redhat.com>
4595
4596 * manual/stdio.texi (snprintf): Clarify handling of the trailing
4597 null byte in the output string.
4598
121dce05
JM
45992012-08-10 Joseph Myers <joseph@codesourcery.com>
4600
4601 * sysdeps/unix/sysv/linux/kernel-features.h
4602 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
4603 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
4604 (__ASSUME_ARG_MAX_STACK_BASED): Define.
4605 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4606 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
4607 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
4608 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
4609
bf51f568
JL
46102012-08-09 Jeff Law <law@redhat.com>
4611
4612 [BZ #13939]
4613 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
4614 When avoid_arena is set, don't retry in the that arena. Pick the
4615 next one, whatever it might be.
4616 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
4617 (arena_lock): Pass in new parameter to arena_get2.
4618 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
4619 arena_get2.
4620 (__libc_malloc): Unify retrying after main arena failure with
4621 __libc_memalign version.
4622 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
4623
f85fa270
L
46242012-08-09 H.J. Lu <hongjiu.lu@intel.com>
4625
4626 [BZ #14166]
4627 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
4628 to __redirect_strstr.
4629 (__strstr_sse42): Use typeof __redirect_strstr.
4630 (__strstr_ia32): Likewise.
4631 (__libc_strstr): New prototype.
4632 (strstr): Renamed to ...
4633 (__libc_strstr): This.
4634 (strstr): New strong alias of __libc_strstr.
4635 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
4636 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
4637 __redirect_time.
4638 Include <time.h>.
4639 (__libc_time): New prototype.
4640 (time_ifunc): Replace time with __libc_time.
4641 (time): New strong alias and hidden definition of __libc_time.
4642 (__GI_time): Remove strong alias.
4643 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
4644 Include <stddef.h>.
4645 (memmove): Redefined to __redirect_memmove.
4646 (__memmove_sse2): Use typeof __redirect_memmove.
4647 (__memmove_ssse3): Likewise.
4648 (__memmove_ssse3_back): Likewise.
4649 (__libc_memmove): New prototype.
4650 (memmove): Renamed to ...
4651 (__libc_memmove): This.
4652 (memmove): New strong alias of __libc_memmove.
4653
33b4a91e
MS
46542012-08-08 Mark Salter <msalter@redhat.com>
4655
4656 * elf/elf.h
4657 (R_MN10300_TLS_GD): Define.
4658 (R_MN10300_TLS_LD): Likewise.
4659 (R_MN10300_TLS_LDO): Likewise.
4660 (R_MN10300_TLS_GOTIE): Likewise.
4661 (R_MN10300_TLS_IE): Likewise.
4662 (R_MN10300_TLS_LE): Likewise.
4663 (R_MN10300_TLS_DTPMOD): Likewise.
4664 (R_MN10300_TLS_DTPOFF): Likewise.
4665 (R_MN10300_TLS_TPOFF): Likewise.
4666 (R_MN10300_SYM_DIFF): Likewise.
4667 (R_MN10300_ALIGN): Likewise.
4668 (R_MN10300_NUM): Update.
4669
b36137f1
JM
46702012-08-08 Joseph Myers <joseph@codesourcery.com>
4671
4672 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
4673 Remove.
4674
cdd915fd
RM
46752012-08-08 Roland McGrath <roland@hack.frob.com>
4676
a2433aac
RM
4677 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
4678
cdd915fd
RM
4679 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
4680 sysdeps/unix -> sysdeps/posix move.
4681 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
4682
bf9b740a
AM
46832012-08-07 Allan McRae <allan@archlinux.org>
4684
4685 [BZ #14303]
4686 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
4687 (SUNOS_CPP): Likewise.
4688 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
4689 not found.
4690 (open_input): Call CPP using execvp.
4691
93df14ee
JM
46922012-08-07 Joseph Myers <joseph@codesourcery.com>
4693
4694 * sysdeps/unix/sysv/linux/kernel-features.h
4695 (__ASSUME_PROT_GROWSUPDOWN): Remove.
4696 (__ASSUME_NO_CLONE_DETACHED): Likewise.
4697 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4698 (__ASSUME_WAITID_SYSCALL): Likewise.
4699 * sysdeps/unix/sysv/linux/dl-execstack.c
4700 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
4701 code unconditional.
4702 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
4703 conditional code.
4704 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
4705 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
4706 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
4707 code.
4708 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
4709 unconditional.
4710 [__ASSUME_WAITID_SYSCALL]: Likewise.
4711 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
4712
d34689de
RM
47132012-08-07 Roland McGrath <roland@hack.frob.com>
4714
a281decc
RM
4715 * sysdeps/unix/closedir.c: Renamed to ...
4716 * sysdeps/posix/closedir.c: ... here.
4717 * sysdeps/unix/dirfd.c: Renamed to ...
4718 * sysdeps/posix/dirfd.c: ... here.
4719 * sysdeps/unix/dirstream.h: Renamed to ...
4720 * sysdeps/posix/dirstream.h: ... here.
4721 * sysdeps/unix/fdopendir.c: Renamed to ...
4722 * sysdeps/posix/fdopendir.c: ... here.
4723 * sysdeps/unix/opendir.c: Renamed to ...
4724 * sysdeps/posix/opendir.c: ... here.
4725 * sysdeps/unix/readdir.c: Renamed to ...
4726 * sysdeps/posix/readdir.c: ... here.
4727 * sysdeps/unix/readdir_r.c: Renamed to ...
4728 * sysdeps/posix/readdir_r.c: ... here.
4729 * sysdeps/unix/rewinddir.c: Renamed to ...
4730 * sysdeps/posix/rewinddir.c: ... here.
4731 * sysdeps/unix/seekdir.c: Renamed to ...
4732 * sysdeps/posix/seekdir.c: ... here.
4733 * sysdeps/unix/telldir.c: Renamed to ...
4734 * sysdeps/posix/telldir.c: ... here.
4735 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
4736 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
4737 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
4738 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
4739
22895b47
RM
4740 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
4741 * bits/fcntl.h: ... here.
4742
707a53b6
RM
4743 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
4744 not 0.
4745 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
4746 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
4747 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
4748 (struct flock): Move l_start, l_len to the beginning.
4749 Use __pid_t for l_pid.
4750 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
4751 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
4752 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
4753 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
4754 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
4755 [__USE_LARGEFILE64] (struct flock64): New type.
4756 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
4757
f0bd3e25
RM
4758 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
4759 * bits/dirent.h: ... here.
4760
d34689de
RM
4761 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
4762 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
4763
6dad2c06
JM
47642012-08-07 Joseph Myers <joseph@codesourcery.com>
4765
4766 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4767 Change from 2.6.0 to 2.6.16.
4768 * sysdeps/unix/sysv/linux/configure: Regenerated.
4769 * sysdeps/unix/sysv/linux/kernel-features.h
4770 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
4771 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
4772 version.
4773 (__ASSUME_UTIMES): Likewise.
4774 (__ASSUME_CLONE_STOPPED): Remove.
4775 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
4776 architectures, not kernel version.
4777 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
4778 (__ASSUME_NO_CLONE_DETACHED): Likewise.
4779 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4780 (__ASSUME_WAITID_SYSCALL): Likewise.
4781 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
4782 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
4783 * README: State 2.6.16 as minimum Linux kernel version. Do not
4784 refer to older versions.
4785
03af9520
RM
47862012-08-06 Roland McGrath <roland@hack.frob.com>
4787
8e49df1d
RM
4788 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
4789 Define alphasort64 as an alias.
4790 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
4791 Define versionsort64 as an alias.
4792 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
4793 Define scandir64 as an alias.
4794 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
4795 Define scandirat64 as an alias.
4796 * dirent/alphasort64.c (alphasort64):
4797 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
4798 * dirent/versionsort64.c: Likewise.
4799 * dirent/scandir64.c: Likewise.
4800 * dirent/scandirat64.c: Likewise.
4801 * sysdeps/wordsize-64/alphasort.c: File removed.
4802 * sysdeps/wordsize-64/alphasort64.c: File removed.
4803 * sysdeps/wordsize-64/scandir.c: File removed.
4804 * sysdeps/wordsize-64/scandir64.c: File removed.
4805 * sysdeps/wordsize-64/scandirat.c: File removed.
4806 * sysdeps/wordsize-64/scandirat64.c: File removed.
4807 * sysdeps/wordsize-64/versionsort.c: File removed.
4808 * sysdeps/wordsize-64/versionsort64.c: File removed.
4809 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
4810 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
4811 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
4812 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
4813 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
4814 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
4815 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
4816 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
4817
4818 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
4819 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
4820 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
4821 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4822 [defined __arch64__ || defined __sparcv9]
4823 (__INO_T_MATCHES_INO64_T): New macro.
4824 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4825 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
4826 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
4827 * sysdeps/unix/sysv/linux/bits/dirent.h
4828 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
4829 (_DIRENT_MATCHES_DIRENT64): New macro.
4830
03af9520
RM
4831 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
4832 Define lockf64 as an alias.
4833 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
4834 Define fseeko64 as an alias.
4835 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
4836 Define ftello64 as an alias.
4837 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
4838 Define _IO_fgetpos64 and fgetpos64 as aliases.
4839 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
4840 Define _IO_fsetpos64 and fsetpos64 as aliases.
4841 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
4842 Conditionalize body on this.
4843 * libio/fseeko64.c: Likewise.
4844 * libio/ftello64.c: Likewise.
4845 * libio/iofgetpos64.c: Likewise.
4846 * libio/iofsetpos64.c: Likewise.
4847 * sysdeps/wordsize-64/lockf.c: File removed.
4848 * sysdeps/wordsize-64/lockf64.c: File removed.
4849 * sysdeps/wordsize-64/fseeko.c: File removed.
4850 * sysdeps/wordsize-64/fseeko64.c: File removed.
4851 * sysdeps/wordsize-64/ftello.c: File removed.
4852 * sysdeps/wordsize-64/ftello64.c: File removed.
4853 * sysdeps/wordsize-64/iofgetpos.c: File removed.
4854 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
4855 * sysdeps/wordsize-64/iofsetpos.c: File removed.
4856 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
4857 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
4858 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
4859 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
4860 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
4861 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
4862 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
4863 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
4864 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
4865 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
4866 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
4867
4868 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
4869 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
4870 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
4871 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4872 [defined __arch64__ || defined __sparcv9]
4873 (__OFF_T_MATCHES_OFF64_T): New macro.
4874 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4875 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
4876 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4877 (__OFF_T_MATCHES_OFF64_T): New macro.
4878
c5757acd
L
48792012-08-06 H.J. Lu <hongjiu.lu@intel.com>
4880
4881 * stdlib/secure-getenv.c (__secure_getenv): Replace
4882 GLIBC_2_16 with GLIBC_2_17.
4883
3a31811e
L
48842012-08-06 H.J. Lu <hongjiu.lu@intel.com>
4885
4886 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
4887 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4888
faa2bccb
DM
48892012-08-03 David S. Miller <davem@davemloft.net>
4890
4891 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4892
85fe1997
JM
48932012-08-03 Joseph Myers <joseph@codesourcery.com>
4894
4895 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
4896 Remove.
4897 (__ASSUME_CORRECT_SI_PID): Likewise.
4898 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
4899 (__ASSUME_TMPFS_NAME): Likewise.
4900 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
4901 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
4902 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
4903 (HAVE_AUX_SECURE): Make definition unconditional.
4904 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
4905 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
4906
4f75b7a0
RM
49072012-08-03 Roland McGrath <roland@hack.frob.com>
4908
4909 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
4910 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
4911 * sysdeps/mach/hurd/eloop-threshold.h: New file.
4912 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4913 __eloop_threshold instead of SYMLOOP_MAX.
4914
4915 * sysdeps/generic/eloop-threshold.h: New file.
4916 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
4917 of MAXSYMLINKS.
4918 * elf/chroot_canon.c (chroot_canon): Likewise.
4919
7aab07e4
JM
49202012-08-03 Joseph Myers <joseph@codesourcery.com>
4921
4922 [BZ #13717]
4923 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4924 Change to 2.6.0 everywhere.
4925 * sysdeps/unix/sysv/linux/configure: Regenerated.
4926 * sysdeps/unix/sysv/linux/kernel-features.h
4927 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
4928 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
4929 kernel versions.
4930 (__ASSUME_POSIX_TIMERS): Define unconditionally.
4931 (__ASSUME_FUTEX_REQUEUE): Remove.
4932 (__ASSUME_STATFS64): Define unconditionally.
4933 (__ASSUME_AT_SECURE): Likewise.
4934 (__ASSUME_CORRECT_SI_PID): Likewise.
4935 (__ASSUME_TGKILL): Define without depending on kernel version for
4936 i386.
4937 (__ASSUME_UTIMES): Likewise.
4938 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
4939 kernel version.
4940 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
4941 (__ASSUME_TMPFS_NAME): Likewise.
4942 * README: Update reference to Linux kernel versions.
4943
b67e9372
MP
49442012-08-02 Marek Polacek <polacek@redhat.com>
4945
1f529f7d 4946 [BZ# 14150]
b67e9372
MP
4947 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
4948 libc_cv_asm_type_prefix with %.
4949 * configure: Regenerated.
d2441631
RM
4950 * include/libc-symbols.h: Remove comment about
4951 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
4952 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
4953 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
4954 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
4955 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
4956 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
4957 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
4958 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
4959 * elf/tst-unique2mod1.c: Likewise.
4960 * elf/tst-unique1mod2.c: Likewise.
4961 * elf/tst-unique1mod1.c: Likewise.
4962 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
4963 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
4964 Replace ASM_TYPE_DIRECTIVE with .type.
4965 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4966 * sysdeps/i386/sysdep.h: Likewise.
4967 * sysdeps/x86_64/sysdep.h: Likewise.
4968 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
4969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
4970 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 4971 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
4972 * sysdeps/powerpc/powerpc32/sysdep.h:
4973 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
4974 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
4975 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4976 * sysdeps/i386/fpu/e_powf.S: Likewise.
4977 * sysdeps/i386/fpu/e_expl.S: Likewise.
4978 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4979 * sysdeps/i386/fpu/e_acosh.S: Likewise.
4980 * sysdeps/i386/fpu/e_pow.S: Likewise.
4981 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
4982 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4983 * sysdeps/i386/fpu/s_expm1.S: Likewise.
4984 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4985 * sysdeps/i386/fpu/e_log2.S: Likewise.
4986 * sysdeps/i386/fpu/e_log2l.S: Likewise.
4987 * sysdeps/i386/fpu/e_scalb.S: Likewise.
4988 * sysdeps/i386/fpu/e_powl.S: Likewise.
4989 * sysdeps/i386/fpu/e_log10f.S: Likewise.
4990 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
4991 * sysdeps/i386/fpu/e_logl.S: Likewise.
4992 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
4993 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4994 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
4995 * sysdeps/i386/fpu/e_log2f.S: Likewise.
4996 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4997 * sysdeps/i386/fpu/e_log.S: Likewise.
4998 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4999 * sysdeps/i386/fpu/e_logf.S: Likewise.
5000 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5001 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5002 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5003 * sysdeps/i386/fpu/e_log10.S: Likewise.
5004 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5005 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5006 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5007 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5008 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5009 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
5010 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5011 * sysdeps/i386/i686/strtok.S: Likewise.
5012 * sysdeps/i386/i386-mcount.S: Likewise.
5013 * sysdeps/i386/strtok.S: Likewise.
5014 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
5015 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5016 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5017 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5018 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5019 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5020 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5021 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5022 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5023 * sysdeps/x86_64/_mcount.S: Likewise.
5024 * sysdeps/x86_64/strtok.S: Likewise.
5025 * sysdeps/sh/_mcount.S: Likewise.
5026
2747bf9a
RM
50272012-08-01 Roland McGrath <roland@hack.frob.com>
5028
5029 * libio/iofopen.c: Include <fcntl.h>.
5030 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
5031 (_IO_fopen64, fopen64): Define as aliases.
5032 * libio/iofopen64.c: Include <fcntl.h>.
5033 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
5034 Conditionalize body on this.
5035 * sysdeps/wordsize-64/iofopen.c: File removed.
5036 * sysdeps/wordsize-64/iofopen64.c: File removed.
5037
3fb791b8
MP
50382012-08-01 Marek Polacek <polacek@redhat.com>
5039
5040 * libc/Makeconfig: Use elf in place of binfmt-subdir.
5041 Use dlfcn directly instead of a variable.
5042 (binfmt-subdir): Do not define.
5043 (dlfcn): Likewise.
5044
a9f1039f
JM
50452012-08-01 Joseph Myers <joseph@codesourcery.com>
5046
23bddc06
JM
5047 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
5048 Remove all definitions.
5049 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
5050 <kernel-features.h>.
5051 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5052 (miss_F_GETOWN_EX): Remove all definitions.
5053 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
5054 macro definition.
5055 [!__ASSUME_FCNTL64]: Remove conditional code.
5056 [__ASSUME_FCNTL64]: Make code unconditional.
5057 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
5058 <kernel-features.h>.
5059 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5060 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
5061 (lockf64) [__NR_fcntl64]: Make code unconditional.
5062 (lockf64) [__ASSUME_FCNTL64]: Likewise.
5063
a9f1039f
JM
5064 * sysdeps/unix/sysv/linux/kernel-features.h
5065 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
5066 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
5067 Make code unconditional.
5068 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5069 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
5071 [__NR_vfork]: Make code unconditional.
5072 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5073 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
5075 [__NR_vfork]: Make code unconditional.
5076 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5077 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5078
09c0ee5f
RM
50792012-08-01 Roland McGrath <roland@hack.frob.com>
5080
48aec5b9
RM
5081 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
5082 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
5083
cd97c966
RM
5084 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5085 Define mkstemp64 as an alias.
3f55550c
RM
5086 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5087 Define mkstemps64 as an alias.
cd97c966
RM
5088 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5089 Define mkostemp64 as an alias.
b8625cfc
RM
5090 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5091 Define mkostemps64 as an alias.
cd97c966
RM
5092 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
5093 Conditionalize body on this.
5094 * misc/mkostemp64.c: Likewise.
b8625cfc 5095 * misc/mkostemps64.c: Likewise.
3f55550c 5096 * misc/mkstemps64.c: Likewise.
cd97c966
RM
5097 * sysdeps/wordsize-64/mkstemp64.c: File removed.
5098 * sysdeps/wordsize-64/mkostemp64.c: File removed.
5099 * sysdeps/wordsize-64/mkostemp.c: File removed.
5100 * sysdeps/wordsize-64/mkstemp.c: File removed.
5101 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
5102 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
5103 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
5104 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
5105
09c0ee5f
RM
5106 [BZ #14138]
5107 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
5108 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
5109 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
5110 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
5111
5112 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
5113 compat_symbol macros from <shlib-compat.h> rather than the underlying
5114 default_symbol_version and symbol_version macros, so that DEFAULT
5115 lines in shlib-versions are respected.
5116 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
5117
7e66ee51
FW
51182012-08-01 Florian Weimer <fweimer@redhat.com>
5119
5120 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
5121 Declare with warn_unused_result.
5122 (setgid, setregid, setegid, setresgid): Likewise.
5123 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
5124 Likewise.
5125 * WUR-REPORT: Remove set*id functions.
5126
d2a54255
PT
51272012-07-31 Pino Toscano <toscano.pino@tiscali.it>
5128
5129 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
5130
7ecdb005
RM
51312012-07-31 Roland McGrath <roland@hack.frob.com>
5132
789bd351
RM
5133 * include/sys/socket.h (__libc_accept, __libc_accept4):
5134 Add attribute_hidden.
5135 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
5136
40ce302d
RM
5137 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
5138 use of PTR_MANGLE.
5139 * inet/getnetgrent_r.c (setup): Likewise.
5140
7ecdb005
RM
5141 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
5142
e2eabb2c
DM
51432012-07-31 David S. Miller <davem@davemloft.net>
5144
5145 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5146
d0419dbf
JM
51472012-07-31 Joseph Myers <joseph@codesourcery.com>
5148
5149 [BZ #13629]
5150 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
5151 value between 1.0 and 2.0 and smaller part has absolute value less
5152 than 1.0.
5153 * math/s_clog10.c (__clog10): Likewise.
5154 * math/s_clog10f.c (__clog10f): Likewise.
5155 * math/s_clog10l.c (__clog10l): Likewise.
5156 * math/s_clogf.c (__clogf): Likewise.
5157 * math/s_clogl.c (__clogl): Likewise.
5158 * math/libm-test.inc (clog_test): Add more tests.
5159 (clog10_test): Likewise.
5160 * sysdeps/i386/fpu/libm-test-ulps: Update.
5161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5162
2bc13872
FW
51632012-07-31 Florian Weimer <fweimer@redhat.com>
5164
5165 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
5166 Exit with zero in case no suitable GID is found, and write a
5167 message to standard error.
5168
bea9b193
RM
51692012-07-30 Roland McGrath <roland@hack.frob.com>
5170
5171 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
5172 rather than to 1.
5173 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
5174 (MAXPATHLEN): Removed.
5175 (NOGROUP, NODEV): New macros.
5176 (setbit, clrbit, isset, isclr): New macros.
5177 (howmany, roundup, powerof2): New macros.
5178 (DEV_BSIZE): New macro.
5179
5180 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
5181 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
5182
5183 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
5184 definition on [!__NO_LONG_DOUBLE_MATH].
5185
5186 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
5187 PTR_MANGLE and PTR_DEMANGLE.
5188
5189 * socket/accept4.c (accept4): Rename to __libc_accept4.
5190 Define accept4 as a weak alias.
5191
5192 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
5193 on [_DIRENT_HAVE_D_TYPE].
5194 * io/ftw.c (ftw_dir): Likewise.
5195
5196 * io/xmknod.c (__xmknod): Don't check PATH for being null.
5197
5198 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
5199
5200 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
5201 Use the BSD numbers rather than the arbitrary ones we had.
5202 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
5203 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
5204 (SIGXCPU, SIGXFSZ): New macros.
5205 (_NSIG): Now 32.
5206
5207 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
5208 initializer on [_LIBC_REENTRANT].
5209
5210 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
5211 definitions inside [_POSIX_MAPPED_FILES].
5212
5213 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
5214
5215 * dirent/opendir.c: Include <fcntl.h>.
5216
5217 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
5218 (__libc_getspecific): Likewise.
5219 (__libc_key_create): Likewise.
5220
5221 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
5222 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
5223 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
5224 (tmpfile64): Define as alias.
5225 * sysdeps/wordsize-64/tmpfile.c: File removed.
5226 * sysdeps/wordsize-64/tmpfile64.c: File removed.
5227 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
5228 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
5229
5230 * stdio-common/vfscanf.c: Include <stdbool.h>.
5231 * nss/makedb.c: Likewise.
5232 * stdio-common/_i18n_number.h: Likewise.
5233 * argp/argp-help.c: Likewise.
5234 * posix/wordexp.c: Likewise.
5235 * sysdeps/posix/spawni.c: Likewise.
5236 * nss/nss_files/files-initgroups.c: Likewise.
5237 * stdio-common/reg-modifier.c: Include <stdlib.h>.
5238 * nss/nss_files/files-initgroups.c: Likewise.
5239 * nss/nss_db/db-netgrp.c: Likewise.
5240 * nss/nss_db/db-initgroups.c: Likewise.
5241 * io/fchmodat.c: Include <sys/stat.h>.
5242
5243 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
5244 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
5245
5246 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
5247 [HAVE_MMAP].
5248
5249 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
5250 Add multiple inclusion protection.
5251
e5abc686
DM
52522012-07-27 David S. Miller <davem@davemloft.net>
5253
5254 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5255
815e6fa3
GB
52562012-07-27 Gary Benson <gbenson@redhat.com>
5257
5258 [BZ #14298]
5259 * elf/rtld.c: Include <stap-probe.h>.
5260 (dl_main): Added static probes "init_start" and "init_complete".
5261 * elf/dl-load.c: Include <stap-probe.h>.
5262 (lose): Take new parameter "nsid".
5263 Added static probe "map_failed".
5264 (_dl_map_object_from_fd): Pass namespace id to lose.
5265 Added static probe "map_start".
5266 (open_verify): Pass namespace id to lose.
5267 * elf/dl-open.c: Include <stap-probe.h>.
5268 (dl_open_worker) Added static probes "map_complete", "reloc_start"
5269 and "reloc_complete".
5270 * elf/dl-close.c: Include <stap-probe.h>.
5271 (_dl_close_worker): Added static probes "unmap_start" and
5272 "unmap_complete".
5273 * elf/rtld-debugger-interface.txt: New file documenting the above.
5274
9f98c16c
RM
52752012-07-26 Roland McGrath <roland@hack.frob.com>
5276
5277 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
5278 rather than a string variable.
5279 * sunrpc/rpc_main.c (h_output): Likewise.
5280 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
5281
f3c22df3
PT
52822012-07-26 Pino Toscano <toscano.pino@tiscali.it>
5283
5284 * inet/check_native.c: New file.
5285
3129cfc6
JM
52862012-07-26 Joseph Myers <joseph@codesourcery.com>
5287
da865e95
JM
5288 [BZ #13629]
5289 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
5290 if larger part has absolute value 1.0.
5291 * math/s_clog10.c (__clog10): Likewise.
5292 * math/s_clog10f.c (__clog10f): Likewise.
5293 * math/s_clog10l.c (__clog10l): Likewise.
5294 * math/s_clogf.c (__clogf): Likewise.
5295 * math/s_clogl.c (__clogl): Likewise.
5296 * math/libm-test.inc (clog_test): Add more tests.
5297 (clog10_test): Likewise.
5298 * sysdeps/i386/fpu/libm-test-ulps: Update.
5299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5300
3129cfc6
JM
5301 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
5302 (pltexit): Likewise.
5303 (La_regs): Likewise.
5304 (La_retval): Likewise.
5305 (int_retval): Likewise.
5306 Update #error for removed macros to refer only to definitions in
5307 tst-audit.h.
5308 * elf/tst-auditmod3b.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-auditmod4b.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-auditmod5b.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-auditmod6b.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-auditmod6c.c (pltenter): Remove all definitions of
5333 macro.
5334 (pltexit): Likewise.
5335 (La_regs): Likewise.
5336 (La_retval): Likewise.
5337 (int_retval): Likewise.
5338 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
5339 macro.
5340 (pltexit): Likewise.
5341 (La_regs): Likewise.
5342 (La_retval): Likewise.
5343 (int_retval): Likewise.
5344 * sysdeps/generic/tst-audit.h: Update comment to refer only to
5345 macro definitions in tst-audit.h.
5346 * sysdeps/i386/tst-audit.h: New file.
5347 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
5348 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
5349 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
5350 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
5351 * sysdeps/sh/tst-audit.h: Likewise.
5352 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
5353 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
5354 * sysdeps/x86_64/tst-audit.h: Likewise.
5355
bfc07087
AJ
53562012-07-26 Andreas Jaeger <aj@suse.de>
5357
b1b2aaf8
AJ
5358 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
5359 ptrace.
5360
5361 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
5362 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
5363 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
5364 PTRACE_O_MASK.
5365 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
5366 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
5367 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
5368
bfc07087
AJ
5369 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
5370 value.
5371
5372 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
5373 _sigsys.
5374 (si_call_addr, si_syscall, si_arch): Define new macro.
5375 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
5376 _sigsys.
5377 (si_call_addr, si_syscall, si_arch): Define new marcro.
5378 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
5379 _sigsys.
5380 (si_call_addr, si_syscall, si_arch): Define new macro.
5381 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
5382 _sigsys.
5383 (si_call_addr, si_syscall, si_arch): Define new macro.
5384
89b4b02f
JM
53852012-07-25 Joseph Myers <joseph@codesourcery.com>
5386
5387 [BZ #13717]
5388 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5389 Change to 2.4.21 where previously 2.4.1.
5390 * sysdeps/unix/sysv/linux/configure: Regenerated.
5391 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
5392 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
5393 Linux kernel version.
5394 (__ASSUME_STD_AUXV): Remove.
5395 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
5396 kernel version.
5397 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
5398 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
5399 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
5400 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
5401 (__ASSUME_NETLINK_SUPPORT): Likewise.
5402 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
5403 (__no_netlink_support): Remove conditional definition.
5404 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
5405 Remove.
5406 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5407 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
5408 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
5409 (if_nameindex_ioctl): Remove.
5410 (if_nameindex_netlink): Do not handle __no_netlink_support.
5411 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5412 code.
5413 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
5414 Remove conditional code.
5415 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5416 code.
5417 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
5418 unconditional.
5419 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5420 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
5421 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
5422 Remove.
5423 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
5424 [!__ASSUME_STD_AUXV]: Remove conditional code.
5425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
5426 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
5427 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
5428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
5429 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
5430 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5431 code.
5432 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5434 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
5435 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5436 conditional code.
5437 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
5439 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5440 code.
5441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5442 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5443 conditional code.
5444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
5445 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5446 code unconditional.
5447 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5448 conditional code.
5449 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5450 unconditional.
5451 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5452 conditional code.
5453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
5454 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5455 unconditional.
5456 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5457 conditional code.
5458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
5459 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5460 code unconditional.
5461 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5462 conditional code.
5463 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5464 unconditional.
5465 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5466 conditional code.
5467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
5468 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5469 code unconditional.
5470 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5471 conditional code.
5472 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5473 unconditional.
5474 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5475 conditional code.
5476
842a39cd
AS
54772012-07-25 Andreas Schwab <schwab@linux-m68k.org>
5478
5479 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
5480 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
5481 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5482 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
5483 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
5484 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
5485 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5486 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
5487 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
5488 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
5489 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
5490 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
5491 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
5492 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5493 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
5494 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
5495 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
5496 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
5497 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
5498 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
5499 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
5500 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
5501 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5502
84b3fd84
FW
55032012-07-25 Florian Weimer <fweimer@redhat.com>
5504
5505 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
5506 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
5507 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
5508 Introduce __libc_secure_getenv.
0c7936d5
FW
5509 * stdlib/Versions (2.17): Add secure_getenv
5510 (GLIBC_PRIVATE): Add __libc_secure_getenv.
5511 * stdlib/secure-getenv.c: Rename __secure_getenv to
5512 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
5513 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
5514 * stdlib/tst-secure-getenv.c: New.
5515 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
5516 * manual/startup.texi (Environment Access): Document
5517 secure_getenv.
84b3fd84
FW
5518 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
5519 __libc_secure_getenv.
5520 * inet/ruserpass.c (ruserpass): Likewise.
5521 * malloc/mtrace.c (mtrace): Likewise.
5522 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 5523 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
5524 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
5525 * sysdeps/posix/tempname.c: Likewise. Evaluate
5526 HAVE_SECURE_GETENV.
5527 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 5528 __secure_getenv to __libc_secure_getenv.
84b3fd84 5529 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
5530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5531 Likewise.
5532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5533 Likewise.
5534 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
5535 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
5536 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5537 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
5538 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
5539 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5540 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 5541
56e49b71
JM
55422012-07-25 Joseph Myers <joseph@codesourcery.com>
5543
5544 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
5545 (struct La_i86_retval): Likewise.
5546 (struct La_x86_64_regs): Likewise.
5547 (struct La_x86_64_retval): Likewise.
5548 (struct La_x32_regs): Likewise.
5549 (struct La_x32_retval): Likewise.
5550 (struct La_ppc32_regs): Likewise.
5551 (struct La_ppc32_retval): Likewise.
5552 (struct La_ppc64_regs): Likewise.
5553 (struct La_ppc64_retval): Likewise.
5554 (struct La_sh_regs): Likewise.
5555 (struct La_sh_retval): Likewise.
5556 (struct La_s390_32_regs): Likewise.
5557 (struct La_s390_32_retval): Likewise.
5558 (struct La_s390_64_regs): Likewise.
5559 (struct La_s390_64_retval): Likewise.
5560 (struct La_sparc32_regs): Likewise.
5561 (struct La_sparc32_retval): Likewise.
5562 (struct La_sparc64_regs): Likewise.
5563 (struct La_sparc64_retval): Likewise.
5564 (struct audit_ifaces): Remove architecture-specific pltenter and
5565 pltexit members.
5566 * sysdeps/i386/ldsodefs.h: New file.
5567 * sysdeps/powerpc/ldsodefs.h: Likewise.
5568 * sysdeps/s390/ldsodefs.h: Likewise.
5569 * sysdeps/sh/ldsodefs.h: Likewise.
5570 * sysdeps/sparc/ldsodefs.h: Likewise.
5571 * sysdeps/x86_64/ldsodefs.h: Likewise.
5572
354691b7
MP
55732012-07-25 Marek Polacek <polacek@redhat.com>
5574
5575 [BZ #6808]
5576 * math/libm-test.inc (yn_test): Add another test.
5577 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
5578 to ERANGE when the result is +-Inf.
5579 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
5580 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
5581 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
5582 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
5583
bf9e2071
JM
55842012-07-24 Joseph Myers <joseph@codesourcery.com>
5585
5586 * conform/data/time.h-data (NULL): Use macro-constant. Require
5587 equal to 0.
5588 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
5589 clock_t.
5590 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
5591
57633811
TS
55922012-07-23 Thomas Schwinge <thomas@codesourcery.com>
5593
5594 * configure.in <sysdeps resolving>: Correct printing
5595 Implies_before.
5596 * configure: Regenerate.
5597
c23c33b0
TS
55982012-07-22 Thomas Schwinge <thomas@codesourcery.com>
5599
5600 * math/w_ilogb.c: Include <limits.h>.
5601 * math/w_ilogbl.c: Likewise.
5602
b5982523
JM
56032012-07-20 Joseph Myers <joseph@codesourcery.com>
5604
5605 * manual/lang.texi (__va_copy): Document primarily as ISO C99
5606 va_copy. Document allowing for unavailable va_copy only as
5607 pre-C99 compatibility.
5608 * manual/string.texi (Copying and Concatenation): Use va_copy
5609 instead of __va_copy in concat example.
5610
ac4ea442
PT
56112012-07-20 Pino Toscano <toscano.pino@tiscali.it>
5612
5613 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
5614 (__sendto): Use create_address_port. Initialize APORT and deallocate
5615 it if not null.
5616
f98eafbd
PT
5617 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
5618 with O_NOLINK passed to __file_name_lookup.
5619
898c7aab
PT
5620 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
5621 with O_NOLINK passed to __file_name_lookup.
5622
0ced335a
PT
5623 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
5624 negative N or less than NGIDS.
5625
b3404dbd
PT
5626 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
5627 type to string_t. Set ERANGE as errno and return it if NAME is not big
5628 enough. Use memcpy instead of strncpy.
5629
0f48659e
JM
56302012-07-20 Joseph Myers <joseph@codesourcery.com>
5631
5632 * elf/Makefile (check-data): Remove.
5633 (localplt.data): New vpath directive.
5634 ($(objpfx)check-localplt.out): Use localplt.data from vpath
5635 instead of $(check-data).
5636 * scripts/data/localplt-generic.data: Move to ...
5637 * sysdeps/generic/localplt.data: ... here.
5638 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
5639 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
5640 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
5641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
5642 ... here.
5643 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
5644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
5645 ... here.
5646 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
5647 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
5648 ... here.
5649 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
5650 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
5651 ... here.
5652 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
5653 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
5654 ... here.
5655 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
5656 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
5657 ... here.
5658
d37cbdaa
AZ
56592012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5660
5661 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
5662 PPC32 and PPC64 files.
5663 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
5664 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
5665
46f85fc2
AK
56662012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5667
5668 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
5669 __makecontext_ret to ...
5670 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
5671 ... here and call exit if uc_link is NULL. New file.
5672 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
5673 __makecontext_ret.S.
5674 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
5675 __makecontext_ret to ...
5676 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
5677 ... here and call exit if uc_link is NULL. New file.
5678 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
5679 __makecontext_ret.S.
5680
08f43f9b
AK
56812012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5682
5683 * elf/elf.h (R_390_IRELATIVE): New definition.
5684 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
5685 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
5686 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
5687 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
5688 (elf_machine_lazy_rel): Likewise.
5689 * sysdeps/s390/dl-irel.h: New file.
5690 * sysdeps/s390/s390-64/memcpy.S: New asm code.
5691 * sysdeps/s390/s390-64/memset.S: New asm code.
5692 * sysdeps/s390/s390-64/memcmp.S: New asm code.
5693 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
5694 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
5695 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
5696 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
5697 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
5698 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
5699 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
5700 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
5701 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
5702 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
5703 * sysdeps/s390/s390-32/memcpy.S: New asm code.
5704 * sysdeps/s390/s390-32/memset.S: New asm code.
5705 * sysdeps/s390/s390-32/memcmp.S: New asm code.
5706
3b05db33
MP
57072012-07-17 Marek Polacek <polacek@redhat.com>
5708
5709 [BZ #14349]
5710 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
5711 * sysdeps/s390/s390-64/configure.in: Likewise.
5712 * sysdeps/sparc/configure.in: Likewise.
5713 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
5714 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
5715 * sysdeps/i386/configure.in: Likewise.
5716 * sysdeps/x86_64/configure.in: Likewise.
5717 * sysdeps/sh/configure.in: Likewise.
5718 * sysdeps/s390/s390-32/configure: Regenerated.
5719 * sysdeps/s390/s390-64/configure: Likewise.
5720 * sysdeps/x86_64/configure: Likewise.
5721 * sysdeps/sh/configure: Likewise.
5722 * sysdeps/powerpc/powerpc64/configure: Likewise.
5723 * sysdeps/powerpc/powerpc32/configure: Likewise.
5724 * sysdeps/sparc/configure: Likwise.
5725 * sysdeps/i386/configure: Likewise.
5726
a66877c6
MP
5727 * elf/dl-open.c: Comment fixes.
5728
cfc82fd8
JM
57292012-07-17 Joseph Myers <joseph@codesourcery.com>
5730
bd29910a
JM
5731 * Makefile [CXX] (check-data): Remove.
5732 [CXX] (c++-types.data): New vpath directive.
5733 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
5734 vpath. Do not allow for C++ type data being missing.
5735 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
5736 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
5737 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
5738 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
5739 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
5740 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
5741 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
5742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
5743 ... here.
5744 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
5745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
5746 ... here.
5747 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
5748 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
5749 ... here.
5750 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
5751 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
5752 ... here.
5753 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
5754 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
5755 ... here.
5756 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
5757 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
5758 ... here.
5759 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
5760 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
5761 ... here.
5762 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
5763 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
5764
cfc82fd8
JM
5765 * elf/tls-macros.h (TLS_LE): Move architecture-specific
5766 definitions to architecture-specific files.
5767 (TLS_IE): Likewise.
5768 (TLS_LD): Likewise.
5769 (TLS_GD): Likewise.
5770 * sysdeps/i386/tls-macros.h: New file.
5771 * sysdeps/powerpc/tls-macros.h: Likewise.
5772 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
5773 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
5774 * sysdeps/sh/tls-macros.h: Likewise.
5775 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
5776 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
5777 * sysdeps/x86_64/tls-macros.h: Likewise.
5778
f7db3170
TS
57792012-07-17 Thomas Schwinge <thomas@codesourcery.com>
5780
07cbfc23
TS
5781 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
5782 zero value for regular exit case.
5783
f7db3170
TS
5784 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
5785 (__start_context): Preserve zero value for regular exit case.
5786
dc97c227
TS
57872012-07-17 Thomas Schwinge <thomas@codesourcery.com>
5788 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5789
5790 * manual/setjmp.texi (setcontext): Clarify normal process
5791 termination when uc_link is the null pointer.
5792 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
5793 exit call.
5794
d0cd7d02
AS
57952012-07-16 Andreas Schwab <schwab@linux-m68k.org>
5796
5797 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
5798 preprocessor. Test for each exception mask separately.
5799
dd318934
AJ
58002012-07-16 Andreas Jaeger <aj@suse.de>
5801
5802 * po/ru.po: Update from translation team.
5803
8048311a
JM
58042012-07-15 Joseph Myers <joseph@codesourcery.com>
5805
5806 * conform/data/string.h-data (NULL): Use macro-constant. Require
5807 equal to 0.
5808 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
5809 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
5810 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
5811 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
5812 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5813
b637d46e
AJ
58142012-07-13 Andreas Jaeger <aj@suse.de>
5815
5816 * po/fr.po: Update from translation team.
5817
541428fe
MP
58182012-07-12 Marek Polacek <polacek@redhat.com>
5819
5820 [BZ #14173]
5821 * math/libm-test.inc (yn_test): Add test for BZ #14173.
5822 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
5823 loop condition.
5824
ec332e94
JM
58252012-07-12 Joseph Myers <joseph@codesourcery.com>
5826
5827 [BZ #13717]
5828 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5829 Change to 2.4.1 where previously 2.4.0.
5830 * sysdeps/unix/sysv/linux/configure: Regenerated.
5831 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
5832 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
5833 version.
5834 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
5835 (__ASSUME_AT_CLKTCK): Remove.
5836 (__ASSUME_AT_PAGESIZE): Likewise.
5837 (__ASSUME_AT_XID): Likewise.
5838 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
5839 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
5840 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
5841 unconditionally.
5842 (HAVE_AUX_PAGESIZE): Likewise.
5843 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
5844 [__ASSUME_AT_CLKTCK]: Make code unconditional.
5845 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
5846
7b6e99be
JB
58472012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
5848
5849 [BZ #14307]
5850 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
5851 the temporary buffer used to invoke __gethostbyname2_r,
5852 __gethostbyaddr_r and gethostbyname4_r to make room for struct
5853 host_data / struct gaih_addrtuple.
5854 * resolv/nss_dns/dns-host.c (global scope): Move definition of
5855 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
5856 header file nss/nsswitch.h.
5857 * nss/nsswitch.h (global scope): Add definition of implementation
5858 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
5859 resolv/nss_dns/dns-host.c).
5860
608404eb
AJ
58612012-07-11 Andreas Jaeger <aj@suse.de>
5862
5863 * po/fr.po: Update from translation team.
5864
71220aca
AJ
5865 * po/sv.po: Update from translation team
5866 * po/fr.po: Another update from translation team.
5867
28cfe843
AZ
58682012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5869
5870 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
5871 for subnormals or multiply small sinh result by itself.
5872 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5873 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5874
6b90f981
DM
58752012-07-11 David S. Miller <davem@davemloft.net>
5876
5877 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5878
c6825772
AS
58792012-07-10 Andreas Schwab <schwab@linux-m68k.org>
5880
5881 [BZ #14347]
5882 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
5883 (INTERNAL_MARK): Shift it here.
5884
7b8e0d49
MP
58852012-07-10 Marek Polacek <polacek@redhat.com>
5886
5887 [BZ #14151]
5888 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
5889 libc_cv_asm_global_directive with .globl.
5890 * configure: Regenerated.
5891 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
5892 with .globl.
5893 * sysdeps/i386/configure: Regenerated.
5894 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
5895 with .globl.
5896 * sysdeps/x86_64/configure: Regenerated.
5897 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
5898 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
5899 * elf/tst-unique2mod2.c: Likewise.
5900 * elf/tst-unique2mod1.c: Likewise.
5901 * elf/tst-unique1mod2.c: Likewise.
5902 * elf/tst-unique1mod1.c: Likewise.
5903 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5904 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5905 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5906 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5907 * sysdeps/mach/sysdep.h: Likewise.
5908 * sysdeps/i386/sysdep.h: Likewise.
5909 * sysdeps/i386/i386-mcount.S: Likewise.
5910 * sysdeps/x86_64/_mcount.S: Likewise.
5911 * sysdeps/x86_64/sysdep.h: Likewise.
5912 * sysdeps/sh/_mcount.S: Likewise.
5913 * sysdeps/sh/sysdep.h: Likewise.
5914 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
5915 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
5916 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
5917 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5918 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
5919 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
5920 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
5921 * locale/localeinfo.h: Likewise.
5922 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
5923 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
5924
6c55cda3
RM
59252012-07-09 Roland McGrath <roland@hack.frob.com>
5926
5927 [BZ #14336]
5928 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
5929 system".
5930 * manual/message.texi (The Uniforum approach): Likewise.
5931 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
5932 (glibc iconv Implementation): Likewise.
5933
638a572e
JM
59342012-07-09 Joseph Myers <joseph@codesourcery.com>
5935
5936 [BZ #14337]
5937 * math/s_clog.c (__clog): Avoid scaling a value down where that
5938 could result in underflow.
5939 * math/s_clog10.c (__clog10): Likewise.
5940 * math/s_clog10f.c (__clog10f): Likewise.
5941 * math/s_clog10l.c (__clog10l): Likewise.
5942 * math/s_clogf.c (__clogf): Likewise.
5943 * math/s_clogl.c (__clogl): Likewise.
5944 * math/libm-test.inc (clog_test): Add more tests.
5945 (clog10_test): Likewise.
5946 * sysdeps/i386/fpu/libm-test-ulps: Update.
5947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5948
261f4859
AS
59492012-07-06 Andreas Schwab <schwab@linux-m68k.org>
5950
0abaf3e4
AS
5951 [BZ #14283]
5952 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
5953 by 7 not 8 to examine high bit of fractional part.
5954
261f4859
AS
5955 [BZ #14042]
5956 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
5957 for call to __mcount_internal.
5958 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
5959 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
5960 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
5961
f17ac40d
JM
59622012-07-06 Joseph Myers <joseph@codesourcery.com>
5963
9ad63c23
JM
5964 [BZ #14154]
5965 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
5966 approximation for values within 0x1p-13f of an odd multiple of
5967 pi/4.
5968 * math/libm-test.inc (tan_test): Do not allow spurious underflow
5969 exception. Add more tests.
5970 * sysdeps/i386/fpu/libm-test-ulps: Update.
5971
f17ac40d
JM
5972 [BZ #6778]
5973 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
5974 inputs and return -1 for them. Do not check for +Inf in case not
5975 reachable for +Inf.
5976 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5977 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
5978 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
5979 and return -1 for them. Do not check for +Inf in case not
5980 reachable for +Inf.
5981 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
5982 define.
5983 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
5984 and return -1 for them. Do not check for +Inf in case not
5985 reachable for +Inf.
5986 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
5987 spurious underflow.
5988 * sysdeps/i386/fpu/libm-test-ulps: Update.
5989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5990
fb21f89b
MF
59912012-07-06 Mike Frysinger <vapier@gentoo.org>
5992
5993 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
5994
cdfe2c5e
JM
59952012-07-05 Joseph Myers <joseph@codesourcery.com>
5996
5997 [BZ #14157]
5998 [BZ #14331]
5999 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
6000 could result in spurious underflow. Scale down values above
6001 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
6002 * math/s_csqrtf.c (__csqrtf): Likewise.
6003 * math/s_csqrtl.c (__csqrtl): Likewise.
6004 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
6005 spurious underflow.
6006 * sysdeps/i386/fpu/libm-test-ulps: Update.
6007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6008
70d35b67
AS
60092012-07-04 Andreas Schwab <schwab@linux-m68k.org>
6010
704bc459
AS
6011 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
6012 xopen-msg.sed.
6013 * catgets/xopen-msg.awk: New file.
6014 * catgets/xopen-msg.sed: Removed.
6015
70d35b67
AS
6016 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
6017 po2text.sed.
6018 * intl/po2test.awk: New file.
6019 * intl/po2test.sed: Removed.
6020
ca61cf32
JM
60212012-07-04 Joseph Myers <joseph@codesourcery.com>
6022
6023 [BZ #14328]
6024 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
6025 or multiply small sinh result by itself.
6026 * math/s_ctanf.c (__ctanf): Likewise.
6027 * math/s_ctanh.c (__ctanh): Likewise.
6028 * math/s_ctanhf.c (__ctanhf): Likewise.
6029 * math/s_ctanhl.c (__ctanhl): Likewise.
6030 * math/s_ctanl.c (__ctanl): Likewise.
6031 * math/libm-test.inc (ctan_test_tonearest): New function.
6032 (ctan_test_towardzero): Likewise.
6033 (ctan_test_downward): Likewise.
6034 (ctan_test_upward): Likewise.
6035 (ctanh_test_tonearest): Likewise.
6036 (ctanh_test_towardzero): Likewise.
6037 (ctanh_test_downward): Likewise.
6038 (ctanh_test_upward): Likewise.
6039 (main): Call these new functions.
6040 * sysdeps/i386/fpu/libm-test-ulps: Update.
6041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6042
ca48a46a
MF
60432012-07-03 Mike Frysinger <vapier@gentoo.org>
6044
6045 * .gitignore: Delete /ports entry.
6046
9d63d37d
AJ
60472012-07-03 Andreas Jaeger <aj@suse.de>
6048
6049 * po/bg.po: Update from translation team.
6050 * po/cs.po: Likewise.
6051 * po/de.po: Likewise.
6052 * po/hr.po: Likewise.
6053 * po/nl.pl: Likewise.
6054 * po/pl.po: Likewise.
6055 * po/vi.po: Likewise.
6056
370ca3d2
JM
60572012-07-03 Joseph Myers <joseph@codesourcery.com>
6058
95f5a9a8
JM
6059 * Makeconfig [!+link] (+link-before-libc): New variable.
6060 [!+link] (+link-after-libc): Likewise.
6061 [!+link] (+link-tests): Likewise.
6062 [!+link] (+link): Define in terms of $(+link-before-libc) and
6063 $(+link-after-libc).
6064 [!+link-static] (+link-static-before-libc): New variable.
6065 [!+link-static] (+link-static-after-libc): Likewise.
6066 [!+link-static] (+link-static-tests): Likewise.
6067 [!+link-static] (+link-static): Define in terms of
6068 $(+link-static-before-libc) and $(+link-static-after-libc).
6069 [build-shared] (link-libc-before-gnulib): New variable.
6070 [build-shared] (link-libc-tests): Likewise.
6071 [build-shared] (link-libc): Define in terms of
6072 $(link-libc-before-gnulib).
6073 [!build-shared] (link-libc-tests): New variable.
6074 (link-libc-static-tests): New variable.
6075 [!gnulib] (gnulib-arch): New variable.
6076 [!gnulib] (gnulib-tests): Likewise.
6077 [!gnulib] (static-gnulib-arch): Likewise.
6078 [!gnulib] (static-gnulib-tests): Likewise.
6079 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
6080 Define with "=" instead of ":=".
6081 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
6082 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
6083 * Rules (binaries-all-notests): New variable.
6084 (binaries-all-tests): Likewise.
6085 (binaries-static-notests): Likewise.
6086 (binaries-static-tests): Likewise.
6087 (binaries-all): Define using $(binaries-all-notests) and
6088 $(binaries-all-tests).
6089 (binaries-static): Define using $(binaries-static-notests) and
6090 $(binaries-static-tests).
6091 (binaries-shared-tests): New variable.
6092 (binaries-shared-notests): Likewise.
6093 (binaries-shared): Remove variable.
6094 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
6095 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
6096 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
6097 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
6098 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
6099 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
6100 * elf/Makefile (sln-modules): New variable.
6101 (extra-objs): Add $(sln-modules:=.o).
6102 (ldconfig-modules): Add static-stubs.
6103 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
6104 * elf/static-stubs.c: New file.
6105
7a845b2c
JM
6106 [BZ #14283]
6107 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
6108 by 7 not 8 to examine high bit of fractional part. Use volatile
6109 variables when splitting into final array of floats if
6110 __FLT_EVAL_METHOD__ != 0.
6111 * math/libm-test.inc (cos_test): Add another test.
6112 (sin_test): Likewise.
6113 * sysdeps/i386/fpu/libm-test-ulps: Update.
6114
e2283f38
JM
6115 [BZ #14273]
6116 * math/libm-test.inc (cosh_test): Add more tests.
6117
370ca3d2
JM
6118 * version.h (RELEASE): Set to "development".
6119 (VERSION): Set to "2.16.90".
6120
ee9247c3
CD
61212012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
6122
6123 * NEWS: Update copyright. Remove last-updated date.
6124 Mention math library bug fixes and timezone data changes.
6125 * README: Mention GNU/Hurd, x32, and HPPA support status.
6126
4648c381
TS
61272012-06-28 Thomas Schwinge <thomas@codesourcery.com>
6128
6129 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
6130
aac78a43
AJ
61312012-06-27 Andreas Jaeger <aj@suse.de>
6132
6133 * manual/contrib.texi (Contributors): Add Samuel Thibault.
6134
ed3dbfad
AJ
61352012-06-25 Andreas Jaeger <aj@suse.de>
6136
6137 * sysdeps/s390/fpu/libm-test-ulps: Update.
6138
4d0ee855
AS
61392012-06-23 Andreas Schwab <schwab@linux-m68k.org>
6140 Thomas Schwinge <thomas@codesourcery.com>
6141
6142 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
6143 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
6144 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
6145 fanotify_mark.
6146
af1bce34
TS
61472012-06-23 Thomas Schwinge <thomas@codesourcery.com>
6148
a9fa33ba
TS
6149 * sysdeps/mach/start.c: Remove file.
6150 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
6151 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
6152 * sysdeps/sh/init-first.c: Likewise.
6153
58f902b8
TS
6154 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
6155 registers for frame unwinding purposes, add CFI directives.
6156 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6157 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
6158 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
6159 Likewise.
6160
1518f58b
TS
6161 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
6162 __fortify_fail returning.
6163 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6164
db9b5059
TS
6165 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
6166 sysdeps/sh/____longjmp_chk.S.
6167 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
6168 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
6169 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
6170 (gen-as-const-headers): Append sigaltstack-offsets.sym.
6171
967705fe
TS
6172 * sysdeps/sh/abort-instr.h: New file.
6173 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
6174 process in case exit returns.
6175
a9def8c4
TS
6176 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
6177 initialize the GOT register before use.
6178
2a649725
TS
6179 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
6180 calculation of ARGC > 4.
6181
af1bce34
TS
6182 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
6183 meaningful names to some local labels.
6184
d230f50a
KK
61852012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6186 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6187
6188 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
6189 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
6190 (__arch_compare_and_exchange_val_16_acq): Likewise.
6191 (__arch_compare_and_exchange_val_32_acq): Likewise.
6192 (atomic_exchange_and_add): Fix gUSA sequence.
6193 (atomic_add): Likewise.
6194 (atomic_add_negative): Likewise.
6195 (atomic_add_zero): Likewise.
6196 (atomic_bit_test_set): Likewise.
6197
0479b305
AS
61982012-06-22 Andreas Schwab <schwab@redhat.com>
6199
6200 [BZ #13579]
6201 * include/link.h (struct link_map): Add l_free_initfini.
6202 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
6203 l_initfini.
6204 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
6205 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
6206 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
6207 set.
6208
0e3933b9
CD
62092012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
6210
6211 * configure.in: Use AC_LANG_SOURCE.
6212 * configure: Regenerate.
6213
4248b1b1
RM
62142012-06-22 Roland McGrath <roland@hack.frob.com>
6215
6216 * configure.in (libc_cv_localstatedir): New substituted variable.
6217 * configure: Regenerated.
6218 * config.make.in (localstatedir): New variable, substituted from
6219 libc_cv_localstatedir.
6220 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
6221 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
6222 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
6223 * sysdeps/gnu/configure: Regenerated.
6224
006dd861
JL
62252012-06-21 Jeff Law <law@redhat.com>
6226
6227 [BZ #14277]
6228 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
6229 free. Simplify list management for _LIBC case.
6230
79662d42
JM
62312012-06-21 Joseph Myers <joseph@codesourcery.com>
6232
b7abb4bf
JM
6233 [BZ #14273]
6234 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
6235 Clear sign bit of 64-bit integer value before comparing against
6236 overflow value.
6237
79662d42
JM
6238 * sysdeps/mach/configure: Regenerated.
6239
1f150908
L
62402012-06-21 H.J. Lu <hongjiu.lu@intel.com>
6241
6242 [BZ #14278]
6243 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
6244
28363bbf
JL
62452012-06-21 Jeff Law <law@redhat.com>
6246
6247 [BZ #13882]
6248 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
6249 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 6250 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
6251 * elf/dl-open.c (dl_open_worker): Likewise.
6252
09615db4
CD
62532012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
6254
6255 * scripts/list-sources.sh: Scan PORTS for translations.
6256 * po/libc.pot: Regenerated.
6257
2174c6dd
AJ
62582012-06-21 Andreas Jaeger <aj@suse.de>
6259
6260 [BZ #12194]
6261 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
6262 warning.
6263 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
6264 * bits/byteswap-16.h (__bswap_16): Likewise.
6265 * bits/byteswap.h (__bswap_constant_16): Likewise.
6266
3ee947b1
L
62672012-06-18 H.J. Lu <hongjiu.lu@intel.com>
6268
6269 [BZ #14117]
a2f34833
L
6270 * sysdeps/i386/fpu_control.h: Removed.
6271 * sysdeps/x86_64/fpu_control.h: Moved to ...
6272 * sysdeps/x86/fpu_control.h: Here.
6273
3ee947b1
L
6274 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
6275 (_FPU_SETCW): Likewise.
6276
ed1825f8
L
62772012-06-15 H.J. Lu <hongjiu.lu@intel.com>
6278
25f1282a
L
6279 [BZ #14117]
6280 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
6281 * sysdeps/x86/fpu/bits/mathinline.h: This.
6282 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
6283
ed1825f8
L
6284 [BZ #14050]
6285 [BZ #14117]
6286 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
6287 functions if __x86_64__ is defined.
6288
36d54b74
CLT
62892012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
6290
6291 * string/endian.h: Add !__ASSEMBLER__ condition for including
6292 conversion interfaces.
6293
10285c21
JM
62942012-06-15 Joseph Myers <joseph@codesourcery.com>
6295
6296 [BZ #14241]
6297 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
6298 of ABS(x) in calculating zero to negative powers other than odd
6299 integers.
6300 * math/libm-test.inc (pow_test): Add more tests.
6301
06c5abbd
AJ
63022012-06-15 Andreas Jaeger <aj@suse.de>
6303
6304 * manual/contrib.texi (Contributors): Update entry of Liubov
6305 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
6306 Machado Filho.
6307
a3aeac40
CH
63082012-06-15 Cyril Hrubis <metan@ucw.cz>
6309
6310 * string/string.h: Add __wur to GNU version of strerror_r.
6311
49bdf4c1
L
63122012-06-14 H.J. Lu <hongjiu.lu@intel.com>
6313
6314 [BZ #14229]
6315 * string/Makefile (tests): Add tst-strtok_r.
6316 * string/tst-strtok_r.c: New file.
6317 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
6318 RAX_LP/RDX_LP on SAVE_PTR.
6319
834f9b8d
RM
63202012-06-14 Roland McGrath <roland@hack.frob.com>
6321
6322 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
6323
75fa1921
JM
63242012-06-14 Joseph Myers <joseph@codesourcery.com>
6325
6326 * libm_test.inc (csqrt_test): Allow more spurious underflow
6327 exceptions.
6328 (j0_test): Likewise.
6329 (j1_test): Likewise.
6330 (y0_test): Likewise.
6331 (y1_test): Likewise.
6332
771766df
CD
63332012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
6334
6335 * po/Makefile (libc.pot): Use UTF-8 charset.
6336
ceb9e56b
PP
63372012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
6338
6339 [BZ #14210]
6340 Suppress sign-conversion warning from FD_SET.
6341 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
6342 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
6343 not unsigned long int.
6344 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
6345
ddb28975
L
63462012-06-12 H.J. Lu <hongjiu.lu@intel.com>
6347
6348 [BZ #14050]
6349 [BZ #14117]
6350 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
6351 __extern_always_inline instead of __extern_inline.
6352 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
6353 (__signbit): Likewise.
6354 (__signbitl): Support C++ namespace.
6355 (lrintf): New inline function.
6356 (lrint): Likewise.
6357 (llrintf): Likewise.
6358 (llrint): Likewise.
6359 (fmaxf): Likewise.
6360 (fmax): Likewise.
6361 (fminf): Likewise.
6362 (fmin): Likewise.
6363 (rint): Likewise.
6364 (rintf): Likewise.
6365 (ceil): Likewise.
6366 (ceilf): Likewise.
6367 (floor): Likewise.
6368 (floorf): Likewise.
6369 (nearbyint): Likewise.
6370 (nearbyintf): Likewise.
6371
d7b4fb26
TS
63722012-06-12 Thomas Schwinge <thomas@codesourcery.com>
6373
6374 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
6375 non-default versions.
6376
eb55f5c2
RM
63772012-06-11 Roland McGrath <roland@hack.frob.com>
6378
6379 [BZ #14218]
6380 * manual/argp.texi (Argp): Reword argp_parse description slightly.
6381
366af02c
TS
63822012-06-09 Thomas Schwinge <thomas@codesourcery.com>
6383
99ff6e5c
TS
6384 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
6385 (FE_UPWARD, FE_DOWNWARD): Don't define.
6386 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
6387 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6388
366af02c
TS
6389 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
6390 reading it.
6391 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6392 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6393
793ea851
KK
63942012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6395
6396 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6397 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
6398 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
6399 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
6400
a728a38f
L
64012012-06-06 H.J. Lu <hongjiu.lu@intel.com>
6402
6403 [BZ #14117]
c08010c7
L
6404 * sysdeps/i386/fpu/bits/fenv.h: Removed.
6405 * sysdeps/i386/fpu/Implies: New file.
6406 * sysdeps/x86_64/fpu/Implies: Likewise.
6407 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
6408 * sysdeps/x86/fpu/bits/fenv.h: This.
6409
a728a38f
L
6410 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
6411 __SSE_MATH__.
6412
6e230d11
SP
64132012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6414
6415 [BZ #14134]
6416 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
6417 character 0xffff that matches the last element of the
6418 conversion table.
6419
1b671feb
AZ
64202012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6421
6422 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
6423 fmodl commit.
6424
6043738b
AZ
64252012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6426
6427 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
6428 values higher than 25.6283.
6429
34ae0b32
AZ
64302012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6431
6432 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
6433 subnormal exponent extraction and add some __builtin_expect.
6434 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
6435 Fix for subnormal mantissa calculation.
6436
1214ec8f
MF
64372012-06-04 Mike Frysinger <vapier@gentoo.org>
6438
6439 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
6440 cpu2 is -1 and errno is not ENOSYS.
6441
f3d1f93c
L
64422012-06-04 H.J. Lu <hongjiu.lu@intel.com>
6443
6444 [BZ #14117]
0e4a3cd7
L
6445 * sysdeps/i386/i486/bits/string.h: Renamed to ...
6446 * sysdeps/x86/bits/string.h: This.
6447 * sysdeps/x86_64/bits/string.h: Removed.
6448
6704c645
L
6449 * sysdeps/i386/i486/bits/string.h: Define inline functions only
6450 if not compiling for x86-64, but compiling for >= i486.
6451
48495318
L
6452 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
6453 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
6454
14adcbfc
L
6455 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
6456 New macro from Linux kernel 3.4.0.
6457 (FP_XSTATE_MAGIC2): Likewise.
6458 (FP_XSTATE_MAGIC2_SIZE): Likewise.
6459 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
6460 (struct _fpx_sw_bytes): New struct.
6461 (struct _xsave_hdr): Likewise.
6462 (struct _ymmh_state): Likewise.
6463 (struct _xstate): Likewise.
6464
68e408ab
L
6465 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
6466 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
6467 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
6468 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
6469 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
6470 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
6471
f3d1f93c
L
6472 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
6473 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
6474 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
6475 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
6476 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
6477 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
6478
d9dc34cd
TMQMF
64792012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6480
6481 [BZ #13743]
6482 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
6483 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
6484 (sysdep_headers): Include sys/platform/ppc.h.
6485 * sysdeps/powerpc/test-gettimebase.c: Test for
6486 __ppc_get_timebase() to catch future ISA opcode/insn changes.
6487 * manual/Makefile (appendices): Include platform.texi.
6488 * manual/contrib.texi (Contributors): Update @node pointers.
6489 * manual/maint.texi (Maintenance): Likewise.
6490 (Platform): New node.
6491 * manual/platform.texi: New file. Document the new features.
6492
4af3879c
SP
64932012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6494 Jakub Jelinek <jakub@redhat.com>
6495
6496 [BZ #14188]
6497 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
6498 where __builtin_expect is unavailable.
6499
2fd6ff13
DM
65002012-06-03 David S. Miller <davem@davemloft.net>
6501
6502 * stdlib/longlong.h: Updated from GCC.
6503
173f7220
AS
65042012-06-02 Andreas Schwab <schwab@linux-m68k.org>
6505
6506 [BZ #14042]
6507 * sysdeps/powerpc/powerpc32/mcount.c: New file.
6508 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
6509 __mcount_internal.
6510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6511 (GLIBC_2.16): Likewise.
6512
f34a1c6f
L
65132012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6514
6515 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
6516
88a4576f
JM
65172012-06-01 Joseph Myers <joseph@codesourcery.com>
6518
ea32bcdd
JM
6519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
6520 (default-abi): New variable.
6521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
6522 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
6523 variable.
6524 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
6525 Likewise.
6526 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
6527 Likewise.
6528 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
6529 Likewise.
6530
88a4576f
JM
6531 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
6532 definition. Document in comment.
6533
402fe938
DM
65342012-06-01 David S. Miller <davem@davemloft.net>
6535
6536 * stdlib/longlong.h: Updated from GCC.
6537
3553723f
L
65382012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6539
6540 [BZ #14117]
3bd872c4
L
6541 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
6542 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
6543 sys/debugreg.h sys/io.h here.
6544 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
6545 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
6546 sys/io.h.
6547 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
6548 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
6549 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
6550 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
6551 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
6552 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
6553
3553723f
L
6554 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
6555 Define only if __x86_64__ is defined.
6556
4842e4fe
JM
65572012-06-01 Joseph Myers <joseph@codesourcery.com>
6558
c5bfe3d5
JM
6559 [BZ #14048]
6560 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
6561 Use int64_t for variable i.
6562 * math/libm-test.inc (fmod_test): Add more tests.
6563
4842e4fe
JM
6564 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
6565 z computation is not scheduled after fetestexcept.
6566 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
6567 Use math_force_eval instead of asm to ensure calculation scheduled
6568 before exception test.
6569 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
6570 Ensure a1 + u.d computation is not scheduled after fetestexcept.
6571
efb73488
AJ
65722012-06-01 Aurelien Jarno <aurelien@aurel32.net>
6573
6574 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
6575 computation is not scheduled after fetestexcept.
6576
29bcce7c
L
65772012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6578
6579 [BZ #14117]
6580 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
6581 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
6582
73a68f94
AZ
65832012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6584
6585 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
6586 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6587
67b6df78
L
65882012-05-31 H.J. Lu <hongjiu.lu@intel.com>
6589
edf2933a 6590 [BZ #14117]
ebc64a18
L
6591 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
6592 <bits/wordsize.h>.
6593 (__WCHAR_MIN): Support __WORDSIZE == 64.
6594 (__WCHAR_MAX): Likewise.
6595
edf2933a
L
6596 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
6597 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
6598
57c6cf40
L
6599 [BZ #14183]
6600 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
6601 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
6602
67b6df78 6603 [BZ #14117]
8eb6281e
L
6604 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
6605 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
6606
aac639f4
L
6607 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
6608 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
6609
67b6df78
L
6610 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
6611 Defined to 1 if __x86_64__ isn't defined.
6612 (_STAT_VER_LINUX_OLD): New.
6613 (st_atime): Remove duplicate.
6614 (st_mtime): Likewise.
6615 (st_ctime): Likewise.
6616
1c2cfe81
DM
66172012-05-31 David S. Miller <davem@davemloft.net>
6618
6619 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
6620 entries.
6621
5be8418c
AS
66222012-06-01 Andreas Schwab <schwab@linux-m68k.org>
6623
e7725326
AS
6624 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
6625 gen-libm-test.pl.
6626
5be8418c
AS
6627 [BZ #14132]
6628 * elf/dl-reloc.c: Include <_itoa.h>.
6629 (_dl_reloc_bad_type): Remove use of INTUSE.
6630 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
6631 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
6632 * stdio-common/psiginfo.c (psiginfo): Likewise.
6633 * stdio-common/psignal.c (psignal): Likewise.
6634 * string/strsignal.c (strsignal): Likewise.
6635 * include/signal.h (_sys_siglist): Declare hidden proto.
6636 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
6637 INTVARDEF with libc_hidden_data_def.
6638 * stdio-common/itoa-udigits.c: Likewise.
6639 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
6640 (_itoa_lower_digits_internal): Remove declaration.
6641 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
6642 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
6643 (_sys_sigabbrev_internal): Remove aliases.
6644 (_sys_siglist): Define hidden alias.
6645
507352f1
MT
66462012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
6647
6648 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6649 bits/sysctl.h.
6650
42bbb1c3
L
66512012-05-31 H.J. Lu <hongjiu.lu@intel.com>
6652
6653 [BZ #14117]
6bd784b6
L
6654 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
6655 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
6656
8bca20f0
L
6657 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
6658 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
6659 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
6660 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
6661 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
6662 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
6663
f9e890a9
L
6664 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
6665 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
6666 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
6667
471101a1
L
6668 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
6669 with __addr.
6670 (insw): Likewise.
6671 (insl): Likewise.
6672 (outsb): Likewise.
6673 (outsw): Likewise.
6674 (outsl): Likewise.
6675
6451c862
L
6676 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
6677 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
6678 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
6679
a254b8c9
L
6680 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
6681 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
6682 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
6683 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
6684 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
6685 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
6686
b8dfdd92
L
6687 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
6688 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
6689
578cd270
L
6690 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
6691 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
6692
de662f5f
L
6693 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
6694 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
6695 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
6696
25653439
L
6697 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
6698 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
6699 to ...
6700 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
6701
6bad24a0
L
6702 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
6703 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
6704 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
6705
42bbb1c3
L
6706 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
6707 for x86-64.
6708 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
6709
2d10d547
JM
67102012-05-31 Joseph Myers <joseph@codesourcery.com>
6711
6712 * math/math.h (M_El): Use two more decimal places.
6713 (M_LOG2El): Likewise.
6714 (M_LOG10El): Likewise.
6715 (M_LN2l): Likewise.
6716 (M_LN10l): Likewise.
6717 (M_PIl): Likewise.
6718 (M_PI_2l): Likewise.
6719 (M_PI_4l): Likewise.
6720 (M_1_PIl): Likewise.
6721 (M_2_PIl): Likewise.
6722 (M_2_SQRTPIl): Likewise.
6723 (M_SQRT2l): Likewise.
6724 (M_SQRT1_2l): Likewise.
6725
f230c29b
DM
67262012-05-31 David S. Miller <davem@davemloft.net>
6727
6728 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
6729 values between float registers.
6730 * sysdeps/sparc/sparc64/memset.S: Likewise.
6731 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6732
fed806c3
MF
67332012-05-31 Mike Frysinger <vapier@gentoo.org>
6734
6735 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
6736 -D_FORTIFY_SOURCE=1.
6737 (CPPFLAGS-tst-longjmp_chk.c): Define.
6738 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
6739 (CPPFLAGS-tst-longjmp_chk2.c): Define.
6740 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
6741 CFLAGS-tst-wchar-h.c.
6742
30917259
MP
67432012-05-31 Marek Polacek <polacek@redhat.com>
6744
6745 [BZ #14132]
6746 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
6747 __endmntent_internal): Remove declaration.
6748 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
6749 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
6750 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
6751
1c58d5dc
DM
67522012-05-30 David S. Miller <davem@davemloft.net>
6753
6754 * sysdeps/sparc/sparc32/soft-fp/q_util.c
6755 (___Q_simulate_exceptions): Use real FP ops rather than writing
6756 into the %fsr.
6757 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
6758 Likewise.
6759
7dc00e0d
L
67602012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6761
6762 [BZ #14117]
0bd53985
L
6763 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
6764 * sysdeps/x86/bits/xtitypes.h: This.
6765
3a257e66
L
6766 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
6767 * sysdeps/x86/bits/wordsize.h: This.
6768
62f62904
L
6769 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
6770 * sysdeps/x86/bits/huge_vall.h: This.
6771
404fe9d9
L
6772 * sysdeps/i386/bits/select.h: Removed.
6773 * sysdeps/x86_64/bits/select.h: Renamed to ...
6774 * sysdeps/x86/bits/select.h: This.
6775
d48d0446
L
6776 * sysdeps/i386/bits/setjmp.h: Removed.
6777 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
6778 * sysdeps/x86/bits/setjmp.h: This.
6779
7dc00e0d
L
6780 * sysdeps/i386/bits/mathdef.h: Removed.
6781 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
6782 * sysdeps/x86/bits/mathdef.h: This.
6783
03277f8f
AS
67842012-05-30 Andreas Schwab <schwab@linux-m68k.org>
6785
6786 [BZ #14132]
6787 * include/sys/socket.h (__connect_internal)
6788 (__libc_sa_len_internal): Remove declaration.
6789 (__connect, __libc_sa_len): Declare hidden_proto.
6790 (SA_LEN): Remove use of INTUSE.
6791 * socket/connect.c: Add libc_hidden_def.
6792 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
6793 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
6794 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
6795 alias.
6796 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
6797 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6798 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
6799 of adding _internal alias.
6800
13764867
L
68012012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6802
6803 [BZ #14117]
6bd97696
L
6804 * sysdeps/i386/bits/link.h: Removed.
6805 * sysdeps/i386/bits/linkmap.h: Likewise.
6806 * sysdeps/x86_64/bits/link.h: Renamed to ...
6807 * sysdeps/x86/bits/link.h: This.
6808 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
6809 * sysdeps/x86/bits/linkmap.h: This.
6810
f726f0bb
L
6811 * sysdeps/i386/bits/endian.h: Removed.
6812 * sysdeps/x86_64/bits/endian.h: Renamed to ...
6813 * sysdeps/x86/bits/endian.h: This.
6814
13764867
L
6815 * sysdeps/i386/bits/byteswap.h: Removed.
6816 * sysdeps/i386/bits/byteswap-16.h: Likewise.
6817 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
6818 * sysdeps/x86/bits/byteswap.h: This.
6819 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
6820 * sysdeps/x86/bits/byteswap-16.h: This.
6821 * sysdeps/i386/Implies: Add x86.
6822 * sysdeps/x86_64/Implies: Likewise.
6823
ae251b0b
DM
68242012-05-30 David S. Miller <davem@davemloft.net>
6825
6826 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
6827 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
6828 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
6829 (FP_TRAPPING_EXCEPTIONS): Define.
6830 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
6831 (FP_TRAPPING_EXCEPTIONS): Define.
6832 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
6833 subnormals only when inexact has been signalled or underflow
6834 exceptions are enabled.
6835 (_FP_PACK_CANONICAL): Likewise.
6836
d5c90867
L
68372012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6838
6839 [BZ #14183]
6840 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
6841 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
6842
63f1549e
RH
68432012-05-30 Richard Henderson <rth@twiddle.net>
6844
8d8f2279
RH
6845 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
6846 with #ifndef NOT_IN_libc.
6847
63f1549e
RH
6848 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
6849 marked to avoid plt entry.
6850
0ab0291b
L
68512012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6852
6853 [BZ #14112]
6854 * Makeconfig (default-abi): New macro.
6855 (abi-includes): Likewise.
6856 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
6857 $(abi-$(default-abi)-lib-soname) for soname if defined.
6858 ($(common-objpfx)gnu/lib-names.stmp): Generate from
6859 abi-variants.
6860 * Makefile (installed-stubs): Likewise.
6861 * include/stubs-biarch.h: Removed.
6862 * scripts/lib-names.awk: Only handle one library at a time.
6863 * scripts/soversions.awk: Remove WORDSIZE support.
6864 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
6865 entries.
6866 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
6867 Removed.
6868 (syscall-list-default-condition): Likewise.
6869 (syscall-list-default-condition): Likewise.
6870 (syscall-list-includes): Likewise.
6871 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
6872 syscall-list-* with abi-*. Handle undefined abi-variants.
6873 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
6874 * sysdeps/unix/sysv/linux/i386/Implies: New file.
6875 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
6876 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
6877 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
6878 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
6879 Removed.
6880 (syscall-list-32-options): Likewise.
6881 (syscall-list-32-condition): Likewise.
6882 (syscall-list-64-options): Likewise.
6883 (syscall-list-64-condition): Likewise.
6884 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
6885 macro.
6886 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
6887 Renamed to ...
6888 (abi-*): This.
6889 (abi-64-ld-soname): New macro.
6890 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
6891 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
6892 Renamed to ...
6893 (abi-*): This.
6894 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
6895 * sysdeps/x86_64/x32/shlib-versions: Likewise.
6896
4da0431d
JM
68972012-05-30 Joseph Myers <joseph@codesourcery.com>
6898
3a85279c
JM
6899 * sysdeps/unix/sysv/linux/kernel-features.h
6900 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
6901 * sysdeps/unix/sysv/linux/ftruncate64.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/truncate64.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/ftruncate64.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 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
6920 include <kernel-features.h>.
6921 [!__NR_ftruncate64]: Remove conditional code.
6922 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6923 [__NR_ftruncate64]: Make code unconditional.
6924 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6925
4da0431d
JM
6926 * configure.in (libc_cv_fpie): Weaken to a compile test using
6927 LIBC_TRY_CC_OPTION.
6928 * configure: Regenerated.
6929
11ef492c
AK
69302012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6931
6932 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
6933 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
6934 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
6935 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6936 Refreshed.
6937 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
6938 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
6939 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
6940 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
6941 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
6942 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6943 Refreshed.
6944
d66ef399
DM
69452012-05-27 David S. Miller <davem@davemloft.net>
6946
6947 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
6948 (___Q_zero): New.
6949 (__Q_simulate_exceptions): Return void. Change to simulate
6950 exceptions by writing into the %fsr.
6951 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
6952 (__Qp_handle_exceptions): Likewise.
6953 (numbers): Delete.
6954 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
6955 __Qp_handle_exceptions.
6956 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
6957 __Qp_handle_exceptions.
6958 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
6959 as unused and give dummy FP_RND_NEAREST initializer.
6960 (FP_INHIBIT_RESULTS): Define.
6961 (___Q_simulate_exceptions): Update declaration.
6962 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
6963 formatting.
6964 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
6965 as unused and give dummy FP_RND_NEAREST initializer.
6966 (__Qp_handle_exceptions): Update declaration.
6967 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
6968 formatting.
6969
04fb54b5
TS
69702012-05-27 Thomas Schwinge <thomas@codesourcery.com>
6971
6972 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
6973 the temporary FPU control word.
6974 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6975 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
6976 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
6977 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6978 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
6979 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
6980 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
6981 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6982 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6983 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
6984 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6985
3f99608f
KK
69862012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6987
6988 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
6989 fields.
6990
65a4de4e
CLT
69912012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
6992
6993 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
6994 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
6995 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
6996 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
6997 Likewise.
6998 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
6999 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
7000 Likewise.
7001
15749d40
UD
70022012-05-27 Ulrich Drepper <drepper@gmail.com>
7003
7004 * po/h.po: Update from translation team.
7005
25dbcb27
AS
70062012-05-26 Andreas Schwab <schwab@linux-m68k.org>
7007
3d3f8e55
AS
7008 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
7009
25dbcb27
AS
7010 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
7011 handling of denormals.
7012 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7013 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7014 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7015 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7016 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7017 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
7018 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
7019 Likewise.
7020
7ad47a80 70212012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
7022
7023 [BZ #14152]
7024 * math/libm-test.inc (fma_test): Don't always expect underflow
7025 exception.
7026
9c6ea9fa
SP
70272012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7028
7029 [BZ #12416]
7030 * elf/tst-execstack.c: Include stackinfo.h.
7031 (do_test): Adjust test case to ensure that pthread_getattr_np
7032 behaviour remains the same after marking stack executable.
7033
a8239222
JM
70342012-05-25 Joseph Myers <joseph@codesourcery.com>
7035
7036 * sysdeps/unix/sysv/linux/kernel-features.h
7037 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
7038 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
7039 kernel-features.h.
7040 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7041 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7042 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
7043 kernel-features.h.
7044 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7045 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7046
918b5606
L
70472012-05-25 H.J. Lu <hongjiu.lu@intel.com>
7048
7049 * configure.in: Define the default includes to being none.
7050 * configure: Regenerated.
7051
3a097cc7
RM
70522012-05-25 Roland McGrath <roland@hack.frob.com>
7053
8422c9a5
RM
7054 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
7055 * sysdeps/x86_64/setjmp.S: Likewise.
7056 * sysdeps/i386/bsd-setjmp.S: Likewise.
7057 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7058 * sysdeps/i386/setjmp.S: Likewise.
7059 * sysdeps/i386/__longjmp.S: Likewise.
7060 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7061 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
7062
3a097cc7
RM
7063 * include/stap-probe.h: New file.
7064 * configure.in: Handle --enable-systemtap.
7065 * configure: Regenerated.
7066 * config.h.in (USE_STAP_PROBE): New #undef.
7067 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
7068 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
7069 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7070
21708942
JM
70712012-05-25 Joseph Myers <joseph@codesourcery.com>
7072
7073 [BZ #13717]
7074 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
7075 to 2.4.0 where earlier.
7076 * sysdeps/unix/sysv/linux/configure: Regenerated.
7077 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7078 <kernel-features.h>.
7079 [__ASSUME_32BITUIDS]: Make code unconditional.
7080 [!__ASSUME_32BITUIDS]: Remove conditional code.
7081 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
7082 <kernel-features.h>.
7083 [__ASSUME_32BITUIDS]: Make code unconditional.
7084 [!__ASSUME_32BITUIDS]: Remove conditional code.
7085 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
7086 [__ASSUME_32BITUIDS]: Make code unconditional.
7087 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
7088 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
7089 <kernel-features.h>.
7090 [__ASSUME_32BITUIDS]: Make code unconditional.
7091 [!__ASSUME_32BITUIDS]: Remove conditional code.
7092 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
7093 <kernel-features.h>.
7094 [__ASSUME_32BITUIDS]: Make code unconditional.
7095 [!__ASSUME_32BITUIDS]: Remove conditional code.
7096 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
7097 <kernel-features.h>.
7098 [__ASSUME_32BITUIDS]: Make code unconditional.
7099 [!__ASSUME_32BITUIDS]: Remove conditional code.
7100 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
7101 <kernel-features.h>.
7102 [__ASSUME_32BITUIDS]: Make code unconditional.
7103 [!__ASSUME_32BITUIDS]: Remove conditional code.
7104 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7105 <kernel-features.h>.
7106 [__ASSUME_32BITUIDS]: Make code unconditional.
7107 [!__ASSUME_32BITUIDS]: Remove conditional code.
7108 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7109 <kernel-features.h>.
7110 [__ASSUME_32BITUIDS]: Make code unconditional.
7111 [!__ASSUME_32BITUIDS]: Remove conditional code.
7112 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
7113 <kernel-features.h>.
7114 [__ASSUME_32BITUIDS]: Make code unconditional.
7115 [!__ASSUME_32BITUIDS]: Remove conditional code.
7116 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7117 <kernel-features.h>.
7118 [__ASSUME_32BITUIDS]: Make code unconditional.
7119 [!__ASSUME_32BITUIDS]: Remove conditional code.
7120 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7121 <kernel-features.h>.
7122 [__ASSUME_32BITUIDS]: Make code unconditional.
7123 [!__ASSUME_32BITUIDS]: Remove conditional code.
7124 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
7125 <kernel-features.h>.
7126 [__ASSUME_32BITUIDS]: Make code unconditional.
7127 [!__ASSUME_32BITUIDS]: Remove conditional code.
7128 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
7129 <kernel-features.h>.
7130 [__NR_setresgid] (__setresgid): Do not declare.
7131 [__ASSUME_32BITUIDS]: Make code unconditional.
7132 [!__ASSUME_32BITUIDS]: Remove conditional code.
7133 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
7134 <kernel-features.h>.
7135 [__NR_setresuid] (__setresuid): Do not declare.
7136 [__ASSUME_32BITUIDS]: Make code unconditional.
7137 [!__ASSUME_32BITUIDS]: Remove conditional code.
7138 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
7139 <kernel-features.h>.
7140 [__ASSUME_32BITUIDS]: Make code unconditional.
7141 [!__ASSUME_32BITUIDS]: Remove conditional code.
7142 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
7143 <kernel-features.h>.
7144 [__ASSUME_32BITUIDS]: Make code unconditional.
7145 [!__ASSUME_32BITUIDS]: Remove conditional code.
7146 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
7147 <kernel-features.h>.
7148 [__ASSUME_32BITUIDS]: Make code unconditional.
7149 [!__ASSUME_32BITUIDS]: Remove conditional code.
7150 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
7151 <kernel-features.h>.
7152 [__ASSUME_32BITUIDS]: Make code unconditional.
7153 [!__ASSUME_32BITUIDS]: Remove conditional code.
7154 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
7155 <kernel-features.h>.
7156 [__ASSUME_32BITUIDS]: Make code unconditional.
7157 [!__ASSUME_32BITUIDS]: Remove conditional code.
7158 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
7159 <kernel-features.h>.
7160 [__ASSUME_32BITUIDS]: Make code unconditional.
7161 [!__ASSUME_32BITUIDS]: Remove conditional code.
7162 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
7163 <kernel-features.h>.
7164 [__ASSUME_32BITUIDS]: Make code unconditional.
7165 [!__ASSUME_32BITUIDS]: Remove conditional code.
7166 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
7167 <kernel-features.h>.
7168 [__ASSUME_32BITUIDS]: Make code unconditional.
7169 [!__ASSUME_32BITUIDS]: Remove conditional code.
7170 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
7171 <kernel-features.h>.
7172 [__ASSUME_32BITUIDS]: Make code unconditional.
7173 [!__ASSUME_32BITUIDS]: Remove conditional code.
7174 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7175 <kernel-features.h>.
7176 [__ASSUME_32BITUIDS]: Make code unconditional.
7177 [!__ASSUME_32BITUIDS]: Remove conditional code.
7178 * sysdeps/unix/sysv/linux/kernel-features.h
7179 (__ASSUME_SETRESUID_SYSCALL): Remove.
7180 (__ASSUME_SETRESGID_SYSCALL): Likewise.
7181 (__ASSUME_32BITUIDS): Likewise.
7182 (__ASSUME_LDT_WORKS): Likewise.
7183 (__ASSUME_O_DIRECTORY): Likewise.
7184 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
7185 architecture but not kernel version.
7186 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7187 (__ASSUME_MMAP2_SYSCALL): Likewise.
7188 (__ASSUME_STAT64_SYSCALL): Likewise.
7189 (__ASSUME_IPC64): Likewise.
7190 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
7191 <kernel-features.h>.
7192 [__ASSUME_32BITUIDS]: Make code unconditional.
7193 [!__ASSUME_32BITUIDS]: Remove conditional code.
7194 * sysdeps/unix/sysv/linux/opendir.c: Do not include
7195 <kernel-features.h>.
7196 [__ASSUME_O_DIRECTORY]: Make code unconditional.
7197 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
7198 132096]: Remove conditional code.
7199 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
7200 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7201 <kernel-features.h>.
7202 [__ASSUME_32BITUIDS]: Make code unconditional.
7203 [!__ASSUME_32BITUIDS]: Remove conditional code.
7204 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7205 <kernel-features.h>.
7206 [__ASSUME_32BITUIDS]: Make code unconditional.
7207 [!__ASSUME_32BITUIDS]: Remove conditional code.
7208 * sysdeps/unix/sysv/linux/setegid.c: Do not include
7209 <kernel-features.h>.
7210 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
7211 unconditional.
7212 (__setresgid): Do not declare.
7213 [__ASSUME_32BITUIDS]: Make code unconditional.
7214 [!__ASSUME_32BITUIDS]: Remove conditional code.
7215 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
7216 <kernel-features.h>.
7217 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
7218 unconditional.
7219 (__setresuid): Do not declare.
7220 [__ASSUME_32BITUIDS]: Make code unconditional.
7221 [!__ASSUME_32BITUIDS]: Remove conditional code.
7222 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7223 <kernel-features.h>.
7224 [__ASSUME_32BITUIDS]: Make code unconditional.
7225 [!__ASSUME_32BITUIDS]: Remove conditional code.
7226 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
7227 <kernel-features.h>.
7228 [__ASSUME_32BITUIDS]: Make code unconditional.
7229 [!__ASSUME_32BITUIDS]: Remove conditional code.
7230
a386f1cc
RH
72312012-05-25 Richard Henderson <rth@twiddle.net>
7232
7233 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
7234 dl_hwcap to ifunc resolver.
7235 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
7236 elf_ifunc_invoke.
7237 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
7238 dl_hwcap to ifunc resolver.
7239 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
7240
b6550497
JM
72412012-05-24 Joseph Myers <joseph@codesourcery.com>
7242
7243 [BZ #14153]
7244 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
7245 for |x| <= 2**-26, not 2**-57.
7246 * math/libm-test.inc (acos_test): Do not allow spurious underflow
7247 exception.
7248
b0bc23a1
JL
72492012-05-24 Jeff Law <law@redhat.com>
7250
7251 * stdio-common/Makefile (tests): Add bug25.
7252 * stdio-common/bug25.c: New test.
7253
347c92e9
L
72542012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7255
7256 [BZ #13576]
7257 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
7258 multiple of MALLOC_ALIGNMENT in size.
7259 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
7260
6bcc8b3f
JM
72612012-05-24 Joseph Myers <joseph@codesourcery.com>
7262
7263 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
7264 Require >= 256.
7265 (FILENAME_MAX): Use macro-int-constant.
7266 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
7267 (_IOFBF): Use macro-int-constant.
7268 (_IOLBF): Likewise.
7269 (_IONBF): Likewise.
7270 (SEEK_CUR): Likewise.
7271 (SEEK_END): Likewise.
7272 (SEEK_SET): Likewise.
7273 (TMP_MAX): Likewise.
7274 (EOF): Use macro-int-constant. Require < 0.
7275 (NULL): Use macro-constant. Require == 0.
7276 (stdin): Require type to be FILE *.
7277 (stdout): Likewise.
7278 (stderr): Likewise.
7279 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
7280 macro-int-constant.
7281 (EXIT_SUCCESS): Likewise.
7282 (NULL): Use macro-constant. Require == 0.
7283 (RAND_MAX): Use macro-int-constant.
7284 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
7285 [C99-based standards] (strtof): Require function.
7286 [C99-based standards] (strtold): Likewise.
7287 [C99-based standards] (strtoll): Likewise.
7288 [C99-based standards] (strtoull): Likewise.
7289 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7290 [ISO || ISO99 || ISO11] (limits.h): Likewise.
7291 [ISO || ISO99 || ISO11] (math.h): Likewise.
7292 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
7293 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7294 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7295
d18ea0c5
AS
72962012-05-24 Andreas Schwab <schwab@linux-m68k.org>
7297
7298 [BZ #14132]
56d25bb8
AS
7299 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
7300 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
7301 * intl/dgettext.c (DCGETTEXT): Likewise.
7302 * intl/gettext.c (DCGETTEXT): Likewise.
7303 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
7304 * posix/regex_internal.h (gettext): Likewise.
7305 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
7306 Remove declaration.
7307 * include/argz.h (__argz_count_internal)
7308 (__argz_stringify_internal): Remove declaration.
7309 (__argz_count, __argz_stringify): Declare hidden proto.
7310 * intl/dcgettext.c: Remove use of INTDEF.
7311 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
7312 * string/argz-stringify.c: Likewise.
7313 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7314 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7315 Declare hidden proto.
d18ea0c5
AS
7316 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7317 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7318 Declare hidden proto.
7319 * include/stdio.h (__asprintf_internal): Don't declare.
7320 (__asprintf): Don't define as macro. Declare hidden proto.
7321 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
7322 (__fsetlocking): Declare hidden proto.
7323 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
7324 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
7325 hidden proto.
7326 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
7327 (_IO_setlinebuf): Remove use of INTUSE.
7328 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
7329 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
7330 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
7331 Remove declaration.
7332 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
7333 (_IO_do_flush): Remove use of INTUSE.
7334 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
7335 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
7336 (_IO_adjust_column, _IO_least_wmarker)
7337 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
7338 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
7339 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
7340 (_IO_default_doallocate, _IO_wdefault_doallocate)
7341 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
7342 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
7343 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
7344 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
7345 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
7346 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
7347 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
7348 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
7349 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
7350 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
7351 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
7352 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
7353 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
7354 proto.
7355 (_IO_flush_all_internal, _IO_adjust_column_internal)
7356 (_IO_default_uflow_internal, _IO_default_finish_internal)
7357 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
7358 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
7359 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
7360 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
7361 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
7362 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
7363 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
7364 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
7365 (_IO_file_close_internal, _IO_file_close_it_internal)
7366 (_IO_file_underflow_internal, _IO_file_overflow_internal)
7367 (_IO_file_init_internal, _IO_file_attach_internal)
7368 (_IO_file_fopen_internal, _IO_file_read_internal)
7369 (_IO_file_sync_internal, _IO_file_seek_internal)
7370 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
7371 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
7372 (_IO_str_underflow_internal, _IO_str_overflow_internal)
7373 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
7374 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
7375 (_IO_list_all_internal, _IO_link_in_internal)
7376 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
7377 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
7378 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
7379 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
7380 (_IO_do_write_internal, _IO_padn_internal)
7381 (_IO_getline_info_internal, _IO_getline_internal)
7382 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
7383 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
7384 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
7385 (_IO_vfscanf_internal, _IO_vfprintf_internal)
7386 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
7387 (_IO_init_internal, _IO_un_link_internal): Don't declare.
7388 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
7389 with libc_hidden_ver, remove use of INTUSE.
7390 * libio/genops.c: Likewise.
7391 * libio/freopen.c: Likewise.
7392 * libio/freopen64.c: Likewise.
7393 * libio/iofclose.c: Likewise.
7394 * libio/iofdopen.c: Likewise.
7395 * libio/iofflush.c: Likewise.
7396 * libio/iofflush_u.c: Likewise.
7397 * libio/iofgets.c: Likewise.
7398 * libio/iofgets_u.c: Likewise.
7399 * libio/iofopen.c: Likewise.
7400 * libio/iofopncook.c: Likewise.
7401 * libio/iofread.c: Likewise.
7402 * libio/iofread_u.c: Likewise.
7403 * libio/ioftell.c: Likewise.
7404 * libio/iofwrite.c: Likewise.
7405 * libio/iogetline.c: Likewise.
7406 * libio/iogets.c: Likewise.
7407 * libio/iogetwline.c: Likewise.
7408 * libio/iopadn.c: Likewise.
7409 * libio/iopopen.c: Likewise.
7410 * libio/ioseekoff.c: Likewise.
7411 * libio/ioseekpos.c: Likewise.
7412 * libio/iosetbuffer.c: Likewise.
7413 * libio/iosetvbuf.c: Likewise.
7414 * libio/ioungetc.c: Likewise.
7415 * libio/ioungetwc.c: Likewise.
7416 * libio/iovdprintf.c: Likewise.
7417 * libio/iovsprintf.c: Likewise.
7418 * libio/iovsscanf.c: Likewise.
7419 * libio/memstream.c: Likewise.
7420 * libio/obprintf.c: Likewise.
7421 * libio/oldfileops.c: Likewise.
7422 * libio/oldiofclose.c: Likewise.
7423 * libio/oldiofdopen.c: Likewise.
7424 * libio/oldiofopen.c: Likewise.
7425 * libio/oldiopopen.c: Likewise.
7426 * libio/oldstdfiles.c: Likewise.
7427 * libio/putc.c: Likewise.
7428 * libio/setbuf.c: Likewise.
7429 * libio/setlinebuf.c: Likewise.
7430 * libio/stdfiles.c: Likewise.
7431 * libio/strops.c: Likewise.
7432 * libio/vasprintf.c: Likewise.
7433 * libio/vscanf.c: Likewise.
7434 * libio/vsnprintf.c: Likewise.
7435 * libio/vswprintf.c: Likewise.
7436 * libio/wfiledoalloc.c: Likewise.
7437 * libio/wfileops.c: Likewise.
7438 * libio/wgenops.c: Likewise.
7439 * libio/wmemstream.c: Likewise.
7440 * libio/wstrops.c: Likewise.
7441 * libio/__fpurge.c: Likewise.
7442 * libio/__fsetlocking.c: Likewise.
7443 * assert/assert.c: Likewise.
7444 * debug/fgets_chk.c: Likewise.
7445 * debug/fgets_u_chk.c: Likewise.
7446 * debug/fread_chk.c: Likewise.
7447 * debug/fread_u_chk.c: Likewise.
7448 * debug/gets_chk.c: Likewise.
7449 * debug/obprintf_chk.c: Likewise.
7450 * debug/vasprintf_chk.c: Likewise.
7451 * debug/vdprintf_chk.c: Likewise.
7452 * debug/vsnprintf_chk.c: Likewise.
7453 * debug/vsprintf_chk.c: Likewise.
7454 * malloc/mtrace.c: Likewise.
7455 * misc/error.c: Likewise.
7456 * misc/syslog.c: Likewise.
7457 * stdio-common/asprintf.c: Likewise.
7458 * stdio-common/fxprintf.c: Likewise.
7459 * stdio-common/getw.c: Likewise.
7460 * stdio-common/isoc99_fscanf.c: Likewise.
7461 * stdio-common/isoc99_scanf.c: Likewise.
7462 * stdio-common/isoc99_vfscanf.c: Likewise.
7463 * stdio-common/isoc99_vscanf.c: Likewise.
7464 * stdio-common/isoc99_vsscanf.c: Likewise.
7465 * stdio-common/printf-prs.c: Likewise.
7466 * stdio-common/printf_fp.c: Likewise.
7467 * stdio-common/printf_fphex.c: Likewise.
7468 * stdio-common/printf_size.c: Likewise.
7469 * stdio-common/putw.c: Likewise.
7470 * stdio-common/scanf.c: Likewise.
7471 * stdio-common/sprintf.c: Likewise.
7472 * stdio-common/tmpfile.c: Likewise.
7473 * stdio-common/vfprintf.c: Likewise.
7474 * stdio-common/vfscanf.c: Likewise.
7475 * stdlib/strfmon_l.c: Likewise.
7476 * sunrpc/openchild.c: Likewise.
7477 * sunrpc/xdr_stdio.c: Likewise.
7478 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
7479 * sysdeps/mach/hurd/tmpfile.c: Likewise.
7480
d6c33fda
RM
74812012-05-24 Roland McGrath <roland@hack.frob.com>
7482
c1487492
RM
7483 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7484
7485 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
7486 in the third column, to generate for the shared library an IFUNC
7487 that uses _dl_vdso_vsym.
7488 * Makerules (COMPILE.c, compile-stdin.c): New variables.
7489 * Makeconfig (object-suffixes-noshared): New variable.
7490
7491 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
7492 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
7493 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
7494 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
7495
d6c33fda
RM
7496 [BZ #14132]
7497 * include/sys/time.h (__gettimeofday): Remove macro.
7498 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
7499 * time/gettimeofday.c (__gettimeofday): Remove #undef.
7500 Remove INTDEF.
7501 (__gettimeofday): Add libc_hidden_def.
7502 (gettimeofday): Add libc_hidden_weak.
7503 * sysdeps/mach/gettimeofday.c: Likewise.
7504 * sysdeps/posix/gettimeofday.c: Likewise.
7505 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
7506 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
7507 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
7508 (__gettimeofday_internal): Remove strong_alias.
7509 (__gettimeofday): Add libc_hidden_def.
7510 (gettimeofday): Add libc_hidden_weak.
7511 * sysdeps/unix/syscalls.list (gettimeofday):
7512 Remove __gettimeofday_internal alias.
7513
b5a2bbe6
L
75142012-05-24 Daniel Jacobowitz <drow@false.org>
7515 H.J. Lu <hongjiu.lu@intel.com>
7516
7517 [BZ #12495]
7518 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
7519 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
7520 (largebin_index_32_big): New.
7521 (largebin_index): Use it for 16-byte alignment.
7522 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
7523 correction with front_misalign.
7524
cfba4fda
L
75252012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7526
7f907421
L
7527 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
7528 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7529 Likewise.
7530 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
7531 Likewise.
7532 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7533 Likewise.
7534 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
7535 Likewise.
7536 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
7537 Likewise.
7538 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
7539 Likewise.
7540 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
7541 Likewise.
7542 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7543 Likewise.
7544 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
7545 Likewise.
7546 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
7547 Likewise.
7548 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7549 Likewise.
7550 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
7551 Likewise.
7552
cfba4fda
L
7553 * scripts/data/c++-types-x32-linux-gnu.data: New file.
7554 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
7555
80bad0cc
JM
75562012-05-24 Joseph Myers <joseph@codesourcery.com>
7557
7a25eb06
JM
7558 [BZ #10846]
7559 [BZ #14036]
7560 * math/libm-test.inc (exp_test): Add test from bug 14036.
7561 (pow_test): Add test from bug 10846.
7562
795405f9
JM
7563 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
7564 and other flags.
7565 (special_function): Do not include flags in test name.
7566 (parse_args): Likewise.
7567 * sysdeps/i386/fpu/libm-test-ulps: Update.
7568 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7569 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7570 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7572
80bad0cc
JM
7573 * math/gen-libm-test.pl (%beautify): Add entries for underflow
7574 exceptions.
7575 * math/libm-test.inc ("Philosophy"): Update comment about
7576 exception testing.
7577 (UNDERFLOW_EXCEPTION): New macro.
7578 (UNDERFLOW_EXCEPTION_OK): Likewise.
7579 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
7580 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
7581 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
7582 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
7583 (INVALID_EXCEPTION_OK): Update value.
7584 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7585 (OVERFLOW_EXCEPTION_OK): Likewise.
7586 (IGNORE_ZERO_INF_SIGN): Likewise.
7587 (test_exceptions): Handle underflow exceptions.
7588 (acos_test): Update for underflow exception expectations.
7589 (cexp_test): Likewise.
7590 (clog_test): Likewise.
7591 (clog10_test): Likewise.
7592 (csqrt_test): Likewise.
7593 (ctan_test): Likewise.
7594 (ctanh_test): Likewise.
7595 (exp_test): Likewise.
7596 (exp10_test): Likewise.
7597 (exp2_test): Likewise.
7598 (expm1_test): Likewise.
7599 (fma_test): Likewise.
7600 (j0_test): Likewise.
7601 (jn_test): Likewise.
7602 (nexttoward_test): Likewise.
7603 (pow_test): Likewise.
7604 (scalbn_test): Likewise.
7605 (scalbln_test): Likewise.
7606 (tan_test): Likewise.
7607 (y1_test): Likewise.
7608 * sysdeps/i386/fpu/libm-test-ulps: Update.
7609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7610
9e0e3d0b
DM
76112012-05-23 David S. Miller <davem@davemloft.net>
7612
7613 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
7614 (__libc_sigaction): Remove unused local variables.
7615
ccd0a08f
L
76162012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7617
7618 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
7619
62bdf9a6
PE
76202012-05-23 Paul Eggert <eggert@cs.ucla.edu>
7621
f8591f80
PE
7622 mktime: avoid signed integer overflow
7623 * time/mktime.c (__mktime_internal): Do not mishandle the case
7624 where diff == INT_MIN.
7625
94c7d826
PE
7626 mktime: simplify computation of average
7627 * time/mktime.c (ranged_convert): Use new time_t_avg function
7628 instead of rolling our own (probably-slower) code.
7629
ce73d683
PE
7630 mktime: do not assume signed right shift propagates sign bit
7631 * time/mktime.c (isdst_differ): New static function.
7632 (__mktime_internal): No need to normalize tm_isdst now.
7633 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
7634 tm_isdst values.
7635
72a22e59
PE
7636 mktime: merge another wrapv change from gnulib
7637 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
7638 from some compilers.
7639
68605433
PE
7640 mktime: remove incorrect attempt at unusual arithmetics
7641 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
7642 The code didn't really work on such machines anyway.
7643 (TYPE_MINIMUM): Assume two's complement.
7644 (twos_complement_arithmetic): Verify that long_int and time_t
7645 are two's complement (or unsigned, in the latter case).
7646
03cf7fe3
PE
7647 mktime: check signed shifts on long_int and time_t, too
7648 * time/mktime.c (SHR): Check that shifts work as desired
7649 on the types long_int and time_t too, as SHR is used on
7650 such types.
7651
f04dfbc2
PE
7652 mktime: do not assume 'long' is wide enough
7653 * time/mktime.c (verify): Move decl up.
7654 (long_int): New type.
7655 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
7656 to remove assumption in the code that 'long' is wide enough to
7657 store year values. This assumption is not true on x32 and on
7658 some non-glibc platforms.
7659
62bdf9a6
PE
7660 mktime: merge wrapv change from gnulib
7661 * time/mktime.c (WRAPV): New macro.
7662 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
7663 (guess_time_tm, __mktime_internal): Do not assume that signed
7664 integer overflow wraps around; modern compilers generate code
7665 where this assumption is no longer valid.
7666
5e292e4f
L
76672012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7668
7669 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7670 Replace "jmp L(pseudo_end)" with "ret".
7671 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
7672 Likewise.
7673
8caf8c87
AJ
76742012-05-23 Andreas Jaeger <aj@suse.de>
7675
7676 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
7677 * sysdeps/unix/sysv/linux/poll.c: Remove file.
7678
1a09dc56
AJ
76792012-05-23 Andreas Jaeger <aj@suse.de>
7680 Maximilian Attems <max@stro.at>
7681
7682 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
7683 New macros.
7684
1c87aba0
L
76852012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7686
7687 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
7688 code so that pseudo_end is just ret and the stack pointer is
7689 correct also for static library in error case.
7690
40e45bd5
JM
76912012-05-23 Joseph Myers <joseph@codesourcery.com>
7692
c2670533
JM
7693 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
7694 move to syscalls.list.
7695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
7696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7699
40e45bd5
JM
7700 * manual/install.texi (Running make install): Do not mention Linux
7701 kernel version for which pt_chown is not needed.
7702 (Linux): Do not mention problems with nscd with 2.0 kernels.
7703 * INSTALL: Regenerated.
7704
be08eda5
AJ
77052012-05-23 Andreas Jaeger <aj@suse.de>
7706
7707 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
7708 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
7709 macro.
7710 * sysdeps/unix/sysv/linux/s390/bits/mman.h
7711 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7712 * sysdeps/unix/sysv/linux/sh/bits/mman.h
7713 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7714 * sysdeps/unix/sysv/linux/i386/bits/mman.h
7715 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7716 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
7717 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7718 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
7719 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7720 * sysdeps/unix/sysv/linux/bits/in.h
7721 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
7722
a6a056bb
RM
77232012-05-22 Roland McGrath <roland@hack.frob.com>
7724
7725 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
7726 (PREPARE_VERSION): Just use assert instead, it will be elided
7727 under [NDEBUG] anyway.
7728
c9009328
L
77292012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7730
7731 * sysdeps/unix/sysv/linux/Makefile: Include
7732 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 7733 (sysdep_routines): Remove sysctl.
c9009328
L
7734 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
7735 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
7736 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
7737 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
7738 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
7739
73338355
AJ
77402012-05-22 Andreas Jaeger <aj@suse.de>
7741
7742 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
7743 that pseudo_end is just ret and the stack pointer is correct also
7744 for static library in error case.
7745
d44638b0
PP
77462012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
7747
7748 [BZ #14122]
7749 * nss/nsswitch.c (defconfig_entries): New variable.
7750 (__nss_database_lookup): Don't leak defconfig entries.
7751 (nss_parse_service_list): Don't leak on error paths.
7752 (free_database_entries): New function.
7753 (free_defconfig): New function.
7754 (free_mem): Move common code to free_database_entries.
7755
31a39bd8
L
77562012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7757
da0331a8
L
7758 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
7759 Add arch_prctl.
7760 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
7761
31a39bd8
L
7762 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7763 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
7764 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
7765 New macro.
7766 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
7767 (INTERNAL_SYSCALL_TYPES): Likewise.
7768 (LOAD_ARGS_TYPES_[1-6]): Likewise.
7769 (LOAD_REGS_TYPES_[1-6]): Likewise.
7770 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
7771 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
7772
45470df3
AZ
77732012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7774
7775 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
7776 copysignl for GLIBC_2_0.
7777 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
7778 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
7779 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
7780 logbl for GLIBC_2_0.
7781 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
7782 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
7783
98a61bcb
L
77842012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7785
a4f6e481
L
7786 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
7787 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7788
f63d5db6
L
7789 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7790 Use "neg %eax".
7791
98a61bcb
L
7792 * time/mktime.c: Update copyright years.
7793
95770f14
PE
77942012-05-22 Paul Eggert <eggert@cs.ucla.edu>
7795
6226efbd
PE
7796 mktime: merge comment-quoting-style change from gnulib
7797 * time/mktime.c: Quote 'like this' in comments.
7798 The GNU coding standards suggest that we no longer quote `like this',
7799 as "`" and "'" are typically rendered asymmetrically nowadays.
7800 The typical gnulib style is to quote 'like this' when quoting
7801 code, and "like this" when quoting English.
7802
b99e4f78
PE
7803 * time/mktime.c (compile-command): Add "-I.".
7804
643e01e6
PE
7805 mktime: merge mktime-internal.h change from gnulib
7806 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
7807
2554247d
PE
7808 mktime: merge time_r change from gnulib
7809 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
7810
826dd0ab
PE
7811 mktime: merge DEBUG change from gnulib
7812 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
7813 case system <time.h> has a #define.
7814
bd83aabe
PE
7815 mktime: merge <sys/types.h> change from gnulib
7816 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
7817 since <time.t> is now guaranteed to define time_t.
7818
95770f14
PE
7819 mktime: merge HAVE_CONFIG_H change from gnulib
7820 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
7821
5e1a27a9
L
78222012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7823
0e44a77e
L
7824 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
7825 Use "neg %eax".
7826
5e1a27a9
L
7827 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
7828 __rlim_t cast.
7829 (struct rusage): Use anonymous union to pad each field to
7830 __syscall_slong_t.
7831
46259bec
DM
78322012-05-21 David S. Miller <davem@davemloft.net>
7833
7834 * Makefules (o-iterator): Remove .s cases.
7835 (compile-command.s): Delete.
7836 (COMPILE.s): Delete.
7837 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
7838
59f0c22e
JM
78392012-05-21 Joseph Myers <joseph@codesourcery.com>
7840
7841 * configure.in (libc_cv_predef_stack_protector): Only consider
7842 "foobar" and "__stack_chk_fail" lines in libc_undefs.
7843 * configure: Regenerated.
7844
20c07380
L
78452012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7846
bbb3154b
L
7847 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
7848 New macro. Use R*LP on int and pointer.
7849 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
7850 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
7851 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
7852 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
7853
20c07380
L
7854 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
7855 [__WORDSIZE_TIME64_COMPAT32] instead of
7856 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
7857 (struct utmp): Likewise.
7858 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
7859 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
7860 Renamed to ...
7861 (__WORDSIZE_TIME64_COMPAT32): This.
7862 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
7863 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
7864 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
7865 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
7866 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
7867 (__WORDSIZE_TIME64_COMPAT32): New macro.
7868
d8d1017e
AJ
78692012-05-21 Andreas Jaeger <aj@suse.de>
7870
7871 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
7872 only if [SHARED]. Add prototype for __wcschr_ia32.
7873
6c7fb145
RM
78742012-05-21 Roland McGrath <roland@hack.frob.com>
7875
7876 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
7877 of %rbp unmolested in the jmp_buf while mangling the low bits.
7878 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
7879 unmolested high bits of %rbp while demangling the low bits.
7880 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7881
66274218
AJ
78822012-05-21 Andreas Jaeger <aj@suse.de>
7883
07c58f8f
AJ
7884 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
7885 * sunrpc/svc_simple.c: Use it for registerrpc.
7886 * sunrpc/xcrypt.c: Use it for passwd2des.
7887
66274218
AJ
7888 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
7889
61f65140
L
78902012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7891
7892 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
7893 Don't define if [__SYSCALL_WORDSIZE != 32].
7894 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
7895 New macro.
7896
5fefb436
AJ
78972012-05-21 Bruno Haible <bruno@clisp.org>
7898 Andreas Jaeger <aj@suse.de>
7899
7900 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
7901 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
7902 inptr and inend for must_buffer_ch.
7903 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
7904 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
7905 * stdio-common/Makefile (tests): Remove bug15.
7906 (bug15-ENV): Remove macro.
7907 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
7908 anymore.
7909
d8e272ab
AJ
79102012-05-19 Andreas Jaeger <aj@suse.de>
7911 Roland McGrath <roland@hack.frob.com>
7912
7913 * manual/contrib.texi: Completely rewritten. It contains now an
7914 alphabetical list of contributors and their contributions.
7915
4a56a162
RH
79162012-05-21 Richard Henderson <rth@twiddle.net>
7917
7918 * misc/getauxval.c (__getauxval): Use unsigned long int.
7919 * misc/sys/auxv.h: Include <sys/cdefs.h>.
7920 (getauxval): Use unsigned long int.
7921
d024d23c
L
79222012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7923
7924 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7925
cbc00a03
RM
79262012-05-21 Roland McGrath <roland@hack.frob.com>
7927
7928 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
7929 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
7930 __alignof__ (long double).
7931
478143fa
AZ
79322012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7933
7934 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7935
c7683a6d
RH
79362012-05-20 Richard Henderson <rth@twiddle.net>
7937
7938 * misc/getauxval.c: New file.
7939 * misc/sys/auxv.h: New file.
7940 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
7941 (routines): Add getauxval.
7942 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
7943 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
7944 * elf/dl-sysdep.c (_dl_auxv): Remove.
7945 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
7946 * elf/dl-support.c (_dl_auxv): New variable.
7947 (_dl_aux_init): Initialize it.
7948 * manual/startup.texi (Auxiliary Vector): New node.
7949 * sysdeps/generic/bits/hwcap.h: New file.
7950 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
7951 * sysdeps/powerpc/sysdep.h: ... here. Include it.
7952 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
7953 * sysdeps/sparc/sysdep.h: ... here. Include it.
7954 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
7955 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
7956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7957 Update.
c7683a6d
RH
7958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
7959 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
7960 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
7961 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
7962 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
7963 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
7964 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
7965 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
7966
a6f1845d
AZ
79672012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7968
7969 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7970
cbcbe830
DM
79712012-05-19 David S. Miller <davem@davemloft.net>
7972
7973 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7974
e0b16cc2
JM
79752012-05-19 Joseph Myers <joseph@codesourcery.com>
7976
7977 [BZ #14123]
7978 * math/s_ccosh.c: Include <float.h>
7979 (__ccosh): Avoid internal overflow calculating sinh and cosh
7980 values before multiplying by sin and cos values.
7981 * math/s_ccoshf.c: Likewise.
7982 * math/s_ccoshl.c: Likewise.
7983 * math/s_csin.c: Likewise.
7984 * math/s_csinf.c: Likewise.
7985 * math/s_csinl.c: Likewise.
7986 * math/s_csinh.c: Likewise.
7987 * math/s_csinhf.c: Likewise.
7988 * math/s_csinhl.c: Likewise.
7989 * math/libm-test.inc (ccos_test): Add more tests.
7990 (ccosh_test): Likewise.
7991 (csin_test): Likewise.
7992 (csinh_test): Likewise.
7993 * sysdeps/i386/fpu/libm-test-ulps: Update.
7994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7995
6ad13e08
L
79962012-05-19 H.J. Lu <hongjiu.lu@intel.com>
7997
f66f0ce8
L
7998 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
7999 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
8000
6ad13e08
L
8001 * sysdeps/x86_64/x32/_itoa.h: Add comment.
8002
b1d072a7
JM
80032012-05-19 Joseph Myers <joseph@codesourcery.com>
8004
8005 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
8006 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
8007 * sysdeps/powerpc/soft-fp/Versions: Likewise.
8008 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
8009 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
8010 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
8011 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
8012 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
8013 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
8014 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
8015 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
8016 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
8017 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
8018 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
8019 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
8020 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
8021 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
8022 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
8023 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
8024 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
8025 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
8026 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
8027 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
8028 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
8029 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
8030 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
8031 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
8032 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
8033 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
8034 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
8035 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
8036
9eae47cb
AJ
80372012-05-18 Andreas Jaeger <aj@suse.de>
8038
8039 * csu/.gitignore: Delete.
8040
bb07f69f
L
80412012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8042
8043 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
8044 (timex): Use __syscall_slong_t.
8045
e6bdb741
AJ
80462012-05-18 Andreas Jaeger <aj@suse.de>
8047 Carlos O'Donell <carlos_odonell@mentor.com>
8048
8049 * manual/install.texi (Configuring and compiling): Update
8050 description about files modified in the source directory.
d6c33fda 8051 * INSTALL: Regenerated.
e6bdb741 8052
1b74487e
L
80532012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8054
8055 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
8056 value. Use "or" to set return value to -1.
8057 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
8058 negate return value.
8059
a88b64b9
TMQMF
80602012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8061
8062 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
8063 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
8064 failure if the compiler has Graphite support disabled.
8065 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
8066 Likewise.
8067 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
8068 CFLAGS-memmove.c): Likewise.
8069 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
8070 Likewise.
8071
3707636e
L
80722012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8073
610b8622
L
8074 * sysdeps/x86_64/x32/_itoa.h: New file.
8075
7cd195df
L
8076 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
8077 getdents system call only if kernel and user dirents have the
8078 same d_ino and d_off.
8079
94b07d20
L
8080 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8081 LLONG_MAX != LONG_MAX.
8082 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8083 (_fitoa_word): Likewise.
8084
18298070
L
8085 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
8086 years.
8087 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
8088 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
8089 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
8090
553c7ea4
L
8091 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
8092 include <bits/wordsize.h>. Check __x86_64__ instead of
8093 __WORDSIZE.
8094 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
8095 if __x86_64__ is defined. Use anonymous union on fpstate.
8096
3707636e
L
8097 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
8098 anonymous union.
8099
b53ef01a
AS
81002012-05-18 Andreas Schwab <schwab@linux-m68k.org>
8101
37fb1dc0
AS
8102 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
8103 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
8104 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
8105 Refer to _rtld_local_ro instead of _rtld_global_ro.
8106 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
8107 Likewise.
8108 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
8109 Likewise.
8110 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
8111 Likewise.
8112 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
8113 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
8114 of _rtld_global, and rtld_progname instead of _dl_argv[0].
8115
b53ef01a
AS
8116 * sysdeps/powerpc/powerpc32/dl-machine.c
8117 (__elf_machine_runtime_setup) [PROF]: Don't reference
8118 _dl_prof_resolve.
8119
7a185db2
AJ
81202012-05-18 Andreas Jaeger <aj@suse.de>
8121
8122 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
8123 function only available for GCCs before 3.4 since GCC 3.4
8124 introduced a builtin.
8125 (lrint): Likewise.
8126 (llrintf): Likewise.
8127 (llrint): Likewise.
8128 (fmaxf): Likewise.
8129 (fmax): Likewise.
8130 (fminf): Likewise.
8131 (fmin): Likewise.
8132 (rint): Likewise.
8133 (rintf): Likewise.
8134 (nearbyint): Likewise.
8135 (nearbyintf): Likewise.
8136 (ceil): Likewise.
8137 (ceilf): Likewise.
8138 (floor): Likewise.
8139 (floorf): Likewise.
8140
3e5aef87
L
81412012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8142
428bd707
L
8143 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
8144 on both fields and cast pointer to __syscall_ulong_t.
8145
3e5aef87
L
8146 * bits/types.h (__fsword_t): New type.
8147 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
8148 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
8149 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8150 (__FSWORD_T_TYPE): Likewise.
8151 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8152 (__FSWORD_T_TYPE): Likewise.
8153 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8154 (__FSWORD_T_TYPE): Likewise.
8155 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
8156 (__FSWORD_T_TYPE): Likewise.
8157 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
8158 __SWORD_TYPE with __fsword_t.
8159 (statfs64): Likewise.
8160
1ba7c3dc
DM
81612012-05-17 David S. Miller <davem@davemloft.net>
8162
8163 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
8164
59910343
AJ
81652012-05-17 Andreas Jaeger <aj@suse.de>
8166
8167 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
8168 warning.
8169
2e4c1e9e
L
81702012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8171
8172 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
8173
de7f5ce7
AJ
81742012-05-17 Andreas Jaeger <aj@suse.de>
8175
8176 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
8177 when it is used.
8178
286abc3d
CM
81792012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8180
8181 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
8182
477cc68e
L
81832012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8184
8185 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
8186 * sysdeps/x86_64/tst-mallocalign1.c: New file.
8187
1a0994f5
CD
81882012-05-17 Andreas Jaeger <aj@suse.de>
8189 Carlos O'Donell <carlos_odonell@mentor.com>
8190
8191 [BZ #14059]
8192 * sysdeps/x86_64/multiarch/init-arch.h
8193 (bit_YMM_Usable): Rename to...
8194 (bit_AVX_Usable): ... this.
8195 (bit_FMA4_Usable): New macro.
8196 (bit_XMM_state): New macro.
8197 (bit_YMM_state): New macro.
8198 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
8199 [__ASSEMBLER__] (index_AVX_Usable): ... this.
8200 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
8201 (CPUID_OSXSAVE): New macro.
8202 (CPUID_AVX): New macro.
8203 (CPUID_FMA4): New macro.
8204 (index_YMM_Usable): Rename to...
8205 (index_AVX_Usable): ... this.
8206 (HAS_AVX): Use HAS_ARCH_FEATURE.
8207 (HAS_FMA4): Likewise.
8208 (HAS_YMM_USABLE): Remove.
8209 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8210 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
8211 are present.
8212 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
8213 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
8214 * sysdeps/x86_64/multiarch/Makefile: Likewise.
8215 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
8216 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
8217
0af797de
CM
82182012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8219
8220 * math/libm-test.c: Support platforms without multiple rounding modes.
8221 * math/bug-nextafter.c: Support platforms without FP exceptions.
8222 * math/bug-nexttoward.c: Likewise.
8223 * math/test-fenv.c: Likewise.
8224 * math/test-misc.c: Likewise.
8225 * stdlib/bug-getcontext.c: Likewise.
8226
e39745ff
AJ
82272012-05-17 Andreas Jaeger <aj@suse.de>
8228
8229 * manual/examples/search.c (critter_cmp): Change signature to
8230 avoid warnings.
8231 * manual/string.texi (Collation Functions): Likewise.
8232
48970aba
L
82332012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8234
8235 * bits/types.h: Fold copyright years.
8236 * bits/typesizes.h: Likewise.
8237 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
8238 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8239 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
8240 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
8241 * time/time.h: Likewise.
8242
bedee953
PP
82432012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
8244
8245 [BZ #208]
8246 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
8247 in instead of returning them. Return void.
8248 (__libc_mallinfo): Accumulate over all arenas.
8249 (__malloc_stats): Adjust for change in int_mallinfo interface.
8250
61653dfb
RM
82512012-05-16 Roland McGrath <roland@hack.frob.com>
8252
30b99d79
RM
8253 [BZ #10375]
8254 * configure.in (NM): Add AC_CHECK_TOOL for it.
8255 (libc_extra_cflags): New substituted variable.
8256 Check for -fstack-protector being used implicitly.
8257 * configure: Regenerated.
8258 * config.make.in (config-extra-cflags): New variable,
8259 gets @libc_extra_cflags@.
8260 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
8261
61653dfb
RM
8262 [BZ #10375]
8263 * configure.in: Check for _FORTIFY_SOURCE being predefined.
8264 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
8265 * configure: Regenerated.
8266 * config.make.in (CPPUNDEFS): New substituted variable.
8267 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
8268 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
8269 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
8270
661768bb
L
82712012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8272
8273 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
8274 (mq_attr): Use __syscall_slong_t.
8275
d4261567
L
82762012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8277
8278 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
8279 Check __x86_64__ instead of __WORDSIZE.
8280 (_STAT_VER_LINUX): Likewise.
8281 (stat): Check __x86_64__ instead of __WORDSIZE. Use
8282 __syscall_ulong_t and __syscall_slong_t.
8283 (stat64): Likewise.
8284
cf3ff365
L
82852012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8286
8287 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
8288
76cf3e4d
L
82892012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8290
8291 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
8292
a637753a
L
82932012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8294
8295 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
8296 __syscall_ulong_t.
8297
d5e05119
L
8298 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
8299 include <bits/wordsize.h>. Check __x86_64__ instead of
8300 __WORDSIZE.
8301 (greg_t): Use "__extension__ long long int" if __x86_64__ is
8302 defined.
8303 (mcontext_t): Replace "unsigned long" with "unsigned long long".
8304
f62ee380
L
8305 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
8306 include <bits/wordsize.h>. Check __x86_64__ instead of
8307 __WORDSIZE.
8308 (user_regs_struct): Use "__extension__ unsigned long long"
8309 instead of "unsigned long" if __x86_64__ is defined.
8310 (user): Likewise. Pad after pointer field if __ILP32__ is
8311 defined.
8312
4e124ced
JM
83132012-05-16 Joseph Myers <joseph@codesourcery.com>
8314
6a3951a0
JM
8315 * configure.in (makeinfo): Require version 4.5 or later. Allow
8316 versions 5 to 9.
8317 * configure: Regenerated.
8318 * manual/install.texi (texinfo): Increase version requirement to
8319 4.5 or later.
8320 * INSTALL: Regenerated.
8321
4e124ced
JM
8322 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
8323
953ca31a
L
83242012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8325
8326 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
8327
617aca05
L
8328 * sysdeps/x86_64/x32/ffs.c: New file.
8329
5762f7ae
L
8330 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
8331 __syscall_ulong_t.
8332 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
8333 defined. Use __syscall_ulong_t.
8334 (shminfo): Use __syscall_ulong_t.
8335 (shm_info): Likewise.
8336
a26b6856
L
8337 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
8338 __syscall_ulong_t.
8339
cb2b9ef7
L
8340 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
8341 <bits/wordsize.h>.
8342 (msgqnum_t): Use __syscall_ulong_t.
8343 (msglen_t): Likewise.
8344 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
8345 __syscall_ulong_t.
8346
34683bb0
L
8347 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
8348 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8349
84a68786
L
8350 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
8351
48baa5f1
L
8352 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
8353 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
8354
180be88b
L
8355 * sysvipc/sys/msg.h (msgbuf): Replace long int with
8356 __syscall_slong_t.
8357
5e90c8ad
L
8358 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
8359 include <bits/wordsize.h>. Check __x86_64__ instead of
8360 __WORDSIZE.
8361
23dfb58b
L
8362 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
8363 "unsigned long long int" if __x86_64__ is defined.
8364 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
8365
ce5d54b0
L
8366 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
8367 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8368 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
8369
13dc9eac
L
8370 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
8371 <stdint.h>.
8372 (GET_PC): Cast to uintptr_t first.
8373 (GET_FRAME): Likewise.
8374 (GET_STACK): Likewise.
8375
a7895d15
L
8376 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
8377 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
8378 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
8379 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
8380 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
8381 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
8382 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
8383 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
8384 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
8385 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
8386 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
8387 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
8388 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8389 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
8390 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
8391 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
8392 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
8393 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
8394 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
8395 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
8396 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
8397 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
8398 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
8399 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
8400 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
8401 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
8402 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
8403 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
8404 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
8405
656416c9
AS
84062012-05-16 Andreas Schwab <schwab@linux-m68k.org>
8407
5bd66283
AS
8408 * Makerules (+depfiles): Also collect depfiles from .oS in
8409 $(extra-objs).
8410 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
8411 .oS, $(libnldbl-routines)).
8412
656416c9
AS
8413 * Makerules (native-compile-mkdep-flags): Define.
8414 * sunrpc/Makefile (extra-objs): Add $(addprefix
8415 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
8416 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
8417 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
8418 calling $(make-target-directory).
8419
a46f2169
L
84202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8421
8422 * bits/types.h (__snseconds_t): Removed.
8423 * time/time.h (struct timespec): Replace __snseconds_t with
8424 __syscall_slong_t.
8425 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
8426 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
8427 Likewise.
8428 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8429 (__SNSECONDS_T_TYPE): Likewise.
8430 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8431 (__SNSECONDS_T_TYPE): Likewise.
8432 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8433 (__SNSECONDS_T_TYPE): Likewise.
8434
6af6528b
L
84352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8436
8437 * sysdeps/mach/hurd/bits/typesizes.h
8438 (__SYSCALL_SLONG_TYPE): New macro.
8439 (__SYSCALL_ULONG_TYPE): Likewise.
8440
de986b56
L
84412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8442
8443 * bits/types.h (__syscall_slong_t): New type.
8444 (__syscall_ulong_t): Likewise.
8445
8446 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
8447 (__SYSCALL_ULONG_TYPE): Likewise.
8448 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8449 (__SYSCALL_SLONG_TYPE): Likewise.
8450 (__SYSCALL_ULONG_TYPE): Likewise.
8451 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8452 (__SYSCALL_SLONG_TYPE): Likewise.
8453 (__SYSCALL_ULONG_TYPE): Likewise.
8454 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8455 (__SYSCALL_SLONG_TYPE): Likewise.
8456 (__SYSCALL_ULONG_TYPE): Likewise.
8457
85736dc7
L
84582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8459
8460 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
8461 Add sigaltstack-offsets.sym.
8462 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
8463 <sigaltstack-offsets.h>.
8464 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
8465 longjmp_msg pointer.
8466 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
8467 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
8468 signal stack.
8469 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
8470
cc03b296
JM
84712012-05-15 Joseph Myers <joseph@codesourcery.com>
8472
a9538892
JM
8473 * elf/stackguard-macros.h: Remove file.
8474 * sysdeps/generic/stackguard-macros.h: New file.
8475 * sysdeps/i386/stackguard-macros.h: Likewise.
8476 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
8477 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
8478 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
8479 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
8480 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
8481 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
8482 * sysdeps/x86_64/stackguard-macros.h: Likewise.
8483 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
8484 <elf/stackguard-macros.h>.
8485
cc03b296
JM
8486 [BZ #14109]
8487 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
8488 __aligned__ in attribute.
8489 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
8490 (gregset_t): Likewise.
8491
93171016
L
84922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8493
8494 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
8495 * sysdeps/x86_64/64/Implies-after: Here. New file.
8496 * sysdeps/x86_64/x32/Implies-after: New file.
8497
d86813a0
L
84982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8499
8500 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
8501 and access return value for _dl_profile_fixup. Use R10_LP to
8502 load frame size.
8503
2953ec75
L
85042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8505
8506 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
8507
3b550e9e
L
85082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8509
8510 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
8511 * sysdeps/x86_64/x32/sysdep.h: New file.
8512
eda41706
L
85132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8514
8515 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
8516 * sysdeps/x86_64/setjmp.S: Likewise.
8517
9ea01d93
AZ
85182012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8519
8520 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
8521 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
8522 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
8523 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
8524 remove unused global constant.
8525
02a91938
CM
85262012-05-15 Chris Metcalf <cmetcalf@tilera.com>
8527
8528 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
8529 include of <not-cancel.h>.
8530
6540185f
RM
85312012-05-15 Roland McGrath <roland@hack.frob.com>
8532
8533 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
8534
509072a0
AJ
85352012-05-15 Jeff Law <law@redhat.com>
8536 Andreas Jaeger <aj@suse.de>
8537
8538 [BZ #13594]
8539 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
8540 out from...
8541 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
8542 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
8543 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
8544 code changing __hst_map_handle.map.
8545
ba75122d
RM
85462012-05-15 Roland McGrath <roland@hack.frob.com>
8547
8548 * configure.in (sysnames): Look for Implies-before and Implies-after
8549 files.
8550 * configure: Regenerated.
8551
890d8bd8
L
85522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8553
8554 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
8555 8-byte data alignment with LP_SIZE alignment.
8556
f6ee6623
L
85572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8558
8559 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
8560 into R10_LP.
8561
ea2626f6
L
85622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8563
8564 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
8565
085f715e
L
85662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8567
8568 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
8569 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
8570 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
8571 Likewise.
8572 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8573
be8498fc
L
85742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8575
8576 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
8577 (stackinfo_sub_sp): Likewise.
8578
70bc83b9
L
85792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8580
8581 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
8582 RAX_LP.
8583
9bc0b730
L
85842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8585
8586 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
8587 into R*_LP.
8588
6d2850e7
L
85892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8590
8591 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
8592 sizes into R*_LP.
8593
3cb84561
L
85942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8595
8596 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
8597
54e2ed81
L
85982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8599
8600 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
8601 into R11_LP and load __x86_64_shared_cache_size_half into
8602 R8_LP.
8603
8a17f349
L
86042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8605
8606 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
8607 R8_LP.
8608
777b1eea
AZ
86092012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8610
8611 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
8612 logb for POWER7.
8613 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
8614 logbf for POWER7.
8615 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
8616 logbl for POWER7.
8617 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
8618 powerpc32/power7/fpu/s_logb.c via #include.
8619 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
8620 powerpc32/power7/fpu/s_logbf.c via #include.
8621 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
8622 powerpc32/power7/fpu/s_logbl.c via #include.
8623
d20d4ac2
JM
86242012-05-15 Joseph Myers <joseph@codesourcery.com>
8625
8626 * README.libm: Remove file.
8627
6cdef1ab
L
86282012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8629
8630 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
8631 count for x32. Use R*_LP and omit operand-size suffix.
8632
0b254d8f
L
86332012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8634
8635 * shlib-versions: Move x86_64-.*-linux.* entries to ...
8636 * sysdeps/x86_64/64/shlib-versions: Here. New file.
8637 * sysdeps/x86_64/x32/shlib-versions: New file.
8638
ceb809dc
RM
86392012-05-14 Roland McGrath <roland@hack.frob.com>
8640
8641 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
8642 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
8643 Use _dl_fatal_printf instead.
8644
37f1abd4
JM
86452012-05-14 Joseph Myers <joseph@codesourcery.com>
8646
8647 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
8648 set if not set by the user. Do not allow for being unset.
8649 * sysdeps/unix/sysv/linux/configure: Regenerated.
8650
11de3a33
L
86512012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8652
8653 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
8654 the `q' suffix from lea and replace .quad with ASM_ADDR.
8655
e02f153a
L
86562012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8657
8658 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
8659 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
8660 instead of $17.
8661 (PTR_DEMANGLE): Likewise.
8662
520ae0fd
L
86632012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8664
8665 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
8666 (LP_OP): Likewise.
8667 (ASM_ADDR): Likewise.
8668 (RAX_LP): Likewise.
8669 (RBP_LP): Likewise.
8670 (RBX_LP): Likewise.
8671 (RCX_LP): Likewise.
8672 (RDI_LP): Likewise.
8673 (RSI_LP): Likewise.
8674 (RSP_LP): Likewise.
8675 (R8_LP): Likewise.
8676 (R9_LP): Likewise.
8677 (R10_LP): Likewise.
8678 (R10_LP): Likewise.
8679 (R11_LP): Likewise.
8680 (R12_LP): Likewise.
8681 (R13_LP): Likewise.
8682 (R14_LP): Likewise.
8683 (R15_LP): Likewise.
8684
b985be81
L
86852012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8686
8687 * sysdeps/x86_64/x32/dl-machine.h: New file.
8688
6a4888ff
AJ
86892012-05-14 Andreas Jaeger <aj@suse.de>
8690
8691 * manual/Makefile (subdir): Remove export of subdir.
8692 (all): Remove target.
8693 (.PHONY): Remove all from list.
8694 (mkinstalldirs): Remove.
8695 (.PHONY): Remove installdirs from list.
8696 ($(inst_infodir)/libc.info): Use make-target-directory.
8697 (installdirs): Remove.
8698 (subdir_%): Remove.
8699 (glibc-targets): Remove.
8700 (lib): Remove.
8701 (stubs): Remove.
8702 ($(objpfx)stubs ../po/manual.pot): Remove.
8703 ($(objpfx)stamp%): Remove.
8704 (make-target-directory): Remove.
8705 (subdir_install): Remove.
8706 (routines): Remove.
8707 (aux): Remove.
8708 (sources): Remove.
8709 (objects): Remove.
8710 (headers): Remove.
8711
8712 [BZ #13750]
8713 * manual/.gitignore: Remove, it's not needed anymore.
8714 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
8715 all files in it.
8716 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
8717 directory.
8718 (texis): Renamed to $(objpfx)texis.
8719 (texis-path): New, contains path to generated files.
8720 (chapters.%): Use texis-path for complete path, add extra argument
8721 libc-texinfo.sh.
8722 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
8723 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
8724 (summary,texi, stamp-summary): Use complete path of
8725 files. Generate files in build dir.
8726 (dir-add.texi): Build in build dir.
8727 (libm-err.texi,stamp-libm-err): Likewise.
8728 (version.texi, stamp-version): Likewise.
8729 (.%c.texi): Likewise.
8730 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
8731 (mostlyclean): Remove target.
8732 (realclean): Remove target.
8733 (generated): Add new variable with contents from mostlyclean and
8734 realclean, remove entries duplicated in common-mostlyclean, add
8735 stamp-libm-err and stamp-version.
8736 (generated-dirs): Add libc directory.
8737 ($(inst_infodir)/libc.info): Install files from build dir.
8738
8739 * manual/install.texi (Configuring and compiling): Adjust since
8740 the info files are not part of the tar ball anymore.
8741
7ac77294
AJ
87422012-05-14 Andreas Jaeger <aj@suse.de>
8743
8744 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
8745 variable.
8746
ffb7875d
JM
87472012-05-14 Joseph Myers <joseph@codesourcery.com>
8748
8749 [BZ #13717]
8750 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
8751 to 2.2.0 where earlier.
8752 * sysdeps/unix/sysv/linux/configure: Regenerated.
8753 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
8754 Remove conditional code.
8755 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
8756 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
8757 Remove conditional code.
8758 [!__NR_lchown]: Likewise.
8759 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8760 [__NR_lchown]: Likewise.
8761 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
8762 comment referencing __ASSUME_LCHOWN_SYSCALL.
8763 * sysdeps/unix/sysv/linux/i386/sigaction.c
8764 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8765 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8766 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
8767 Remove conditional code.
8768 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
8769 (__protocol_available): Remove #if 0 code.
8770 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
8771 conditional code.
8772 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
8773 * sysdeps/unix/sysv/linux/kernel-features.h
8774 (__ASSUME_GETCWD_SYSCALL): Don't define.
8775 (__ASSUME_REALTIME_SIGNALS): Likewise.
8776 (__ASSUME_PREAD_SYSCALL): Likewise.
8777 (__ASSUME_PWRITE_SYSCALL): Likewise.
8778 (__ASSUME_POLL_SYSCALL): Likewise.
8779 (__ASSUME_LCHOWN_SYSCALL): Likewise.
8780 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
8781 non-SPARC.
8782 (__ASSUME_SIOCGIFNAME): Don't define.
8783 (__ASSUME_MSG_NOSIGNAL): Likewise.
8784 (__ASSUME_SENDFILE): Define unconditionally.
8785 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
8786 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
8787 conditional code.
8788 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
8789 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
8790 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8791 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8792 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
8793 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8794 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
8796 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8797 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
8799 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8800 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
8802 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8803 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
8805 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8806 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
8808 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8809 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
8811 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8812 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
8814 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8815 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
8817 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8818 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8819 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
8820 Remove conditional code.
8821 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8822 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
8823 Remove conditional code.
8824 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8825 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
8826 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
8827 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
8828 Remove conditional code.
8829 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8830 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
8831 Remove conditional code.
8832 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8833 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
8834 Remove conditional code.
8835 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8836 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
8837 Remove conditional code.
8838 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8839 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
8840 Remove conditional code.
8841 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8842 * sysdeps/unix/sysv/linux/sh/pwrite64.c
8843 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8844 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8845 * sysdeps/unix/sysv/linux/sigaction.c
8846 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8847 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8848 * sysdeps/unix/sysv/linux/sigpending.c
8849 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8850 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8851 * sysdeps/unix/sysv/linux/sigprocmask.c
8852 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8853 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8854 * sysdeps/unix/sysv/linux/sigsuspend.c
8855 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8856 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8857 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8858 (__libc_missing_rt_sigs): Remove.
8859 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
8860 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
8861 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
8862 Remove conditional code.
8863 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
8864 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
8865 return 1.
8866 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
8867 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
8868 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
8869 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
8870
1bfb7291
AJ
88712012-05-14 Andreas Jaeger <aj@suse.de>
8872
caae5a81
AJ
8873 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
8874 it's not used in glibc.
8875 (__coshm1): Likewise.
8876 (__acosh1p): Likewise.
8877 (__sgn): Likewise.
8878
1bfb7291
AJ
8879 * manual/string.texi (Copying and Concatenation): Add missing
8880 variable in concat example.
8881 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
8882
c044d724
L
88832012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8884
144c5467 8885 [BZ #14103]
c044d724
L
8886 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
8887 __builtin_clzl with __builtin_clzll.
8888
2523c62b
L
88892012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8890
8891 [BZ #14104]
8892 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
8893 libc_freeres_ptr.
8894
d7bb4c42
LD
88952012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8896
8897 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
8898 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
8899 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
8900 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
8901
9dc4e1fb
MF
89022012-05-14 Mike Frysinger <vapier@gentoo.org>
8903
8904 * NEWS: Update ia64 info.
8905
c7df0112
AS
89062012-05-12 Andreas Schwab <schwab@linux-m68k.org>
8907
8908 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
8909 used as bcopy.
8910
dc70356c
TS
89112012-05-12 Thomas Schwinge <thomas@codesourcery.com>
8912
8913 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
8914 * sysdeps/unix/syscalls.list (dup3): Likewise.
8915 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
8916 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
8917
9fb1a21f
L
89182012-05-11 H.J. Lu <hongjiu.lu@intel.com>
8919
8920 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
8921 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
8922
4822a2a5
L
89232012-05-11 H.J. Lu <hongjiu.lu@intel.com>
8924
8925 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
8926 thread pointer.
8927 (TLS_IE): Use mov/add instead of movq/addq to load thread
8928 pointer.
8929 (TLS_GD_PREFIX): New.
8930 (TLS_GD): Use it.
8931
842b81d6
DM
89322012-05-11 David S. Miller <davem@davemloft.net>
8933
8934 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
8935 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
8936 (_FPU_SETCW): Likewise.
8937
1cf463cd
L
89382012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8939
8940 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
8941 is 32-byte aligned.
8942
60cc4a18
AS
89432012-05-11 Andreas Schwab <schwab@linux-m68k.org>
8944
8945 [BZ #11837]
8946 * iconvdata/gb18030.c: Update tables.
8947 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
8948 characters specially.
8949 (BODY for TO_LOOP): Add encoding of missing ranges.
8950
febb44a4
TS
89512012-05-11 Thomas Schwinge <thomas@codesourcery.com>
8952
8953 [BZ #13673]
8954 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
8955 * sysdeps/mach/hurd/dup3.c: Likewise.
8956 * sysdeps/mach/hurd/readlinkat.c: Likewise.
8957 * sysdeps/powerpc/memmove.c:: Likewise.
8958
0a10fb9e
L
89592012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8960
8961 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
8962 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
8963
df8a552f
L
89642012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8965
8966 * elf/elf.h (R_X86_64_RELATIVE64): New.
8967 (R_X86_64_NUM): Updated.
8968 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8969 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
8970 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
8971 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
8972 tst-quad1pie tst-quad2pie
8973 (modules-names): Add tst-quadmod1 tst-quadmod2.
8974 ($(objpfx)tst-quad1): New dependency.
8975 ($(objpfx)tst-quad2): Likewise.
8976 ($(objpfx)tst-quad1pie): Likewise.
8977 ($(objpfx)tst-quad2pie): Likewise.
8978 * sysdeps/x86_64/tst-quad1.c: New file.
8979 * sysdeps/x86_64/tst-quad1pie.c: New file.
8980 * sysdeps/x86_64/tst-quad2.c: Likewise.
8981 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
8982 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
8983 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
8984 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
8985 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
8986
f34d6f84
ST
89872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8988
f42d41d1
ST
8989 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
8990 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
8991 * streams/stropts.h (t_scalar_t): Define type.
8992
3c3571fc
ST
8993 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
8994 (_PATH_PRESERVE): Set to "/var/lib".
8995 (_PATH_RWHODIR): Set to "/var/spool/rwho".
8996
61f06bd3
ST
8997 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
8998 instead of int.
8999
918d4d71
ST
9000 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
9001 if __dir_mkfile succeeded.
9002
f34d6f84
ST
9003 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
9004 checking for _hurd_dtablesize. Unlock it right after having
9005 finished _hurd_dtable allocation.
9006
10589b4a
TS
90072012-05-10 Thomas Schwinge <thomas@schwinge.name>
9008
674cdbc7
TS
9009 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
9010 * sysdeps/mach/hurd/configure: Regenerated.
9011 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
9012 special-casing to...
9013 * sysdeps/gnu/configure.in: ... this new file.
9014 * sysdeps/unix/sysv/linux/configure: Regenerated.
9015 * sysdeps/gnu/configure: New generated file.
9016
8e41b99f
TS
9017 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
9018 for Linux: use nsec instead of usec, as well as:
9019 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
9020 members of type struct timespec.
9021 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
9022 New macros.
9023 (struct stat64): Likewise.
9024 (_STATBUF_ST_NSEC): New macro.
9025 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
9026
10589b4a
TS
9027 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9028 __strtoul_internal rather than strtoul.
9029
63643c85
PT
90302012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9031
9032 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
9033 and reject them.
9034
3faebe6a
ST
90352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9036
9037 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
9038 which preserves existing values.
9039 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
9040
c6474b07
PT
90412012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9042
9043 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
9044 TIMEOUT values. Return EINVAL for NFDS values either negative or
9045 greater than FD_SETSIZE.
9046
1043890b
ST
90472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9048
9049 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
9050 allocated, call __vm_protect to finish enabling the existing space, and
9051 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
9052 allocate the remainder.
9053
37ed8b9b
PT
90542012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9055
9056 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
9057 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
9058
db653660
ST
90592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9060
37ed8b9b
PT
9061 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
9062 sysdeps/mach/hurd/readlink.c.
b29d4053 9063
db653660
ST
9064 * posix/tst-sysconf.c (posix_options): Only use
9065 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
9066 _POSIX_SYNCHRONIZED_IO when they are defined
9067 * sysdeps/mach/hurd/bits/posix_opt.h:
9068 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
9069 (_XOPEN_REALTIME): Undefine macro.
9070 (_XOPEN_REALTIME_THREADS): Undefine macro.
9071 (_XOPEN_SHM): Undefine macro.
9072 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
9073 macro to -1.
9074 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
9075 macro to -1.
9076 (_POSIX_ASYNC_IO): Undefine macro.
9077 (_POSIX_PRIORITIZED_IO): Undefine macro.
9078 (_POSIX_SPIN_LOCKS): Define macro to -1.
9079
ee16e894
ST
9080 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
9081 SA_NODEFER, SA_RESETHAND.
9082 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
9083 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
9084 F_DUPFD_CLOEXEC.
9085
6103ae3b
TS
90862012-05-10 Thomas Schwinge <thomas@schwinge.name>
9087
9088 * elf/Makefile (pldd-modules): Define unconditionally.
9089
80b4e5f3
TS
90902012-05-10 Thomas Schwinge <thomas@schwinge.name>
9091
9092 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
9093
edadcbd6
ST
90942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9095
9096 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
9097 Return ENOENT when name is empty.
9098 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
9099
80694780
TS
91002012-05-10 Thomas Schwinge <thomas@schwinge.name>
9101
1792c087
TS
9102 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
9103
80694780
TS
9104 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
9105
6b645f0d
ST
91062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9107
80694780
TS
9108 Fix mlock in all cases except non-readable pages.
9109 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
9110 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 9111
6b645f0d
ST
9112 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
9113 (__mkdir): When path is `/', just fail with EEXIST.
9114 * sysdeps/mach/hurd/mkdirat.c: Likewise.
9115
e468f8a3
TS
91162012-05-10 Thomas Schwinge <thomas@schwinge.name>
9117
9118 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
9119 <sys/uio.h> (for writev).
9120 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
9121 and <sys/param.h> (for MIN).
9122
a4186cff
PT
91232012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9124
9125 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
9126 REQUESTED_TIME. Properly set the remaining time and return EINTR
9127 if interrupted.
9128
510bbf14
TS
91292012-05-10 Thomas Schwinge <thomas@schwinge.name>
9130
9131 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
9132 Depend on against $(link-rpcuserlibs).
9133
5d5722e8
ST
91342012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9135
a4186cff
PT
9136 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
9137 (__libc_stack_end): Do not use attribute_relro.
9138 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
9139 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 9140 to libthread-provided value.
a4186cff
PT
9141 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
9142 attribute_relro.
5d5722e8 9143
37233df9
TS
91442012-05-10 Thomas Schwinge <thomas@schwinge.name>
9145
be971a2b
TS
9146 [BZ #3748]
9147 * bits/libc-lock.h (__libc_once_get): New macro.
9148 * sysdeps/mach/bits/libc-lock.h: Likewise.
9149 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
9150 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
9151 instead of using implementation details.
9152
37233df9
TS
9153 * libio/fileops.c: Unconditionally include <kernel-features.h>.
9154 * libio/freopen.c: Likewise.
9155 * libio/freopen64.c: Likewise.
9156 * misc/syslog.c: Likewise.
9157 * nscd/connections.c: Likewise.
9158 * nscd/netgroupcache.c: Likewise.
9159 * sysdeps/posix/getcwd.c: Likewise.
9160
38de94a5
RM
91612012-05-10 Roland McGrath <roland@hack.frob.com>
9162
9163 * math/w_ilogbf.c: Add #include <limits.h>.
9164
67530489
ST
91652012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9166
a4186cff 9167 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
9168 path instead of returning without unlocking.
9169
67530489
ST
9170 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
9171 immediate-write ioctls.
9172 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
9173
5aa3a74a
TS
91742012-05-10 Thomas Schwinge <thomas@schwinge.name>
9175
18bad2ae
TS
9176 * sysdeps/mach/hurd/i386/init-first.c (init): Use
9177 __builtin_frame_address instead of making assumptions about the
9178 location of the return address relative to DATA. Force early load of
9179 the return address.
9180 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
9181 __builtin_frame_address.
9182
5aa3a74a
TS
9183 dup3 for GNU Hurd.
9184 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
9185 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
9186 implement dup3 and do some further code clean-ups.
9187 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
9188 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
9189
ecd0de9a
ST
91902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9191
cd9fa985
ST
9192 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
9193
a4186cff
PT
9194 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
9195 HURD_CRITICAL_END around holding _hurd_dtable_lock.
9196 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
9197 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
9198 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
9199 d->port.lock.
802ca5a5 9200
a4186cff
PT
9201 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
9202 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
9203 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 9204
bcf55240
TS
92052012-05-10 Thomas Schwinge <thomas@schwinge.name>
9206
6960eb42
TS
9207 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
9208 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
9209 definitions.
9210
eb43375f
TS
9211 accept4 for GNU Hurd.
9212 * include/sys/socket.h (__libc_accept4): New prototype.
9213 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
9214 to implement __libc_accept4.
9215 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
9216 __libc_accept4.
9217 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
9218
bcf55240
TS
9219 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
9220 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
9221 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
9222 signal-defines.sym.
9223
6178c55b
ST
92242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9225
a4186cff 9226 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 9227
6f080c2f
TS
92282012-05-10 Thomas Schwinge <thomas@schwinge.name>
9229
9230 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
9231 assertion on O_CLOEXEC flag.
9232 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
9233 * hurd/intern-fd.c: Likewise.
9234 * hurd/port2fd.c: Likewise.
9235
bcfe3a54
ST
92362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9237
9238 [BZ #3906]
9239 * bits/in.h (IPV6_PKTINFO): Define new macro.
9240 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
9241
89c9aa49
AZ
92422012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9243
9244 [BZ #13954]
9245 [BZ #13955]
9246 [BZ #13956]
9247 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
9248 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9249 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
9250 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9251 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9252 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9253 * math/libm-test.inc (logb_test) : Additional logb tests.
9254
021db4be
AJ
92552012-05-09 Andreas Schwab <schwab@linux-m68k.org>
9256 Andreas Jaeger <aj@suse.de>
9257
9258 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
9259 * configure: Regenerated.
9260 * config.h.in (LINK_OBSOLETE_RPC): New macro.
9261 * config.make.in (link-obsolete-rpc): New substituted variable.
9262 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
9263 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
9264 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9265 (shared-only-routines): Don't set it under [link-obsolete-rpc],
9266 so that libc.a contains the symbols.
9267 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9268 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
9269 * sunrpc/auth_none.c: Likewise.
9270 * sunrpc/auth_unix.c: Likewise.
9271 * sunrpc/authdes_prot.c: Likewise.
9272 * sunrpc/authuxprot.c: Likewise.
9273 * sunrpc/clnt_gen.c: Likewise.
9274 * sunrpc/clnt_perr.c: Likewise.
9275 * sunrpc/clnt_raw.c: Likewise.
9276 * sunrpc/clnt_simp.c: Likewise.
9277 * sunrpc/clnt_tcp.c: Likewise.
9278 * sunrpc/clnt_udp.c: Likewise.
9279 * sunrpc/clnt_unix.c: Likewise.
9280 * sunrpc/des_crypt.c: Likewise.
9281 * sunrpc/des_soft.c: Likewise.
9282 * sunrpc/get_myaddr.c: Likewise.
9283 * sunrpc/key_call.c: Likewise.
9284 * sunrpc/key_prot.c: Likewise.
9285 * sunrpc/netname.c: Likewise.
9286 * sunrpc/pm_getmaps.c: Likewise.
9287 * sunrpc/pm_getport.c: Likewise.
9288 * sunrpc/pmap_clnt.c: Likewise.
9289 * sunrpc/pmap_prot.c: Likewise.
9290 * sunrpc/pmap_prot2.c: Likewise.
9291 * sunrpc/pmap_rmt.c: Likewise.
9292 * sunrpc/publickey.c: Likewise.
9293 * sunrpc/rpc_cmsg.c: Likewise.
9294 * sunrpc/rpc_common.c: Likewise.
9295 * sunrpc/rpc_dtable.c: Likewise.
9296 * sunrpc/rpc_prot.c: Likewise.
9297 * sunrpc/rpc_thread.c: Likewise.
9298 * sunrpc/rtime.c: Likewise.
9299 * sunrpc/svc.c: Likewise.
9300 * sunrpc/svc_auth.c: Likewise.
9301 * sunrpc/svc_raw.c: Likewise.
9302 * sunrpc/svc_run.c: Likewise.
9303 * sunrpc/svc_tcp.c: Likewise.
9304 * sunrpc/svc_udp.c: Likewise.
9305 * sunrpc/svc_unix.c: Likewise.
9306 * sunrpc/svcauth_des.c: Likewise.
9307 * sunrpc/xcrypt.c: Likewise.
9308 * sunrpc/xdr.c: Likewise.
9309 * sunrpc/xdr_array.c: Likewise.
9310 * sunrpc/xdr_float.c: Likewise.
9311 * sunrpc/xdr_intXX_t.c: Likewise.
9312 * sunrpc/xdr_mem.c: Likewise.
9313 * sunrpc/xdr_rec.c: Likewise.
9314 * sunrpc/xdr_ref.c: Likewise.
9315 * sunrpc/xdr_sizeof.c: Likewise.
9316 * sunrpc/xdr_stdio.c: Likewise.
9317
b5c086a2
RM
93182012-05-10 Roland McGrath <roland@hack.frob.com>
9319
9320 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
9321 change. Update copyright years.
9322
6d74dd09
JM
93232012-05-10 Joseph Myers <joseph@codesourcery.com>
9324
9325 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
9326
28e72501
MK
93272012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
9328 Joseph Myers <joseph@codesourcery.com>
9329 Paul Pluzhnikov <ppluzhnikov@google.com>
9330
9331 [BZ #14012]
9332 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
9333 requiring rpcgen.
9334 [cross-compiling] (extra-libs): Likewise.
9335 [cross-compiling] (extra-libs-others): Likewise.
9336 [cross-compiling] (librpcsvc-routines): Likewise.
9337 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
9338 [cross-compiling] (omit-deps): Likewise.
9339 (sunrpc-CPPFLAGS): New variable.
9340 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
9341 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
9342 (cross-rpcgen-objs): New variable.
9343 (extra-objs): Append $(cross-rpcgen-objs).
9344 ($(cross-rpcgen-objs)): New rule.
9345 ($(objpfx)cross-rpcgen): Likewise.
9346 (rpcgen-cmd): Define to use $(built-program-file). Expand
9347 comment.
9348 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
9349 ($(objpfx)x%.stmp): Likewise.
9350 * sunrpc/proto.h [IS_IN_build] (_): Define.
9351 [IS_IN_build] (_libc_intl_domainname): Likewise.
9352
c8c59454
L
93532012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9354
9355 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
9356 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
9357 and R_X86_64_TPOFF64.
9358
6f27cd16
JM
93592012-05-10 Joseph Myers <joseph@codesourcery.com>
9360
9361 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
9362 sysdeps/unix/sysv/syscalls.list.
9363 (stime): Likewise.
9364 (utime): Likewise.
9365 * sysdeps/unix/sysv/syscalls.list: Remove file.
9366
02467e1c
PE
93672012-05-10 Paul Eggert <eggert@cs.ucla.edu>
9368
9369 [BZ #3440]
9370 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
9371 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
9372 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
9373 (__LC_IDENTIFICATION): Make these macros useful in #if
9374 expressions, as required by C99.
9375
da392631
AS
93762012-05-10 Andreas Schwab <schwab@linux-m68k.org>
9377
9378 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
9379 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
9380 after this.
9381
8115f29b
L
93822012-05-09 H.J. Lu <hongjiu.lu@intel.com>
9383
9384 * stdlib/longlong.h: Updated from GCC.
9385
bdd74070
AJ
93862012-05-09 Andreas Jaeger <aj@suse.de>
9387
edfe0dbe
AJ
9388 * nscd/nscd.c (run_modes): Make named enum, reorder so that
9389 default is first entry.
9390 (run_mode): Set type.
9391 (main): Remove informal message about syslog.
9392 (options): Fix typo.
9393
bcfe3a54
ST
9394 [BZ #14053]
9395 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 9396 to asm.
bcfe3a54
ST
9397 (lrint): Likewise.
9398 (llrintf): Likewise.
9399 (llrint): Likewise.
9400 (rint): Likewise.
9401 (rintf): Likewise.
9402 (nearbyint): Likewise.
9403 (nearbyintf): Likewise.
bdd74070 9404
91d8d69e
AJ
94052012-05-09 Andreas Jaeger <aj@suse.de>
9406 Pedro Alves <palves@redhat.com>
9407
9408 * nscd/nscd.c (run_mode): Use enum.
9409 (main): Cleanup coding style issue.
9410
bb90b80b
AJ
94112012-05-09 Alexandre Oliva <aoliva@redhat.com>
9412 Andreas Jaeger <aj@suse.de>
9413
bcfe3a54
ST
9414 * nscd/nscd.c (go_background): Replaced with...
9415 (run_mode): ... this.
bb90b80b 9416 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
9417 (options): Add -F --foreground.
9418 (main): Implement it.
9419 (parse_opt): Parse it.
bb90b80b 9420
1a4b75a1
AJ
94212012-05-09 Andreas Jaeger <aj@suse.de>
9422
9423 [BZ #14083]
9424 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
9425 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
9426 -Wconversion warning.
9427 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
9428 Likewise.
9429
b1cc2472
JM
94302012-05-09 Joseph Myers <joseph@codesourcery.com>
9431
9432 * conform/data/locale.h-data (NULL): Use macro-constant. Require
9433 == 0.
9434 (LC_ALL): Use macro-int-constant.
9435 (LC_COLLATE): Likewise.
9436 (LC_CTYPE): Likewise.
9437 (LC_MESSAGES): Likewise.
9438 (LC_MONETARY): Likewise.
9439 (LC_NUMERIC): Likewise.
9440 (LC_TIME): Likewise.
9441 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
9442 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9443 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9444 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
9445 Specify type.
9446 [C99-based standards] (float_t): Expect type.
9447 [C99-based standards] (double_t): Expect type.
9448 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
9449 type.
9450 [C99-based standards] (HUGE_VALL): Likewise.
9451 [C99-based standards] (INFINITY): Likewise.
9452 [C99-based standards] (NAN): Likewise.
9453 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
9454 [C99-based standards] (FP_NAN): Likewise.
9455 [C99-based standards] (FP_NORMAL): Likewise.
9456 [C99-based standards] (FP_SUBNORMAL): Likewise.
9457 [C99-based standards] (FP_ZERO): Likewise.
9458 [C99-based standards] (FP_FAST_FMA): Use
9459 optional-macro-int-constant. Specify type. Require == 1.
9460 [C99-based standards] (FP_FAST_FMAF): Likewise.
9461 [C99-based standards] (FP_FAST_FMAL): Likewise.
9462 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
9463 [C99-based standards] (FP_ILOGBNAN): Likewise.
9464 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
9465 Specify type.
9466 [C99-based standards] (MATH_ERREXCEPT): Likewise.
9467 [C99-based standards] (math_errhandling): Specify type.
9468 [ISO99 || ISO11] (signgam): Do not allow.
9469 [non-C99-based standards] (copysignf): Do not allow.
9470 [non-C99-based standards] (exp2f): Likewise.
9471 [non-C99-based standards] (log2f): Likewise.
9472 [non-C99-based standards] (modff): Allow.
9473 [non-C99-based standards] (erff): Do not allow.
9474 [non-C99-based standards] (erfcf): Likewise.
9475 [non-C99-based standards] (gammaf): Likewise.
9476 [non-C99-based standards] (hypotf): Likewise.
9477 [non-C99-based standards] (j0f): Likewise.
9478 [non-C99-based standards] (j1f): Likewise.
9479 [non-C99-based standards] (jnf): Likewise.
9480 [non-C99-based standards] (lgammaf): Likewise.
9481 [non-C99-based standards] (tgammaf): Likewise.
9482 [non-C99-based standards] (y0f): Likewise.
9483 [non-C99-based standards] (y1f): Likewise.
9484 [non-C99-based standards] (ynf): Likewise.
9485 [non-C99-based standards] (isnanf): Likewise.
9486 [non-C99-based standards] (acoshf): Likewise.
9487 [non-C99-based standards] (asinhf): Likewise.
9488 [non-C99-based standards] (atanhf): Likewise.
9489 [non-C99-based standards] (cbrtf): Likewise.
9490 [non-C99-based standards] (expm1f): Likewise.
9491 [non-C99-based standards] (ilogbf): Likewise.
9492 [non-C99-based standards] (log1pf): Likewise.
9493 [non-C99-based standards] (logbf): Likewise.
9494 [non-C99-based standards] (nextafterf): Likewise.
9495 [non-C99-based standards] (remainderf): Likewise.
9496 [non-C99-based standards] (rintf): Likewise.
9497 [non-C99-based standards] (scalbf): Likewise.
9498 [non-C99-based standards] (copysignl): Likewise.
9499 [non-C99-based standards] (exp2l): Likewise.
9500 [non-C99-based standards] (log2l): Likewise.
9501 [non-C99-based standards] (modfl): Allow.
9502 [non-C99-based standards] (erfl): Do not allow.
9503 [non-C99-based standards] (erfcl): Likewise.
9504 [non-C99-based standards] (gammal): Likewise.
9505 [non-C99-based standards] (hypotl): Likewise.
9506 [non-C99-based standards] (j0l): Likewise.
9507 [non-C99-based standards] (j1l): Likewise.
9508 [non-C99-based standards] (jnl): Likewise.
9509 [non-C99-based standards] (lgammal): Likewise.
9510 [non-C99-based standards] (tgammal): Likewise.
9511 [non-C99-based standards] (y0l): Likewise.
9512 [non-C99-based standards] (y1l): Likewise.
9513 [non-C99-based standards] (ynl): Likewise.
9514 [non-C99-based standards] (isnanl): Likewise.
9515 [non-C99-based standards] (acoshl): Likewise.
9516 [non-C99-based standards] (asinhl): Likewise.
9517 [non-C99-based standards] (atanhl): Likewise.
9518 [non-C99-based standards] (cbrtl): Likewise.
9519 [non-C99-based standards] (expm1l): Likewise.
9520 [non-C99-based standards] (ilogbl): Likewise.
9521 [non-C99-based standards] (log1pl): Likewise.
9522 [non-C99-based standards] (logbl): Likewise.
9523 [non-C99-based standards] (nextafterl): Likewise.
9524 [non-C99-based standards] (remainderl): Likewise.
9525 [non-C99-based standards] (rintl): Likewise.
9526 [non-C99-based standards] (scalbl): Likewise.
9527 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9528 [non-C99-based standards] (FP_*): Do not allow.
9529 [C99-based standards] (FP_*): Change to
9530 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9531 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9532 allow.
9533 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
9534 (SIG_ERR): Likewise.
9535 [X/Open-based standards] (SIG_HOLD): Likewise.
9536 (SIG_IGN): Likewise.
9537 (SIGABRT): Use macro-int-constant. Specify type. Require
9538 positive value.
9539 (SIGFPE): Likewise.
9540 (SIGILL): Likewise.
9541 (SIGINT): Likewise.
9542 (SIGSEGV): Likewise.
9543 (SIGTER): Likewise.
9544 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
9545 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
9546 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
9547 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
9548 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
9549 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
9550 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
9551 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
9552 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
9553 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
9554 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
9555 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
9556 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
9557 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
9558 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
9559 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
9560 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
9561 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
9562 [X/Open-based standards] (SIGTRAP): Likewise.
9563 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
9564 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
9565 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
9566 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
9567 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9568 allow.
9569
b9f1922d
IW
95702012-05-08 Ian Wienand <ianw@vmware.com>
9571
9572 [BZ #14080]
9573 * time/tzset.c (__tzset_parse_tz): Update default rules for
9574 daylight time changes in the Energy Policy Act of 2005.
9575
1db86e88
AJ
95762012-05-09 Andreas Jaeger <aj@suse.de>
9577
9578 [BZ #13983]
9579 * elf/ldconfig.c (parse_conf): Change string to make clear that
9580 ldconfig only issued a warning if ld.so.conf does not exist.
9581
dee4a4e3
DM
95822012-05-08 David S. Miller <davem@davemloft.net>
9583
ee0db190
DM
9584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
9585 movxtod instead of popping the value on the stack.
9586
dee4a4e3
DM
9587 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9588
6a43ec98
CD
95892012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
9590
9591 * config.h.in: Add HAVE_ARM_PCS_VFP.
9592
05c2c961
RMG
95932012-05-08 Roland Mc Grath <roland@hack.frob.com>
9594
bcfe3a54
ST
9595 [BZ #13979]
9596 * include/features.h: Warn if user requests __FORTIFY_SOURCE
9597 checking but the checks are disabled for any reason.
05c2c961 9598
4b30f61a
L
95992012-05-08 H.J. Lu <hongjiu.lu@intel.com>
9600
9601 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
9602 and ELF64_R_TYPE with ELFW(R_TYPE).
9603
eee2bc67
JM
96042012-05-08 Joseph Myers <joseph@codesourcery.com>
9605
7ea5391a
JM
9606 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
9607 (ulimit): Likewise.
9608
eee2bc67
JM
9609 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
9610 (settimeofday): Likewise.
9611
abb66a67
MF
96122012-05-08 Mike Frysinger <vapier@gentoo.org>
9613
9614 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
9615 a struct th_u2 inside the union, and move tu_block/tu_code into
9616 a new th_u3 union of tu_block/tu_code inside of that. Move
9617 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
9618 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
9619 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
9620 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
9621 (th_stuff): Change to th_u1.tu_stuff.
9622 (th_data): Define.
9623 (th_msg): Change to th_u1.th_u2.tu_data.
9624
7f18b530
DM
96252012-05-07 David S. Miller <davem@davemloft.net>
9626
05760585
DM
9627 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9628
7f18b530
DM
9629 [BZ #14074]
9630 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
9631 (SETUP_PIC_REG): Use it.
9632 (SETUP_PIC_REG_LEAF): Use it.
9633
495fd99f
JM
96342012-05-07 Joseph Myers <joseph@codesourcery.com>
9635
9636 [BZ #13885]
9637 [BZ #13923]
9638 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9639 USE_AS_EXPM1L.
9640 (EXPL_FINITE): Likewise.
9641 (FLDLOG): Likewise.
9642 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
9643 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
9644 e_expl.S.
9645 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9646 USE_AS_EXPM1L.
9647 (EXPL_FINITE): Likewise.
9648 (FLDLOG): Likewise.
9649 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
9650 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
9651 e_expl.S.
9652 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
9653 test of -max_value argument for long double.
9654 * sysdeps/i386/fpu/libm-test-ulps: Update.
9655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9656
6693d694
DM
96572012-05-06 David S. Miller <davem@davemloft.net>
9658
9659 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
9660 quad soft-float symbols whose references which are compiler
9661 generated.
9662 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9663
6c23e11c
JM
96642012-05-06 Joseph Myers <joseph@codesourcery.com>
9665
d8b82cad
JM
9666 [BZ #13884]
9667 [BZ #13914]
9668 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9669 USE_AS_EXP10L.
9670 (EXPL_FINITE): Likewise.
9671 (FLDLOG): Likewise.
9672 (c0): Likewise.
9673 (c1): Likewise.
9674 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
9675 Adjust comments for base varying.
9676 (__expl_finite): Change alias to EXPL_FINITE.
9677 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
9678 e_expl.S.
9679 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
9680 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
9681 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9682 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
9683 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9684 USE_AS_EXP10L.
9685 (EXPL_FINITE): Likewise.
9686 (FLDLOG): Likewise.
9687 (c0): Likewise.
9688 (c1): Likewise.
9689 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
9690 Adjust comments for base varying.
9691 (__expl_finite): Change alias to EXPL_FINITE.
9692 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
9693 tests for bugs.
9694 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9695
6c23e11c
JM
9696 [BZ #14064]
9697 * math/libm-test.inc (check_float_internal): Correct ulp
9698 calculation for subnormal expected results.
9699
29ba805c
AJ
97002012-05-06 Andreas Jaeger <aj@suse.de>
9701
9702 * Makeconfig (+math-flags): New, set to -frounding-math.
9703 (+cflags): Add +math-flags so that all of glibc gets compiled with
9704 it.
9705
9706 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
9707
7b17aeda
JM
97082012-05-05 Joseph Myers <joseph@codesourcery.com>
9709
5779f134
JM
9710 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
9711 Disable one test.
9712
41498f4d
JM
9713 [BZ #13787]
9714 [BZ #13922]
9715 [BZ #14036]
9716 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
9717 (__ieee754_expl): Allow for and saturate large arguments.
9718 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
9719 (u_threshold): Likewise.
9720 (__exp): Call __ieee754_exp before checking for overflow and
9721 underflow.
9722 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
9723 (u_threshold): Likewise.
9724 (__expf): Call __ieee754_expf before checking for overflow and
9725 underflow.
9726 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
9727 (u_threshold): Likewise.
9728 (__expl): Call __ieee754_expl before checking for overflow and
9729 underflow.
9730 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
9731 (__ieee754_expl): Allow for and saturate large arguments.
9732 * math/libm-test.inc (exp_test): Add another test. Do not allow
9733 missing overflow exception on overflow.
9734 (expm1_test): Do not allow missing overflow exception on overflow.
9735
6698b8bf
JM
9736 * sysdeps/i386/fpu/e_expl.c: Move to ...
9737 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
9738 rather than using inline asm.
9739 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
9740 * sysdeps/x86_64/fpu/e_expl.S: Copy from
9741 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
9742
7b17aeda
JM
9743 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
9744 (nice): Likewise.
9745 (poll): Likewise.
9746 (signal): Likewise.
9747 (time): Likewise.
9748 (times): Likewise.
9749
f7c85819
JM
97502012-05-04 Joseph Myers <joseph@codesourcery.com>
9751
9752 * sysdeps/unix/syscalls.list (adjtime): Add entry from
9753 sysdeps/unix/common/syscalls.list.
9754 (fchmod): Likewise.
9755 (fchown): Likewise.
9756 (ftruncate): Likewise.
9757 (getrusage): Likewise.
9758 (gettimeofday): Likewise.
9759 (setpgid): Likewise.
9760 (setregid): Likewise.
9761 (setreuid): Likewise.
9762 (sigaction): Likewise.
9763 (truncate): Likewise.
9764 (vhangup): Likewise.
9765 * sysdeps/unix/common/syscalls.list: Remove file.
9766 * sysdeps/unix/bsd/Implies: Don't include unix/common.
9767 * sysdeps/unix/sysv/linux/Implies: Likewise.
9768
336270d0
L
97692012-05-04 H.J. Lu <hongjiu.lu@intel.com>
9770
9771 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
9772 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
9773 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
9774 Moved to ...
9775 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
9776 Here.
9777 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
9778 to ...
9779 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
9780 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
9781 to ...
9782 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
9783 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
9784 to ...
9785 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
9786 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
9787 to ...
9788 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
9789 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
9790 to ...
9791 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
9792 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
9793 to ...
9794 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
9795 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
9796 to ...
9797 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
9798 Here.
9799 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
9800 to ...
9801 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
9802 Here.
9803 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
9804 to ...
9805 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
9806 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
9807 Moved to ...
9808 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
9809 Here.
9810 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
9811 to ...
9812 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
9813
d128e450
JM
98142012-05-04 Joseph Myers <joseph@codesourcery.com>
9815
fa8ee516
JM
9816 * sysdeps/unix/common/bits/dirent.h: Remove file.
9817 * sysdeps/unix/common/bits/fcntl.h: Likewise.
9818
d128e450
JM
9819 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
9820 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
9821 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
9822 * sysdeps/unix/bsd/isatty.c: Likewise.
9823 * sysdeps/unix/bsd/tcdrain.c: Likewise.
9824 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
9825 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
9826
ff8faaf0 98272012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 9828
62881be4 9829 [BZ #13563]
31dc8730
AZ
9830 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
9831 long double comparison inaccuracies.
9832 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9833 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9834
6fef930c
AS
98352012-05-04 Andreas Schwab <schwab@linux-m68k.org>
9836
9837 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
9838 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
9839
8f203e6c
JM
98402012-05-04 Joseph Myers <joseph@codesourcery.com>
9841
9842 [BZ #14049]
9843 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
9844 nonzero digits before rounding a hex value.
9845 * stdlib/tst-strtod.c (tests): Add another test.
9846
5197d9c2
AK
98472012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9848
9849 * sysdeps/s390/fpu/libm-test-ulps: Update.
9850
f0c1dedf
AJ
98512012-05-03 Andreas Jaeger <aj@suse.de>
9852
9853 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
9854 does not get optimized out.
9855 (malloc_opt_barrier): New.
9856
a65ef2ae 98572012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 9858 Roland McGrath <roland@hack.frob.com>
a65ef2ae 9859
2b942cb7 9860 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 9861 intermediate file deletion.
2b942cb7 9862 (generated): Add .symlist files.
a65ef2ae 9863
54b71e02
JM
98642012-05-03 Joseph Myers <joseph@codesourcery.com>
9865
9866 [BZ #13775]
9867 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
9868 Redirect under this condition.
9869 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
9870 [__USE_GNU] (__dprintf_chk): Not under this condition.
9871 [__USE_GNU] (__vdprintf_chk): Likewise.
9872 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
9873 under this condition.
9874 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
9875 [__USE_XOPEN2K8] (dprintf): Define under this condition.
9876 [__USE_XOPEN2K8] (vdprintf): Likewise.
9877 [__USE_GNU] (__dprintf_chk): Not under this condition.
9878 [__USE_GNU] (__vdprintf_chk): Likewise.
9879 [__USE_GNU] (dprintf): Likewise.
9880 [__USE_GNU] (vdprintf): Likewise.
9881
d3dfcc41
RM
98822012-05-03 Roland McGrath <roland@hack.frob.com>
9883
9884 * elf/Makefile (common-generated): Set this instead of generated for
9885 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
9886 $(all-built-dso)-derived lists.
9887
7ac30cc5
AJ
98882012-05-03 Andreas Jaeger <aj@suse.de>
9889
0c51e550
AJ
9890 * sysdeps/i386/fpu/libm-test-ulps: Update.
9891
7ac30cc5
AJ
9892 * FAQ: Removed.
9893 * FAQ.in: Likewise.
9894 * scripts/gen-FAQ.pl: Likewise.
9895 * manual/install.texi (Installation): Point to online location of
9896 FAQ.
9897 * Makefile (files-for-dist): Remove FAQ.
9898 (FAQ): Remove.
9899
d4c2917f
AM
99002012-05-02 Allan McRae <allan@archlinux.org>
9901
9902 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
9903 (LDFLAGS-reldepmod5.so): Likewise.
9904 (LDFLAGS-reldep6mod1.so): Likewise.
9905 (LDFLAGS-reldep6mod4.so): Likewise.
9906 (LDFLAGS-reldep8mod3.so): Likewise.
9907 (LDFLAGS-unload4mod1.so): Likewise.
9908 (LDFLAGS-unload4mod2.so): Likewise.
9909 (LDFLAGS-tst-initorder): Likewise.
9910 (LDFLAGS-tst-initordera2.so): Likewise.
9911 (LDFLAGS-tst-initordera3.so): Likewise.
9912 (LDFLAGS-tst-initordera4.so): Likewise.
9913 (LDFLAGS-tst-initorderb2.so): Likewise.
9914 (LDFLAGS-noload): Likewise.
9915 (LDFLAGS-next): Likewise.
9916 (LDFLAGS-order2mod1.so): Likewise.
9917 (LDFLAGS-order2mod2.so): Likewise.
9918 (LDFLAGS-tst-initorder2): Likewise.
9919 (LDFLAGS-tst-initorder2a.so): Likewise.
9920 (LDFLAGS-tst-initorder2b.so): Likewise.
9921 (LDFLAGS-tst-initorder2c.so): Likewise.
9922 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
9923
d77f993f
DM
99242012-05-02 David S. Miller <davem@davemloft.net>
9925
9926 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9927
171a70b4
PP
99282012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
9929
9930 [BZ #14055]
9931 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
9932
0be196ad
AJ
99332012-05-02 Andreas Jaeger <aj@suse.de>
9934
9935 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
9936 since we manipulate rounding mode.
9937 (CPPFLAGS-test-idouble.c): Likewise.
9938 (CPPFLAGS-test-ifloat.c): Likewise.
9939 (CFLAGS-test-ldouble.c): Likewise.
9940 (CFLAGS-test-double.c): Likewise.
9941 (CFLAGS-test-float.c): Likewise.
9942 (CFLAGS-test-misc.c): Likewise.
9943 (CFLAGS-test-test-fenv.c): Likewise.
9944
4f9d04aa
AZ
99452012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9946
2b942cb7
RM
9947 [BZ #2550]
9948 [BZ #2570]
9949 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
9950 comparisons to determine direction to adjust input.
4f9d04aa 9951
82a79e7d
RM
99522012-05-01 Roland McGrath <roland@hack.frob.com>
9953
f5a01ca9
RM
9954 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
9955 output to the target.
9956
90fe4186
RM
9957 * scripts/localplt.awk: New file.
9958 * elf/Makefile ($(objpfx)check-localplt): Target removed.
9959 (check-localplt-CFLAGS): Variable removed.
9960 ($(all-built-dso:=.jmprel)): New static pattern rule.
9961 (generated): Add those targets.
9962 (localplt-built-dso): New variable.
9963 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
9964
9965 * elf/check-localplt.c: File removed.
9966
82397ed6
RM
9967 * scripts/check-execstack.awk: New file.
9968 * elf/Makefile ($(objpfx)check-execstack): Target removed.
9969 (check-execstack-CFLAGS): Variable removed.
9970 ($(objpfx)check-execstack.h): Target removed.
9971 ($(objpfx)execstack-default): New target.
9972 (generated): Add that instead of check-execstack.h.
9973 ($(all-built-dso:=.phdr)): New static pattern rule.
9974 (generated): Add those targets.
9975 * elf/check-execstack.c: File removed.
9976
82a79e7d
RM
9977 * scripts/check-textrel.awk: New file.
9978 * elf/Makefile ($(objpfx)check-textrel): Target removed.
9979 (check-textrel-CFLAGS): Variable removed.
9980 (all-built-dso): Use := to define.o
9981 ($(all-built-dso:=.dyn)): New static pattern rule.
9982 (generated): Add those targets.
9983 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
9984 * config.make.in (READELF): New substituted variable.
9985 * elf/check-textrel.c: File removed.
9986
62fde54f 99872012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 9988
615605c9
JM
9989 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9990 allow.
9991 * conform/data/ctype.h-data [C99-based standards] (isblank):
9992 Expect function.
9993 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
9994 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
9995 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9996 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
9997 Specify type. Require positive value.
9998 (EILSEQ): Likewise.
9999 (ERANGE): Likewise.
10000 [ISO || POSIX] (EILSEQ): Do not expect.
10001 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
10002 Specify type. Require positive value.
10003 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
10004 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
10005 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
10006 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
10007 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
10008 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
10009 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
10010 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
10011 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
10012 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
10013 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
10014 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
10015 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
10016 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
10017 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
10018 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
10019 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
10020 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
10021 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
10022 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
10023 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
10024 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
10025 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
10026 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
10027 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
10028 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
10029 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
10030 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
10031 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
10032 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
10033 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
10034 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
10035 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
10036 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
10037 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
10038 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
10039 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
10040 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
10041 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
10042 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
10043 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
10044 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
10045 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
10046 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
10047 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
10048 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
10049 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
10050 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
10051 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
10052 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
10053 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
10054 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
10055 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
10056 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
10057 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
10058 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
10059 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
10060 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
10061 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
10062 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
10063 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
10064 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
10065 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
10066 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
10067 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
10068 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
10069 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
10070 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
10071 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
10072 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
10073 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
10074 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
10075 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
10076 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
10077 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
10078 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
10079 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
10080 Require >= 2.
10081 (FLT_ROUNDS): Expect as macro, not constant.
10082 (FLT_MANT_DIG): Use macro-int-constant.
10083 (DBL_MANT_DIG): Likewise.
10084 (LDBL_MANT_DIG): Likewise.
10085 (FLT_DIG): Likewise.
10086 (DBL_DIG): Likewise.
10087 (LDBL_DIG): Likewise.
10088 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
10089 (DBL_MIN_EXP): Likewise.
10090 (LDBL_MIN_EXP): Likewise.
10091 (FLT_MAX_EXP): Use macro-int-constant.
10092 (DBL_MAX_EXP): Likewise.
10093 (LDBL_MAX_EXP): Likewise.
10094 (FLT_MAX_10_EXP): Likewise.
10095 (DBL_MAX_10_EXP): Likewise.
10096 (LDBL_MAX_10_EXP): Likewise.
10097 (FLT_MAX): Use macro-constant.
10098 (DBL_MAX): Likewise.
10099 (LDBL_MAX): Likewise.
10100 (FLT_EPSILON): Use macro-constant. Give upper bound.
10101 (DBL_EPSILON): Likewise.
10102 (LDBL_EPSILON): Likewise.
10103 (FLT_MIN): Likewise.
10104 (DBL_MIN): Likewise.
10105 (LDBL_MIN): Likewise.
10106 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
10107 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
10108 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
10109 [ISO11] (FLT_HAS_SUBNORM): Likewise.
10110 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
10111 [ISO11] (DBL_DECIMAL_DIG): Likewise.
10112 [ISO11] (FLT_DECIMAL_DIG): Likewise.
10113 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
10114 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
10115 [ISO11] (FLT_TRUE_MIN): Likewise.
10116 [ISO11] (LDBL_TRUE_MIN): Likewise.
10117 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10118 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
10119 (SCHAR_MIN): Use macro-int-constant. Specify type.
10120 (SCHAR_MAX): Likewise.
10121 (UCHAR_MAX): Likewise.
10122 (CHAR_MIN): Likewise.
10123 (CHAR_MAX): Likewise.
10124 (MB_LEN_MAX): Use macro-int-constant.
10125 (SHRT_MIN): Use macro-int-constant. Specify type.
10126 (SHRT_MAX): Likewise.
10127 (USHRT_MAX): Likewise.
10128 (INT_MAX): Likewise.
10129 (INT_MIN): Use macro-int-constant. Specify type. Make upper
10130 bound negative.
10131 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
10132 bound with "U".
10133 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10134 bound with "L".
10135 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
10136 bound negative. Suffix upper bound with "L".
10137 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10138 bound with "UL".
10139 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
10140 Specify type.
10141 [C99-based standards] (LLONG_MAX): Likewise.
10142 [C99-based standards] (ULLONG_MAX): Likewise.
10143 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
10144 == 0.
10145 [ISO11] (max_align_t): Require type.
10146 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10147
c9140a62
JM
10148 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
10149 from $CFLAGS, without defining away __attribute__ calls.
10150 (checknamespace): Use $CFLAGS_namespace.
10151
9af0bf29
JM
10152 * conform/conformtest.pl (@keywords): Only include C99 keywords
10153 for standards based on C99 or C11.
10154
343222a2
JM
10155 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
10156 Disable tests.
10157 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
10158 UNIX98]: Likewise.
10159
661f8cf0
JM
10160 * conform/conformtest.pl: Handle "macro-int-constant" and test for
10161 usability of symbols in #if.
10162
ee74b9cb
JM
10163 * conform/conformtest.pl: If macro or constant types start
10164 "promoted:", expect the symbol to be of the following type
10165 promoted by the integer promotions.
62fde54f 10166
aafc49b3
JM
10167 * conform/conformtest.pl: Parse all "constant" and "macro" lines
10168 in one place. Also handle "macro-constant".
10169
fefdf574
JM
10170 * conform/conformtest.pl: Only accept expected macro values with
10171 "==". Parse all "macro" lines in one place.
10172 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
10173
f2d922fe
JM
10174 * conform/conformtest.pl: Handle braced types on "constant" lines
10175 instead of handling "typed-constant".
10176 * conform/data/signal.h-data: Use "constant" instead of
10177 "typed-constant".
10178
d22956c9
JM
10179 * conform/conformtest.pl: Handle "optional-" at start of lines in
10180 one place rather than duplicating several cases. Handle each
10181 format of "macro" line with initial "optional-".
10182
028e2e38
JM
10183 * conform/conformtest.pl: Only accept expected constant or
10184 optional-constant values with "==". Parse all "constant" lines in
10185 one place. Parse all "optional-constant" lines in one place.
10186 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
10187 * conform/data/fmtmsg.h-data: Likewise.
10188 * conform/data/netinet/in.h-data: Likewise.
10189 * conform/data/tar.h-data: Likewise.
10190 * conform/data/limits.h-data: Use "==" form on "constant" and
10191 "optional-constant" lines.
10192
1b8f2850
JM
10193 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
10194 Use -std=c99 for XOPEN2K.
10195 (@knownproblems): Remove.
10196 (newtoken): Don't check %isknown.
10197
a05a144b
JM
10198 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
10199 Do not expect macro.
10200 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
10201 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
10202 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
10203 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
10204 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
10205 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
10206 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
10207 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
10208 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
10209 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
10210 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
10211 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
10212 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
10213 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
10214 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
10215 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
10216 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
10217 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
10218 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
10219 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
10220 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
10221 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
10222 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
10223 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
10224 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
10225 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
10226 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
10227 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
10228 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
10229 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
10230 [XPG3] (acosh): Likewise.
10231 [XPG3] (asinh): Likewise.
10232 [XPG3] (atanh): Likewise.
10233 [XPG3] (cbrt): Likewise.
10234 [XPG3] (expm1): Likewise.
10235 [XPG3] (ilogb): Likewise.
10236 [XPG3] (log1p): Likewise.
10237 [XPG3] (logb): Likewise.
10238 [XPG3] (nextafter): Likewise.
10239 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
10240 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
10241 [XPG3] (remainder): Likewise.
10242 [XPG3] (rint): Likewise.
10243 [XPG3 || XPG4 || UNIX98] (round): Likewise.
10244 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
10245 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
10246 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
10247 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
10248 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
10249 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
10250 [UNIX98 || XOPEN2K] (scalb): Expect.
10251 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
10252 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
10253 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
10254 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
10255 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
10256 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
10257 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
10258 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
10259 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
10260 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
10261 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
10262 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
10263 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
10264 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
10265 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
10266 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
10267 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
10268 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
10269 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
10270 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
10271 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
10272 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
10273 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
10274 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
10275 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
10276 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
10277 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
10278 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
10279 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
10280 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
10281 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
10282 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
10283 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
10284 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
10285 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
10286 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
10287 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
10288 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
10289 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
10290 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
10291 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
10292 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
10293 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
10294 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
10295 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
10296 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
10297 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
10298 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
10299 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
10300 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
10301 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
10302 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
10303 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
10304 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
10305 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
10306 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
10307 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
10308 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
10309 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
10310 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
10311 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
10312 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
10313 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
10314 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
10315 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
10316 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
10317 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
10318 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
10319 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
10320 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
10321 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
10322 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
10323 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
10324 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
10325 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
10326 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
10327 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
10328 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
10329 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
10330 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
10331 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
10332 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
10333 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
10334 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
10335 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
10336 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
10337 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
10338 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
10339 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
10340 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
10341 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
10342 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
10343 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
10344 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
10345 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
10346 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
10347 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
10348 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
10349 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
10350 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
10351 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
10352 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
10353 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
10354 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
10355 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
10356 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
10357 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
10358 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
10359 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
10360 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
10361 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
10362 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
10363 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
10364 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
10365 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
10366 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
10367 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
10368 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
10369 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
10370 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
10371 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
10372 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
10373 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
10374 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
10375 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
10376 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
10377 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
10378 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
10379 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
10380 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
10381 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
10382 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
10383 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
10384 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
10385 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
10386 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
10387 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
10388
73c5ebe3
JM
10389 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
10390 _XOPEN_SOURCE_EXTENDED for XPG4.
10391
39c33b6c
JM
10392 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
10393
62fde54f
JM
10394 * Makeconfig (localtime): Remove variable.
10395 (inst_localtime-file): Likewise.
10396
0741d64c
AS
103972012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10398
10399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10400 Update.
10401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10402 Update.
10403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10404 Update.
10405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10406 Update.
10407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10408 Update.
10409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
10410 Update.
10411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10412 Update.
10413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
10414 Update.
10415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10416 Update.
10417
7cb029ee
JM
104182012-05-01 Joseph Myers <joseph@codesourcery.com>
10419
10420 [BZ #2550]
10421 [BZ #2570]
10422 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
10423 comparisons to determine direction to adjust input.
10424 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10425 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
10426 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
10427 Likewise.
10428 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
10429 Likewise.
10430 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10431 Likewise.
10432 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
10433 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10434 Likewise.
10435 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10436 Likewise.
10437 * math/libm-test.inc (nexttoward_test): Add more tests.
10438
412bd966
AS
104392012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10440
10441 [BZ #14040]
10442 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
10443 in version GLIBC_2.1, not GLIBC_2.0.
10444 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
10445 Likewise.
10446
9568c0c2
JM
104472012-04-30 Joseph Myers <joseph@codesourcery.com>
10448
adfbc8ac
JM
10449 [BZ #13942]
10450 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
10451 (1 - x) * (1 + x).
10452 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10453 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
10454 * math/libm-test.inc (acos_test): Add more tests.
10455 (asin_test): Likewise.
10456 * sysdeps/i386/fpu/libm-test-ulps: Update.
10457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10458
5ba3cc69
JM
10459 [BZ #14034]
10460 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
10461 of square root.
10462 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
10463 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10464 * math/libm-test.inc (acos_test_tonearest): New function.
10465 (acos_test_towardzero): Likewise.
10466 (acos_test_downward): Likewise.
10467 (acos_test_upward): Likewise.
10468 (asin_test_tonearest): Likewise.
10469 (asin_test_towardzero): Likewise.
10470 (asin_test_downward): Likewise.
10471 (asin_test_upward): Likewise.
10472 (main): Call the new functions.
10473 * sysdeps/i386/fpu/libm-test-ulps: Update.
10474 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10475
9568c0c2
JM
10476 [BZ #13884]
10477 [BZ #13924]
10478 * math/e_exp10.c: Include <float.h>.
10479 (__ieee754_exp10): Handle underflow here rather than multiplying
10480 large negative argument by M_LN10.
10481 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
10482 of __ieee754_expf.
10483 * math/e_exp10l.c: Include <float.h>.
10484 (__ieee754_exp10l): Handle underflow here rather than multiplying
10485 large negative argument by M_LN10l.
10486 * math/libm-test.inc (exp10_test): Add another test. Do not allow
10487 spurious overflow exception on underflow.
10488
5ac3ea17
MP
104892012-04-29 Marek Polacek <polacek@redhat.com>
10490
10491 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
10492 (__fortify_function): New macro.
10493 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
10494 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
10495 __extern_always_inline.
10496 * libio/bits/stdio2.h: Likewise.
10497 * libio/bits/stdio.h: Likewise.
10498 * string/string.h: Likewise.
10499 * string/bits/string3.h: Likewise.
10500 * include/stdio.h: Likewise.
10501 * stdlib/bits/stdlib.h: Likewise.
10502 * stdlib/stdlib.h: Likewise.
10503 * rt/bits/mqueue2.h: Likewise.
10504 * rt/mqueue.h: Likewise.
10505 * posix/bits/unistd.h: Likewise.
10506 * posix/unistd.h: Likewise.
10507 * io/bits/poll2.h: Likewise.
10508 * io/bits/fcntl2.h: Likewise.
10509 * io/fcntl.h: Likewise.
10510 * io/sys/poll.h: Likewise.
10511 * misc/bits/syslog.h: Likewise.
10512 * misc/bits/syslog-ldbl.h: Likewise.
10513 * misc/sys/syslog.h: Likewise.
10514 * socket/bits/socket2.h: Likewise.
10515 * socket/sys/socket.h: Likewise.
10516 * debug/tst-chk1.c: Likewise.
10517 * wcsmbs/bits/wchar2.h: Likewise.
10518 * wcsmbs/bits/wchar-ldbl.h: Likewise.
10519 * wcsmbs/wchar.h: Likewise.
10520
ecf0ebfb
AJ
105212012-04-29 Andreas Jaeger <aj@suse.de>
10522
10523 * Makerules (tests): Remove enable-check-abi protection.
10524 (check-abi-warn): Remove.
10525 (check-abi-%): Remove check-abi-warn usage.
10526
10527 * configure.in: Remove check-abi configure option.
10528 * configure: Regenerated.
10529 * config.make.in (enable-check-abi): Remove.
10530
6d5c57fa
AS
105312012-04-28 Andreas Schwab <schwab@linux-m68k.org>
10532
24c5d07e 10533 [BZ #14033]
ded5180a
AS
10534 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
10535 double functions to double *_finite functions.
10536
7e0d315d
AS
10537 [BZ #13941]
10538 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
10539 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
10540 LDBL_MIN_EXP.
10541 * stdio-common/Makefile (tests): Add tst-sprintf3.
10542 * stdio-common/tst-sprintf3.c: New file.
10543
6d5c57fa
AS
10544 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
10545 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
10546
0749ff8b
JM
105472012-04-28 Joseph Myers <joseph@codesourcery.com>
10548
10549 * conform/conformtest.pl: Remove duplicate typed-constant
10550 handling.
10551
8dbd5d7b
DM
105522012-04-28 David S. Miller <davem@davemloft.net>
10553
10554 * Makerules (%.abilist): Add vpath on sysdep_dirs.
10555 (check-abi-%): Remove AWK script prerequisite and explicit
10556 abilist directory.
10557 (check-abi): Rewrite to just diff the symlist with the abilist.
10558 (config-tls, config-abi-config): Delete, no longer used.
10559 (update-abi-%): Remove AWK script and explicit abilist directory.
10560 (update-abi): Rewrite to simply compare and conditionally copy the
10561 symlist and the sysdep abilist file. Remove update-abi-config
10562 checks.
10563 * abilist/ld.abilist: Remove.
10564 * abilist/libBrokenLocale.abilist: Remove.
10565 * abilist/libanl.abilist: Remove.
10566 * abilist/libcrypt.abilist: Remove.
10567 * abilist/libdl.abilist: Remove.
10568 * abilist/librt.abilist: Remove.
10569 * abilist/libthread_db.abilist: Remove.
10570 * abilist/libutil.abilist: Remove.
10571 * scripts/extract-abilist.awk: Remove.
10572 * scripts/merge-abilist.awk: Remove.
10573 * sysdeps/generic/libcidn.abilist: New file.
10574 * sysdeps/generic/libnss_compat.abilist: New file.
10575 * sysdeps/generic/libnss_db.abilist: New file.
10576 * sysdeps/generic/libnss_dns.abilist: New file.
10577 * sysdeps/generic/libnss_files.abilist: New file.
10578 * sysdeps/generic/libnss_hesiod.abilist: New file.
10579 * sysdeps/generic/libnss_nis.abilist: New file.
10580 * sysdeps/generic/libnss_nisplus.abilist: New file.
10581 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
10582 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
10583 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
10584 file.
10585 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
10586 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
10587 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
10588 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
10589 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
10590 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
10591 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
10592 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
10593 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
10594 file.
10595 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
10596 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
10597 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
10598 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
10599 file.
10600 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
10601 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
10602 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
10603 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
10604 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
10605 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
10606 file.
10607 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
10608 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
10609 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
10610 file.
10611 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
10612 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
10613 New file.
10614 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
10615 New file.
10616 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
10617 New file.
10618 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
10619 New file.
10620 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
10621 New file.
10622 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
10623 New file.
10624 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
10625 New file.
10626 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
10627 New file.
10628 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
10629 New file.
10630 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
10631 New file.
10632 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
10633 New file.
10634 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
10635 New file.
10636 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
10637 New file.
10638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
10639 file.
10640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
10641 New file.
10642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
10643 New file.
10644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
10645 file.
10646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
10647 New file.
10648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
10649 New file.
10650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
10651 file.
10652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
10653 New file.
10654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10655 New file.
10656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
10657 New file.
10658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
10659 New file.
10660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
10661 New file.
10662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
10663 New file.
10664 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
10665 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
10666 file.
10667 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
10668 New file.
10669 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
10670 file.
10671 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
10672 file.
10673 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
10674 file.
10675 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
10676 file.
10677 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
10678 file.
10679 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10680 New file.
10681 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
10682 file.
10683 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
10684 file.
10685 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
10686 New file.
10687 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
10688 file.
10689 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
10690 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
10691 file.
10692 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
10693 New file.
10694 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
10695 file.
10696 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
10697 file.
10698 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
10699 file.
10700 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
10701 file.
10702 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
10703 file.
10704 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10705 New file.
10706 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
10707 file.
10708 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
10709 file.
10710 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
10711 New file.
10712 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
10713 file.
10714 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
10715 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
10716 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
10717 file.
10718 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
10719 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
10720 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
10721 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
10722 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
10723 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
10724 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
10725 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
10726 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
10727 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
10728 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
10729 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
10730 file.
10731 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10732 New file.
10733 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
10734 file.
10735 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
10736 file.
10737 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
10738 file.
10739 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
10740 file.
10741 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
10742 file.
10743 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10744 New file.
10745 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10746 New file.
10747 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
10748 file.
10749 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10750 New file.
10751 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
10752 file.
10753 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
10754 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
10755 file.
10756 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10757 New file.
10758 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
10759 file.
10760 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
10761 file.
10762 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
10763 file.
10764 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
10765 file.
10766 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
10767 file.
10768 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10769 New file.
10770 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10771 New file.
10772 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
10773 file.
10774 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10775 New file.
10776 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
10777 file.
10778
41d73a1b
JM
107792012-04-28 Joseph Myers <joseph@codesourcery.com>
10780
10781 * conform/conformtest.pl: Fix typo in handling typed-constant from
10782 allow-header.
10783
28aeeda4
JM
107842012-04-27 Joseph Myers <joseph@codesourcery.com>
10785
adae8f5e
JM
10786 * README: Cut down references to pre-2.6 Linux kernels and
10787 Linuxthreads. Update lists of configurations in libc and ports
10788 and sort alphabetically. Say "or newer" with Linux kernel version
10789 requirements.
10790
28aeeda4
JM
10791 * config.h.in [IS_IN_build]: Allow compiling without optimization.
10792
a462cb63
RA
107932012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10794
10795 [BZ #887]
10796 * math/libm-test.inc (logb_test_downward): New test to expose
10797 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
10798 rounding mode.
10799
6ad3493e
JM
108002012-04-27 Joseph Myers <joseph@codesourcery.com>
10801
10802 [BZ #14027]
10803 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
10804 to be done.
10805 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
10806 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
10807
2ce4f015
JM
108082012-04-26 Joseph Myers <joseph@codesourcery.com>
10809
5aeb141a
JM
10810 * sysdeps/unix/i386/brk.S: Remove file.
10811 * sysdeps/unix/i386/dl-brk.S: Likewise.
10812 * sysdeps/unix/i386/pipe.S: Likewise.
10813 * sysdeps/unix/i386/sigreturn.S: Likewise.
10814 * sysdeps/unix/i386/syscall.S: Likewise.
10815 * sysdeps/unix/i386/vfork.S: Likewise.
10816 * sysdeps/unix/i386/wait.S: Likewise.
10817
7143acae
JM
10818 * sysdeps/unix/common/tcsendbrk.c: Move to ...
10819 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
10820
2ce4f015
JM
10821 * configure.in (arm*-none*): Do not allow without
10822 --enable-hacker-mode.
10823 (netbsd*): Remove case setting base_os.
10824 (386bsd*): Likewise.
10825 (freebsd*): Likewise.
10826 (bsdi*): Likewise.
10827 (osf*): Likewise.
10828 (sunos*): Likewise.
10829 (ultrix*): Likewise.
10830 (newsos*): Likewise.
10831 (dynix*): Likewise.
10832 (*bsd*): Likewise.
10833 (sysv*): Likewise.
10834 (isc*): Likewise.
10835 (esix*): Likewise.
10836 (sco*): Likewise.
10837 (minix*): Likewise.
10838 (irix4*): Likewise.
10839 (irix6*): Likewise.
10840 (solaris[2-9]*): Likewise.
10841 (none): Likewise.
10842 * configure: Regenerated.
10843
0ac229c8
AZ
108442012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10845
10846 [BZ #11521]
10847 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
10848 overflow or cancellation in calculating denominator.
10849 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
10850 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
10851 down expression to avoid unexpected rounding in newer GCCs.
10852 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
10853
33f244f4
DM
108542012-04-26 David S. Miller <davem@davemloft.net>
10855
10856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
10857 long-double compat symbols.
10858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
10862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
10863 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
10864 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
10865 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
10866 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
10867 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
10868 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
10869 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
10870 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10871
cfa1f3e8
DM
108722012-04-25 David S. Miller <davem@davemloft.net>
10873
10874 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
10875 HWCAP_* values only after the memory barriers have been defined.
10876 (atomic_full_barrier): Define.
10877 (atomic_read_barrier): Define.
10878 (atomic_write_barrier): Define.
10879
6e236b92
SP
108802012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10881
10882 * shlib-versions: Add libgcc_s version information.
10883 * sysdeps/generic/libgcc_s.h: Remove.
10884 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
10885 libgcc_s.h.
10886 * sysdeps/gnu/unwind-resume.c: Likewise.
10887 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
10888
aab39a09
DM
108892012-04-25 David S. Miller <davem@davemloft.net>
10890
10891 * sysdeps/unix/sparc/brk.S: Delete.
10892 * sysdeps/unix/sparc/dl-brk.S: Delete.
10893 * sysdeps/unix/sparc/pipe.S: Delete.
10894 * sysdeps/unix/sparc/sysdep.S: Delete.
10895 * sysdeps/unix/sparc/sysdep.h: Delete.
10896 * sysdeps/unix/sparc/vfork.S: Delete.
10897 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
10898 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
10899 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
10900 ret_ERRVAL, r0, r1, MOVE): Define.
10901 (JUMPTARGET): Remove.
10902 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
10903 sysdeps/unix/sparc/sysdep.h
10904 (ENTRY, END): Remove.
10905 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10906
a3cc4f48
JM
109072012-04-25 Joseph Myers <joseph@codesourcery.com>
10908
2ed8cda2
JM
10909 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
10910 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
10911 -DIS_IN_build.
10912
35d76d59
JM
10913 * timezone/README: Update upstream location and email address for
10914 tzcode and tzdata.
10915 * timezone/zdump.c: Update from tzcode 2012b.
10916 * timezone/zic.c: Likewise.
10917
a3cc4f48
JM
10918 * configure.in (libc_cv_as_needed): Remove test.
10919 * configure: Regenerated.
10920 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
10921 conditional definition.
10922 [$(have-as-needed) != yes] (no-as-needed): Likewise.
10923 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
10924 * config.make.in (have-as-needed): Remove variable.
10925
ceab42c3
SP
109262012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10927 Paul Pluzhnikov <ppluzhnikov@google.com>
10928
10929 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
10930 strings correctly.
10931
3ce2865f
CLT
109322012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
10933
10934 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
10935 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
10936 * sysdeps/sh/strlen.S: Likewise.
10937
f37e0d68
JM
109382012-04-24 Joseph Myers <joseph@codesourcery.com>
10939
ae186e9a
JM
10940 * sysdeps/unix/fork.S: Remove file.
10941 * sysdeps/unix/i386/fork.S: Likewise.
10942 * sysdeps/unix/sparc/fork.S: Likewise.
10943
b96914af
JM
10944 * sysdeps/unix/system.c: Remove file.
10945 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
10946
f37e0d68
JM
10947 * sysdeps/unix/getegid.S: Remove file.
10948 * sysdeps/unix/geteuid.S: Likewise.
10949
87ef29ca
RM
109502012-04-24 Roland McGrath <roland@hack.frob.com>
10951
83bcd236
RM
10952 * scripts/check-localplt.awk: New file.
10953 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
10954 of diff.
10955 * scripts/data/localplt-generic.data: Add a comment.
10956
87ef29ca
RM
10957 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
10958 NODE when __dir_mkfile failed.
10959 * sysdeps/mach/hurd/symlinkat.c: Likewise.
10960 Reported by Ludovic Courtès <ludo@gnu.org>.
10961
e5a6e567
AJ
109622012-04-24 Andreas Jaeger <aj@suse.de>
10963
10964 * Makerules (common-clean): Also remove gen-as-const-headers
10965 files.
10966
c1820385
JM
109672012-04-24 Joseph Myers <joseph@codesourcery.com>
10968
10969 * Makerules (native-compile): Do not change working directory for
10970 build. Use $(OUTPUT_OPTION) in command.
10971 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
10972
94e02fc4
AZ
109732012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10974
10975 [BZ #13886]
10976 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
10977 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
10978 * math/libm-test.inc (floor_test): Add more tests.
10979 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
10980
3a533ca3
JM
109812012-04-24 Joseph Myers <joseph@codesourcery.com>
10982
940ab4b3
JM
10983 * sysdeps/unix/getdents.c: Remove file.
10984 * sysdeps/unix/sysv/getdents.c: Likewise.
10985 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
10986
90e037bd
JM
10987 * sysdeps/unix/syscalls.list (madvise): Add syscall from
10988 sysdeps/unix/mman/syscalls.list.
10989 (mmap): Likewise.
10990 (mprotect): Likewise.
10991 (msync): Likewise.
10992 (munmap): Likewise.
10993 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
10994 * sysdeps/unix/mman/syscalls.list: Remove.
10995 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
10996
3a533ca3
JM
10997 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
10998 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
10999 * configure: Regenerated.
11000 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
11001 $(libgcc_s_suffix).
11002 * config.make.in (libgcc_s_suffix): Remove variable.
11003
1ad743de
JM
110042012-04-23 Joseph Myers <joseph@codesourcery.com>
11005
4ad451e2
JM
11006 * sysdeps/unix/sysv/gethostname.c: Move to ...
11007 * sysdeps/posix/gethostname.c: ... here.
11008
5e37ce39
JM
11009 * sysdeps/unix/execve.S: Remove file.
11010
1ad743de
JM
11011 * sysdeps/unix/_exit.S: Remove file.
11012
4e681b5b
AJ
110132012-04-23 Andreas Jaeger <aj@suse.de>
11014
11015 [BZ #13739]
11016 * manual/Makefile: Remove make dist support, there's no
11017 need for a stand-alone documentation tar ball.
11018 (TEXI2DVI): Define always, it's not in Makeconfig.
11019 (dist): Removed.
11020 (tar-it): Removed.
11021 (edition): Removed.
11022 (glibc-doc-$(edition).tar): Removed
11023 (%.Z): Removed.
11024 (%.gz): Removed.
11025 (%.uu): Removed.
11026 (ETAGS): Remove, it's in Makeconfig.
11027 (move-if-change): Remove, it's in Makeconfig.
11028
c0baea34
PE
110292013-04-23 Paul Eggert <eggert@cs.ucla.edu>
11030
11031 [BZ #13970]
11032 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
11033 (strtod, strtof, strtold, strtol, strtoul, strtoq)
11034 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
11035 (strtod_l, strtof_l, strtold_l): Remove __wur.
11036 It is not necessarily an error to ignore strtol's return value.
11037 One can reliably look at the stored endptr to decide whether
11038 the number had valid syntax.
11039
7c0616fa
AJ
110402012-04-21 Andreas Jaeger <aj@suse.de>
11041
803cb6b7 11042 [BZ #13739]
7c0616fa
AJ
11043 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
11044
b0fe253f
JM
110452012-04-21 Joseph Myers <joseph@codesourcery.com>
11046
11047 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
11048 * sysdeps/unix/sysv/Versions: Remove file.
11049
8280f22d
MT
110502012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
11051
11052 [BZ #13927]
11053 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11054
75ce411f 110552012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
11056
11057 [BZ #7064]
11058 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
11059 version from __vm86.
11060
097d59fa
JM
110612012-04-20 Joseph Myers <joseph@codesourcery.com>
11062
a90f3bcb
JM
11063 * sysdeps/unix/common/lxstat.c: Remove file.
11064 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
11065
edc7ea78
JM
11066 * sysdeps/unix/sysv/Makefile: Remove file.
11067
cb78c221
JM
11068 * sysdeps/unix/sysv/direct.h: Remove file.
11069
efa6a45f
JM
11070 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
11071 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
11072 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
11073 * sysdeps/unix/sysv/bits/signum.h: Likewise.
11074 * sysdeps/unix/sysv/bits/stat.h: Likewise.
11075 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
11076 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
11077
9c9f2d0c
JM
11078 * sysdeps/unix/sysv/setrlimit.c: Remove file.
11079
4541c83b
JM
11080 * sysdeps/unix/xmknod.c: Remove file.
11081 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
11082
f5d153a0
JM
11083 * sysdeps/unix/sysv/settimeofday.c: Remove file.
11084
aa746595
JM
11085 * sysdeps/unix/sysv/i386/time.S: Remove file.
11086
cce5905e
JM
11087 * sysdeps/unix/fxstat.c: Remove file.
11088 * sysdeps/unix/xstat.c: Likewise.
11089 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
11090
37fa3841
JM
11091 * sysdeps/unix/sysv/sigaction.c: Remove file.
11092
ff1962a3
JM
11093 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
11094 (sysdep_headers): Remove variable.
11095 [termio.h not in sysdep_headers] (generated): Likewise.
11096 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
11097 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
11098 * sysdeps/unix/sysv/tcdrain.c: Likewise.
11099 * sysdeps/unix/sysv/tcflow.c: Likewise.
11100 * sysdeps/unix/sysv/tcflush.c: Likewise.
11101 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
11102 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
11103 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
11104 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
11105 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
11106
e7740d31
JM
11107 * sysdeps/unix/siglist.c: Remove file.
11108
ee06f18b
JM
11109 * sysdeps/unix/getppid.S: Remove file.
11110
097d59fa
JM
11111 * sysdeps/unix/mkdir.c: Remove file.
11112 * sysdeps/unix/rmdir.c: Likewise.
11113
ff3d51ec
AS
111142012-04-19 Andreas Schwab <schwab@linux-m68k.org>
11115
11116 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
11117 ERR_MAX value.
11118 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
11119 errlist-compat value.
11120
50f81fd7
DM
111212012-04-18 David S. Miller <davem@davemloft.net>
11122
11123 * sysdeps/generic/memcopy.h (reg_char): Delete.
11124 * debug/strcat_chk.c: Use char, not reg_char.
11125 * debug/strcpy_chk.c: Likewise.
11126 * debug/strncat_chk.c: Likewise.
11127 * debug/strncpy_chk.c: Likewise.
11128 * string/memchr.c: Likewise.
11129 * string/memrchr.c: Likewise.
11130 * string/rawmemchr.c: Likewise.
11131 * string/strcat.c: Likewise.
11132 * string/strchr.c: Likewise.
11133 * string/strchrnul.c: Likewise.
11134 * string/strcmp.c: Likewise.
11135 * string/strcpy.c: Likewise.
11136 * string/strncat.c: Likewise.
11137 * string/strncmp.c: Likewise.
11138 * string/strncpy.c: Likewise.
11139
8ff41c46
WS
111402012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11141
11142 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
11143 __builtin_memcopy is called when src and dest ranges are known to not
11144 overlap.
11145
6b652f46
WS
111462012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11147
11148 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
11149 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
11150 fwd_align_merge macro call.
11151 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
11152 bwd_align_merge macro call.
11153 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11154
b282631e
WS
111552012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11156
11157 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
11158 bwd_align_merge macros.
11159 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
11160 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
11161 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11162
95aa737c
DM
111632012-04-18 David S. Miller <davem@davemloft.net>
11164
11165 * sysdeps/sparc/sparc64/memcopy.h: Delete.
11166
7a99a614
AJ
111672012-04-18 Andreas Jaeger <aj@suse.de>
11168
11169 [BZ# 6794]
11170 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
11171 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
11172 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11173
11174 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
11175 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
11176 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11177
11178 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
11179 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
11180 Adjust for changed ldbl-128 files.
11181
11182 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
11183 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
11184 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11185
e5270c23
DM
111862012-04-17 David S. Miller <davem@davemloft.net>
11187
11188 * sysdeps/sparc/sparc32/memcopy.h: Delete.
11189
fb5e92c9
AS
111902012-04-17 Andreas Schwab <schwab@linux-m68k.org>
11191
11192 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
11193 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
11194 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
11195 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
11196 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11197 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
11198
76da7265
AZ
111992012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11200
11201 [BZ #6794]
11202 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
11203 * math/libm-test.inc: Add ilogb errno and exception tests.
11204 * math/w_ilogb.c: New file: ilogb wrapper.
11205 * math/w_ilogbf.c: New file: ilogbf wrapper.
11206 * math/w_ilogbl.c: New file: ilogbl wrapper.
11207 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
11208 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
11209 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
11210 exception being thrown with 0.0 as argument.
11211 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
11212 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
11213 exception being thrown with 0.0 as argument.
11214 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
11215 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11216 exception being thrown with 0.0 as argument.
11217 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
11218 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11219 exception being thrown with 0.0 as argument.
11220 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
11221 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 11222 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
11223 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
11224 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
11225 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
11226 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
11227 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
11228 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
11229
0396e69d
PB
112302012-04-17 Petr Baudis <pasky@ucw.cz>
11231
11232 * include/sys/uio.h: Change __vector to __iovec to avoid clash
11233 with altivec.
11234
750b5926
MP
112352012-04-16 Marek Polacek <polacek@redhat.com>
11236
11237 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
11238
751728a1
MP
112392012-04-16 Marek Polacek <polacek@redhat.com>
11240
11241 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
11242 operands of fdivp instruction.
11243
34a27407
L
112442012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11245
11246 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
11247 * elf/tst-auditmod3b.c: Likewise.
11248 * elf/tst-auditmod4b.c: Likewise.
11249 * elf/tst-auditmod5b.c: Likewise.
11250 * elf/tst-auditmod6b.c: Likewise.
11251 * elf/tst-auditmod6c.c: Likewise.
11252 * elf/tst-auditmod7b.c: Likewise.
11253 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
11254 * sysdeps/x86_64/preconfigure.in: Likewise.
11255 * sysdeps/x86_64/preconfigure: Regenerated.
11256
7e73e17d
L
112572012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11258
11259 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
11260 __ILP32__.
11261
c7a6ab72
AB
112622012-04-13 Antoine Balestrat <merkil33@gmail.com>
11263
11264 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11265 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
11266
a9e8e0e0
CL
112672012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
11268
11269 [BZ #13973]
11270 * locale/iso-639.def: Fix gl language name. Spotted by
11271 Yaron Shahrabani.
11272
ec98af7d
RM
112732012-04-12 Roland McGrath <roland@hack.frob.com>
11274
11275 [BZ #2074]
11276 * libio/libio.h (__io_write_fn): Update comment.
11277
247c3ede
PB
112782012-04-12 Petr Baudis <pasky@ucw.cz>
11279
11280 [BZ #2074]
11281 * stdio.texi (Hook Functions): The user provided writer function
11282 is not allowed to return -1.
11283
55939d6d
DM
112842012-04-11 David S. Miller <davem@davemloft.net>
11285
11286 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11287
90020f5a
MF
112882012-04-11 Mike Frysinger <vapier@gentoo.org>
11289
11290 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
11291 Add a leading slash to rtkaio.
11292
288f9098
JM
112932012-04-11 Jim Meyering <meyering@redhat.com>
11294
90020f5a
MF
11295 [BZ #11959]
11296 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
11297 It is not necessarily an error to ignore fwrite's return
11298 value. One can reliably use ferror to test for errors after
11299 the fact.
288f9098 11300
4be2b570
L
113012012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11302
11303 * bits/types.h (__snseconds_t): New type.
11304 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
11305
11306 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
11307 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11308 (__SNSECONDS_T_TYPE): Likewise.
11309 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11310 (__SNSECONDS_T_TYPE): Likewise.
11311 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11312 (__SNSECONDS_T_TYPE): Likewise.
11313
288f9098 113142012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
11315
11316 [BZ #2636]
11317 * manual/time.texi (Processor Time): Return type of times is
11318 elapsed real time since an arbitrary point in the past.
11319 (CPU Time): Move CLK_TCK from here...
11320 (Processor Time): ...to here. Correct description.
11321 * manual/conf.texi (Constants for Sysconf): Correct description of
11322 _SC_CLK_TCK.
11323
d7dd4413
DM
113242012-04-10 David S. Miller <davem@davemloft.net>
11325
11326 [BZ #13967]
11327 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
11328 where the is a gap between DT_REL(A) and DT_JMPREL.
11329
b46068fc
L
113302012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11331
11332 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
11333 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11334 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11335
73d65cc3
SP
113362012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11337
11338 * elf/dl-support.c (_dl_inhibit_cache): New variable.
11339 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
11340 (dl_main): Handle --inhibit-cache.
11341 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
11342 _dl_inhibit_cache.
11343 * elf/dl-load.c (_dl_map_object): Use it.
11344 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
11345
bcc8d661
JM
113462012-04-09 Joseph Myers <joseph@codesourcery.com>
11347
8f9a2fae
JM
11348 [BZ #13872]
11349 * sysdeps/i386/fpu/e_powl.S (p78): New object.
11350 (__ieee754_powl): Saturate large exponents rather than testing for
11351 overflow of y*log2(x).
11352 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11353 * math/libm-test.inc (pow_test): Do not permit spurious overflow
11354 exceptions.
11355
bcc8d661
JM
11356 [BZ #11521]
11357 * math/s_ctan.c: Include <float.h>.
11358 (__ctan): Avoid internal overflow or cancellation in calculating
11359 denominator.
11360 * math/s_ctanf.c: Likewise.
11361 * math/s_ctanl.c: Likewise.
11362 * math/s_ctanh.c: Likewise.
11363 * math/s_ctanhf.c: Likewise.
11364 * math/s_ctanhl.c: Likewise.
11365 * math/libm-test.inc (ctan_test): Add more tests.
11366 (ctanh_test): Likewise.
11367 * sysdeps/i386/fpu/libm-test-ulps: Update.
11368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11369
823fbbb4
AJ
113702012-04-09 Andreas Jaeger <aj@suse.de>
11371
03879793
AJ
11372 [BZ #6894]
11373 * manual/filesys.texi (Directory Entries): Mention that d_namlen
11374 is an optional BSD extension.
11375
823fbbb4
AJ
11376 [BZ #10254]
11377 * manual/stdio.texi (Opening Streams): Document additional fopen
11378 parameters.
11379
8de131cb
RM
113802012-04-09 Roland McGrath <roland@hack.frob.com>
11381
11382 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
11383 %eax without telling the compiler.
11384
c0ed9d7d
CD
113852012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
11386
11387 [BZ # 13963]
11388 * manual/install.texi: Use sourceware.org.
11389
c483f6b4
JM
113902012-04-09 Joseph Myers <joseph@codesourcery.com>
11391
d7dd9453
JM
11392 [BZ #13873]
11393 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
11394 (__ieee754_pow): Generate overflow and underflow using huge*huge
11395 and tiny*tiny rather than just returning constant infinity or zero
11396 for large exponents.
11397 * math/libm-test.inc (pow_test): Require overflow exceptions for
11398 applicable cases of large exponents.
11399
c483f6b4
JM
11400 [BZ #706]
11401 * sysdeps/i386/fpu/e_pow.S (p10): New object.
11402 (__ieee754_pow): Use iterative multiplication algorithm only for
11403 integer exponents with absolute value below 1024. Check for odd
11404 integer exponents when using algorithm for real exponents.
11405 * math/libm-test.inc (pow_test): Add more tests.
11406 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11407
d2de7579
JM
114082012-04-08 Joseph Myers <joseph@codesourcery.com>
11409
11410 [BZ #13705]
11411 * math/libm-test.inc (exp_test): Do not allow overflow exception
11412 on underflow test.
11413
f77f1232
AJ
114142012-04-08 Aurelien Jarno <aurelien@aurel32.net>
11415
11416 [BZ #13705]
11417 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
11418 instead of __kernel_standard_f.
11419
3884932b
MF
114202012-04-08 Mike Frysinger <vapier@gentoo.org>
11421
11422 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
11423 * sysdeps/x86_64/memset_chk.S: Likewise.
11424
54472e9c
AJ
114252012-04-08 Andreas Jaeger <aj@suse.de>
11426
6ab0fbfc
AJ
11427 [BZ #10153]
11428 * manual/startup.texi (Environment Access): Describe return value
11429 for putenv and setenv.
11430
61efba8c
AJ
11431 [BZ #6895]
11432 * manual/filesys.texi (Directory Entries): Add description for
11433 DT_LNK.
11434
95c3f29a
AJ
11435 [BZ #6890]
11436 * manual/filesys.texi (Directory Entries): Clarify that it's file
11437 system not operating system in the description of DT_UNKNOWN.
11438
54472e9c
AJ
11439 [BZ #6578]
11440 * manual/syslog.texi (closelog): Fix reference, it's openlog.
11441
624254b1
SC
114422012-04-08 Stephen Compall <s11@member.fsf.org>
11443
11444 [BZ #6649]
11445 * manual/llio.texi (Opening and Closing Files): Add cross
11446 reference to explain mode argument.
11447
1e4920e0
MF
114482012-04-07 Mike Frysinger <vapier@gentoo.org>
11449
11450 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
11451 * sysdeps/x86_64/memset_chk.S: Likewise.
11452
5ed848f3
DM
114532012-04-07 David S. Miller <davem@davemloft.net>
11454
11455 * elf/elf.h (R_SPARC_WDISP10): Define.
11456 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
11457 R_SPARC_SIZE32.
11458 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
11459 R_SPARC_SIZE64 and R_SPARC_H34.
11460
96154cd8
CD
114612012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
11462
11463 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
11464 conditions and remove no longer applicable assertion.
11465
9904dc47
L
114662012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11467
11468 * bits/byteswap.h: Include <features.h>.
11469 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11470 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11471
f8887d0a
L
114722012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11473
11474 * bits/byteswap.h (__bswap_16): Removed.
11475 Include <bits/byteswap-16.h> to get __bswap_16.
11476 * sysdeps/i386/bits/byteswap.h: Likewise.
11477 * sysdeps/s390/bits/byteswap.h: Likewise.
11478 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11479 * bits/byteswap-16.h: New file.
11480 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11481 * sysdeps/s390/bits/byteswap-16.h: Likewise.
11482 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
11483 * string/Makefile (headers): Add bits/byteswap-16.h.
11484
62470f60
PP
114852012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11486
11487 [BZ #13895]
11488 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
11489 extra indirection.
11490 * nss/Makefile (tests-static, tests): Add tst-nss-static.
11491 * nss/tst-nss-static.c: New.
11492
4dad7bab
RM
114932012-04-06 Robert Millan <rmh@gnu.org>
11494
11495 [BZ #6486]
11496 * manual/llio.texi (File Position Primitive): lseek
11497 refers to WHENCE when it really means OFFSET.
11498
e9142a17
AJ
114992012-04-06 Andreas Jaeger <aj@suse.de>
11500
2c040eff
AJ
11501 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
11502 strncmp declarations.
11503
e9142a17
AJ
11504 * abilist/libc.abilist: Add __poll and __ppoll.
11505
ff9f1c5f
DM
115062012-04-05 David S. Miller <davem@davemloft.net>
11507
dcd2ae90
DM
11508 * scripts/check-local-headers.sh: Accept a host triplet in the
11509 path matched by the exclude regexp.
11510
993eb054
DM
11511 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
11512 definition.
11513 * sysdeps/powerpc/powerpc32/dl-machine.h
11514 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
11515 * sysdeps/s390/s390-32/dl-machine.h
11516 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11517 * sysdeps/sparc/sparc32/dl-machine.h
11518 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11519 * sysdeps/sparc/sparc64/dl-machine.h
11520 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11521
ff9f1c5f
DM
11522 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
11523 lazy binding.
48e2e132 11524 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
11525 undefined symbol errors.
11526
48e2e132 11527 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
11528 DT_NEEDED entries.
11529
e80d6f94
MM
115302012-04-05 Michael Matz <matz@suse.de>
11531
11532 [BZ #13592]
11533 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
11534
349fa79f
AJ
115352012-04-05 Andreas Jaeger <aj@suse.de>
11536
11537 [BZ #13908]
11538 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
11539 comment.
11540
f402708f
KK
115412012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11542
11543 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
11544 which ROUND is no valid rounding mode.
11545
2ecccfc9
KK
115462012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11547
11548 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
11549 read again.
11550 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
11551
8a53f50f
KK
115522012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11553
11554 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
11555 an exception using FPU order intentionally.
11556
115572012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11558
11559 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
11560 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
11561 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
11562 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
11563
d653abb7
SJ
115642012-04-05 Simon Josefsson <simon@josefsson.org>
11565
11566 [BZ #12340]
11567 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
11568 EINVAL when BUFLEN is too smal.
11569
c3b1bf7d
TS
115702012-04-05 Thomas Schwinge <thomas@codesourcery.com>
11571
11572 [BZ #13553]
11573 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
11574 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
11575
b1aa60f3
AJ
115762012-04-03 Andreas Jaeger <aj@suse.de>
11577
c3b1bf7d 11578 [BZ #13938]
67f60a26
AJ
11579 * manual/setjmp.texi (System V contexts): Fix sentence.
11580
b1aa60f3
AJ
11581 [BZ #13926]
11582 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
11583 New macro for this case.
11584 [!__GNUC__] (__bswap_64): New inline function for this case.
11585 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11586 * bits/byteswap.h: Likewise.
11587 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
11588 ull, guard with __GLIBC_HAVE_LONG_LONG.
11589
11590 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
11591 __GLIBC_HAVE_LONG_LONG.
11592
11593 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
11594 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
11595
39c59c35
TMQMF
115962012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11597
11598 [BZ #13691]
11599 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
11600 inptr and inend, rather than using last_ch.
11601
135ffda8
DM
116022012-04-02 David S. Miller <davem@davemloft.net>
11603
11604 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
11605 * stdio-common/printf-parse.h (read_int): Change return type to
11606 'int', return -1 on INT_MAX overflow.
11607 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
11608 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
11609 overflows INT_MAX. Check for overflow of in-format-string precision
11610 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
11611 SIZE_MAX not INT_MAX for integer overflow test.
11612 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
11613 skip the construct in the format string but do not record anything.
11614 * stdio-common/bug22.c: Adjust to test both width/prevision
11615 INT_MAX overflow as well as total length INT_MAX overflow. Check
11616 explicitly for proper errno values.
11617
228c019e
TS
116182012-04-02 Thomas Schwinge <thomas@codesourcery.com>
11619
302cadd3
TS
11620 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
11621 CHAR_MAX.
11622 * string/test-strcmp.c [! WIDE]: Likewise.
11623 * time/tst-mktime2.c: Likewise for INT_MAX.
11624 * string/test-string.h: #include <sys/param.h> for MIN.
11625
228c019e
TS
11626 * csu/init-first.c (__libc_init_first): Call __ctype_init.
11627 * sysdeps/i386/init-first.c (init): Likewise.
11628 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
11629 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
11630 * sysdeps/sh/init-first.c (init): Likewise.
11631
cfa633f5
UD
116322012-04-01 Ulrich Drepper <drepper@gmail.com>
11633
11634 * po/ru.po: Update from translation team.
d1635ef8 11635 * po/vi.po: Likewise.
cfa633f5 11636
6cd0a5ea
SP
116372012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11638
11639 * resolv/nss_dns/dns-host.c: Merge copyright years.
11640
4b43400f
LD
116412012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11642
11643 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
11644 Optimize memcpy with prefetch if
11645 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
11646 src, dst pointers have unequal 16 byte alignments.
11647
48c41d04
SP
116482012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11649
11650 [BZ #13928]
11651 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
11652 from a CNAME entry and return the minimum ttl for the query.
11653 (gaih_getanswer_slice): Likewise.
11654
b8dc394d
JL
116552012-03-30 Jeff Law <law@redhat.com>
11656
11657 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
11658 due to long keys.
11659 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
11660 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11661
2f5a5ed0
JL
11662 * resolv/nss_dns/dns-host.c: Update copyright year.
11663
1d39e359
UD
116642012-03-30 Ulrich Drepper <drepper@gmail.com>
11665
c030f70c 11666 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 11667 requests to save a system call. Fix check that all bytes are sent.
c030f70c 11668
1d39e359
UD
11669 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
11670 comments for sendmmsg.
11671
116722012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
11673
11674 [BZ #13691]
11675 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
11676 with only 1 character between 0x0041 and 0x01b0.
11677 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
11678 * wcsmbs/tst-mbsnrtowcs.c: New file.
11679
20fde227
DM
116802012-03-29 David S. Miller <davem@davemloft.net>
11681
11682 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
11683 small copies by hand.
11684
984a4237
JL
116852012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11686
11687 [BZ #13761]
11688 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
11689 _nss_compat_initgroups_dyn): Fall back to malloc/free
11690 for large group memberships.
11691
18c9d62b
DM
116922012-03-28 David S. Miller <davem@davemloft.net>
11693
88d85d4f
DM
11694 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
11695 that branches into memcpy.
11696 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
11697 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
11698 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11699 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
11700 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
11701 bits.
11702 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
11703 implementation too.
11704 * sysdeps/sparc/mempcpy.S: New file.
11705
e5aa83e1
DM
11706 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
11707 the IFUNC routine in the libc case.
11708 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11709
88570753
DM
11710 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
11711 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
11712 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
11713 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
11714 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
11715 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
11716 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
11717 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
11718
249d7567
DM
11719 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
11720 loop to 256 bytes instead of 64 bytes and fix test signedness.
11721
18c9d62b
DM
11722 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
11723 * sysdeps/sparc/sparc32/Makefile: rather than here...
11724 * sysdeps/sparc/sparc64/Makefile: and here.
11725
05f3d1f6
UD
117262012-03-28 Ulrich Drepper <drepper@gmail.com>
11727
11728 * malloc/mallocbug.c: Avoid warnings about unused variables.
11729
86ae07a8
JL
117302012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11731
11732 [BZ #13760]
11733 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
11734 in the right place. Discard and retry query if response is
11735 larger than input buffer size.
11736
41bf21a1
JM
117372012-03-28 Joseph Myers <joseph@codesourcery.com>
11738
d6270972
JM
11739 [BZ #369]
11740 [BZ #2678]
11741 [BZ #3866]
11742 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
11743 x for large integer exponent.
11744 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11745 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
11746 sign of result as needed afterwards.
11747 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11748 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
11749 result for underflowing pow the same as for overflow.
11750 (__kernel_standard_l): Handle powl overflow and underflow here
11751 rather than calling __kernel_standard.
11752 * math/libm-test.inc (pow_test): Add more tests.
11753
414fca03 11754 [BZ #3868]
41bf21a1
JM
11755 [BZ #13879]
11756 [BZ #13910]
11757 [BZ #13911]
11758 [BZ #13912]
11759 [BZ #13913]
11760 [BZ #13915]
11761 [BZ #13916]
11762 [BZ #13917]
11763 [BZ #13918]
11764 [BZ #13919]
11765 [BZ #13920]
11766 [BZ #13921]
11767 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
11768 * sysdeps/ieee754/k_standard.c: Include <float.h>.
11769 (__kernel_standard_l): New function.
11770 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
11771 __kernel_standard.
11772 * math/w_acosl.c (__acosl): Likewise.
11773 * math/w_asinl.c (__asinl): Likewise.
11774 * math/w_atan2l.c (__atan2l): Likewise.
11775 * math/w_atanhl.c (__atanhl): Likewise.
11776 * math/w_coshl.c (__coshl): Likewise.
11777 * math/w_exp10l.c (__exp10l): Likewise.
11778 * math/w_exp2l.c (__exp2l): Likewise.
11779 * math/w_fmodl.c (__fmodl): Likewise.
11780 * math/w_hypotl.c (__hypotl): Likewise.
11781 * math/w_j0l.c (__j0l, __y0l): Likewise.
11782 * math/w_j1l.c (__j1l, __y1l): Likewise.
11783 * math/w_jnl.c (__jnl, __ynl): Likewise.
11784 * math/w_lgammal.c (__lgammal): Likewise.
11785 * math/w_log10l.c (__log10l): Likewise.
11786 * math/w_log2l.c (__log2l): Likewise.
11787 * math/w_logl.c (__logl): Likewise.
11788 * math/w_powl.c (__powl): Likewise.
11789 * math/w_remainderl.c (__remainderl): Likewise.
11790 * math/w_scalbl.c (sysv_scalbl): Likewise.
11791 * math/w_sinhl.c (__sinhl): Likewise.
11792 * math/w_sqrtl.c (__sqrtl): Likewise.
11793 * math/w_tgammal.c (__tgammal): Likewise.
11794 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
11795 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
11796 * math/libm-test.inc (acos_test): Add more tests.
11797 (acosh_test): Likewise.
11798 (asin_test): Likewise.
11799 (atanh_test): Likewise.
11800 (exp_test): Likewise.
11801 (exp10_test): Likewise.
11802 (exp2_test): Likewise.
11803 (expm1_test): Likewise.
11804 (lgamma_test): Likewise.
11805 (log_test): Likewise.
11806 (log10_test): Likewise.
11807 (log1p_test): Likewise.
11808 (log2_test): Likewise.
11809 (pow_test): Do not allow some spurious overflow exceptions.
11810 (sqrt_test): Add more tests.
11811 (tgamma_test): Likewise.
11812 (y0_test): Likewise.
11813 (y1_test): Likewise.
11814 (yn_test): Likewise.
11815
dd62fda6
AB
118162012-03-27 Anton Blanchard <anton@samba.org>
11817
11818 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
11819 MAP_HUGETLB.
11820 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11821 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11822 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11823
1e3cdfda
AJ
118242012-03-27 David S. Miller <davem@davemloft.net>
11825
b855ab85
DM
11826 * conform/Makefile: Run run-conformtest.sh using $(BASH).
11827
1e3cdfda
AJ
11828 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
11829 have-as-vis3 check.
11830
118312012-03-27 Andreas Jaeger <aj@suse.de>
11832
11833 * sysdeps/x86_64/elf/configure.in: Moved to ...
11834 * sysdeps/x86_64/configure.in: ... here.
11835 * sysdeps/x86_64/elf/start.S: Moved to ...
11836 * sysdeps/x86_64/start.S: ... here.
11837 * sysdeps/x86_64/elf/configure: Delete.
11838
11839 * sysdeps/x86_64/configure.in: Merge contents from
11840 sysdeps/i386/configure.in (without i686 check).
11841
11842 * sysdeps/i386/elf/Versions: Merge into ...
11843 * sysdeps/i386/Versions: ... this.
11844 * sysdeps/i386/elf/Versions: Delete file.
11845 * sysdeps/i386/elf/start.S: Moved to ...
11846 * sysdeps/i386/start.S: ...here.
11847 * sysdeps/i386/elf/configure.in: Merge into...
11848 * sysdeps/i386/configure.in: ...here.
11849 * sysdeps/i386/elf/configure.in: Delete file.
11850 * sysdeps/i386/elf/configure: Delete file.
11851
11852 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
11853 * debug/backtracesyms.c: ... here.
11854 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
11855 * debug/backtracesymsfd.c: ... here.
11856 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
11857 * sysdeps/generic/ifunc-sel.h: ... here.
11858
11859 * sysdeps/unix/i386/start.c: Delete file.
11860 * sysdeps/unix/sparc/start.c: Delete file.
11861 * sysdeps/unix/start.c: Delete file.
11862
11863 * sysdeps/sh/elf/configure.in: Moved to ...
11864 * sysdeps/sh/configure.in: ... here.
11865 * sysdeps/sh/elf/start.S: Moved to ...
11866 * sysdeps/sh/start.S: ... here.
11867 * sysdeps/sh/elf/configure: Delete file.
11868
11869 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
11870 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
11871 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
11872 * sysdeps/powerpc/powerpc64/entry.h: ... here.
11873 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
11874 * sysdeps/powerpc/powerpc64/start.S: here.
11875 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
11876 * sysdeps/powerpc/powerpc64/Makefile: ... this.
11877 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
11878 * sysdeps/powerpc/powerpc64/configure.in: ... this.
11879 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
11880
11881 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
11882 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
11883 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
11884 * sysdeps/powerpc/powerpc32/start.S: ... here.
11885 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
11886 * sysdeps/powerpc/powerpc32/configure.in: ... this.
11887 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
11888
11889 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
11890 * sysdeps/powerpc/ifunc-sel.h: ... here.
11891 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
11892 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
11893
11894 * sysdeps/sparc/elf/configure.in: Moved to ...
11895 * sysdeps/sparc/configure.in: ... here.
11896 * sysdeps/sparc/elf/configure: Delete file.
11897 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
11898 * sysdeps/sparc/sparc32/start.S: ... here.
11899 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
11900 * sysdeps/sparc/sparc64/start.S: ... here.
11901 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
11902 * sysdeps/sparc/sparc32/Makefile: ... this.
11903 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
11904 * sysdeps/sparc/sparc64/Makefile: ... this.
11905
11906 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
11907 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
11908 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
11909 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
11910 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
11911 * sysdeps/s390/s390-32/setjmp.S: ... here.
11912 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
11913 * sysdeps/s390/s390-32/configure.in: ... here.
11914 * sysdeps/s390/s390-32/elf/configure: Delete file.
11915 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
11916 * sysdeps/s390/s390-32/start.S: ... here.
11917
11918 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
11919 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
11920 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
11921 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
11922 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
11923 * sysdeps/s390/s390-64/setjmp.S: ... here.
11924 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
11925 * sysdeps/s390/s390-64/configure.in: ... here
11926 * sysdeps/s390/s390-64/elf/configure: Delete file.
11927 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
11928 * sysdeps/s390/s390-64/start.S: ... here.
11929 * sysdeps/s390/s390-64/elf/configure: Delete.
11930
11931 * configure.in: Remove support for elf directories in sysdeps.
11932
11933 * configure: Regenerated.
11934 * sysdeps/i386/configure: Regenerated.
11935 * sysdeps/powerpc/powerpc32/configure: Regenerated.
11936 * sysdeps/powerpc/powerpc64/configure: Regenerated.
11937 * sysdeps/s390/s390-32/configure: Regenerated.
11938 * sysdeps/s390/s390-64/configure: Regenerated.
11939 * sysdeps/sh/configure: Regenerated.
11940 * sysdeps/sparc/configure: Regenerated.
11941 * sysdeps/x86_64/configure: Regenerated.
11942
a3f61311
AS
119432012-03-26 Andreas Schwab <schwab@linux-m68k.org>
11944
c876e002
AS
11945 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11946
a3f61311
AS
11947 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
11948 denormal result into account.
11949
ac4c54f0
RM
119502012-03-25 Roland McGrath <roland@hack.frob.com>
11951
11952 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
11953 Reported by Allan McRae <allan@archlinux.org>.
11954
6a9b9c02
JL
119552012-03-23 Jeff Law <law@redhat.com>
11956
11957 * nss/getnssent.c (__nss_getent): Fix typo.
11958
4c42a0c1
DM
119592012-03-23 David S. Miller <davem@davemloft.net>
11960
11961 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11962
1532c7ac
L
119632012-03-23 H.J. Lu <hongjiu.lu@intel.com>
11964
11965 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
11966 to pad to uint64_t for each field.
11967 (dl_tls_index): Replace unsigned long with uint64_t.
11968
3ff42526
PP
119692012-03-23 Daniel Jacobowitz <dmj@google.com>
11970 Paul Pluzhnikov <ppluzhnikov@google.com>
11971
11972 [BZ #6528]
11973 * grp/Makefile (otherlibs): Don't set it.
11974 * inet/Makefile (otherlibs): Likewise.
11975 * login/Makefile (otherlibs): Likewise.
11976 * nscd/Makefile (otherlibs): Likewise.
11977 * posix/Makefile (otherlibs): Likewise.
11978 * pwd/Makefile (otherlibs): Likewise.
11979 * rt/Makefile (otherlibs): Likewise.
11980 * sunrpc/Makefile (otherlibs): Likewise.
11981 * nss/Makefile (otherlibs): Likewise.
11982 Add libnss_files to routines and static-only-routines.
11983 ($(objpfx)getent): Remove rule.
11984 * resolv/Makefile: Add libnss_dns and libresolv to routines and
11985 static-only-routines.
11986
7c69cd14
JM
119872012-03-22 Joseph Myers <joseph@codesourcery.com>
11988
11989 [BZ #13892]
11990 * math/s_cexp.c: Include <float.h>.
11991 (__cexp): Handle exp result overflowing not necessarily
11992 overflowing both real and imaginary parts of result.
11993 * math/s_cexpf.c: Likewise.
11994 * math/s_cexpl.c: Likewise.
11995 * math/libm-test.inc (cexp_test): Add more tests.
11996 * sysdeps/i386/fpu/libm-test-ulps: Update.
11997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11998
81b035fe
L
119992012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12000
12001 * include/link.h (ELFW): New macro.
12002 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
12003 Replace ELF64_R_TYPE with ELFW(R_TYPE).
12004
1da7940c
L
120052012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12006
12007 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
12008 with uint64_t.
12009
b749dbb9
L
120102012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12011
12012 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
12013 declaration.
12014 (struct La_x32_retval): Likewise.
12015
2ff87f3f
L
120162012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12017
12018 * sysdeps/x86_64/preconfigure.in: New file.
12019 * sysdeps/x86_64/preconfigure: New generated file.
12020
c0df8e69
JM
120212012-03-22 Joseph Myers <joseph@codesourcery.com>
12022
48e44791
JM
12023 [BZ #13824]
12024 * math/e_exp2l.c: Include <float.h>.
12025 (__ieee754_exp2l): Handle overflow and underflow cases
12026 separately. Only pass fractional part of argument to
12027 __ieee754_expl.
12028 * math/libm-test.inc (exp2_test): Add more tests.
12029
c0df8e69
JM
12030 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
12031 negating x to take absolute value.
12032 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
12033 Likewise.
12034 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12035 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
12036 Likewise.
12037 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
12038 computing low part if x was negated.
12039 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12040
c8e43ba7
L
120412012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12042
12043 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
12044 la_x32_gnu_pltexit.
12045 (pltexit): Cast int_retval to ptrdiff_t.
12046 * elf/tst-auditmod3b.c: Likewise.
12047 * elf/tst-auditmod4b.c: Likewise.
12048 * elf/tst-auditmod5b.c: Likewise.
12049 * elf/tst-auditmod6b.c: Likewise.
12050 * elf/tst-auditmod6c.c: Likewise.
12051 * elf/tst-auditmod7b.c: Likewise.
12052
12053 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
12054 and x32_gnu_pltexit.
12055
12056 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
12057 __ELF_NATIVE_CLASS.
12058 (La_x32_regs): New macro.
12059 (La_x32_retval): Likewise.
12060 (la_x32_gnu_pltenter): New function prototype.
12061 (la_x32_gnu_pltexit): Likewise.
12062
7998fa78
AS
120632012-03-21 Andreas Schwab <schwab@linux-m68k.org>
12064
dcb33988
AS
12065 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
12066 exponent.
12067
233fc563
AS
12068 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12069
7998fa78
AS
12070 * configure.in (libc_cv_cc_nofma): Check for option to disable
12071 generation of FMA instructions.
12072 * configure: Regenerate.
12073 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
12074 * sysdeps/ieee754/dbl-64/Makefile: New file.
12075 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
12076 Remove brandred-fma4.
12077 (CFLAGS-brandred-fma4.c): Remove.
12078 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
12079 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
12080 define.
12081 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
12082 define.
12083
8e95c99a
L
120842012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12085
12086 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12087 LLONG_MAX != LONG_MAX.
12088 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12089 (_fitoa_word): Likewise.
12090 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
12091 LLONG_MAX != LONG_MAX.
12092 * stdio-common/_itowa.h: Include <_itoa.h>.
12093 (_itowa_word): Use _ITOA_WORD_TYPE on value.
12094 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
12095 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
12096 only if not defined.
12097 (_ITOA_WORD_TYPE): Likewise.
12098 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12099 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
12100
6f4db457
DM
121012012-03-21 David S. Miller <davem@davemloft.net>
12102
12103 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12104
7785fe5a
L
121052012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12106
12107 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
12108 of x86_64 when setting libc_cv_slibdir, libdir and
12109 libc_cv_localedir.
12110 * sysdeps/unix/sysv/linux/configure: Regenerated.
12111
4535cd55
JM
121122012-03-21 Joseph Myers <joseph@codesourcery.com>
12113
12114 * manual/lang.texi (Old Varargs): Remove section.
12115 (How Variadic): Update menu.
12116 (va_start): Do not mention varargs.h.
12117
17228132
TS
121182012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12119 Joseph Myers <joseph@codesourcery.com>
12120
12121 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
12122 link test.
12123 * configure: Regenerated.
12124
8149f976
TS
121252012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12126
05f3d1f6
UD
12127 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
12128 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
12129 conformtest.pl
8149f976 12130
1a4ac776
JM
121312012-03-21 Joseph Myers <joseph@codesourcery.com>
12132
be22ce65
JM
12133 * NOTES: Remove.
12134 * Makefile (files-for-dist): Remove NOTES.
12135 (NOTES): Remove rule.
12136 * README: Don't refer to NOTES.
12137 * manual/creature.texi: Don't include macros.texi.
12138 * manual/intro.texi (creature.texi): Remove comment referring to
12139 NOTES.
12140
40b601fb
JM
12141 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
12142 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
12143 * configure: Regenerated.
12144 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
12145 LIBC_TRY_CC_OPTION.
12146 (libc_cv_as_i686): Likewise.
12147 (libc_cv_cc_avx): Likewise.
12148 (libc_cv_cc_sse2avx): Likewise.
12149 (libc_cv_cc_fma4): Likewise.
12150 (libc_cv_cc_novzeroupper): Likewise.
12151 * sysdeps/i386/configure: Regenerated.
12152
1a4ac776
JM
12153 [BZ #13883]
12154 * sysdeps/i386/fpu/s_cexp.S: Remove.
12155 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12156 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12157 * math/libm-test.inc (cexp_test): Add more tests.
12158 * sysdeps/i386/fpu/libm-test-ulps: Update.
12159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12160
a458e7fe
AM
121612012-03-21 Allan McRae <allan@archlinux.org>
12162
12163 * timezone/Makefile: Do not install iso3166.tab and zone.tab
12164
0cb7efc5
JM
121652012-03-21 Joseph Myers <joseph@codesourcery.com>
12166
12167 [BZ #13871]
12168 * math/w_exp2.c: Do not include <float.h>.
12169 (o_threshold, u_threshold): Remove.
12170 (__exp2): Calculate result before checking finiteness and calling
12171 __kernel_standard.
12172 * math/w_exp2f.c: Likewise.
12173 * math/w_exp2l.c: Likewise.
12174 * math/libm-test.inc (exp2_test): Require overflow exception for
12175 1e6 input.
2460d3aa
JM
12176
12177 [BZ #3866]
12178 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
12179 range of signed 64-bit integers before using fistpll. Remove
12180 checks for whether integers fit in mantissa bits.
12181 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
12182 the range of signed 32-bit integers before using fistpl. Remove
12183 checks for whether integers fit in mantissa bits.
12184 * sysdeps/i386/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 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
12189 divide-by-zero is raised for zero to large negative powers.
12190 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
12191 (__ieee754_powl): Test for y outside the range of signed 64-bit
12192 integers before using fistpll. Reduce 64-bit values to 63-bit
12193 ones as needed.
12194 * math/libm-test.inc (pow_test): Add more tests.
12195
eb96ffb0
L
121962012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12197
12198 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
12199 <stdio-common/_itoa.h>.
12200 * debug/segfault.c: Likewise.
12201 * elf/dl-cache.c: Likewise.
12202 * elf/dl-minimal.c: Likewise.
12203 * elf/dl-misc.c: Likewise.
12204 * elf/dl-sysdep.c: Likewise.
12205 * elf/dl-version.c: Likewise.
12206 * elf/rtld.c: Likewise.
12207 * hurd/hurdsock.c: Likewise.
12208 * hurd/lookup-retry.c: Likewise.
12209 * malloc/malloc.c: Likewise.
12210 * malloc/mtrace.c: Likewise.
12211 * nscd/nscd_getgr_r.c: Likewise.
12212 * nscd/nscd_getpw_r.c: Likewise.
12213 * nscd/nscd_getserv_r.c: Likewise.
12214 * posix/getopt_init.c: Likewise.
12215 * posix/wordexp.c: Likewise.
12216 * stdio-common/_itoa.c: Likewise.
12217 * stdio-common/printf_fphex.c: Likewise.
12218 * stdio-common/vfprintf.c: Likewise.
12219 * string/_strerror.c: Likewise.
12220 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
12221 * sysdeps/i386/i686/hp-timing.h: Likewise.
12222 * sysdeps/mach/_strerror.c: Likewise.
12223 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
12224 * sysdeps/mach/hurd/sethostid.c: Likewise.
12225 * sysdeps/mach/hurd/xmknodat.c: Likewise.
12226 * sysdeps/mach/xpg-strerror.c: Likewise.
12227 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12228 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12229 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
12230 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
12231 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12232 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
12233 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
12234 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
12235 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
12236 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
12237 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
12238 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12239 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
12240 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12241 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12242 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
12243 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
12244 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
12245 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
12246 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12247 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
12248
12249 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
12250
12251 * stdio-common/_itoa.h: Moved to ...
12252 * sysdeps/generic/_itoa.h: Here.
12253
12254 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
12255
12256 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
12257 instead of "_itoa.h" and "_itowa.h".
12258 * stdio-common/vfprintf.: Likewise.
12259
d1af992d
L
122602012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12261
12262 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
12263 <bits/wordsize.h>.
12264 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
12265 (__signbit): Likwise.
12266 (llrintf): Likwise.
12267 (llrint): Likwise.
12268
114883e0
L
122692012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12270
12271 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
12272 __WORDSIZE != 64.
12273
c135cc1b
JM
122742012-03-20 Joseph Myers <joseph@codesourcery.com>
12275
12276 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
12277 OVERFLOW_EXCEPTION_OK.
12278 * math/libm-test.inc ("Philosophy"): Update comment about
12279 exception testing.
12280 (OVERFLOW_EXCEPTION): Define.
12281 (OVERFLOW_EXCEPTION_OK): Likewise.
12282 (INVALID_EXCEPTION_OK): Renumber.
12283 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12284 (IGNORE_ZERO_INF_SIGN): Likewise.
12285 (test_exceptions): Handle FE_OVERFLOW.
12286 (exp10_test): Expect overflow exceptions.
12287 (exp2_test): Likewise.
12288 (expm1_test): Likewise.
12289 (nextafter_test): Likewise.
12290 (pow_test): Likewise.
12291 (scalbn_test): Likewise.
12292 (scalbln_test): Likewise.
12293
95443d88
L
122942012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12295
12296 * sysdeps/x86_64/bits/atomic.h
12297 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
12298 64bit integer.
12299 (atomic_exchange_acq): Likewise.
12300 (__arch_exchange_and_add_body): Likewise.
12301 (__arch_add_body): Likewise.
12302 (atomic_add_negative): Likewise.
12303 (atomic_add_zero): Likewise.
12304
490df6c4
L
123052012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12306
c2722551 12307 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
12308 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
12309
5e52b189
L
123102012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12311
12312 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
12313 Check __x86_64__ instead of __WORDSIZE.
12314
a9879d4c
L
123152012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12316
12317 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
12318
5df98260
DM
123192012-03-19 David S. Miller <davem@davemloft.net>
12320
e1497744
DM
12321 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12322
5df98260
DM
12323 * sysdeps/sparc/fpu/fenv_private.h: New file.
12324 * sysdeps/sparc/fpu/math_private.h: Use it.
12325 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
12326 Remove.
12327 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
12328 (libc_feholdexcept_setroundl): Remove.
12329 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
12330 Remove.
12331 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
12332 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
12333
b4c35121
L
123342012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12335
12336 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
12337 int64_t instead of long int.
12338 (INSERT_WORDS64): Likwise.
12339
56965fd7
L
123402012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12341
12342 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
12343 _Unwind_GetCFA return to _Unwind_Ptr first.
12344
83d1aec8
JM
123452012-03-19 Joseph Myers <joseph@codesourcery.com>
12346
1897ad44
JM
12347 [BZ #13629]
12348 * math/s_clog.c: Include <float.h>.
12349 (__clog): Scale large or subnormal inputs.
12350 * math/s_clogf.c: Likewise.
12351 * math/s_clogl.c: Likewise.
12352 * math/s_clog10.c: Include <float.h>.
12353 (M_LOG10_2): Define.
12354 (__clog10): Scale large or subnormal inputs.
12355 * math/s_clog10f.c: Likewise.
12356 * math/s_clog10l.c: Likewise.
12357 * math/libm-test.inc (clog_test): Add more tests.
12358 (clog10_test): Likewise.
12359 * sysdeps/i386/fpu/libm-test-ulps: Update.
12360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12361
7726d6a9
JM
12362 [BZ #11451]
12363 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
12364 x and y.
12365 * math/libm-test.inc (atan2_test): Add another test.
12366
83d1aec8
JM
12367 * Makerules (common-objdir-compile): Remove.
12368 * sysdeps/unix/Makefile (config-generated): Do not add
12369 $(unix-generated) to variable.
12370 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
12371 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
12372 Remove rule.
12373 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
12374 Likewise.
12375 [generic bits/local_lim.h] (before-compile): Do not append to
12376 variable.
12377 [generic bits/local_lim.h] (common-generated): Likewise.
12378 [generic sys/param.h] (before-compile): Do not append to variable.
12379 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
12380 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
12381 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
12382 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
12383 include.
12384 [generic sys/param.h] (sys/param.h-includes): Remove variable.
12385 [generic sys/param.h] (sys/param.h-includes): Remove rule.
12386 [generic sys/param.h] ($(addprefix
12387 $(common-objpfx),$(sys/param.h-includes))): Likewise.
12388 [generic sys/param.h] (common-generated): Do not append to
12389 variable.
12390 [generic sys/param.h] (sysdep_headers): Likewise.
12391 [generic bits/errno.h] (before-compile): Do not append to
12392 variable.
12393 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
12394 rule.
12395 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
12396 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
12397 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
12398 [generic bits/errno.h] (common-generated): Do not append to
12399 variable.
12400 [generic bits/ioctls.h] (before-compile): Do not append to
12401 variable.
12402 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
12403 rule.
12404 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
12405 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
12406 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
12407 rule.
12408 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
12409 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
12410 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
12411 [generic bits/ioctls.h] (common-generated): Do not append to
12412 variable.
12413 [generic sys/syscall.h] (syscall.h): Remove variable.
12414 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
12415 rule.
12416 [generic sys/syscall.h] (before-compile): Do not append to
12417 variable.
12418 [generic sys/syscall.h] (common-generated): Likewise.
12419 * sysdeps/unix/errnos-tmpl.c: Remove file.
12420 * sysdeps/unix/errnos.awk: Likewise.
12421 * sysdeps/unix/ioctls-tmpl.c: Likewise.
12422 * sysdeps/unix/ioctls.awk: Likewise.
12423 * sysdeps/unix/mk-local_lim.c: Likewise.
12424 * sysdeps/unix/snarf-ioctls: Likewise.
12425
4851a949
RH
124262012-03-19 Richard Henderson <rth@twiddle.net>
12427
bd37f2ee
RH
12428 * sysdeps/i386/fpu/fenv_private.h: New file.
12429 * sysdeps/i386/fpu/math_private.h: Use it.
12430 (math_opt_barrier, math_force_eval): Remove.
12431 (libc_feholdexcept_setround_53bit): Remove.
12432 (libc_feupdateenv_53bit): Remove.
12433 * sysdeps/x86_64/fpu/math_private.h: Likewise.
12434 (math_opt_barrier, math_force_eval): Remove.
12435 (libc_feholdexcept): Remove.
12436 (libc_feholdexcept_setround): Remove.
12437 (libc_fetestexcept, libc_fesetenv): Remove.
12438 (libc_feupdateenv_test): Remove.
12439 (libc_feupdateenv, libc_feholdsetround): Remove.
12440 (libc_feresetround): Remove.
12441
d0adc922
RH
12442 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
12443 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
12444
0fe0f1f8
RH
12445 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
12446 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
12447 (libc_feupdateenv_testl): New.
12448 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
12449 (libc_feupdateenv_testf): New.
12450 (libc_feupdateenv): Use libc_feupdateenv_test.
12451 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
12452 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
12453
eb92c487
RH
12454 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
12455 (libc_feholdsetroundf, libc_feholdsetroundl): New.
12456 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
12457 (libc_feresetround_noex): New.
12458 (libc_feresetround_noexf): New.
12459 (libc_feresetround_noexl): New.
12460 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
12461 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
12462 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
12463 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
12464 SET_RESTORE_ROUND.
12465 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12466 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
12467 (__cos): Likewise.
12468 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
12469 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
12470 SET_RESTORE_ROUND_NOEX.
12471 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
12472 SET_RESTORE_ROUND_NOEXF.
12473 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
12474 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
12475 (libc_feholdsetroundf): New.
12476 (libc_feresetround, libc_feresetroundf): New.
12477
7d2e8012
RH
12478 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
12479 (libc_feholdexcept_setround_53bit): Convert from macro to function.
12480 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
12481
b4dabbb4
RH
12482 * sysdeps/generic/math_private.h: Include <fenv.h>.
12483 (default_libc_feholdexcept): New.
12484 (default_libc_feholdexcept_setround): New.
12485 (default_libc_fesetenv, default_libc_feupdateenv): New.
12486 (libc_feholdexcept): Only define if undefined.
12487 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
12488 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
12489 (libc_feholdexcept_setroundl): Likewise.
12490 (libc_feholdexcept_setround_53bit): Likewise.
12491 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
12492 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
12493 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
12494 (libc_feupdateenv_53bit): Likewise.
12495 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
12496 (libc_feholdexcept): Convert from macro to inline function.
12497 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
12498 (libc_fesetenv, libc_feupdateenv): Likewise.
12499
4851a949
RH
12500 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
12501 not previously defined.
12502 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
12503 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
12504 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
12505 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
12506 * sysdeps/ieee754/flt-32/math_private.h: New file.
12507 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
12508 math_private.h below SET_FLOAT_WORD.
12509 (__isnan, __isinf_ns, __finite): Remove.
12510 (__isnanf, __isinf_nsf, __finitef): Remove.
12511
e79d442e
AS
125122012-03-18 Andreas Schwab <schwab@linux-m68k.org>
12513
12514 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12515
90b80344
DM
125162012-03-17 David S. Miller <davem@davemloft.net>
12517
12518 [BZ #6471]
12519 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
12520 for 2.16.
12521
edc21804
DM
125222012-03-16 David S. Miller <davem@davemloft.net>
12523
77e927af
DM
12524 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
12525 warnings.
12526
374976dd
DM
12527 [BZ #6471]
12528 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
12529 properly.
12530 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
12531 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
12532 sysdep_routines when subdir is sysvipc.
12533 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
12534 __getshmlba helper.
12535
edc21804
DM
12536 * sysdeps/sparc/fpu/libm-test/ulps: Update.
12537
473c3ef3
L
125382012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12539
12540 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
12541 [__LP64__].
12542
eb0f39b6
L
125432012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12544
12545 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
12546 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
12547 (__lround): Renamed to ...
12548 (__llround): This. Replace long int with long long int.
12549 Define lround functions as aliases of llround functions.
12550 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
12551
6b6cd74b
L
125522012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12553
12554 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
12555 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
12556 adresses to uintptr_t. Replace "long int" and "unsigned long
12557 int" with "greg_t" on va_arg.
12558
f1a77b01
L
125592012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12560
12561 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
12562 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
12563
12564 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
12565 Move e_machine check before EI_CLASS check. Handle x32
12566 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
12567 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
12568 SKIP_EM_IA_64 and include
12569 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
12570
12571 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
12572 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
12573 (add_system_dir): New macro.
12574
12575 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
12576 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
12577
11b90b9f
JM
125782012-03-16 Joseph Myers <joseph@codesourcery.com>
12579
c36e1d23
JM
12580 [BZ #2551]
12581 [BZ #2552]
12582 [BZ #2553]
12583 [BZ #2554]
12584 [BZ #2562]
12585 [BZ #2563]
12586 [BZ #2565]
12587 [BZ #2566]
12588 [BZ #2576]
12589 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
12590 (y0): Likewise.
12591 * math/w_j0f.c (j0f): Likewise.
12592 (y0f): Likewise.
12593 * math/w_j0l.c (__j0l): Likewise.
12594 (__y0l): Likewise.
12595 * math/w_j1.c (j1): Likewise.
12596 (y1): Likewise.
12597 * math/w_j1f.c (j1f): Likewise.
12598 (y1f): Likewise.
12599 * math/w_j1l.c (__j1l): Likewise.
12600 (__y1l): Likewise.
12601 * math/w_jn.c (jn): Likewise.
12602 (yn): Likewise.
12603 * math/w_jnf.c (jnf): Likewise.
12604 (ynf): Likewise.
12605 * math/w_jnl.c (__jnl): Likewise.
12606 (__ynl): Likewise.
12607 * math/libm-test.inc (j0_test): Add more tests.
12608 (j1_test): Likewise.
12609 (jn_test): Likewise. Add trailing semicolon to existing test.
12610 (y0_test): Likewise.
12611 (y1_test): Likewise.
12612 * sysdeps/i386/fpu/libm-test-ulps: Update.
12613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12614
11b90b9f
JM
12615 [BZ #13851]
12616 [BZ #13854]
12617 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
12618 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
12619 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
12620 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
12621 (__tanl): Set errno for infinite argument.
12622 * sysdeps/i386/fpu/mptan.c: Remove.
12623 * sysdeps/i386/fpu/s_tan.S: Likewise.
12624 * sysdeps/i386/fpu/s_tanl.S: Likewise.
12625 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
12626 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
12627 * math/libm-test.inc (tan_test): Add more tests and enable more
12628 tests for double and long double.
12629 * sysdeps/i386/fpu/libm-test-ulps: Update.
12630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12631
6a1bd2a1
JK
126322012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12633
12634 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
12635 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
12636
10a803e0
RM
126372012-03-16 Roland McGrath <roland@hack.frob.com>
12638
12639 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
12640 * configure.in: Use it for both main tree and add-ons.
12641 * configure: Regenerated.
12642
f196c7f7
L
126432012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12644
12645 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
12646
8848d99d
JM
126472012-03-16 Joseph Myers <joseph@codesourcery.com>
12648
96cbe7f4
JM
12649 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
12650 in comment.
12651
8848d99d
JM
12652 [BZ #13851]
12653 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
12654 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
12655 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
12656 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
12657 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
12658 infinite argument.
12659 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
12660 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
12661 != 0 for prec == 2.
12662 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
12663 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
12664 * sysdeps/i386/fpu/s_cosl.S: Likewise.
12665 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
12666 * sysdeps/i386/fpu/s_sinl.S: Likewise.
12667 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
12668 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
12669 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
12670 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
12671 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
12672 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
12673 * math/libm-test.inc (cos_test): Add more tests and enable more
12674 tests for long double.
12675 (sin_test): Likewise.
12676 (sincos_test): Likewise.
12677 * sysdeps/i386/fpu/libm-test-ulps: Update.
12678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12679
dd7f4703
DM
126802012-03-16 David S. Miller <davem@davemloft.net>
12681
12682 * sysdeps/sparc/fpu/math_private.h: New file.
12683
006f1daa
DM
126842012-03-15 David S. Miller <davem@davemloft.net>
12685
c0c83bc8
DM
12686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
12687 file.
e6a62e18 12688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
12689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
12690 file.
e6a62e18
DM
12691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
12692 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
12693 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
12694 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
12695 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
12696 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
12697 sysdep routines.
12698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
12699
88cb87d9
DM
12700 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
12701 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
12702
006f1daa 12703 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
12704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
12705 sparc-ifunc.h
006f1daa 12706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
12707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
12708 Likewise.
12709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
12710 Likewise.
006f1daa
DM
12711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
12712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
12713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
12714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
12715 Likewise.
006f1daa
DM
12716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
12717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
12718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
12719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
12720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
12721 Likewise.
12722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
12723 Likewise.
006f1daa
DM
12724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
12725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
12726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
12727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
12728 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12729 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12730 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
12731 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
12732 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12733 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12734 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
12735 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
12736 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
12737 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
12738 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
12739 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
12740 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
12741 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
12742 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
12743 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
12744 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
12745 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
12746 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
12747 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
12748
11e0098e
AS
127492012-03-15 Andreas Schwab <schwab@linux-m68k.org>
12750
12751 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
12752 scaling.
12753 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12754
e85b09d0
AJ
127552012-03-15 Andreas Jaeger <aj@suse.de>
12756
12757 [BZ #13852]
12758 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
12759 ieee754/flt-32 implementation for sin, cos and sincos.
12760 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
12761 * sysdeps/i386/fpu/s_cosf.S: Likewise.
12762 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
12763 * sysdeps/i386/fpu/s_sinf.S: Likewise.
12764 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
12765 ieee754/flt-32 implementation for tan.
12766
12767 * math/libm-test.inc (cos_test): Enable some large input tests for
12768 float as well
12769 (sin_test): Likewise.
12770 (sincos_test): Likewise.
12771 (tan_test): Add tests for large input.
12772
12773 * sysdeps/i386/fpu/libm-test-ulps: Update.
12774
81c64153
AJ
127752012-03-15 Andreas Jaeger <aj@suse.de>
12776
12777 [BZ #13658]
12778 * math/libm-test.inc (cos_test): Add more test cases.
12779 (sin_test): Likewise.
12780 (sincos_test): Likewise.
12781
7bbfa5c6
AJ
127822012-03-15 Andreas Jaeger <aj@suse.de>
12783
12784 [BZ #13837]
12785 * math/libm-test.inc (cos_test): Add a test case for large input
12786 value.
12787 (sin_test): Likewise.
12788 (sincos_test): Likewise.
12789
127902012-03-15 Andreas Jaeger <aj@suse.de>,
12791 Joseph Myers <joseph@codesourcery.com>
12792
12793 [BZ #13658]
0671f479 12794 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
12795 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
12796 * sysdeps/i386/fpu/branred.c: Likewise.
12797 * sysdeps/i386/fpu/dosincos.c: Likewise.
12798 * sysdeps/i386/fpu/mpa.c: Likewise.
12799 * sysdeps/i386/fpu/s_cos.S: Likewise.
12800 * sysdeps/i386/fpu/s_sin.S: Likewise.
12801 * sysdeps/i386/fpu/s_sincos.S: Likewise.
12802 * sysdeps/i386/fpu/sincos32.c: Likewise.
12803
12804 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
12805 Define.
12806 (libc_feupdateenv_53bit): Define.
12807 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
12808 Define.
12809 (libc_feupdateenv_53bit): Define.
12810
12811 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
12812 53 bit (without extend i386 double precision).
12813
12814 * math/libm-test.inc (sincos_test): Add tests for large input.
12815 (sin): Likewise.
12816 (cos): Likewise.
12817
12818 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12819
9cad04ea
AS
128202012-03-15 Andreas Schwab <schwab@linux-m68k.org>
12821
12822 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12823
f7062b9a
DM
128242012-03-15 David S. Miller <davem@davemloft.net>
12825
12826 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
12827 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
12828 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
12829 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
12830 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
12831 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
12832 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
12833 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
12834 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
12835 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
12836 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
12837 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
12838 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
12839 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
12840 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
12841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
12842 file.
f7062b9a 12843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
12844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
12845 file.
f7062b9a 12846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
12847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
12848 file.
f7062b9a 12849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
12850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
12851 file.
f7062b9a
DM
12852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
12853 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
12854 fmin/fmax sysdep routines.
12855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
12856
7bd951ff
DM
128572012-03-14 David S. Miller <davem@davemloft.net>
12858
559398ab
DM
12859 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
12860 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
12861 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
12862 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
12863 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
12864 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
12865 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
12866 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
12867 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
12868 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
12869 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
12870 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
12871 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
12872 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
12873 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
12874 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
12875 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
12876 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
12877 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
12878 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
12879 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
12880 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
12881 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
12882 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
12883 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
12884 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
12885 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
12886 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
12887 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
12888 routines.
12889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
12890 file.
559398ab 12891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
12892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
12893 file.
559398ab 12894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
12895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
12896 file.
559398ab 12897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
12898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
12899 file.
559398ab 12900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
12901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
12902 file.
559398ab 12903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
12904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
12905 file.
12906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
12907 file.
12908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
12909 file.
12910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
12911 file.
12912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
12913 New file.
12914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
12915 file.
12916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
12917 file.
559398ab 12918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
12919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
12920 file.
559398ab 12921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
12922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
12923 file.
559398ab 12924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
12925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
12926 file.
559398ab 12927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
12928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
12929 VIS3 routines.
559398ab
DM
12930
12931 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
12932 New file.
12933
5a1c1e32
DM
12934 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12935
eae47a36
DM
12936 * sysdeps/sparc/configure.in: New file.
12937 * sysdeps/sparc/configure: Generate.
12938 * configure.in (libc_cv_sparc_as_vis3): Substitute.
12939 * configure: Regenerate.
12940 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
12941 * config.make.in (have-as-vis3): New.
12942 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
12943 available use -Av9d instead of -Av9a.
12944 * sysdeps/sparc/sparc64/Makefile: Likewise.
12945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
12946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
12947 New file.
12948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
12949 file.
12950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
12951 New file.
12952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
12953 file.
eae47a36
DM
12954 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
12955 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
12956 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
12957 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
12958 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
12959
c0c83bc8
DM
12960 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
12961 fzeros/fnegs to load 0x80000000 into a float register instead of
12962 using the stack.
7bd951ff
DM
12963 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
12964
bd951ccb
JM
129652012-03-14 Joseph Myers <joseph@codesourcery.com>
12966
12967 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12968 bits/syscall.h.
12969 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
12970 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
12971 ($(inst_includedir)/bits/syscall.h): Remove rule.
12972 ($(objpfx)bits/syscall.d): Include instead of
12973 $(objpfx)syscall-list.d.
12974 (generated): Change syscall-list.h and syscall-list.d to
12975 bits/syscall.h and bits/syscall.d.
12976
bb4e6db2
RM
129772012-03-14 Roland McGrath <roland@hack.frob.com>
12978
12979 [BZ #13846]
12980 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
12981
aa4a2ae1
JM
129822012-03-14 Joseph Myers <joseph@codesourcery.com>
12983
e456826d
JM
12984 [BZ #13841]
12985 * math/s_csqrt.c: Include <float.h>.
12986 (__csqrt): Scale large or subnormal inputs.
12987 * math/s_csqrtf.c: Likewise.
12988 * math/s_csqrtl.c: Likewise.
12989 * math/libm-test.inc (csqrt_test): Add more tests.
12990 * sysdeps/i386/fpu/libm-test-ulps: Update.
12991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12992
aa4a2ae1
JM
12993 [BZ #13840]
12994 * math/libm-test.inc (hypot_test): Add more tests.
12995
7c10fd35
DM
129962012-03-13 David S. Miller <davem@davemloft.net>
12997
12998 [BZ #13840]
12999 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
13000 double-precision for the calculation instead of scaling.
13001
f453b98b
JM
130022012-03-13 Joseph Myers <joseph@codesourcery.com>
13003
13004 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
13005 manipulate bits before adding and subtracting TWO52[sx].
13006 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
13007 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
13008 Likewise.
13009 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
13010
09a3453f
DM
130112012-03-13 David S. Miller <davem@davemloft.net>
13012
8e59da90
DM
13013 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
13014 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
13015 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
13016 rtld-global-offsets.h
13017 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13018
2a8ab7f2
DM
13019 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
13020 large parameters.
13021
10f62770
DM
13022 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
13023
5f0bdb18
DM
13024 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
13025 'err' in the ifdef scope in which it is actually used.
13026
09a3453f
DM
13027 * nss/nss_db/db-init.c: Include string.h
13028
b4b2eb5e
DM
130292012-03-12 David S. Miller <davem@davemloft.net>
13030
98bb2f1c
DM
13031 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13032 masking out of the most significant byte of random value used.
13033 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13034 Fix coding style in previous change.
13035
b4b2eb5e
DM
13036 * sysdeps/unix/sysv/linux/kernel-features.h
13037 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
13038 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
13039 expression.
13040 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
13041 later.
13042
6e226b09
DM
130432012-03-11 David S. Miller <davem@davemloft.net>
13044
a1bcbd40
DM
13045 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13046 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
13047 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
13048 for 'resultvar' otherwise things get truncated on 64-bit.
13049
cb9d6174
DM
13050 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13051 Fix masking out of the most significant byte of random value used.
13052
6e226b09
DM
13053 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13054
058c132d
AS
130552012-03-10 Andreas Schwab <schwab@linux-m68k.org>
13056
13057 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13058
2d2cd515
DM
130592012-03-09 David S. Miller <davem@davemloft.net>
13060
13061 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
13062 variables with appropriate CPP guards.
13063 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
13064 frame pointer, not the stack pointer. Correct layout comments. Fix test
13065 on resulting framesize and the management of the outregs buffer for pltexit.
13066 Preserve floating point return values across _dl_call_pltexit call.
13067 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
13068 framesize and the management of the outregs buffer for pltexit.
13069 Preserve floating point return values across _dl_call_pltexit
13070 call.
13071 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
13072 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
13073 (print_exit): Fix format string for return register value.
13074
9a07f9d0
JM
130752012-03-10 Joseph Myers <joseph@codesourcery.com>
13076
13077 * sunrpc/Makefile (others): Add rpcgen.
13078 ($(objpfx)rpcgen): Remove special build rule and dependency on
13079 libc.
13080 * sunrpc/rpcgen.c: New file.
13081
547b5e30
PE
130822012-03-09 Paul Eggert <eggert@cs.ucla.edu>
13083
c524201a
PE
13084 [BZ #13673]
13085 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
13086 * stdio-common/bug-vfprintf-nargs.c: Likewise.
13087 * sysdeps/i386/crti.S: Likewise.
13088 * sysdeps/i386/crtn.S: Likewise.
13089 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
13090 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
13091 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
13092 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
13093 * sysdeps/sh/crti.S: Likewise.
13094 * sysdeps/sh/crtn.S: Likewise.
13095 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13096
7b6235f2
PE
13097 [BZ #13673]
13098 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
13099 with URL.
13100 * locale/programs/locfile-kw.gperf: Likewise.
13101 * locale/programs/charmap-kw.h: Regenerated.
13102 * locale/programs/locfile-kw.h: Likewise.
13103
547b5e30
PE
13104 [BZ #13673]
13105 * intl/plural.y: Replace FSF snail mail address with URL.
13106 * intl/plural.c: Regenerated.
13107
5f0a5dae
RH
131082012-03-09 Richard Henderson <rth@twiddle.net>
13109
13110 * include/math_private.h: Remove file.
13111 * math/math_private.h: Move file ...
13112 * sysdeps/generic/math_private.h: ... here.
13113
b8c03620
RH
13114 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
13115 * sysdeps/powerpc/fpu/math_private.h: Likewise.
13116 * sysdeps/x86_64/fpu/math_private.h: Likewise.
13117
4e234f5d 13118 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
13119 and <math_private.h>.
13120 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13121 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13122 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13123 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13124 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13125 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
13126 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13127 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13128 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13129 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13130 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13131 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13132 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13133 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13134 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13135 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13136 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13137 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13138 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13139 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13140 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13141 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13142 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13143 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13144 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13145 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13146 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13147 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13148 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13149 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13150 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13151 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13152 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13153 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13154 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13155 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13156 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13157 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13158 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13159 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13160 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
13161 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13162 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13163 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13164 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13165 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13166 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13167 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13168 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13169 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13170 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13171 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13172 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13173 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13174 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13175 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13176 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13177 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13178 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13179 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
13180 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13181 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13182 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13183 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13184 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
13185 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13186 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13187 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13188 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
13189 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
13190 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13191 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13192 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13193 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13194 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
13195 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
13196 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
13197 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13198 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
13199 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13200 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13201 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13202 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13203 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13204 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13205 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
13206 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
13207 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
13208 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13209 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13210 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13211 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13212 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13213 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13214 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13215 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13216 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13217 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13218 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13219 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13220 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13221 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13222 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13223 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13224 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13225 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13226 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13227 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13228 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13229 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13230 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13231 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13232 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13233 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13234 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
13235 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13236 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13237 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13238 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13239 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13240 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13241 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13242 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13243 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
13244 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13245 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13246 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13247 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
13248 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13249 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13250 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13251 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13252 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13253 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13254 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13255 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13256 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13257 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13258 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
13259 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13260 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13261 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13262 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13263 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
13264 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
13265 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13266 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13267 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13268 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
13269 * sysdeps/ieee754/k_standard.c: Likewise.
13270 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13271 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13272 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13273 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13274 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13275 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13276 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13277 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13278 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13279 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13280 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13281 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13282 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13283 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13284 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13285 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13286 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13287 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13288 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13289 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
13290 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13291 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13292 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13293 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13294 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13295 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13296 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13297 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13298 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13299 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13300 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13301 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13302 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13303 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13304 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13305 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13306 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13307 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
13308 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
13309 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13310 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13311 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13312 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13313 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13314 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13315 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13316 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13317 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13318 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13319 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13320 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13321 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13322 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13323 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
13324 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13325 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13326 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
13327 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
13328 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13329 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13330 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13331 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13332 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13333 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13334 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13335 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13336 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13337 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13338 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13339 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13340 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13341 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13342 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13343 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13344 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13345 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13346 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
13347 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13348 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13349 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13350 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13351 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13352 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13353 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13354 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
13355 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13356 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13357 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
13358 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13359 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13360 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
13361 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13362 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
13363 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13364 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13365 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13366 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
13367 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
13368 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
13369 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
13370 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13371 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13372 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13373 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13374 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
13375 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13376 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13377 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
13378 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
13379 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13380 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13381 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13382 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13383 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13384 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13385 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13386 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13387 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13388 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13389 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13390 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13391 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13392 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13393 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13394 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13395 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
13396 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13397 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13398 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13399 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13400 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13401 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13402 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13403 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13404 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13405 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13406 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
13407 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13408 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13409 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13410 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13411 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13412 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13413 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13414 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13415 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13416 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13417 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13418 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13419 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
13420 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13421 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13422 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13423 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13424 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
13425 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
13426 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13427 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13428 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13429 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13430 * sysdeps/ieee754/s_lib_version.c: Likewise.
13431 * sysdeps/ieee754/s_matherr.c: Likewise.
13432 * sysdeps/ieee754/s_signgam.c: Likewise.
13433 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13434 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13435 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
13436 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
13437 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
13438 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13439 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
13440 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
13441 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
13442 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
13443 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13444 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
13445 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13446 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13447 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
13448 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13449 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13450 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13451 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13452 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13453 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 13454
1991fa03
JM
134552012-03-09 Joseph Myers <joseph@codesourcery.com>
13456
13457 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
13458 * sunrpc/rpc_main.c: Likewise.
13459 * sunrpc/rpc_svcout.c: Likewise.
13460
60d6f5a6
DM
134612012-03-09 David S. Miller <davem@davemloft.net>
13462
13463 * include/math_private.h: New file.
13464
4962050e
JM
134652012-03-09 Joseph Myers <joseph@codesourcery.com>
13466
02a6f887
JM
13467 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
13468 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
13469 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
13470 from <bits/socket_type.h>.
13471 (enum __socket_type): Don't define here.
13472 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
13473 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13474 bits/socket_type.h.
13475
c6e013c1
JM
13476 [BZ #13566]
13477 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
13478 checking __USE_GNU.
13479
4962050e
JM
13480 * Makerules ($(inst_includedir)/%.h): New rule.
13481 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
13482 (install-others): Remove variable setting.
13483 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
13484
38842f45
RH
134852012-03-08 Richard Henderson <rth@twiddle.net>
13486
67bb6da6
RH
13487 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
13488 from macro to inline function; merge with the
13489 !__LIBC_INTERNAL_MATH_INLINES version.
13490 (__ieee754_sqrtf): Likewise.
13491
15194b4b
RH
13492 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
13493 to inline function.
13494 (__rintf, __floor, __floorf): Likewise.
13495
64e21ede
RH
13496 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
13497 macro to inline function.
13498 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
13499
38842f45
RH
13500 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
13501 not <math/math_private.h>.
13502
c64bf5fe
DM
135032012-03-08 David S. Miller <davem@davemloft.net>
13504
13505 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
13506 copyright year.
13507 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
13508
82d86f28
TS
135092012-03-08 Thomas Schwinge <thomas@codesourcery.com>
13510
13511 * resolv/gai_misc.c (handle_requests): Fix struct timespec
13512 normalization.
13513 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
13514 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
13515
aea5d727
UD
135162012-03-08 Ulrich Drepper <drepper@gmail.com>
13517
13518 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
13519 be defined individually, they must be defined as a block. Define
13520 S for printing a string instead of hidint the different by using a
13521 macro for adding the 'l'.
13522 * stdio-common/tst-fphex-wide.c: Adjust.
13523
70bca0a3
MP
135242012-03-07 Marek Polacek <polacek@redhat.com>
13525
13526 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
13527
65b81130
MP
135282012-03-08 Marek Polacek <polacek@redhat.com>
13529
13530 [BZ #13806]
13531 * stdio-common/Makefile (tests): Add tst-fphex-wide.
13532 * stdio-common/tst-fphex.c: Define a few macros to make the
13533 test reusable. Use them.
13534 * stdio-common/tst-fphex-wide.c: New file.
13535
07037eeb
JM
135362012-03-08 Joseph Myers <joseph@codesourcery.com>
13537
a7a93d50
JM
13538 [BZ #6911]
13539 * manual/macros.texi (gnusystems): New macro.
13540 (nongnusystems): Likewise.
13541 (gnulinuxhurdsystems): Likewise.
13542 (gnuhurdsystems): Likewise..
13543 (gnulinuxsystems): Likewise.
13544 * manual/charset.texi: Use new macros or @theglibc{} to refer to
13545 variants of the GNU system, not "GNU system".
13546 * manual/conf.texi: Likewise.
13547 * manual/errno.texi: Likewise. Update example of errno macro
13548 expansion.
13549 * manual/filesys.texi: Likewise.
13550 (getumask): Document as specific to GNU/Hurd.
13551 * manual/install.texi: Likewise. Reword some references to
13552 GNU/Linux.
13553 * manual/intro.texi: Likewise.
13554 * manual/io.texi: Likewise.
13555 (File Name Portability): Detail which constraints are inapplicable
13556 to all GNU systems and which are only inapplicable to GNU/Hurd.
13557 * manual/job.texi: Likewise.
13558 * manual/llio.texi: Likewise.
13559 (O_NOCTTY): Document as present on GNU/Linux.
13560 * manual/maint.texi: Likewise.
13561 * manual/memory.texi: Likewise.
13562 * manual/pattern.texi: Likewise.
13563 * manual/pipe.texi: Likewise.
13564 * manual/process.texi: Likewise.
13565 * manual/resource.texi: Likewise.
13566 (RUSAGE_CHILDREN): Remove statement about specifying a particular
13567 child on GNU/Hurd.
13568 * manual/setjmp.texi: Likewise.
13569 * manual/signal.texi: Likewise.
13570 * manual/startup.texi: Likewise.
13571 * manual/stdio.texi: Likewise.
13572 * manual/terminal.texi: Likewise.
13573 (ONLCR): Document as POSIX.
13574 (OXTABS): Document availability on GNU/Linux as XTABS.
13575 (ONOEOT): Document availability separately from other bits.
13576 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
13577 * manual/time.texi: Likewise.
13578 * manual/users.texi: Likewise.
13579 * INSTALL: Regenerated.
13580 * sysdeps/gnu/errlist.c: Regenerated.
13581
07037eeb
JM
13582 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
13583 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
13584 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
13585 puts.
13586 * configure: Regenerated.
13587
d1d3431a
JM
135882012-03-07 Joseph Myers <joseph@codesourcery.com>
13589
af6a1e37
JM
13590 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
13591 default includes instead of AC_HEADER_CHECK.
13592 * sysdeps/i386/configure: Regenerated.
13593
d1d3431a
JM
13594 [BZ #10716]
13595 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
13596 * math/s_cacoshf.c (__cacoshf): Likewise.
13597 * math/s_cacoshl.c (__cacoshl): Likewise.
13598 * math/s_casinh.c (__casinh): Set signs of result from argument.
13599 * math/s_casinhf.c (__casinhf): Likewise.
13600 * math/s_casinhl.c (__casinhl): Likewise.
13601 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
13602 (casinh_test): Add more tests.
13603 * sysdeps/i386/fpu/libm-test-ulps: Update.
13604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13605
482ff4da
UD
136062012-03-07 Ulrich Drepper <drepper@gmail.com>
13607
872fda05
UD
13608 * po/zh_TW.po: Update from translation team.
13609
a4300c7a
UD
13610 * login/Makefile (distribute): Remove variable.
13611 * catgets/Makefile: Likewise.
13612 * mach/Makefile: Likewise.
13613 * malloc/Makefile: Likewise.
13614 * misc/Makefile: Likewise.
13615 * iconv/Makefile: Likewise.
13616 * nscd/Makefile: Likewise.
13617 * hurd/Makefile: Likewise.
13618 * manual/Makefile: Likewise.
13619 * locale/Makefile: Likewise.
13620 * intl/Makefile: Likewise.
13621 * conform/Makefile: Likewise.
13622 * nss/Makefile: Likewise.
13623 * time/Makefile: Likewise.
13624 * soft-fp/Makefile: Likewise.
13625 * dirent/Makefile: Likewise.
13626 * gmon/Makefile: Likewise.
13627 * po/Makefile: Likewise.
13628 * rt/Makefile: Likewise.
13629 * socket/Makefile: Likewise.
13630 * math/Makefile: Likewise.
13631 * signal/Makefile: Likewise.
13632 * debug/Makefile: Likewise.
13633 * elf/Makefile: Likewise.
13634 * timezone/Makefile: Likewise.
13635 * stdlib/Makefile: Likewise.
13636 * iconvdata/Makefile: Likewise.
13637 * sunrpc/Makefile: Likewise.
13638 * io/Makefile: Likewise.
13639 * argp/Makefile: Likewise.
13640 * inet/Makefile: Likewise.
13641 * hesiod/Makefile: Likewise.
13642 * grp/Makefile: Likewise.
13643 * csu/Makefile: Likewise.
13644 * wctype/Makefile: Likewise.
13645 * crypt/Makefile: Likewise.
13646 * libio/Makefile: Likewise.
13647 * string/Makefile: Likewise.
13648 * nis/Makefile: Likewise.
13649 * resolv/Makefile: Likewise.
13650 * stdio-common/Makefile: Likewise.
13651 * wcsmbs/Makefile: Likewise.
13652 * dlfcn/Makefile: Likewise.
13653 * posix/Makefile: Likewise.
13654
3b7c4e74 13655 [BZ #6959]
482ff4da
UD
13656 * timezone/Makefile: Don't install timezone files, just the programs
13657 and scripts.
13658
f72ed77d
UD
136592012-03-06 Ulrich Drepper <drepper@gmail.com>
13660
a000466f
UD
13661 * nss/databases.def: Add missing gshadow entry.
13662
f72ed77d
UD
13663 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
13664
a53b7a4e
MP
136652012-03-06 Marek Polacek <polacek@redhat.com>
13666
13667 [BZ #13726]
13668 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
13669 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13670 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
13671 * stdio-common/tst-long-dbl-fphex.c: New file.
13672
e9258400
DM
136732012-03-06 David S. Miller <davem@davemloft.net>
13674
13675 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13676 (set_obp_int): New function.
13677 (get_obp_int): New function.
13678 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
13679 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
13680 Avoid unused variable warnings on 'val' and use builtin_expect.
13681 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
13682 __builtin_expect.
e9258400
DM
13683 (INLINE_CLONE_SYSCALL): Likewise.
13684
3bd2c723
DM
136852012-03-05 David S. Miller <davem@davemloft.net>
13686
13687 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13688
bbb78d03
AS
136892012-03-05 Andreas Schwab <schwab@linux-m68k.org>
13690
884c5db4
AS
13691 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13692
bbb78d03
AS
13693 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
13694 only for |x| >= 40.
13695 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13696
1c9f702a 136972012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
13698
13699 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
13700 Replace gettimeofday with __vdso_gettimeofday.
13701
7be16f82
RM
13702 * sysdeps/unix/sysv/linux/x86_64/init-first.c
13703 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
13704 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
13705
13706 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
13707 time with __vdso_time.
13708
ed58a00f
JM
137092012-03-05 Joseph Myers <joseph@codesourcery.com>
13710
13711 * manual/lang.texi (size_t): Note types to which size_t may be
13712 equivalent with the GNU C Library, but do not describe when
13713 differences between them are significant.
13714
30ee4ced
AJ
137152012-03-05 Andreas Jaeger <aj@suse.de>
13716
13717 * sysdeps/i386/fpu/libm-test-ulps: Update.
13718
b7cd39e8
JM
137192012-03-05 Joseph Myers <joseph@codesourcery.com>
13720
13721 [BZ #3976]
13722 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
13723 (__ieee754_pow): Save and restore rounding mode and use
13724 round-to-nearest for main computations.
13725 * math/libm-test.inc (pow_test_tonearest): New function.
13726 (pow_test_towardzero): Likewise.
13727 (pow_test_downward): Likewise.
13728 (pow_test_upward): Likewise.
13729 (main): Call the new functions.
13730 * sysdeps/i386/fpu/libm-test-ulps: Update.
13731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
13732
13733 [BZ #3976]
13734 * math/libm-test.inc (cosh_test_tonearest): New function.
13735 (cosh_test_towardzero): Likewise.
13736 (cosh_test_downward): Likewise.
13737 (cosh_test_upward): Likewise.
13738 (sinh_test_tonearest): Likewise.
13739 (sinh_test_towardzero): Likewise.
13740 (sinh_test_downward): Likewise.
13741 (sinh_test_upward): Likewise.
13742 (main): Call the new functions.
13743 * sysdeps/i386/fpu/libm-test-ulps: Update.
13744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13745
6c6a98c9
TV
137462012-03-05 Tom de Vries <tom@codesourcery.com>
13747
13748 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
13749 default stack guard is set in last bytes.
13750 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
13751
21bb2d2e 137522012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 13753
21bb2d2e 13754 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 13755
21bb2d2e
AJ
13756 [BZ #13656]
13757 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
13758 possibly allocate from heap instead of stack.
13759 * stdio-common/bug-vfprintf-nargs.c: New file.
13760 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 13761
c6922934
AS
137622012-03-03 Andreas Schwab <schwab@linux-m68k.org>
13763
13764 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13765
bc957d53
MP
137662012-03-03 Marek Polacek <polacek@redhat.com>
13767
13768 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
13769 * math/math_private.h: Likewise.
13770 * stdlib/tst-strtod.c: Likewise.
13771 * sysdeps/i386/i486/bits/atomic.h: Likewise.
13772 * sysdeps/x86_64/bits/atomic.h: Likewise.
13773
6358490d
DM
137742012-03-02 David S. Miller <davem@davemloft.net>
13775
13776 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
13777 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
13778 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
13779 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
13780 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
13781 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
13782 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
13783 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
13784
01ae168d
RM
137852012-03-02 Roland McGrath <roland@hack.frob.com>
13786
d9a17c07
RM
13787 [BZ #13792]
13788 * manual/examples/README: New file, says the example source files
13789 can be used under GPL>=2.
13790 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
13791 line containing just "*/".
13792 * manual/examples/add.c: Add copyright header (GPL>=2).
13793 * manual/examples/argp-ex1.c: Likewise.
13794 * manual/examples/argp-ex2.c: Likewise.
13795 * manual/examples/argp-ex3.c: Likewise.
13796 * manual/examples/argp-ex4.c: Likewise.
13797 * manual/examples/atexit.c: Likewise.
13798 * manual/examples/db.c: Likewise.
13799 * manual/examples/dir.c: Likewise.
13800 * manual/examples/dir2.c: Likewise.
13801 * manual/examples/execinfo.c: Likewise.
13802 * manual/examples/filecli.c: Likewise.
13803 * manual/examples/filesrv.c: Likewise.
13804 * manual/examples/fmtmsgexpl.c: Likewise.
13805 * manual/examples/genpass.c: Likewise.
13806 * manual/examples/inetcli.c: Likewise.
13807 * manual/examples/inetsrv.c: Likewise.
13808 * manual/examples/isockad.c: Likewise.
13809 * manual/examples/longopt.c: Likewise.
13810 * manual/examples/memopen.c: Likewise.
13811 * manual/examples/memstrm.c: Likewise.
13812 * manual/examples/mkfsock.c: Likewise.
13813 * manual/examples/mkisock.c: Likewise.
13814 * manual/examples/mygetpass.c: Likewise.
13815 * manual/examples/pipe.c: Likewise.
13816 * manual/examples/popen.c: Likewise.
13817 * manual/examples/rprintf.c: Likewise.
13818 * manual/examples/search.c: Likewise.
13819 * manual/examples/select.c: Likewise.
13820 * manual/examples/setjmp.c: Likewise.
13821 * manual/examples/sigh1.c: Likewise.
13822 * manual/examples/sigusr.c: Likewise.
13823 * manual/examples/stpcpy.c: Likewise.
13824 * manual/examples/strdupa.c: Likewise.
13825 * manual/examples/strftim.c: Likewise.
13826 * manual/examples/strncat.c: Likewise.
13827 * manual/examples/subopt.c: Likewise.
13828 * manual/examples/swapcontext.c: Likewise.
13829 * manual/examples/termios.c: Likewise.
13830 * manual/examples/testopt.c: Likewise.
13831 * manual/examples/testpass.c: Likewise.
13832 * manual/examples/timeval_subtract.c: Likewise.
13833
01ae168d
RM
13834 [BZ #13792]
13835 * manual/time.texi (Elapsed Time): Move timeval_subtract example
13836 function to ...
13837 * manual/timeval_subtract.c.texi: ... here, new file.
13838
49efa33d
DM
138392012-03-02 David S. Miller <davem@davemloft.net>
13840
13841 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
13842
28afd92d
JM
138432012-03-02 Joseph Myers <joseph@codesourcery.com>
13844
804360ed
JM
13845 [BZ #3976]
13846 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
13847 (__sin): Save and restore rounding mode and use round-to-nearest
13848 for all computations.
13849 (__cos): Save and restore rounding mode and use round-to-nearest
13850 for all computations.
13851 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
13852 <fenv.h>.
13853 (tan): Save and restore rounding mode and use round-to-nearest for
13854 all computations.
13855 * math/libm-test.inc (cos_test_tonearest): New function.
13856 (cos_test_towardzero): Likewise.
13857 (cos_test_downward): Likewise.
13858 (cos_test_upward): Likewise.
13859 (sin_test_tonearest): Likewise.
13860 (sin_test_towardzero): Likewise.
13861 (sin_test_downward): Likewise.
13862 (sin_test_upward): Likewise.
13863 (tan_test_tonearest): Likewise.
13864 (tan_test_towardzero): Likewise.
13865 (tan_test_downward): Likewise.
13866 (tan_test_upward): Likewise.
13867 (main): Call the new functions.
13868 * sysdeps/i386/fpu/libm-test-ulps: Update.
13869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13870
a6d06d7b
JM
13871 [BZ #10135]
13872 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
13873 small n, then large n, before computing and testing k+n.
13874 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
13875 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
13876 Likewise.
13877 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
13878 Likewise.
13879 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
13880 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
13881 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
13882 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
13883 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13884 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13885 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
13886 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
13887 * math/libm-test.inc (scalbn_test): Add more tests.
13888 (scalbln_test): Likewise.
13889
07e12bb3
JM
13890 * manual/filesys.texi (mode_t): Describe constraints on size and
13891 signedness, not exact equivalence to a particular type.
13892 (ino_t): Likewise.
13893 (ino64_t): Likewise.
13894 (dev_t): Likewise.
13895 (nlink_t): Likewise.
13896 (blkcnt_t): Likewise.
13897 (blkcnt64_t): Likewise.
13898 * manual/llio.texi (off_t): Likewise.
13899
28afd92d
JM
13900 [BZ #3976]
13901 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
13902 (__ieee754_exp): Save and restore rounding mode and use
13903 round-to-nearest for all computations.
13904 * math/libm-test.inc (exp_test_tonearest): New function.
13905 (exp_test_towardzero): Likewise.
13906 (exp_test_downward): Likewise.
13907 (exp_test_upward): Likewise.
13908 (main): Call the new functions.
13909 * sysdeps/i386/fpu/libm-test-ulps: Update.
13910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13911
b1eeb65d
CD
139122012-03-01 Chris Demetriou <cgd@google.com>
13913
13914 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
13915 have predictable order.
13916
53362a4b
DM
139172012-03-01 David S. Miller <davem@davemloft.net>
13918
3c969083
DM
13919 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
13920
759707de
DM
13921 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
13922 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
13923 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
13924 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
13925
dfdb8ff2
DM
13926 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
13927 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
13928 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
13929 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
13930 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
13931 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
13932 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
13933 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
13934 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
13935
ead89f96
DM
13936 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13937
7f66bd07
DM
13938 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
13939 * sysdeps/sparc/fpu/libm-test-ulps: to here.
13940 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
13941
53362a4b
DM
13942 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
13943 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13944 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
13945 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
13946 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
13947 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
13948 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
13949 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13950 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
13951 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
13952 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
13953 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
13954 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13955 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
13956 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13957 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13958 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
13959 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
13960 * sysdeps/sparc/elf/configure: Regenerated.
13961
7b1902cb
JM
139622012-03-01 Joseph Myers <joseph@codesourcery.com>
13963
bec039bc
JM
13964 * configure.in (AS, LD): Require binutils 2.20 or later.
13965 * configure: Regenerated.
13966 * manual/install.texi (Tools for Compilation): Give binutils 2.20
13967 as required minimum version.
13968 * INSTALL: Regenerated.
13969
7b1902cb
JM
13970 [BZ #2541]
13971 [BZ #4108]
13972 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
13973 before squaring exponent.
13974 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
13975 bottom long double and 27 bits of top long double before squaring
13976 exponent.
13977 * math/libm-test.inc (erfc_test): Add more tests.
13978 * sysdeps/i386/fpu/libm-test-ulps: Update.
13979 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13981
f775c276
KT
139822012-03-01 Kai Tietz <ktietz@redhat.com>
13983
13984 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
13985 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
13986 containing bit-fields.
13987 * soft-fp/extended.h (_FP_UNION_E): Likewise.
13988 * soft-fp/single.h (_FP_UNION_S): Likewise.
13989 * soft-fp/double.h (_FP_UNION_D): Likewise.
13990
5b8a4d4a
JM
139912012-02-29 Joseph Myers <joseph@codesourcery.com>
13992
0bab47b6
JM
13993 [BZ #13786]
13994 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
13995 not include ../strcmp.S.
13996 [USE_AS_STRNCASECMP_L]: Likewise.
13997 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
13998 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
13999 * sysdeps/i386/i686/multiarch/strncase_l-c.c
14000 (__strncasecmp_l_ia32): Define as alias to
14001 __strncasecmp_l_nonascii.
14002
0fcad3e2
JM
14003 [BZ #5794]
14004 * math/libm-test.inc (expm1_test): Add test for bug 5794.
14005 * sysdeps/i386/fpu/libm-test-ulps: Update.
14006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14007
5b8a4d4a
JM
14008 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
14009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14010
8fdceb2e
JL
140112012-02-29 Jeff Law <law@redhat.com>
14012
14013 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
14014 out of bounds read.
14015
1f393a11
MP
140162012-02-29 Marek Polacek <polacek@redhat.com>
14017
14018 [BZ #13706]
14019 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
14020 * elf/Makefile: Add rules to run tst-unused-dep.out.
14021
8847f037
DM
140222012-02-28 David S. Miller <davem@davemloft.net>
14023
14024 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
14025 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
14026 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
14027 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
14028 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
14029 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
14030
169d7f11
JM
140312012-02-29 Joseph Myers <joseph@codesourcery.com>
14032
14033 * math/libm-test.inc (llround_test): Move one test from
14034 lround_test. Use TEST_f_L in moved test.
14035 (lround_test): Move misplaced test to llround_test. Add testcase
14036 from bug 2561.
14037
39adf059
UD
140382012-02-28 Ulrich Drepper <drepper@gmail.com>
14039
14040 * sysdeps/x86_64/fpu/e_expf.S: New file.
14041 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
14042
71b5d1c5
SB
140432012-02-28 Stanislav Brabec <sbrabec@suse.cz>
14044
14045 [BZ #13637]
14046 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
14047 of remain_len that may cause incomplete multi-byte character and
14048 false match.
14049 * posix/bug-regex33.c: New file.
14050 * posix/Makefile (tests): Add bug-regex33.
14051
1f77f049
JM
140522012-02-28 Joseph Myers <joseph@codesourcery.com>
14053
14054 * manual/macros.texi: New file.
14055 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
14056 * manual/libc.texinfo: Include macros.texi.
14057 * manual/creatute.texi: Likewise.
14058 * manual/install.texi: Likewise.
14059 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
14060 @glibcadj{} in references to the GNU C Library.
14061 * manual/charset.texi: Likewise.
14062 * manual/conf.texi: Likewise.
14063 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
14064 when not using those macros.
14065 * manual/creature.texi: Likewise.
14066 * manual/crypt.texi: Likewise.
14067 * manual/errno.texi: Likewise.
14068 * manual/filesys.texi: Likewise.
14069 * manual/header.texi: Likewise.
14070 * manual/install.texi: Likewise.
14071 * manual/intro.texi: Likewise.
14072 * manual/io.texi: Likewise.
14073 * manual/job.texi: Likewise.
14074 * manual/lang.texi: Likewise.
14075 * manual/libc.texiinfo: Likewise.
14076 * manual/llio.texi: Likewise.
14077 * manual/locale.texi: Likewise.
14078 * manual/maint.texi: Likewise.
14079 * manual/math.texi: Likewise.
14080 * manual/memory.texi: Likewise.
14081 * manual/message.texi: Likewise.
14082 * manual/nss.texi: Likewise.
14083 * manual/pattern.texi: Likewise.
14084 * manual/process.texi: Likewise.
14085 * manual/resource.texi: Likewise.
14086 * manual/search.texi: Likewise.
14087 * manual/setjmp.texi: Likewise.
14088 * manual/signal.texi: Likewise.
14089 * manual/socket.texi: Likewise.
14090 * manual/startup.texi: Likewise.
14091 * manual/stdio.texi: Likewise.
14092 * manual/string.texi: Likewise.
14093 * manual/sysinfo.texi: Likewise.
14094 * manual/syslog.texi: Likewise.
14095 * manual/terminal.texi: Likewise.
14096 * manual/time.texi: Likewise.
14097 * manual/users.texi: Likewise.
14098 * INSTALL: Regenerated.
14099 * NOTES: Regenerated.
d40c5d54 14100 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 14101
450bf206
AS
141022012-02-28 Andreas Schwab <schwab@linux-m68k.org>
14103
14104 * include/dirent.h: Include <dirstream.h> before
14105 <dirent/dirent.h>.
14106
741a235b
DM
141072012-02-28 David S. Miller <davem@davemloft.net>
14108
14109 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
14110 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
14111 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
14112 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
14113
d6b5aa58
DM
141142012-02-27 David S. Miller <davem@davemloft.net>
14115
1aff59a3
DM
14116 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
14117 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
14118 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
14119 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
14120
d6b5aa58
DM
14121 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
14122 frame pointer instead of stack pointer relative arg slot.
14123 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14124 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14125 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14126
433f48bf
CD
141272012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
14128
14129 [BZ #3992]
14130 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
14131
d674b76d
DM
141322012-02-27 David S. Miller <davem@davemloft.net>
14133
14134 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
14135 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14136 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14137 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
14138 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14139 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14140 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
14141 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
14142
0e7727f7
JM
141432012-02-27 Joseph Myers <joseph@codesourcery.com>
14144
14145 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
14146 later. Allow versions 5-9.
43be4ca2 14147 * configure: Regenerated.
0e7727f7
JM
14148 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
14149 required minimum version and 4.6 as recommended version. Do not
14150 mention bugs in GCC 2.7 and 2.8.
43be4ca2 14151 * INSTALL: Regenerated.
0e7727f7 14152
a78bc654
DM
141532012-02-27 David S. Miller <davem@davemloft.net>
14154
428d5830
DM
14155 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
14156 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
14157 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
14158 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
14159 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
14160 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
14161 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
14162 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
14163
a78bc654
DM
14164 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
14165 manipulate bits before adding and subtracting TWO112[sx].
14166 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14167
4579f81c
RM
141682012-02-27 Roland McGrath <roland@hack.frob.com>
14169
36c8acb4
RM
14170 [BZ #13775]
14171 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
14172 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
14173 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
14174 being in POSIX, because they are in 1003.1-2008.
14175
84ad622b
RM
14176 * rt/tst-aio.c: Include <fcntl.h>.
14177 * rt/tst-aio7.c: Likewise.
14178 * rt/tst-aio64.c: Likewise.
14179
4579f81c
RM
14180 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
14181
abd923db
JM
141822012-02-27 Joseph Myers <joseph@codesourcery.com>
14183
14184 * manual/install.texi (--with-headers): Describe headers as
14185 interface headers, not private headers.
14186 (Specific advice for GNU/Linux systems): Describe use of headers
14187 from "make headers_install", not private headers from older
14188 kernels.
43be4ca2 14189 * INSTALL: Regenerated.
abd923db
JM
14190 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
14191 Change to 2.6.19.
14192 * sysdeps/unix/sysv/linux/configure: Regenerated.
14193
6664049b
JM
14194 * manual/llio.texi (fclean): Remove documentation.
14195
bb8b6697
JM
14196 * manual/Makefile (libc-texi-generated): New variable. Include
14197 version.texi.
14198 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
14199 $(libc-texi-generated), not duplicated list of files.
14200 (version.texi, stamp-version): New rules.
14201 (realclean): Remove $(libc-texi-generated), not individual files
14202 from that list. Do not remove dir-add.texinfo.
14203 * manual/libc.texinfo: Comment out uses of edition numbers and
14204 references to printed manual. Remove last-updated dates.
14205 (EDITION): Comment out.
14206 (ISBN): Likewise.
14207 (VERSION, UPDATED): Remove.
14208 (version.texi): Include.
14209
12e5c3b9
AS
142102012-02-27 Andreas Schwab <schwab@linux-m68k.org>
14211
14212 * sysdeps/posix/spawni.c: Include <signal.h>.
14213 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
14214 * sysdeps/pthread/aio_fsync.c: Likewise.
14215
4efeffc1 142162012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 14217
ba63ba08
UD
14218 * conform/Makefile (tests): Run only when not cross-compiling and
14219 when fast-check is not defined.
14220
d94a4670
UD
14221 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
14222 * conform/data/limits.h-data: Fixes for POSIX2008.
14223 * conform/run-conformtest.sh: Run all tests.
14224 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
14225 headers.
14226 * include/bits/dlfcn.h: Likewise.
14227 * include/langinfo.h: Likewise.
14228 * include/monetary.h: Likewise.
14229 * include/sys/poll.h: Likewise.
14230
14231 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
14232 for __USE_GNU.
14233 * posix/spawn.h: Define __need_sigset_t.
14234 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
14235 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
14236 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
14237 to get sigevent_t only.
14238 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
14239 only for __USE_GNU.
14240 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14241 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14242 process_vm_writev only for __USE_GNU.
14243 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
14244
14245 * conform/Makefile: For now ignore errors from run-conformtest.
14246 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
14247 POSIX to avoid namespace pollution. Don't prepend headers.
14248 * conform/data/aio.h-data: Fixes for POSIX testing.
14249 * conform/data/fcntl.h-data: Likewise.
14250 * conform/data/glob.h-data: Likewise.
14251 * conform/data/grp.h-data: Likewise.
14252 * conform/data/pthread.h-data: Likewise.
14253 * conform/data/pwd.h-data: Likewise.
14254 * conform/data/signal.h-data: Likewise.
14255 * conform/data/spawn.h-data: Likewise.
14256 * conform/data/stdio.h-data: Likewise.
14257 * conform/data/stdlib.h-data: Likewise.
14258 * conform/data/stropts.h-data: Likewise.
14259 * conform/data/sys/mman.h-data: Likewise.
14260 * conform/data/sys/stat.h-data: Likewise.
14261 * conform/data/sys/types.h-data: Likewise.
14262 * conform/data/sys/wait.h-data: Likewise.
14263 * conform/data/time.h-data: Likewise.
14264 * conform/data/unistd.h-data: Likewise.
14265 * conform/data/utime.h-data: Likewise.
14266
14267 * io/sys/stat.h: fchmod was always in POSIX.
14268 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
14269 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
14270 * rt/aio.h: Define __need_timespec before including <time.h>.
14271 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
14272 struct. Add forward declaration of pthread_attr_t and use it in
14273 sigevent.
14274 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14275 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14276 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
14277 always remove CLK_TCK definition.
14278
c20105c3
AS
142792012-02-26 Andreas Schwab <schwab@linux-m68k.org>
14280
14281 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
14282
7a270350
UD
142832012-02-25 Ulrich Drepper <drepper@gmail.com>
14284
31341567
UD
14285 * conform/run-conformtest.sh: New file.
14286 * conform/Makefile: Run run-conformtest for tests.
14287 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
14288 support.
14289
14290 * conform/data/uchar.h-data: New file.
14291 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
14292 * conform/data/arpa/inet.h-data: Likewise.
14293 * conform/data/assert.h-data: Likewise.
14294 * conform/data/complex.h-data: Likewise.
14295 * conform/data/cpio.h-data: Likewise.
14296 * conform/data/ctype.h-data: Likewise.
14297 * conform/data/dirent.h-data: Likewise.
14298 * conform/data/dlfcn.h-data: Likewise.
14299 * conform/data/errno.h-data: Likewise.
14300 * conform/data/fcntl.h-data: Likewise.
14301 * conform/data/float.h-data: Likewise.
14302 * conform/data/fmtmsg.h-data: Likewise.
14303 * conform/data/fnmatch.h-data: Likewise.
14304 * conform/data/ftw.h-data: Likewise.
14305 * conform/data/glob.h-data: Likewise.
14306 * conform/data/grp.h-data: Likewise.
14307 * conform/data/iconv.h-data: Likewise.
14308 * conform/data/inttypes.h-data: Likewise.
14309 * conform/data/langinfo.h-data: Likewise.
14310 * conform/data/libgen.h-data: Likewise.
14311 * conform/data/limits.h-data: Likewise.
14312 * conform/data/locale.h-data: Likewise.
14313 * conform/data/math.h-data: Likewise.
14314 * conform/data/monetary.h-data: Likewise.
14315 * conform/data/mqueue.h-data: Likewise.
14316 * conform/data/ndbm.h-data: Likewise.
14317 * conform/data/net/if.h-data: Likewise.
14318 * conform/data/netdb.h-data: Likewise.
14319 * conform/data/netinet/in.h-data: Likewise.
14320 * conform/data/nl_types.h-data: Likewise.
14321 * conform/data/poll.h-data: Likewise.
14322 * conform/data/pthread.h-data: Likewise.
14323 * conform/data/pwd.h-data: Likewise.
14324 * conform/data/regex.h-data: Likewise.
14325 * conform/data/sched.h-data: Likewise.
14326 * conform/data/search.h-data: Likewise.
14327 * conform/data/semaphore.h-data: Likewise.
14328 * conform/data/setjmp.h-data: Likewise.
14329 * conform/data/signal.h-data: Likewise.
14330 * conform/data/spawn.h-data: Likewise.
14331 * conform/data/stdarg.h-data: Likewise.
14332 * conform/data/stdio.h-data: Likewise.
14333 * conform/data/stdlib.h-data: Likewise.
14334 * conform/data/string.h-data: Likewise.
14335 * conform/data/strings.h-data: Likewise.
14336 * conform/data/stropts.h-data: Likewise.
14337 * conform/data/sys/ipc.h-data: Likewise.
14338 * conform/data/sys/mman.h-data: Likewise.
14339 * conform/data/sys/msg.h-data: Likewise.
14340 * conform/data/sys/resource.h-data: Likewise.
14341 * conform/data/sys/select.h-data: Likewise.
14342 * conform/data/sys/sem.h-data: Likewise.
14343 * conform/data/sys/shm.h-data: Likewise.
14344 * conform/data/sys/socket.h-data: Likewise.
14345 * conform/data/sys/stat.h-data: Likewise.
14346 * conform/data/sys/statvfs.h-data: Likewise.
14347 * conform/data/sys/time.h-data: Likewise.
14348 * conform/data/sys/timeb.h-data: Likewise.
14349 * conform/data/sys/times.h-data: Likewise.
14350 * conform/data/sys/types.h-data: Likewise.
14351 * conform/data/sys/uio.h-data: Likewise.
14352 * conform/data/sys/un.h-data: Likewise.
14353 * conform/data/sys/utsname.h-data: Likewise.
14354 * conform/data/sys/wait.h-data: Likewise.
14355 * conform/data/syslog.h-data: Likewise.
14356 * conform/data/tar.h-data: Likewise.
14357 * conform/data/termios.h-data: Likewise.
14358 * conform/data/utime.h-data: Likewise.
14359 * conform/data/utmpx.h-data: Likewise.
14360 * conform/data/varargs.h-data: Likewise.
14361 * conform/data/wchar.h-data: Likewise.
14362 * conform/data/wctype.h-data: Likewise.
14363 * conform/data/wordexp.h-data: Likewise.
14364
14365 * include/stropts.h: New file.
14366 * include/uchar.h: New file.
14367 * include/aio.h: Changes to allow conformtest.pl to use the headers.
14368 * include/assert.h: Likewise.
14369 * include/ctype.h: Likewise.
14370 * include/dirent.h: Likewise.
14371 * include/dlfcn.h: Likewise.
14372 * include/fcntl.h: Likewise.
14373 * include/fnmatch.h: Likewise.
14374 * include/glob.h: Likewise.
14375 * include/grp.h: Likewise.
14376 * include/libio.h: Likewise.
14377 * include/locale.h: Likewise.
14378 * include/math.h: Likewise.
14379 * include/net/if.h: Likewise.
14380 * include/netdb.h: Likewise.
14381 * include/netinet/in.h: Likewise.
14382 * include/pthread.h: Likewise.
14383 * include/pwd.h: Likewise.
14384 * include/regex.h: Likewise.
14385 * include/sched.h: Likewise.
14386 * include/search.h: Likewise.
14387 * include/setjmp.h: Likewise.
14388 * include/signal.h: Likewise.
14389 * include/stdio.h: Likewise.
14390 * include/stdlib.h: Likewise.
14391 * include/string.h: Likewise.
14392 * include/sys/cdefs.h: Likewise.
14393 * include/sys/mman.h: Likewise.
14394 * include/sys/msg.h: Likewise.
14395 * include/sys/resource.h: Likewise.
14396 * include/sys/select.h: Likewise.
14397 * include/sys/socket.h: Likewise.
14398 * include/sys/stat.h: Likewise.
14399 * include/sys/statvfs.h: Likewise.
14400 * include/sys/time.h: Likewise.
14401 * include/sys/times.h: Likewise.
14402 * include/sys/uio.h: Likewise.
14403 * include/sys/utsname.h: Likewise.
14404 * include/sys/wait.h: Likewise.
14405 * include/termios.h: Likewise.
14406 * include/time.h: Likewise.
14407 * include/ulimit.h: Likewise.
14408 * include/unistd.h: Likewise.
14409 * include/utime.h: Likewise.
14410 * include/wchar.h: Likewise.
14411 * include/wctype.h: Likewise.
14412 * include/wordexp.h: Likewise.
14413
14414 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
14415
7a270350
UD
14416 * time/time.h: TIME_UTC must be a macro.
14417 Make timespec_get available for ISO C11 only as well.
14418
7724defc
UD
144192012-02-24 Ulrich Drepper <drepper@gmail.com>
14420
14421 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
14422 Reported by Peng Haitao <penght@cn.fujitsu.com>.
14423
6b1d1d46
JM
144242012-02-24 Joseph Myers <joseph@codesourcery.com>
14425
14426 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 14427
0f8bbd69
JM
144282012-02-24 Joseph Myers <joseph@codesourcery.com>
14429
14430 * manual/texinfo.tex: Update to version 2012-01-19.16.
14431
66ab80bc
JM
144322012-02-24 Joseph Myers <joseph@codesourcery.com>
14433
14434 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
14435
74981cc5
RM
144362012-02-24 Roland McGrath <roland@hack.frob.com>
14437
ee968201
RM
14438 [BZ #13738]
14439 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
14440 * manual/fdl-1.3.texi: New file.
14441 * manual/fdl-1.1.texi: File removed.
14442
74981cc5
RM
14443 [BZ #13738]
14444 * manual/libc.texinfo (FDL_VERSION): New @set.
14445 Use it for mention of FDL in cover text.
14446 (Documentation License): Use it in @include file name.
14447
7bb764bc
JM
144482012-02-22 Joseph Myers <joseph@codesourcery.com>
14449 Roland McGrath <roland@hack.frob.com>
14450
14451 [BZ #5461]
14452 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
14453 not LONG_LONG_MAX and LONG_LONG_MIN.
14454 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
14455 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
14456 name.
14457 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
14458
6cbeae47
JM
144592012-02-22 Joseph Myers <joseph@codesourcery.com>
14460
14461 [BZ #2547]
14462 [BZ #11365]
14463 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
14464 manipulate bits before adding and subtracting TWO23[sx].
14465 * math/libm-test.inc (nearbyint_test): Add more tests.
14466
fe45ce09
JM
144672012-02-22 Joseph Myers <joseph@codesourcery.com>
14468
14469 [BZ #2548]
14470 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
14471 bits before adding and subtracting TWO23[sx].
14472 * math/libm-test.inc (rint_test): Add more tests.
14473 (rint_test_tonearest): Likewise.
14474 (rint_test_towardzero): Likewise.
14475 (rint_test_downward): Likewise.
14476 (rint_test_upward: Likewise.
14477
ff3b3d82
JM
144782012-02-22 Joseph Myers <joseph@codesourcery.com>
14479
14480 [BZ #10110]
14481 * include/stdc-predef.h: New file. Extracted from features.h.
14482 * include/features.h: Include stdc-predef.h.
14483 * Makefile (headers): Add stdc-predef.h.
14484 * CONFORMANCE (Compiler limitations): Update.
14485
ef0aab35
JM
144862012-02-22 Joseph Myers <joseph@codesourcery.com>
14487
14488 * manual/libc.texinfo (VERSION, UPDATED): Revert.
14489
58639409
DM
144902012-02-21 David S. Miller <davem@davemloft.net>
14491
14492 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
14493 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14494
c0e70b25
DM
144952012-02-20 David S. Miller <davem@davemloft.net>
14496
14497 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
14498 using a normal save/restore sequence, rather than allocating a
14499 dummy stack frame just to store a frame pointer and restore.
14500 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14501
fb06851d
JM
145022012-02-21 Joseph Myers <joseph@codesourcery.com>
14503
14504 * manual/install.texi: Fix stray word in line-wrapped comment.
14505
7a8b71c3
DM
145062012-02-20 David S. Miller <davem@davemloft.net>
14507
d510c123
DM
14508 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
14509 both binutils and gcc support GOTDATA.
14510
0722d7c2
DM
14511 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
14512 "rd %pc" in the PIC register setup sequences.
14513
3d2b3019
DM
14514 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
14515 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
14516 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14517 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
14518 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14519 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
14520 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14521 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14522 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
14523 (SYSCALL_ERROR_HANDLER): Likewise.
14524 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14525 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14526 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
14527 (SYSCALL_ERROR_HANDLER): Likewise.
14528
c80098a9
DM
14529 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
14530 (HAVE_GCC_GOTDATA): New.
14531 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
14532 relocation support in both binutils and gcc.
14533 * sysdeps/sparc/elf/configure: Regenerate.
14534
3a2545a0
DM
14535 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
14536 * sysdeps/sparc/sparc32/elf/configure: Delete.
14537 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
14538 * sysdeps/sparc/sparc64/elf/configure: Delete.
14539 * sysdeps/sparc/elf/configure.in: New file.
14540 * sysdeps/sparc/elf/configure: Generate.
14541
7a8b71c3
DM
14542 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
14543 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
14544 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14545 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
14546 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
14547
f1e86fca
JM
145482012-02-21 Joseph Myers <joseph@codesourcery.com>
14549
14550 * manual/install.texi: Do not mention specific glibc version
14551 numbers.
14552 * manual/libc.texinfo (VERSION, UPDATED): Update.
14553 (@copying): Use @copyright{} and range of years.
14554
0e7dfaef
JM
145552012-02-21 Joseph Myers <joseph@codesourcery.com>
14556
14557 [BZ #13695]
14558 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
14559 [crti.S not in sysdirs] (generated): Do not append.
14560 [crti.S not in sysdirs] (omit-deps): Likewise.
14561 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
14562 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
14563 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
14564 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
14565 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
14566 Likewise.
14567 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
14568 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
14569 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
14570 * csu/defs.awk: Remove file.
14571 * sysdeps/generic/initfini.c: Likewise.
14572 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
14573 variable.
14574 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
14575 Likewise.
14576
599af3ca
JM
145772012-02-20 Joseph Myers <joseph@codesourcery.com>
14578
14579 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
14580 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
14581 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
14582 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
14583 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14584 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
14585 <bits/epoll.h>.
14586 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
14587 (__EPOLL_PACKED): Define to empty if not defined by
14588 <bits/epoll.h>.
14589 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
14590 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14591 bits/epoll.h.
14592
0e499750
JM
145932012-02-20 Joseph Myers <joseph@codesourcery.com>
14594
14595 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
14596 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
14597 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
14598 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
14599 <bits/timerfd.h>.
14600 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
14601 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14602 bits/timerfd.h.
14603
5ad91f6e
JM
146042012-02-20 Joseph Myers <joseph@codesourcery.com>
14605
14606 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
14607 in C locale.
14608 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14609 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14610 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
14611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14612
06b99b02
AJ
146132012-02-20 Aurelien Jarno <aurelien@aurel32.net>
14614
14615 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14616 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14617
7638c0fd
AS
146182012-02-19 Andreas Schwab <schwab@linux-m68k.org>
14619
14620 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
14621 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
14622 defined.
14623 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
14624 Likewise.
14625 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
14626 entry for 2.16.
14627
92221550
AJ
146282012-02-19 Aurelien Jarno <aurelien@aurel32.net>
14629
14630 * math/w_acos.c: Use non-signaling floating-point comparisons.
14631 * math/w_acosf.c: Likewise.
14632 * math/w_acosh.c: Likewise.
14633 * math/w_acoshf.c: Likewise.
14634 * math/w_acoshl.c: Likewise.
14635 * math/w_acosl.c: Likewise.
14636 * math/w_asin.c: Likewise.
14637 * math/w_asinf.c: Likewise.
14638 * math/w_asinl.c: Likewise.
14639 * math/w_atanh.c: Likewise.
14640 * math/w_atanhf.c: Likewise.
14641 * math/w_atanhl.c: Likewise.
14642 * math/w_exp2.c: Likewise.
14643 * math/w_exp2f.c: Likewise.
14644 * math/w_exp2l.c: Likewise.
14645 * math/w_j0.c: Likewise.
14646 * math/w_j0f.c: Likewise.
14647 * math/w_j0l.c: Likewise.
14648 * math/w_j1.c: Likewise.
14649 * math/w_j1f.c: Likewise.
14650 * math/w_j1l.c: Likewise.
14651 * math/w_jn.c: Likewise.
14652 * math/w_jnf.c: Likewise.
14653 * math/w_log.c: Likewise.
14654 * math/w_log10.c: Likewise.
14655 * math/w_log10f.c: Likewise.
14656 * math/w_log10l.c: Likewise.
14657 * math/w_log2.c: Likewise.
14658 * math/w_log2f.c: Likewise.
14659 * math/w_log2l.c: Likewise.
14660 * math/w_logf.c: Likewise.
14661 * math/w_logl.c: Likewise.
14662 * math/w_sqrt.c: Likewise.
14663 * math/w_sqrtf.c: Likewise.
14664 * math/w_sqrtl.c: Likewise.
14665 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14666 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
14667 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14668 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14669 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14670
ebaf36eb
JM
146712012-02-19 Joseph Myers <joseph@codesourcery.com>
14672
14673 [BZ #9739]
14674 * manual/string.texi (strnlen): Use correct parameter name in
14675 equivalent expression.
14676
71c254a6
JM
146772012-02-19 Joseph Myers <joseph@codesourcery.com>
14678
14679 [BZ #11174]
14680 * manual/users.texi (seteuid): Consistently use neweuid for
14681 argument name.
14682
16d2c631
JM
146832012-02-19 Joseph Myers <joseph@codesourcery.com>
14684
14685 [BZ #13704]
14686 * manual/nss.texi (Services in the NSS configuration): Correct
14687 list of services in example configuration file.
14688
cd837b09
NB
146892012-02-19 Nick Bowler <nbowler@draconx.ca>
14690
14691 [BZ #11322]
14692 * manual/arith.texi: Remove statements about negative zero
14693 behaving identically to zero.
14694
02c4bbad
JM
146952012-02-18 Joseph Myers <joseph@codesourcery.com>
14696
14697 [BZ #5993]
14698 * manual/install.texi: Do not document upgrading from libc5.
14699
366842e7
JM
147002012-02-18 Joseph Myers <joseph@codesourcery.com>
14701
14702 [BZ #4596]
14703 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
14704
dd54084d
DM
147052012-02-18 David S. Miller <davem@davemloft.net>
14706
14707 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
14708 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
14709 %o7 across the call.
14710 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
14711 instead.
14712 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
14713 SETUP_PIC_REG_LEAF.
14714 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14715 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
14716 * sysdeps/sparc/crtn.S: Likewise.
14717
2bcc53a3
UD
147182012-02-17 Ulrich Drepper <drepper@gmail.com>
14719
14720 * aout/Makefile: Remove.
14721
09c093b5
RK
147222012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
14723
14724 [BZ #13058]
14725 * manual/examples/argp-ex1.c (main): Format definition in GNU
14726 style.
14727 * manual/examples/argp-ex2.c (main): Likewise.
14728 * manual/examples/argp-ex3.c (main): Likewise.
14729 * manual/examples/argp-ex4.c (main): Likewise.
14730 * manual/examples/longopt.c (main): Use new-style prototype
14731 definition.
14732 * manual/examples/strncat.c (main): Specify return type and use
14733 (void) for arguments.
14734 * manual/examples/subopt.c (main): Use char **argv argument.
14735
2ee633a2
JM
147362012-02-17 Joseph Myers <joseph@codesourcery.com>
14737
14738 [BZ #5077]
14739 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
14740 rounding modes.
14741
0520adde
FB
147422012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
14743
14744 [BZ #6907]
14745 * manual/string.texi (strchr): Change when strchrnul is
14746 recommended.
14747
3f4081cd
DGM
147482012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
14749
14750 [BZ #174]
14751 * manual/locale.texi (setlocale): Document LOCPATH.
14752
d1b10e78
JM
147532012-02-17 Joseph Myers <joseph@codesourcery.com>
14754
14755 [BZ #10210]
14756 * manual/process.texi (execle): Move @dots{} before last argument.
14757
79c6869c
PB
147582012-02-17 Paul Bolle <pebolle@tiscali.nl>
14759
14760 [BZ #12047]
14761 * manual/charset.texi (Generic Charset Conversion): Fix typo
14762 (LC_TYPE -> LC_CTYPE).
14763
cc6e48bc
NB
147642012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
14765
14766 [BZ #5805]
14767 * manual/arith.texi (scalbn): Use @var{} on parameter names.
14768 (scalbnf): Likewise.
14769 (scalbnl): Likewise.
14770 (scalbln): Likewise.
14771 (scalblnf): Likewise.
14772 (scalblnl): Likewise.
14773 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
14774 (vwarnx): Likewise.
14775 (verr): Likewise.
14776 (verrx): Likewise.
14777 * manual/filesys.texi (telldir): Use braces around return type.
14778 * manual/llio.texi (mmap): Add space after comma.
14779 (mmap64): Likewise.
14780 * manual/math.texi (jn): Use @var{} on parameter names.
14781 (jnf): Likewise.
14782 (jnl): Likewise.
14783 (yn): Likewise.
14784 (ynf): Likewise.
14785 (ynl): Likewise.
14786 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
14787 line.
14788 * manual/resource.texi (ulimit): Use @dots{} instead of literal
14789 "...".
14790 (sched_get_priority_min): Remove semicolon on @deftypefun line.
14791 (sched_get_priority_max): Likewise.
14792 * manual/signal.texi (sigvec): Add space after comma.
14793 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
14794 names.
14795 (if_indextoname): Likewise.
14796 (if_freenameindex): Likewise.
14797 (sendto): Use ',' instead of '.' in prototype.
14798 * manual/startup.texi (syscall): Use @dots{} instead of literal
14799 "...".
14800 * manual/stdio.texi (__fpending): Separate initial words of
14801 paragraph from @deftypefun line.
14802 * manual/syslog.texi (syslog): Use @dots{} instead of literal
14803 "...".
14804 (vsyslog): Use @var{} on parameter names.
14805 * manual/terminal.texi (stty): Use @var{} on parameter names.
14806 * manual/users.texi (getutmp): Use @var{} on parameter names.
14807 (getutmpx): Likewise.
14808
5b23062f
JM
148092012-02-17 Joseph Myers <joseph@codesourcery.com>
14810
14811 [BZ #6884]
14812 * manual/stdio.texi (fopen): Fix typos in description of
14813 ",ccs=STRING".
14814
8dee4833
AJ
148152012-02-17 Aurelien Jarno <aurelien@aurel32.net>
14816
14817 [BZ #4026]
14818 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
14819 get clock_id definition.
14820
9078ce93
TS
148212012-02-17 Thomas Schwinge <thomas@schwinge.name>
14822
14823 [BZ #4822]
14824 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
14825 (madvise): Cast every argument to void on its own.
14826
3835c55f
JM
148272012-02-17 Joseph Myers <joseph@codesourcery.com>
14828
14829 [BZ #9902]
14830 * manual/startup.texi (Exit Status): Fix typo.
14831
35c47e37
JM
148322012-02-17 Joseph Myers <joseph@codesourcery.com>
14833
14834 [BZ #10140]
14835 * manual/examples/argp-ex1.c: Include <stdlib.h>.
14836 * manual/examples/argp-ex2.c: Likewise.
14837 * manual/examples/argp-ex3.c: Likewise.
14838
e3b69ca7
RH
148392012-02-16 Richard Henderson <rth@redhat.com>
14840
14841 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
14842 * sysdeps/s390/s390-32/initfini.c: Remove.
14843 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
14844 * sysdeps/s390/s390-64/initfini.c: Remove.
14845
df83af67
KK
148462012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14847
14848 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
14849 compiler output for sysdeps/generic/initfini.c.
14850 * sysdeps/sh/elf/initfini.c: Remove file.
14851
f63f3380
DM
148522012-02-16 David S. Miller <davem@davemloft.net>
14853
fb59b3a4
DM
14854 [BZ #11494]
14855 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
14856
f63f3380
DM
14857 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
14858 * sysdeps/sparc/crti.S: New file.
14859 * sysdeps/sparc/crtn.S: New file.
14860 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
14861 * sysdeps/sparc/sparc64/Makefile: Likewise.
14862
df6a4a4a
MF
148632012-02-15 Mike Frysinger <vapier@gentoo.org>
14864
6dd8f3dc 14865 [BZ #3335]
df6a4a4a
MF
14866 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
14867
1cac7236
RM
148682012-02-15 Roland McGrath <roland@hack.frob.com>
14869
d2c736f8
RM
14870 [BZ #4822]
14871 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
14872
1cac7236
RM
14873 * mach/devstream.c (cookie_io_functions_t): Macro removed.
14874 (write, read, close): Likewise.
14875 Patch by Aurelien Jarno <aurelien@aurel32.net>.
14876
8e475601
JM
148772012-02-15 Joseph Myers <joseph@codesourcery.com>
14878
14879 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
14880 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
14881 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
14882 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
14883 <bits/signalfd.h>.
14884 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
14885 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14886 bits/signalfd.h.
14887
ed656b40
MP
148882012-02-14 Marek Polacek <polacek@redhat.com>
14889
14890 * sysdeps/x86_64/crti.S: New file.
14891 * sysdeps/x86_64/crtn.S: New file.
14892 * sysdeps/x86_64/elf/initfini.c: Remove file.
14893
2a979d3a
JM
148942012-02-13 Joseph Myers <joseph@codesourcery.com>
14895
14896 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
14897 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
14898 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
14899 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
14900 <bits/inotify.h>.
14901 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
14902 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14903 bits/inotify.h.
14904
2a418ac3
JM
149052012-02-13 Joseph Myers <joseph@codesourcery.com>
14906
14907 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
14908 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
14909 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
14910 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
14911 <bits/eventfd.h>.
14912 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
14913 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14914 bits/eventfd.h.
14915
fb779be7
TS
149162012-02-10 Thomas Schwinge <thomas@codesourcery.com>
14917
e19e83c5
RM
14918 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
14919 __feraiseexcept instead of feraiseexcept.
7c35ffed 14920
fb779be7
TS
14921 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
14922 nanosleep invocations.
14923 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
14924 strings, and add error checking for a nanosleep invocations.
14925
59ba27a6
PE
149262012-02-09 Paul Eggert <eggert@cs.ucla.edu>
14927
14928 Replace FSF snail mail address with URLs, as per GNU coding standards.
14929 Most of the snail mail addresses were wrong anyway, and omitting
14930 them makes the source code easier to maintain. Almost all of the
14931 changes are to license notices and to locale LC_IDENTIFICATION
14932 addresses, except for this one:
14933 * manual/libc.texinfo: In "Published by", give the FSF's URL,
14934 not its snail mail address.
14935
57b957eb
RH
149362012-02-09 Richard Henderson <rth@twiddle.net>
14937
af850b1c
RH
14938 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
14939 of kernel-features.h.
14940
57b957eb
RH
14941 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
14942
6b73181a
MP
149432012-02-08 Marek Polacek <polacek@redhat.com>
14944
14945 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
14946 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
14947 * sysdeps/gnu/_G_config.h: Likewise.
14948 * sysdeps/generic/_G_config.h: Likewise.
14949
26ecc33a
AS
149502012-02-08 Andreas Schwab <schwab@linux-m68k.org>
14951
6c6dbc63
AS
14952 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
14953 tests.
14954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14955
e216c012
AS
14956 * sysdeps/powerpc/powerpc32/crti.S: New file.
14957 * sysdeps/powerpc/powerpc32/crtn.S: New file.
14958 * sysdeps/powerpc/powerpc64/crti.S: New file.
14959 * sysdeps/powerpc/powerpc64/crtn.S: New file.
14960
26ecc33a
AS
14961 * Makeconfig (have-initfini): Don't set.
14962 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
14963 * configure.in (nopic_initfini): Don't substitute.
14964 * config.h.in (HAVE_INITFINI): Don't #undef.
14965 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
14966 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
14967
3add8e13
JM
149682012-02-08 Joseph Myers <joseph@codesourcery.com>
14969
14970 Support crti.S and crtn.S provided directly by architectures.
14971 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
14972 [crti.S in sysdirs] (omit-deps): Likewise.
14973 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
14974 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
14975 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
14976 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
14977 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
14978 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
14979 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
14980 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
14981 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
14982 compiler output for sysdeps/generic/initfini.c.
14983 * sysdeps/i386/elf/Makefile: Remove file.
14984 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
14985
a22f12b4
MP
149862012-02-07 Marek Polacek <polacek@redhat.com>
14987
14988 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
14989 * sysdeps/gnu/_G_config.h: Likewise.
14990 * sysdeps/mach/hurd/_G_config.h: Likewise.
14991
148cf100
MP
149922012-02-07 Marek Polacek <polacek@redhat.com>
14993
14994 * math/Makefile (tests): Add tst-CMPLX2.
14995 * math/tst-CMPLX2.c: New file.
14996
cfdc0dd7
AS
149972012-02-07 Andreas Schwab <schwab@linux-m68k.org>
14998
84ba42c4
AS
14999 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15000
cfdc0dd7
AS
15001 * math/libm-test.inc (jn_test): Add missing L suffix.
15002
622c86f4
MP
150032012-02-06 Marek Polacek <polacek@redhat.com>
15004
15005 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
15006 * sysdeps/i386/fpu/e_powf.S: Likewise.
15007 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15008 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15009 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15010 * sysdeps/i386/fpu/e_pow.S: Likewise.
15011 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15012 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15013 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15014 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15015 * sysdeps/i386/fpu/e_log2.S: Likewise.
15016 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15017 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15018 * sysdeps/i386/fpu/e_powl.S: Likewise.
15019 * sysdeps/i386/fpu/s_log1p.S: Likewise.
15020 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15021 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15022 * sysdeps/i386/fpu/e_logl.S: Likewise.
15023 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15024 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
15025 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15026 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15027 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15028 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15029 * sysdeps/i386/fpu/e_log.S: Likewise.
15030 * sysdeps/i386/fpu/s_cexp.S: Likewise.
15031 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15032 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
15033 * sysdeps/i386/fpu/e_logf.S: Likewise.
15034 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15035 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15036 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
15037 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15038 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15039 * sysdeps/i386/fpu/e_log10.S: Likewise.
15040 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15041 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15042 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15043 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15044 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15045 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15046 * sysdeps/i386/asm-syntax.h: Likewise.
15047 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15048 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15049 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15050 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
15051 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
15052 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15053 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15054 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15055 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15056 * sysdeps/powerpc/sysdep.h: Likewise.
15057 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
15058 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15059
d4a54ac6
JM
150602012-02-06 Joseph Myers <joseph@codesourcery.com>
15061
15062 [BZ #411]
15063 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
15064
314054ea
JM
150652012-02-06 Joseph Myers <joseph@codesourcery.com>
15066
15067 * sysdeps/i386/sysdep.h: Include <features.h>.
15068 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
15069 version.
15070
d8e0ca50
JM
150712012-02-05 Joseph Myers <joseph@codesourcery.com>
15072
15073 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
15074 Define.
15075 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
15076 LOAD_PIC_REG_STR.
15077
b1da7dd9
JM
150782012-02-03 Joseph Myers <joseph@codesourcery.com>
15079
15080 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
15081 (SETUP_PIC_REG): Use GET_PC_THUNK.
15082 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
15083 macro.
15084
9a1d9254
JM
150852012-02-03 Joseph Myers <joseph@codesourcery.com>
15086
15087 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
15088 for non-PIC compilation.
15089 (SETUP_PIC_REG): Add .p2align directive.
15090 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
15091 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
15092 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15093 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15094 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15095 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15096 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
15097 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15098 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15099 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15100 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15101 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15102 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15103 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15104 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15105 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15106 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15107 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15108 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15109 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15110 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15111 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15112 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15113 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15114 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15115 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15116 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15117 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15118 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15119 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15120 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15121 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15122 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15123 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15124 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15125 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15126 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15127 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15128 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15129 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15130 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15131
65dc3b75
JM
151322012-02-03 Joseph Myers <joseph@codesourcery.com>
15133
15134 * math/tst-CMPLX.c: Include <stdio.h>.
15135
d55bf177
JM
151362012-01-31 Joseph Myers <joseph@codesourcery.com>
15137
15138 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
15139 float.
15140 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15141 * sysdeps/sparc/bits/mathdef.h: Likewise.
15142
69db4f8f
MP
151432012-01-31 Marek Polacek <polacek@redhat.com>
15144
15145 * libio/libio.h: Don't define _PARAMS.
15146 * locale/programs/config.h: Don't define PARAMS.
15147 * stdlib/strtol_l.c: Likewise.
15148 (__strtol_l): Remove PARAMS from the prototype.
15149
41b81892
UD
151502012-01-31 Ulrich Drepper <drepper@gmail.com>
15151
3b49edc0
UD
15152 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
15153 names. Just use the correct names. Remove unnecessary wrapper
15154 functions.
15155 * malloc/arena.c: Likewise.
15156 * malloc/hooks.c: Likewise.
15157
41b81892
UD
15158 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
15159 ARENA_TEST says not to. Simplify test for creation of a new arena.
15160 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
15161
27a25b6e
UD
151622012-01-30 Ulrich Drepper <drepper@gmail.com>
15163
15164 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
15165 into tail calls.
15166 (update_get_addr): New function.
15167 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
15168 GET_ADDR_MODULE parameter.
15169
c8a89e7d
JM
151702012-01-30 Joseph Myers <joseph@codesourcery.com>
15171
15172 * crypt/cert.c: Remove __STDC__ conditionals.
15173 * crypt/crypt-entry.c: Likewise.
15174 * crypt/crypt_util.c: Likewise.
15175 * libio/filedoalloc.c: Likewise.
15176 * libio/fileops.c: Likewise.
15177 * libio/genops.c: Likewise.
15178 * libio/iofclose.c: Likewise.
15179 * libio/iofdopen.c: Likewise.
15180 * libio/iofopen.c: Likewise.
15181 * libio/iofopen64.c: Likewise.
15182 * libio/iogetdelim.c: Likewise.
15183 * libio/iopopen.c: Likewise.
15184 * libio/obprintf.c: Likewise.
15185 * libio/oldfileops.c: Likewise.
15186 * libio/oldiofclose.c: Likewise.
15187 * libio/oldiofdopen.c: Likewise.
15188 * libio/oldiofopen.c: Likewise.
15189 * libio/oldiopopen.c: Likewise.
15190 * libio/wfiledoalloc.c: Likewise.
15191 * libio/wgenops.c: Likewise.
15192 * locale/programs/xmalloc.c: Likewise.
15193 * misc/syslog.c: Likewise.
15194 * stdio-common/xbug.c: Likewise.
15195 * string/memchr.c: Likewise.
15196 * string/memcmp.c: Likewise.
15197 * string/memrchr.c: Likewise.
15198 * string/rawmemchr.c: Likewise.
15199 * sysdeps/posix/getcwd.c: Likewise.
15200 * time/strftime_l.c: Likewise.
15201
3b100462
JM
152022012-01-30 Joseph Myers <joseph@codesourcery.com>
15203
15204 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
15205 * config.make.in (config-cflags-sse2avx): Define.
15206 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
15207 Fix typo.
15208
607998af
CM
152092012-01-29 Chris Metcalf <cmetcalf@tilera.com>
15210
15211 * scripts/config.guess: Update from upstream config git repository.
15212 * scripts/config.sub: Likewise.
15213
3601428f
CM
152142012-01-28 Chris Metcalf <cmetcalf@tilera.com>
15215
3ac8b282
CM
15216 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
15217 (EM_NUM): Update.
15218 (R_TILEPRO_*, R_TILEGX_*): New macros.
15219
e034841e
CM
15220 * scripts/firstversions.awk: Fix bug in version range handling.
15221
540d7568
CM
15222 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
15223
3601428f
CM
15224 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
15225
463de862
CM
15226 * include/sys/epoll.h: New file.
15227 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
15228 libc_hidden_def.
15229
73139a76
UD
152302012-01-28 Ulrich Drepper <drepper@gmail.com>
15231
96bc5b45
UD
15232 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
15233 Avoid unnecessary __WORDSIZE == 64 test.
15234 (fmaxf): Use VEX format if possible.
15235 (fmax): Likewise.
15236 (fminf): Likewise.
15237 (fmin): Likewise.
15238
56f6f6a2
UD
15239 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
15240 * math/math_private.h: Remove libc_fegetround* and
15241 libc_fesetround*.
15242 * sysdeps/i386/configure.in: Check for -msse2avx.
15243 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
15244 also if SSE2AVX is defined.
15245 Remove libc_fegetround* and libc_fesetround*.
15246 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
15247 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
15248 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
15249 of HAS_YMM_USABLE.
15250 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15251 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15252 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15253 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15254 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15255
73139a76
UD
15256 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
15257
d73f93a4
AZ
152582012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15259
15260 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
15261 size is not set.
15262 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15263
6ee65ed6
UD
152642012-01-27 Ulrich Drepper <drepper@gmail.com>
15265
15266 [BZ #13618]
15267 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
15268 relocation.
15269 * Makeconfig (libm): Define.
15270 * elf/Makefile: Add rules to build and run tst-relsort1.
15271 * elf/tst-relsort1.c: New file.
15272 * elf/tst-relsort1mod1.c: New file.
15273 * elf/tst-relsort1mod2.c: New file.
15274
8db21882
JM
152752012-01-27 Joseph Myers <joseph@codesourcery.com>
15276
15277 * math/s_ldexp.c: Remove __STDC__ conditionals.
15278 * math/s_ldexpf.c: Likewise.
15279 * math/s_ldexpl.c: Likewise.
15280 * math/s_nextafter.c: Likewise.
15281 * math/s_nexttowardf.c: Likewise.
15282 * math/s_significand.c: Likewise.
15283 * math/s_significandf.c: Likewise.
15284 * math/s_significandl.c: Likewise.
15285 * math/w_jnl.c: Likewise.
15286 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
15287 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15288 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15289 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15290 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15291 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15292 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
15293 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15294 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15295 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15296 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15297 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15298 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15299 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15300 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15301 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15302 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15303 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15304 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15305 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15306 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15307 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15308 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15309 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15310 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15311 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15312 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15313 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15314 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
15315 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15316 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15317 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
15318 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15319 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
15320 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
15321 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15322 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15323 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
15324 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
15325 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15326 * sysdeps/ieee754/k_standard.c: Likewise.
15327 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15328 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15329 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15330 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15331 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15332 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15333 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15334 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15335 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15336 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15337 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15338 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
15339 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15340 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15341 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15342 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15343 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15344 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15345 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15346 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15347 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15348 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15349 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15350 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15351 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15352 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15353 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15354 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15355 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15356 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15357 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15358 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
15359 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15360 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
15361 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15362 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
15363 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
15364 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15365 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
15366 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
15367 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
15368 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
15369 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
15370 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
15371 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15372 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15373 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15374 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15375 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15376 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
15377 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
15378 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15379 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15380 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
15381 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15382 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
15383 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
15384 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15385 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15386 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15387 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15388 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15389 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15390 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15391 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15392 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15393 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15394 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15395 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15396 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15397 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15398 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15399 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15400 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15401 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15402 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15403 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15404 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15405 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15406 * sysdeps/ieee754/s_matherr.c: Likewise.
15407 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15408 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15409 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15410 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15411
965a54a4
JM
154122012-01-26 Joseph Myers <joseph@codesourcery.com>
15413
15414 * crypt/md5.h: Remove __STDC__ conditionals.
15415 * libio/libioP.h: Likewise.
15416 * locale/programs/config.h: Likewise.
15417 * sysdeps/generic/sysdep.h: Likewise.
15418 * sysdeps/i386/asm-syntax.h: Likewise.
15419 * sysdeps/s390/asm-syntax.h: Likewise.
15420 * sysdeps/unix/sysdep.h: Likewise.
15421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15423
7071ad79
JM
154242012-01-26 Joseph Myers <joseph@codesourcery.com>
15425
15426 * libio/libio.h: Remove __STDC__ conditionals.
15427 * malloc/obstack.h: Likewise.
15428 * math/complex.h: Likewise.
15429 * math/math.h: Likewise.
15430 * sysdeps/generic/_G_config.h: Likewise.
15431 * sysdeps/gnu/_G_config.h: Likewise.
15432 * sysdeps/mach/hurd/_G_config.h: Likewise.
15433 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15434 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15435 * sysdeps/sparc/bits/mathdef.h: Likewise.
15436
afc5ed09
UD
154372012-01-26 Ulrich Drepper <drepper@gmail.com>
15438
15439 [BZ #13583]
15440 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 15441 Clean up HAS_* macros.
afc5ed09 15442 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
15443 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
15444 possible.
15445 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
15446 HAS_AVX.
15447 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15448 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15449 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15450 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15451 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 15452
bdb6de1d
JM
154532012-01-25 Joseph Myers <joseph@codesourcery.com>
15454
15455 * elf/tst-unique3.cc (gets): Remove declaration.
15456 * elf/tst-unique3lib.cc (gets): Likewise.
15457 * elf/tst-unique3lib2.cc (gets): Likewise.
15458 * elf/tst-unique4.cc (gets): Likewise.
15459
b15549e6
UD
154602012-01-24 Ulrich Drepper <drepper@gmail.com>
15461
15462 * include/stdio.h: Add C++ protection. Add gets declarations and
15463 definitions.
15464 * debug/tst-chk1.c: Don't declare gets here.
15465 * stdio-common/tst-gets.c: Likewise.
15466
a037381f
JM
154672012-01-24 Joseph Myers <joseph@codesourcery.com>
15468
15469 * posix/glob: Remove directory.
15470
f1d4aa75
JM
154712012-01-24 Joseph Myers <joseph@codesourcery.com>
15472
15473 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
15474
81c0c964
PT
154752012-01-22 Pino Toscano <toscano.pino@tiscali.it>
15476
15477 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
15478 of the non-standard EPFNOSUPPORT.
15479
0ea698ae
ST
154802011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
15481
15482 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
15483 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
15484 ANYWHERE set to 1 only on KERN_NO_SPACE error.
15485
d220b117
UD
154862012-01-21 Ulrich Drepper <drepper@gmail.com>
15487
15488 * wcsmbs/uchar.h: Test __STDC_VERSION__.
15489
3e1aa84e
UD
154902012-01-20 Ulrich Drepper <drepper@gmail.com>
15491
15492 * nscd/aicache.c (addhstaiX): Do not cache negative results of
15493 transient errors.
15494 * nscd/grpcache.c (cache_addgr): Likewise.
15495 * nscd/hstcache.c (cache_addhst): Likewise.
15496 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15497 * nscd/pwdcache.c (cache_addpw): Likewise.
15498 * nscd/servicescache.c (cache_addserv): Likewise.
15499
400aa020
UD
155002012-01-16 Ulrich Drepper <drepper@gmail.com>
15501
d77e7869
UD
15502 * malloc/malloc.c: Various cleanups.
15503 * malloc/hooks.c: Likewise.
15504
400aa020
UD
15505 * stdlib/Makefile (tests): Add bug-fmtmsg1.
15506 * stdlib/bug-fmtmsg1.c: New file.
15507
15508 * stdlib/fmtmsg.c (init): Add missing unlock.
15509 Patch by Peng Haitao <penght@cn.fujitsu.com>.
15510
e0a309cf
MP
155112012-01-12 Marek Polacek <polacek@redhat.com>
15512
15513 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
15514 and _GNU_SOURCE.
15515
929d11c7
WS
155162012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15517
15518 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
15519 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
15520 macro to ensure uniqueness of label name.
15521 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
15522 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
15523
41d0e869
UD
155242012-01-11 Ulrich Drepper <drepper@gmail.com>
15525
0cc5ed3b
UD
15526 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
15527
41d0e869
UD
15528 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
15529 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
15530 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15531 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
15532
a47a831a
UD
155332012-01-10 Ulrich Drepper <drepper@gmail.com>
15534
daa891c0
UD
15535 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
15536
15537 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
15538 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
15539 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
15540
e58ef0f2
UD
15541 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
15542
a47a831a 15543 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
15544 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
15545 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 15546 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
15547
15548 * math/bits/math-finite.h: Add ldexp support.
15549
a0bfc9c7
MP
155502012-01-10 Marek Polacek <polacek@redhat.com>
15551
15552 * locale/programs/localedef.h (show_archive_content): Add noreturn
15553 attribute.
15554
d6e97a1d
UD
155552012-01-09 Ulrich Drepper <drepper@gmail.com>
15556
15557 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
15558
d5835c26
UD
155592012-01-08 Ulrich Drepper <drepper@gmail.com>
15560
e5f484c6
UD
15561 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
15562
d5835c26
UD
15563 * io/Makefile (headers): Add bits/poll2.h.
15564
d1f741e9
WS
155652011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
15566
15567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
15568 typo #include statement.
15569
ec09c1c4
UD
155702012-01-08 Ulrich Drepper <drepper@gmail.com>
15571
15572 * include/sys/cdefs.h: Define __attribute_alloc_size.
15573 * catgets/gencat.c: Add alloc_size attribute and apply consistently
15574 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
15575 * elf/pldd.c: Likewise.
15576 * iconv/iconv_charmap.c: Likewise.
15577 * iconv/iconvconfig.c: Likewise.
15578 * iconv/strtab.c: Likewise.
15579 * locale/programs/locale.c: Likewise.
15580 * locale/programs/localedef.h: Likewise.
15581 * locale/programs/simple-hash.c: Likewise.
15582 * nscd/nscd.h: Likewise.
15583 * nss/makedb.c: Likewise.
15584 * sysdeps/generic/ldconfig.h: Likewise.
15585 * locale/programs/localedef.c: Remove xmalloc prototype.
15586 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
15587
20b38e03
PP
155882012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15589
15590 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
15591 appropriate.
15592
a0da5fe1
UD
155932012-01-08 Ulrich Drepper <drepper@gmail.com>
15594
1d5a644a 15595 * math/Makefile (tests): Add tst-CMPLX.
669704fd 15596 * math/tst-CMPLX.c: New file.
1d5a644a 15597
8784a6db
UD
15598 * math/complex.h (CMPLXL): Fix typo.
15599
d9a216c0
UD
15600 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
15601 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
15602 GLIBC_2.16.
15603 * debug/tst-chk1.c: Add poll and ppoll tests.
15604 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
15605 * include/sys/poll.h: Add hidden proto for ppoll.
15606 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
15607 * sysdeps/mach/hurd/ppoll.c: Likewise.
15608 * io/ppoll.c: Likewise.
15609 * debug/poll_chk.c: New file.
15610 * debug/ppoll_chk.c: New file.
15611 * include/bits/poll2.h: New file.
15612 * io/bits/poll2.h: New file.
15613
ac097f5c
UD
15614 [BZ #1350]
15615 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
15616
2119dcfa
UD
15617 * configure.in: static is always set to yes. Remove.
15618 * config.make.in: Don't set build-static.
15619 * Makeconfig: Remove use of build-static.
15620 * dlfcn/Makefile: Likewise.
15621 * elf/Makefile: Likewise.
15622 * math/Makefile: Likewise.
15623 * misc/Makefile: Likewise.
15624 * nptl/Makefile: Likewise.
15625 * sysdeps/mach/hurd/Makefile: Likewise.
15626
121766a9
UD
15627 * configure.in: PWD_P is not used anymore.
15628 * config.make.in: Remove PWD_P entry.
15629
51a1d39c 15630 * configure.in: Remove last remnants of RANLIB.
8720d066 15631 No need to check for signed size_t anymore.
215f4bdc
UD
15632 Don't set libc_commonpagesize and libc_relro_required here for Alpha
15633 and IA-64.
3857022a 15634 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
15635 * aclocal.m4: Likewise.
15636
d3ed7225
UD
15637 * wcsmbs/mbrtoc16.c: Implement using towc function.
15638 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
15639 * wcsmbs/wcsmbsload.c: Likewise.
15640 * iconv/gconv_simple.c: Likewise.
15641 * iconv/gconv_int.h: Likewise.
15642 * iconv/gconv_builtin.h: Likewise.
15643 * iconv/iconv_prog.c: Remove CHAR16 handling.
15644
15645 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
15646
15647 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
15648
a0da5fe1
UD
15649 * configure.in: Remove --with-elf and --enable-bounded options.
15650 Dont set base_machine for ia64. More non-ELF conditions removed.
15651 Remove testing and setting of leading underscore information.
15652 * config.make.in (build-bounded): Set to no.
15653 * config.h.in: Remove NO_UNDERSCORES entry.
15654 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
15655 them.
15656 * csu/start.c: Remove !NO_UNDERSCORE code.
15657 * locale/localeinfo.h: Likewise.
15658 * sysdeps/generic/machine-gmon.h: Likewise.
15659 * sysdeps/generic/sysdep.h: Likewise.
15660 * sysdeps/i386/sysdep.h: Likewise.
15661 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
15662 * sysdeps/mach/sysdep.h: Likewise.
15663 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15664 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15665 * sysdeps/sh/sysdep.h: Likewise.
15666 * sysdeps/sparc/sparc32/alloca.S: Likewise.
15667 * sysdeps/unix/i386/sysdep.S: Likewise.
15668 * sysdeps/unix/sparc/start.c: Likewise.
15669 * sysdeps/unix/sparc/sysdep.S: Likewise.
15670 * sysdeps/unix/sparc/sysdep.h: Likewise.
15671 * sysdeps/unix/start.c: Likewise.
15672 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15673 * sysdeps/x86_64/sysdep.h: Likewise.
15674
df78418a
UD
156752012-01-07 Ulrich Drepper <drepper@gmail.com>
15676
a784e502
UD
15677 [BZ #13553]
15678 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
15679 for non-gcc.
15680 * argp/argp-fmtstream.h: Use const instead __const.
15681 * argp/argp.h: Likewise.
15682 * assert/assert.h: Likewise.
15683 * bits/fenv.h: Likewise.
15684 * bits/sched.h: Likewise.
15685 * bits/sigset.h: Likewise.
15686 * bits/sigthread.h: Likewise.
15687 * catgets/nl_types.h: Likewise.
15688 * conform/data/pthread.h-data: Likewise.
15689 * crypt/crypt-private.h: Likewise.
15690 * crypt/crypt.h: Likewise.
15691 * crypt/crypt_util.c: Likewise.
15692 * ctype/ctype.h: Likewise.
15693 * debug/execinfo.h: Likewise.
15694 * debug/mbsnrtowcs_chk.c: Likewise.
15695 * debug/mbsrtowcs_chk.c: Likewise.
15696 * debug/wcsnrtombs_chk.c: Likewise.
15697 * debug/wcsrtombs_chk.c: Likewise.
15698 * debug/wcstombs_chk.c: Likewise.
15699 * dirent/dirent.h: Likewise.
15700 * dlfcn/dlfcn.h: Likewise.
15701 * elf/neededtest4.c: Likewise.
15702 * grp/grp.h: Likewise.
15703 * gshadow/gshadow.h: Likewise.
15704 * iconv/gconv.h: Likewise.
15705 * iconv/gconv_int.h: Likewise.
15706 * iconv/gconv_simple.c: Likewise.
15707 * iconv/iconv.h: Likewise.
15708 * iconv/loop.c: Likewise.
15709 * iconv/skeleton.c: Likewise.
15710 * include/aio.h: Likewise.
15711 * include/aliases.h: Likewise.
15712 * include/argz.h: Likewise.
15713 * include/arpa/inet.h: Likewise.
15714 * include/assert.h: Likewise.
15715 * include/dirent.h: Likewise.
15716 * include/dlfcn.h: Likewise.
15717 * include/execinfo.h: Likewise.
15718 * include/fcntl.h: Likewise.
15719 * include/fenv.h: Likewise.
15720 * include/glob.h: Likewise.
15721 * include/grp.h: Likewise.
15722 * include/libintl.h: Likewise.
15723 * include/mntent.h: Likewise.
15724 * include/netdb.h: Likewise.
15725 * include/pwd.h: Likewise.
15726 * include/rpc/netdb.h: Likewise.
15727 * include/sched.h: Likewise.
15728 * include/search.h: Likewise.
15729 * include/shadow.h: Likewise.
15730 * include/signal.h: Likewise.
15731 * include/stdio.h: Likewise.
15732 * include/stdlib.h: Likewise.
15733 * include/string.h: Likewise.
15734 * include/sys/socket.h: Likewise.
15735 * include/sys/stat.h: Likewise.
15736 * include/sys/statfs.h: Likewise.
15737 * include/sys/statvfs.h: Likewise.
15738 * include/sys/syslog.h: Likewise.
15739 * include/sys/time.h: Likewise.
15740 * include/sys/uio.h: Likewise.
15741 * include/time.h: Likewise.
15742 * include/unistd.h: Likewise.
15743 * include/utmp.h: Likewise.
15744 * include/wchar.h: Likewise.
15745 * include/wctype.h: Likewise.
15746 * inet/aliases.h: Likewise.
15747 * inet/arpa/inet.h: Likewise.
15748 * inet/netinet/ether.h: Likewise.
15749 * inet/netinet/in.h: Likewise.
15750 * intl/libintl.h: Likewise.
15751 * io/bits/fcntl2.h: Likewise.
15752 * io/fcntl.h: Likewise.
15753 * io/ftw.h: Likewise.
15754 * io/sys/poll.h: Likewise.
15755 * io/sys/stat.h: Likewise.
15756 * io/sys/statfs.h: Likewise.
15757 * io/sys/statvfs.h: Likewise.
15758 * io/utime.h: Likewise.
15759 * libio/bits/stdio.h: Likewise.
15760 * libio/bits/stdio2.h: Likewise.
15761 * libio/libio.h: Likewise.
15762 * libio/libioP.h: Likewise.
15763 * libio/stdio.h: Likewise.
15764 * locale/lc-ctype.c: Likewise.
15765 * locale/locale.h: Likewise.
15766 * login/utmp.h: Likewise.
15767 * malloc/arena.c: Likewise.
15768 * malloc/malloc.c: Likewise.
15769 * malloc/malloc.h: Likewise.
15770 * malloc/mcheck.c: Likewise.
15771 * malloc/mtrace.c: Likewise.
15772 * math/bits/mathcalls.h: Likewise.
15773 * math/fenv.h: Likewise.
15774 * math/math_private.h: Likewise.
15775 * misc/bits/error.h: Likewise.
15776 * misc/bits/syslog.h: Likewise.
15777 * misc/err.h: Likewise.
15778 * misc/error.h: Likewise.
15779 * misc/fstab.h: Likewise.
15780 * misc/mntent.h: Likewise.
15781 * misc/regexp.h: Likewise.
15782 * misc/search.h: Likewise.
15783 * misc/sgtty.h: Likewise.
15784 * misc/sys/mman.h: Likewise.
15785 * misc/sys/syslog.h: Likewise.
15786 * misc/sys/uio.h: Likewise.
15787 * misc/sys/xattr.h: Likewise.
15788 * misc/ttyent.h: Likewise.
15789 * nis/rpcsvc/ypclnt.h: Likewise.
15790 * nss/nss.h: Likewise.
15791 * posix/bits/unistd.h: Likewise.
15792 * posix/fnmatch.h: Likewise.
15793 * posix/glob.h: Likewise.
15794 * posix/sched.h: Likewise.
15795 * posix/spawn.h: Likewise.
15796 * posix/sys/wait.h: Likewise.
15797 * posix/unistd.h: Likewise.
15798 * posix/wordexp.h: Likewise.
15799 * pwd/pwd.h: Likewise.
15800 * resolv/netdb.h: Likewise.
15801 * resource/sys/resource.h: Likewise.
15802 * rt/aio.h: Likewise.
15803 * rt/bits/mqueue2.h: Likewise.
15804 * rt/mqueue.h: Likewise.
15805 * shadow/shadow.h: Likewise.
15806 * signal/signal.h: Likewise.
15807 * socket/send.c: Likewise.
15808 * socket/sendto.c: Likewise.
15809 * socket/sys/socket.h: Likewise.
15810 * stdio-common/printf.h: Likewise.
15811 * stdlib/bits/stdlib.h: Likewise.
15812 * stdlib/fmtmsg.h: Likewise.
15813 * stdlib/monetary.h: Likewise.
15814 * stdlib/stdlib.h: Likewise.
15815 * stdlib/ucontext.h: Likewise.
15816 * streams/stropts.h: Likewise.
15817 * string/argz.h: Likewise.
15818 * string/bits/string2.h: Likewise.
15819 * string/string.h: Likewise.
15820 * string/strings.h: Likewise.
15821 * sunrpc/rpc/auth.h: Likewise.
15822 * sunrpc/rpc/auth_des.h: Likewise.
15823 * sunrpc/rpc/clnt.h: Likewise.
15824 * sunrpc/rpc/netdb.h: Likewise.
15825 * sunrpc/rpc/pmap_clnt.h: Likewise.
15826 * sunrpc/rpc/xdr.h: Likewise.
15827 * sysdeps/generic/inttypes.h: Likewise.
15828 * sysdeps/generic/net/if.h: Likewise.
15829 * sysdeps/generic/sys/swap.h: Likewise.
15830 * sysdeps/gnu/net/if.h: Likewise.
15831 * sysdeps/gnu/utmpx.h: Likewise.
15832 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
15833 * sysdeps/i386/i486/bits/string.h: Likewise.
15834 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
15835 * sysdeps/s390/bits/string.h: Likewise.
15836 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
15837 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
15838 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
15839 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
15840 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
15841 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
15842 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
15843 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
15844 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
15845 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
15846 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
15847 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15848 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
15849 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15850 * sysdeps/unix/sysv/linux/readv.c: Likewise.
15851 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
15852 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
15853 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15854 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15855 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15856 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
15857 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
15858 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
15859 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
15860 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
15861 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
15862 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
15863 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15864 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
15865 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
15866 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
15867 * sysvipc/sys/ipc.h: Likewise.
15868 * sysvipc/sys/msg.h: Likewise.
15869 * sysvipc/sys/sem.h: Likewise.
15870 * sysvipc/sys/shm.h: Likewise.
15871 * termios/termios.h: Likewise.
15872 * time/sys/time.h: Likewise.
15873 * time/time.h: Likewise.
15874 * wcsmbs/bits/wchar2.h: Likewise.
15875 * wcsmbs/uchar.h: Likewise.
15876 * wcsmbs/wchar.h: Likewise.
15877 * wctype/wctype.h: Likewise.
15878
0269750c
UD
15879 [BZ #13551]
15880 * Makeconfig: Remove all but ELF support including AIX support.
15881 * Makerules: Likewise.
15882 * config.h.in: Likewise.
15883 * config.make.in: Likewise.
15884 * configure: Likewise.
15885 * configure.in: Likewise.
15886 * csu/Makefile: Likewise.
15887 * csu/version.c: Likewise.
15888 * debug/Makefile: Likewise.
15889 * dlfcn/Makefile: Likewise.
15890 * elf/Makefile: Likewise.
15891 * extra-lib.mk: Likewise.
15892 * iconv/Makefile: Likewise.
15893 * include/libc-symbols.h: Likewise.
15894 * include/shlib-compat.h: Likewise.
15895 * resolv/Makefile: Likewise.
15896 * resolv/res_libc.c: Likewise.
15897 * rt/Makefile: Likewise.
15898 * sysdeps/i386/asm-syntax.h: Likewise.
15899 * sysdeps/i386/sysdep.h: Likewise.
15900 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
15901 * sysdeps/mach/sysdep.h: Likewise.
15902 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
15903 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
15904 * sysdeps/s390/asm-syntax.h: Likewise.
15905 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15906 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15907 * sysdeps/sh/sysdep.h: Likewise.
15908 * sysdeps/unix/sparc/sysdep.h: Likewise.
15909 * sysdeps/wordsize-32/divdi3.c: Likewise.
15910 * sysdeps/x86_64/sysdep.h: Likewise.
15911
00bbd29b
UD
15912 * argp/Versions: Remove _argp_unlock_xxx.
15913
15914 [BZ #13559]
15915 * abilist/ld.abilist: Update. Adjust for removal of tls option.
15916 * abilist/libBrokenLocale.abilist: Likewise.
15917 * abilist/libanl.abilist: Likewise.
15918 * abilist/libc.abilist: Likewise.
15919 * abilist/libcrypt.abilist: Likewise.
15920 * abilist/libdl.abilist: Likewise.
15921 * abilist/libm.abilist: Likewise.
15922 * abilist/libnsl.abilist: Likewise.
15923 * abilist/libpthread.abilist: Likewise.
15924 * abilist/libresolv.abilist: Likewise.
15925 * abilist/librt.abilist: Likewise.
15926 * abilist/libthread_db.abilist: Likewise.
15927 * abilist/libutil.abilist: Likewise.
15928 * abilist/libnss_db.abilist: New file.
15929
15930 * scripts/abilist.awk: Add support for indirect functions.
15931
a2693a0e
UD
15932 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
15933
3f05895f
UD
15934 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
15935
ecb6fb48
UD
15936 * shlib-versions: Remove entries for ports architectures.
15937
664f8cb9
UD
15938 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
15939 files in ports.
15940 * elf/stackguard-macros.h: Remove support for IA-64.
15941 * elf/tst-auditmod1.c: Likewise.
15942 * sysdeps/generic/ldsodefs.h: Likewise.
15943
7ae81d88
UD
15944 * sysdeps/unix/sysv/linux/configure.in: Ports should define
15945 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
15946 configure files.
15947
bdeba135
UD
15948 [BZ #13552]
15949 * configure.in: Remove --enable-omitfp support.
15950 * FAQ.in: Adjust.
15951 * config.make.in: Likewise.
15952 * Makeconfig: Likewise.
15953 * manual/install.texi: Likewise.
15954
d75a0a62
UD
15955 In case anyone cares, the IA-64 architecture could move to ports.
15956 * sysdeps/ia64/*: Removed.
15957 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 15958 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 15959
dcc9756b
UD
15960 [BZ #13555]
15961 * configure.in: Remove entries for unsupported architectures.
15962
d3761ebc 15963 [BZ #13533]
9954432e
UD
15964 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
15965 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
15966 routines.
15967 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
15968 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
15969 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
15970 fall back to using wcrtomb.
15971 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
15972 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
15973 renaming.
15974 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
15975 * wcsmbs/tst-c16c32-1.c: New file.
15976
15977 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
15978 local variable.
15979
c3a87236
UD
15980 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
15981
28926a1b
UD
15982 * elf/tst-unique3.cc: Add explicit declaration of gets.
15983 * elf/tst-unique3lib.cc: Likewise.
15984 * elf/tst-unique3lib2.cc: Likewise.
15985 * elf/tst-unique4.cc: Likewise.
15986
df78418a
UD
15987 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
15988
8ecd6b2a
JM
159892012-01-06 Joseph Myers <joseph@codesourcery.com>
15990
15991 [BZ #13566]
15992 * assert/assert.h (static_assert): Don't define for C++.
15993 * libio/stdio.h (gets): Do declare for C++ <= C++11.
15994 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
15995
9f115170
UD
159962012-01-03 Ulrich Drepper <drepper@gmail.com>
15997
5e0d0300
UD
15998 * iconv/loop.c (single loop): Fix assertion in storing of
15999 remaining bytes.
16000
9f115170
UD
16001 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
16002
81fb02b0
UD
160032012-01-01 Ulrich Drepper <drepper@gmail.com>
16004
16005 * posix/getconf.c: Update copyright year.
16006 * nss/getent.c: Likewise.
a316c1f6 16007 * nss/makedb.c: Likewise.
81fb02b0
UD
16008 * iconv/iconvconfig.c: Likewise.
16009 * iconv/iconv_prog.c: Likewise.
16010 * elf/ldconfig.c: Likewise.
a316c1f6
UD
16011 * elf/pldd.c: Likewise.
16012 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
16013 * catgets/gencat.c: Likewise.
16014 * csu/version.c: Likewise.
16015 * elf/ldd.bash.in: Likewise.
16016 * elf/sprof.c (print_version): Likewise.
16017 * locale/programs/locale.c: Likewise.
16018 * locale/programs/localedef.c: Likewise.
a316c1f6 16019 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
16020 * nscd/nscd.c (print_version): Likewise.
16021 * debug/xtrace.sh: Likewise.
16022 * malloc/memusage.sh: Likewise.
16023 * malloc/mtrace.pl: Likewise.
16024 * debug/catchsegv.sh: Likewise.
16025
2ba92745
JJ
160262011-12-30 Jakub Jelinek <jakub@redhat.com>
16027
16028 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
16029 pure attribute.
16030
dadebdae
UD
160312011-12-24 Ulrich Drepper <drepper@gmail.com>
16032
d3761ebc 16033 [BZ #13533]
db6af3eb
UD
16034 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
16035 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
16036 transformations.
16037 * iconv/gconv_int.h: Likewise.
16038 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
16039 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
16040 from libc for GLIBC_2.16.
16041 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
16042 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
16043 * wcsmbs/uchar.h: Really define mbstate_t.
16044 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
16045 * wcsmbs/c16rtomb.c: New file.
16046 * wcsmbs/mbrtoc16.c: New file.
16047 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
16048 for C/POSIX locale.
16049 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
16050 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
16051
dadebdae
UD
16052 * wcsmbs/wchar.h: Add missing __restrict.
16053
67371b56
UD
160542011-12-23 Ulrich Drepper <drepper@gmail.com>
16055
74033a25
UD
16056 [BZ #13532]
16057 * time/Makefile (routines): Add timespec_get.
16058 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
16059 * time/time.h: Define TIME_UTC and declare timespec_get. Define
16060 timespec for ISO C11.
16061 * time/timespec_get.c: New file.
16062 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
16063 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
16064
380d7e87
UD
16065 [BZ #13531]
16066 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
16067 * stdlib/stdlib.h: Declare aligned_alloc.
16068 * Versions.def: Add GLIBC_2.16 for libc.
16069 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
16070
4e9e7a35
UD
16071 [BZ 13527]
16072 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
16073 ISO C11.
16074
380d7e87 16075 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
16076 code.
16077
03a71829
UD
16078 [BZ #13528]
16079 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
16080
839e283e
UD
16081 [BZ #13529]
16082 * assert/assert.h (static_assert): Define.
16083
ce5294e2 16084 * version.h: Update for 2.16 development version.
90fa7312 16085
8d44e150 16086 [BZ #13526]
d7809905
UD
16087 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
16088 _ISOC11_SOURCE.
16089
c0da14cd
UD
16090 * version.h (RELEASE): Bump for 2.15 release.
16091 * include/features.h (__GLIBC_MINOR__): Bump to 15.
16092
530a3249
MP
16093 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
16094 Patch by Marek Polacek <mpolacek@redhat.com>.
16095
67371b56
UD
16096 * bits/byteswap.h: Protect long long constants with __extension__.
16097 * sysdeps/i386/bits/byteswap.h: Likewise.
16098 * sysdeps/ia64/bits/byteswap.h: Likewise.
16099 * sysdeps/s390/bits/byteswap.h: Likewise.
16100 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16101
15db4de1
LD
161022011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16103
16104 [BZ #13540]
bbe315ea
LD
16105 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
16106 destination buffer.
15db4de1
LD
16107 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
16108
2b2596b1
MP
161092011-12-23 Marek Polacek <polacek@redhat.com>
16110
16111 * elf/dl-addr.c (determine_info): Add inline keyword.
16112 * elf/tst-auditmod4b.c (check_avx): Likewise.
16113 * elf/tst-auditmod6b.c (check_avx): Likewise.
16114 * elf/tst-auditmod6c.c (check_avx): Likewise.
16115 * elf/tst-auditmod7b.c (check_avx): Likewise.
16116
70c6c246
UD
161172011-12-23 Ulrich Drepper <drepper@gmail.com>
16118
16119 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
16120 !__SSE_MATH__.
16121
c044cf14
LD
161222011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16123
15db4de1 16124 [BZ #13540]
c044cf14
LD
16125 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
16126 processing for last bytes.
16127
6b13d9d9
BH
161282011-08-06 Bruno Haible <bruno@clisp.org>
16129
d455f537
BH
16130 [BZ #13061]
16131 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
16132 U+0385, not to U+1FEE.
16133
6b13d9d9
BH
16134 [BZ #13062]
16135 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
16136 entry for U+00A5 U+0301.
16137
db910efd
UD
161382011-12-22 Ulrich Drepper <drepper@gmail.com>
16139
27deeafc
UD
16140 [BZ #13166]
16141 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
16142 buffer for the output is too small.
16143
aed9d171
UD
16144 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
16145 optimization.
16146
db910efd
UD
16147 [BZ #13185]
16148 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
16149 SSE flags if possible.
16150
2bd779ae
LD
161512011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16152
e7f9dac3 16153 [BZ #13540]
2bd779ae
LD
16154 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
16155 processing for last bytes.
16156
154bfc16
JM
161572011-12-22 Joseph Myers <joseph@codesourcery.com>
16158
16159 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
16160 (syscall-list-default-options, syscall-list-default-condition)
16161 (syscall-list-includes): Define.
16162 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
16163 list of ABIs and options and #if conditions for each ABI. Do not
16164 handle common syscalls between ABIs specially.
16165 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
16166 Remove.
16167 (syscall-list-variants, syscall-list-32bit-options)
16168 (syscall-list-32bit-condition, syscall-list-64bit-options)
16169 (syscall-list-64bit-condition): Define.
16170 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
16171 (syscall-list-variants, syscall-list-32bit-options)
16172 (syscall-list-32bit-condition, syscall-list-64bit-options)
16173 (syscall-list-64bit-condition): Define.
16174 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
16175 Remove.
16176 (syscall-list-variants, syscall-list-32bit-options)
16177 (syscall-list-32bit-condition, syscall-list-64bit-options)
16178 (syscall-list-64bit-condition): Define.
16179 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
16180 Remove.
16181 (syscall-list-variants, syscall-list-32bit-options)
16182 (syscall-list-32bit-condition, syscall-list-64bit-options)
16183 (syscall-list-64bit-condition): Define.
16184
21eaf3a5
UD
161852011-12-22 Ulrich Drepper <drepper@gmail.com>
16186
16c6f992
UD
16187 * locale/iso-639.def: Add brx entry.
16188
41043168
UD
16189 [BZ #13328]
16190 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
16191 Proposed by Mariusz_Cukr <marcukr@op.pl>.
16192
21eaf3a5
UD
16193 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
16194 __feraiseexcept_renamed.
16195
e3a851a2
UD
161962011-12-21 Ulrich Drepper <drepper@gmail.com>
16197
4920765e
UD
16198 [BZ #13538]
16199 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
16200 EPOLLET with unsigned values.
16201 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16202 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16203
e3a851a2
UD
16204 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
16205 to large cancellation.
16206 * math/s_cacoshf.c: Likewise.
16207 * math/s_cacoshl.c: Likewise.
16208
b27e24b8
RK
162092011-11-18 Richard B. Kreckel <kreckel@ginac.de>
16210
16211 [BZ #13305]
aebefeee 16212 [BZ #12786]
b27e24b8
RK
16213 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
16214 * math/s_cacoshf.c: Likewise.
16215 * math/s_cacoshl.c: Likewise.
16216
ee190f67
UD
162172011-12-21 Ulrich Drepper <drepper@gmail.com>
16218
16219 [BZ #13439]
16220 * iconv/gconv.h: Define __GCONV_SWAP.
16221 * iconvdata/unicode.c: The swap bit must be stored in __flags.
16222 * iconvdata/utf-16.c: Likewise.
16223 * iconvdata/utf-32.c: Likewise.
16224
707f25df
AS
162252011-12-21 Andreas Schwab <schwab@linux-m68k.org>
16226
16227 [BZ #13524]
16228 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
16229 numerator after shifting it by one limb.
16230
d2daaa1e
RÁE
162312011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
16232
16233 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
16234 under [__USE_EXTERN_INLINES].
16235
a4647e72
UD
162362011-12-17 Ulrich Drepper <drepper@gmail.com>
16237
16238 [BZ #13446]
16239 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
16240
f0b264f1
AZ
162412011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16242
16243 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
16244 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
16245 optimized code.
16246 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
16247 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
16248 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
16249 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
16250 for strncasecmp/strncasecmp_l compilation.
16251 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
16252 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
16253
8ef4f244
MP
162542011-12-08 Marek Polacek <mpolacek@redhat.com>
16255
16256 [BZ #13484]
16257 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
16258 of __asm__.
16259
97ac2654
UD
162602011-12-17 Ulrich Drepper <drepper@gmail.com>
16261
16262 [BZ #13506]
16263 * time/tzfile.c (__tzfile_read): Check values from file header.
16264
91d2a845
WS
162652011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
16266
16267 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
16268 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
16269 * powerpc/powerpc32/dl-start.S: Likewise.
16270 * powerpc/powerpc32/elf/start.S: Likewise.
16271 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16272 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
16273 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
16274 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
16275 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16276 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
16277 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
16278 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16279 * powerpc/powerpc32/fpu/s_round.S: Likewise.
16280 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16281 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16282 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16283 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
16284 * powerpc/powerpc32/memset.S: Likewise.
16285 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16286 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16287 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16288 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16289 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16290 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16291 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16292 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16293 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
16294 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
16295 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
16296 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16297 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16298
a1267ba1
AZ
162992011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16300
16301 * math/libm-test.inc: Added more nearbyint tests.
16302 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
16303 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
16304 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
16305 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
16306
ad8ac1bd
RL
163072011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
16308
16309 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
16310 FD_CLOEXEC.
16311
1d3e4b61
UD
163122011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16313
16314 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
16315 Add wcscpy-ssse3 wcscpy-c.
16316 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
16317 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
16318 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
16319 * sysdeps/x86_64/wcschr.S: New file.
16320 * sysdeps/x86_64/wcsrchr.S: New file.
16321 * string/test-strcmp.c: Remove checking of wcscmp function for
16322 wrong alignments.
16323 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
16324 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
16325 wcsrchr-sse2 wcsrchr-c.
16326 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
16327 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
16328 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
16329 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
16330 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
16331 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
16332 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
16333 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
16334 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
16335 * wcsmbc/wcschr.c (WCSCHR): New macro.
16336
5b330a2d
UD
163372011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16338
16339 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
16340 * wcsmbs/test-wcsrchr.c: New file.
16341 * string/test-strrchr.c: Add wcsrchr support.
16342 (WIDE): New macro.
16343 * wcsmbs/test-wcscpy.c: New file.
16344 * string/test-strcpy.c: Add wcscpy support.
16345 (WIDE): New macro.
26428b7c 16346
f039c043
UD
163472011-12-10 Ulrich Drepper <drepper@gmail.com>
16348
16349 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
16350 the inner loop.
16351
850fb039
AS
163522011-12-06 Andreas Schwab <schwab@linux-m68k.org>
16353
16354 [BZ #13472]
16355 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
16356
4efbd5cb
UD
163572011-12-04 Ulrich Drepper <drepper@gmail.com>
16358
52ff5dd0 16359 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 16360 Minor optimizations.
52ff5dd0 16361
4efbd5cb
UD
16362 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
16363 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
16364 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
16365
8a426e12
UD
163662011-12-03 Ulrich Drepper <drepper@gmail.com>
16367
aff2453d
UD
16368 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
16369 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
16370 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
16371 for gcc to avoid warnings.
16372 * inet/Makefile (tests): Add tst-checks.
16373 * inet/tst-checks.c: New file.
16374
16375 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
16376 warning.
16377
16378 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
16379 __wmemcmp_sse2.
16380
16381 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
16382 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
16383
8a426e12
UD
16384 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
16385
9bea3473
UD
163862011-12-02 Ulrich Drepper <drepper@gmail.com>
16387
3a965496
UD
16388 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
16389 problem.
16390
9bea3473
UD
16391 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
16392
f101631b
UD
163932011-11-29 Joseph Myers <joseph@codesourcery.com>
16394
16395 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
16396 conditional on GCC version.
16397 (__arch_compare_and_exchange_val_8_acq)
16398 (__arch_compare_and_exchange_val_16_acq)
16399 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
16400 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
16401 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
16402
a98275aa
UD
164032011-12-02 Joseph Myers <joseph@codesourcery.com>
16404
16405 * sysdeps/sh/backtrace.c: New file.
16406
d4cc29a2
AS
164072011-12-02 Andreas Schwab <schwab@redhat.com>
16408
16409 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
16410 parenthesis.
16411
6257af2d
AS
164122011-12-01 Andreas Schwab <schwab@redhat.com>
16413
16414 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
16415 falling back to utime.
16416
b5f44c1a
AS
164172011-11-30 Andreas Schwab <schwab@redhat.com>
16418
16419 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
16420 expectations for float.
16421
f3a6cc0a
AS
164222011-11-29 Andreas Schwab <schwab@redhat.com>
16423
16424 * locale/weight.h (findidx): Add parameter len.
16425 * locale/weightwc.h (findidx): Likewise.
16426 * posix/fnmatch_loop.c (FCT): Adjust caller.
16427 * posix/regcomp.c (build_equiv_class): Likewise.
16428 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
16429 * posix/regexec.c (check_node_accept_bytes): Likewise.
16430 * string/strcoll_l.c (STRCOLL): Likewise.
16431 * string/strxfrm_l.c (STRXFRM): Likewise.
16432
9d65ea3a
UD
164332011-11-17 Ulrich Drepper <drepper@gmail.com>
16434
16435 * Makefile.in: Remove CVSOPT handling.
16436 * configure.in: Remove use of AC_REVISION.
16437 * iconvdata/Makefile (distribute): No need to filter out CVS.
16438 * scripts/list-sources.sh: Remove CVS, subversion and monotone
16439 handling.
16440
5583a086
AS
164412011-11-16 Andreas Schwab <schwab@redhat.com>
16442
16443 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
16444 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
16445 [USE_AS_STRNCASECMP_L]: Likewise.
16446 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
16447 NO_TLS_DIRECT_SEG_REFS.
16448 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
16449 Fix argument offsets for non-PIC.
16450 [USE_AS_STRNCASECMP_L]: Likewise.
16451 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
16452 NO_TLS_DIRECT_SEG_REFS.
16453
d62a8200
UD
164542011-11-15 Ulrich Drepper <drepper@gmail.com>
16455
9d65ea3a 16456 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
16457 O_CLOEXEC.
16458 * locale/loadlocale.c (_nl_load_locale): Likewise.
16459
09f93bd3
AS
164602011-11-15 Andreas Schwab <schwab@redhat.com>
16461
446514f9
AS
16462 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
16463 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
16464 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
16465 (SYSCALL_GETTIME): Set errno on error.
16466
09f93bd3
AS
16467 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
16468 count references to noai6ai_cached.
16469
312be3f9
UD
164702011-11-15 Ulrich Drepper <drepper@gmail.com>
16471
16472 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
16473
16474 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
16475 FD_CLOEXEC for /proc/self/maps.
16476
16477 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
16478 FD_CLOEXEC for /proc/meminfo.
16479
16480 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
16481 gai.conf.
16482
16483 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
16484 FD_CLOEXEC for given file.
16485
16486 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
16487
16488 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
16489 FD_CLOEXEC for /etc/hosts.
16490 (_gethtent): Likewise.
16491
16492 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
16493
16494 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
16495 cancellation and set FD_CLOEXEC for /etc/netgroup.
16496
16497 * nss/nss_files/files-key.c (search): Don't allow cancellation when
16498 reading /etc/publickey.
16499
16500 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
16501 allow cancellation when reading /etc/group.
16502
16503 * nss/nss_files/files-alias.c (internal_setent): Don't allow
16504 cancellation.
16505 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
16506
16507 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
16508 when using data file.
16509
16510 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
16511
16512 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
16513 (write_nis_obj): Use "c" and "e" in fopen.
16514
16515 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
16516
16517 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
16518
16519 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
16520
16521 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
16522
16523 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
16524 locale.alias.
16525
16526 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
16527
16528 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
16529
16530 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
16531
16532 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
16533 file parsing and set FD_CLOEXEC.
16534
82af0fa8
UD
165352011-11-14 Ulrich Drepper <drepper@gmail.com>
16536
16537 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
16538
a5fb313c
AS
165392011-11-14 Andreas Schwab <schwab@redhat.com>
16540
16541 * malloc/arena.c (arena_get2): Don't call reused_arena when
16542 _int_new_arena failed.
16543
6abf3465
UD
165442011-11-14 Ulrich Drepper <drepper@gmail.com>
16545
16546 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
16547 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
16548 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
16549 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16550 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16551 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
16552 to compile strcasecmp and strncasecmp.
16553 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
16554 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
16555
16556 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
16557
76e3966e
UD
165582011-11-13 Ulrich Drepper <drepper@gmail.com>
16559
16560 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
16561 locale-defines.sym to gen-as-const-headers.
16562 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
16563 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
16564 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
16565 to compile strcasecmp and strncasecmp.
16566 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
16567 strcasecmp_l and strncasecmp_l.
16568 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
16569 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
16570 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
16571 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
16572 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
16573 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
16574 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
16575 * sysdeps/i386/i686/multiarch/strncase.S: New file.
16576 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
16577 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
16578 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
16579
ab26144e
UD
165802011-11-12 Ulrich Drepper <drepper@gmail.com>
16581
7edb22ef
UD
16582 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
16583 result of SYSDEP_GETTIME_CPU to retval.
16584 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
16585 parameter list to macro. Remove trailing semicolon. Adjust users.
16586
9694fc44
UD
16587 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
16588 variable.
16589
8ad89ef8
UD
16590 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
16591 mantissa words.
16592 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16593
0c822ef9
UD
16594 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
16595 from unused variable.
16596
874e0564
UD
16597 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
16598 DWARF definitions.
16599 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
16600 for assembling.
16601
3a2edc79
UD
16602 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
16603 over namespaces.
16604
f3c2577f
UD
16605 * sunrpc/rpc_prot.c (rejected): Fix case value.
16606
294ce126
UD
16607 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
16608 unsigned long long int to avoid warnings in shift.
16609
5e2b63c6
UD
16610 * posix/regex_internal.c (re_string_reconstruct): Actually use result
16611 of use of trans.
16612 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
16613 variable tmp.
16614
e7f4b08e
UD
16615 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
16616 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
16617 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
16618
ab26144e
UD
16619 * nis/nis_table.c (nis_list): Use variable of correct type for
16620 result of __follow_path call.
16621
8a6d5255
AZ
166222011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16623
16624 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
16625 of math functions ceil, trunc, floor, round, and sqrt, when
16626 avaliable on the platform.
16627 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
16628 name clash.
16629 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16630 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
16631 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
16632
aaddc98c
MP
166332011-10-30 Marek Polacek <mpolacek@redhat.com>
16634
16635 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
16636 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
16637
95b7042b
RM
166382011-11-11 Roland McGrath <roland@hack.frob.com>
16639
16640 * include/unistd.h: Fix __readlink return type.
16641 Reported by Chris Metcalf <cmetcalf@tilera.com>.
16642
57769839
UD
166432011-11-11 Ulrich Drepper <drepper@gmail.com>
16644
16645 * stdlib/ucontext.h: Undo last change for makecontext.
16646
edc5984d
AS
166472011-11-11 Andreas Schwab <schwab@redhat.com>
16648
98591e58
AS
16649 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
16650
edc5984d
AS
16651 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
16652 * setjmp/setjmp.h: Mark functions as non-leaf.
16653 * setjmp/bits/setjmp2.h: Likewise.
16654 * stdlib/ucontext.h: Likewise.
16655
77cdc054
AS
166562011-11-10 Andreas Schwab <schwab@redhat.com>
16657
16658 * malloc/arena.c (_int_new_arena): Don't increment narenas.
16659 (reused_arena): Don't check arena limit.
16660 (arena_get2): Atomically check arena limit.
16661
fe72eebd
UD
166622011-11-08 Ulrich Drepper <drepper@gmail.com>
16663
5f078c32
UD
16664 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
16665 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
16666
fe72eebd
UD
16667 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
16668 instructions.
16669
ae1bc2fa
AS
166702011-11-07 Andreas Schwab <schwab@redhat.com>
16671
7583a88d
AS
16672 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
16673 handler when locking.
16674
ae1bc2fa
AS
16675 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16676 Fix size of allocated buffer.
16677
10fb0bfa
AS
166782011-11-04 Andreas Schwab <schwab@redhat.com>
16679
998832a4
AS
16680 [BZ #10103]
16681 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
16682 declarations for long double functions.
16683 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
16684
10fb0bfa
AS
16685 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
16686
3d7ba52b
AS
166872011-11-03 Andreas Schwab <schwab@redhat.com>
16688
a9ae54a1
AS
16689 * nscd/nscd.c (main): Don't start AVC thread until credentials are
16690 installed.
16691
3d7ba52b
AS
16692 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
16693 is disabled.
16694
bc8db248
ST
166952011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16696
16697 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
16698
45b96dd6
AS
166992011-11-01 Andreas Schwab <schwab@linux-m68k.org>
16700
647776f6
AS
16701 * include/alloca.h (stackinfo_alloca_round): Define.
16702 (extend_alloca): Use it.
16703 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
16704 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
16705 here.
16706
d91a8b93
AS
16707 * scripts/check-local-headers.sh: Ignore libaudit.h.
16708
45b96dd6
AS
16709 * nscd/Makefile (extra-objs): Make recursively expanded.
16710
432d41ce
UD
167112011-11-01 Ulrich Drepper <drepper@gmail.com>
16712
34372fc6
UD
16713 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
16714 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16715
fadb59f8
UD
16716 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
16717 * posix/tst-rfc3484-2.c: Likewise.
16718 * posix/tst-rfc3484-3.c: Likewise.
16719
78239589
UD
16720 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
16721 process_vm_writev.
16722 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
16723 process_vm_writev.
16724 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
16725 process_vm_writev from libc using GLIBC_2.15 version.
16726
432d41ce
UD
16727 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
16728
02f9c6cf
PP
167292011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
16730
16731 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
16732 stack usage.
16733
3a2c0242
UD
167342011-10-31 Ulrich Drepper <drepper@gmail.com>
16735
f4ec4833
UD
16736 [BZ #13367]
16737 * nss/getent.c (initgroups_keys): Show error message in case no group
16738 names are given.
16739
3a2c0242
UD
16740 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
16741 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
16742 __bump_nl_timestamp.
16743 * nscd/connections (nscd_init): When host database is served open
16744 netlink socket and request notification about configuration changes.
16745 (main_loop_poll): Track netlink file descriptor and bump timestamp
16746 in case data becomes available.
16747 (main_loop_epoll): Likewise.
16748 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
16749 (database_pers_head): Add extra_data fileds.
16750 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
16751 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
16752 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
16753 Adjust caller.
16754 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
16755 in6ai data, call __free_in6ai.
16756 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
16757 Add -DHAVE_NETLINK.
16758 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
16759 interface information. Reuse previous data if netlink timestamp
16760 is not changed.
16761 (__bump_nl_timestamp): New function.
16762 (__free_in6ai): New function.
16763
636064eb
UD
167642011-10-30 Ulrich Drepper <drepper@gmail.com>
16765
16766 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
16767 close_not_cancel_no_status here.
16768 (__check_pf): Reorganize code a bit to not call close twice if OOM.
16769
9beb2334
UD
167702011-10-29 Ulrich Drepper <drepper@gmail.com>
16771
6ef76f3b
UD
16772 [BZ #13276]
16773 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
16774 return value.
16775
0ffc4f3e 16776 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
16777 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
16778 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
16779
cb95113e
UD
167802011-07-03 Andreas Jaeger <aj@suse.de>
16781
16782 [BZ #10709]
16783 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
16784 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
16785 * math/libm-test.inc (sin_test): Add test case.
16786
a1b560ff
UD
167872011-10-29 Ulrich Drepper <drepper@gmail.com>
16788
c9aaface
UD
16789 [BZ #13337]
16790 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
16791 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16792
d272e7f1
UD
16793 * elf/chroot_canon.c (chroot_canon): Cleanups.
16794
1bc33071
UD
16795 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
16796
1760874d
TJ
16797 [BZ #13335]
16798 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
16799 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16800
51d91b18
UD
16801 * string/test-strchr.c: Make usable for strchrnul testing.
16802 * string/test-strchrnul.c: New file.
16803 * string/Makefile (strop-tests): Add strchrnul.
16804
a1b560ff 16805 * po/it.po: Update from translation team.
b611fb81 16806 * po/es.po: Likewise.
a1b560ff 16807
a5b81e1f
UD
168082011-10-28 Ulrich Drepper <drepper@gmail.com>
16809
fd52bc6d
UD
16810 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
16811 the three constants needed as parameters. Drop the others.
16812 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
16813 __m128i_strloadu_tolower.
52e4b9eb
UD
16814 Create and initialize variable zero and use it in all the places
16815 where _mm_setzero_si128 was used.
fd52bc6d 16816
a5b81e1f
UD
16817 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
16818 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
16819 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
16820 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
16821 anymore.
16822 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
16823 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
16824 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
16825 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
16826 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
16827 __mpranred, __mptan.
16828 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
16829 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
16830 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
16831 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
16832 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
16833 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
16834 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
16835 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
16836 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
16837
b4343346
AS
168382011-10-28 Andreas Schwab <schwab@redhat.com>
16839
0c92d8a8
AS
16840 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
16841 redefine if SHARED.
16842 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
16843
b4343346
AS
16844 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
16845 wide char related routines to wcsmbs subdir.
16846
3871f58f
AS
168472011-10-27 Andreas Schwab <schwab@redhat.com>
16848
16849 [BZ #13344]
16850 * misc/sys/cdefs.h (__THROWNL): Define.
16851 * posix/unistd.h: Use __THREADNL instead of __THREAD
16852 for memory synchronization functions.
16853
94d44d9f
RM
168542011-10-26 Roland McGrath <roland@hack.frob.com>
16855
21b64b15 16856 [BZ #13349]
94d44d9f
RM
16857 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
16858 doesn't exist.
16859 * manual/stdio.texi (Obstack Streams): Node removed.
16860
f6ce9294
AS
168612011-10-26 Andreas Schwab <schwab@redhat.com>
16862
80479147
AS
16863 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
16864 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16865 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16866
f6ce9294
AS
16867 * math/math_private.h (math_force_eval): Allow non-addressable
16868 arguments.
16869 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
16870
618280a1
UD
168712011-10-25 Ulrich Drepper <drepper@gmail.com>
16872
e0016b11
UD
16873 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
16874 file is not needed.
16875
16876 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
16877 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
16878 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16879 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16880 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16881 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16882 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16883 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
16884 Add AVX variants.
16885 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
16886 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
16887 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
16888 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
16889 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
16890 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
16891 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
16892 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
16893 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
16894 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
16895 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
16896 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
16897 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
16898 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
16899 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
16900 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
16901 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
16902 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
16903 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
16904
16905 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
16906 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
16907
618280a1
UD
16908 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
16909 place. Use VEX encoding when compiling for AVX.
16910
37822576
AS
169112011-10-25 Andreas Schwab <schwab@redhat.com>
16912
1f1e1947
AS
16913 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
16914 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16915
37822576
AS
16916 * string/test-strchr.c (do_test): Don't generate NUL bytes.
16917
31ea014d
UD
169182011-10-25 Ulrich Drepper <drepper@gmail.com>
16919
d7826aa1 16920 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 16921 useless if() expression.
d7826aa1
UD
16922 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16923 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16924 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16925 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16926 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16927 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16928 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16929 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16930 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16931 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16932 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16933 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16934 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16935 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16936 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16937 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16938 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16939 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16940 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
16941
31ea014d
UD
16942 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
16943
16437fec
AS
169442011-10-25 Andreas Schwab <schwab@redhat.com>
16945
16946 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
16947 condition.
16948 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16949
31d3cc00
UD
169502011-10-25 Ulrich Drepper <drepper@gmail.com>
16951
16952 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
16953 .text section. Avoid duplicate constants.
16954 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16955 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16956 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16957 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16958 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16959 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16960 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16961 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16962 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16963 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
16964 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16965 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16966 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
16967 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
16968 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
16969 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
16970 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
16971 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16972 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16973 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16974 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16975 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16976 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16977 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
16978 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
16979 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
16980 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
16981 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
16982 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
16983 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
16984 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
16985 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
16986 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16987 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
16988 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
16989 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
16990 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
16991 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
16992 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
16993 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
16994 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
16995 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
16996 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
16997 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
16998 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
16999
58985aa9
UD
170002011-10-24 Ulrich Drepper <drepper@gmail.com>
17001
202c9deb
UD
17002 * sysdeps/x86_64/dla.h: Move to ...
17003 * sysdeps/x86_64/fpu/dla.h: ...here.
17004 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
17005 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 17006
af968f62
UD
17007 * config.make.in: Add have-mfma4 entry.
17008 * configure.in: Substitute libc_cv_cc_fma4.
17009 * math/Makefile (dbl-only-routines): Add sincostab.
17010 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
17011 Use __sincostab not sincos.
17012 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
17013 name is a macro.
17014 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17015 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17016 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17017 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
17018 using __copysign.
17019 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
17020 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
17021 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
17022 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
17023 and __inv.
17024 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
17025 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
17026 __copysign.
17027 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
17028 define aliases when function name is a macro.
17029 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
17030 sysdeps/ieee754/dbl-64/sincos.tbl.
17031 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
17032 fma4-enabled routines.
17033 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
17034 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
17035 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
17036 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
17037 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
17038 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
17039 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
17040 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
17041 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
17042 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
17043 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
17044 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
17045 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
17046 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
17047 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
17048 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
17049 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
17050 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
17051 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
17052 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
17053 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
17054 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
17055 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
17056 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
17057 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
17058 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
17059 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
17060 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
17061 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
17062 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
17063
58985aa9
UD
17064 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
17065 rename.
17066 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17067 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17068 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17069 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17070 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17071 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17072 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17073 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17074
a201fbcf
AS
170752011-10-24 Andreas Schwab <schwab@redhat.com>
17076
17077 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
17078
fc2ee42a
LD
170792011-10-23 Ulrich Drepper <drepper@gmail.com>
17080
bb3129bd
UD
17081 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
17082
0275fff8
UD
17083 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
17084 prediction.
17085 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
17086
2fa2ae85
UD
17087 * string/strnlen.c: Don't define STRNLEN, reverse logic.
17088 Remove unused variable magic_bits.
17089 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
17090
fc2ee42a
LD
17091 * string/strnlen.c: Define and use STRNLEN macro.
17092 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
17093 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
17094 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
17095 * wcsmbs/wcslen.c: Define and use WCSLEN.
17096 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
17097 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
17098 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
17099 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
17100 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
17101 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
17102 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17103
ce7dd29f
LD
171042011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17105
17106 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17107 strnlen-sse2-no-bsf.
17108 Rename strlen-no-bsf to strlen-sse2-no-bsf.
17109 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
17110 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
17111 Add strnlen support.
17112 (USE_AS_STRNLEN): New macro.
17113 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
17114 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
17115 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
17116 * sysdeps/x86_64/wcslen.S: New file.
17117
979c70a3
MZ
171182011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
17119
17120 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17121 XMM-moves are used for copying on small sizes.
17122
2d09f82f
LD
171232011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17124
17125 * wcsmbs/Makefile (strop-tests): Add wcschr.
17126 * wcsmbs/test-wcschr.c: New file.
17127 * string/test-strchr.c: Update.
17128 Add wcschr support.
17129 (WIDE): New macro.
17130
619fccca
LD
171312011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17132
2d09f82f 17133 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
17134 * wcsmbs/test-wcslen.c: New file.
17135 * string/test-strlen.c: Update.
17136 Add wcslen support.
17137 (WIDE): New macro.
17138
09f699ea
UD
171392011-10-23 Ulrich Drepper <drepper@gmail.com>
17140
17141 * po/it.po: Update from translation team.
17142
95584d3b
LD
171432011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17144
17145 * sysdeps/x86_64/wcscmp.S: Update.
17146 Fix wrong comparison semantics.
17147 wcscmp shall use signed comparison not unsigned.
17148 Don't use substraction to avoid overflow bug.
17149 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
17150 * wcsmbc/wcscmp.c: Likewise.
17151 * string/test-strcmp.c: Likewise.
17152 Add new tests to check cases with negative values.
17153
c8b3296b
UD
171542011-10-23 Ulrich Drepper <drepper@gmail.com>
17155
17156 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
17157 * sysdeps/x86_64/dla.h: ...here. New file.
17158 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
17159 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17160 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17161 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17162 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17163 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17164 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17165 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17166 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17167
246ad57a
AS
171682011-10-23 Andreas Schwab <schwab@linux-m68k.org>
17169
17170 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
17171 __ynl_finite aliases.
17172
a1a87169
UD
171732011-10-22 Ulrich Drepper <drepper@gmail.com>
17174
0d355eb7
UD
17175 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17176
a1a87169
UD
17177 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
17178 define DLA_FMA.
17179 [DLA_FMA] (EMULV): Use DLA_FMA.
17180 [DLA_FMA] (MUL12): Use EMULV.
17181 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
17182 that are not needed.
17183 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17184 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17185 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17186 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17187 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17188 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17189 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17190
ee2aafe0
AS
171912011-10-22 Andreas Schwab <schwab@linux-m68k.org>
17192
17193 * math/s_nan.c: Undef __nan.
17194 * math/s_nanf.c: Undef __nanf.
17195 * math/s_nanl.c: Undef __nanl.
17196 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
17197 "math_private.h".
17198
bc62c2fb
UD
171992011-10-22 Ulrich Drepper <drepper@gmail.com>
17200
77425c63
UD
17201 * math/s_catan.c: Add branch predictions.
17202 * math/s_catanf.c: Likewise.
17203 * math/s_catanh.c: Likewise.
17204 * math/s_catanhf.c: Likewise.
17205 * math/s_catanhl.c: Likewise.
17206 * math/s_catanl.c: Likewise.
17207 * math/s_cexp.c: Likewise.
17208 * math/s_cexpf.c: Likewise.
17209 * math/s_cexpl.c: Likewise.
17210 * math/s_clog.c: Likewise.
17211 * math/s_clog10.c: Likewise.
17212 * math/s_clog10f.c: Likewise.
17213 * math/s_clog10l.c: Likewise.
17214 * math/s_clogf.c: Likewise.
17215 * math/s_clogl.c: Likewise.
17216 * math/s_csqrt.c: Likewise.
17217 * math/s_csqrtf.c: Likewise.
17218 * math/s_csqrtl.c: Likewise.
17219 * math/s_ctanf.c: Likewise.
17220 * math/s_ctanh.c: Likewise.
17221 * math/s_ctanhf.c: Likewise.
17222 * math/s_ctanhl.c: Likewise.
17223 * math/s_ctanl.c: Likewise.
17224
bc62c2fb
UD
17225 * math/math_private.h: Define __nan, __nanf, __nanl.
17226 * math/s_cacosh.c: Include <math_private.h>.
17227 * math/s_cacoshl.c: Likewise.
17228 * math/s_casinh.c: Likewise.
17229 * math/s_casinhf.c: Likewise.
17230 * math/s_casinhl.c: Likewise.
17231 * math/s_ccos.c: Rely entire on ccosh.
17232 * math/s_ccosf.c: Rely entire on ccoshf.
17233 * math/s_ccosl.c: Rely entirely on ccoshl.
17234 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
17235 Remove tests for FE_INVALID.
17236 * math/s_ccoshf.c: Likewise.
17237 * math/s_ccoshl.c: Likewise.
17238 * math/s_csin.c: Likewise.
17239 * math/s_csinf.c: Likewise.
17240 * math/s_csinh.c Likewise.
17241 * math/s_csinhf.c: Likewise.
17242 * math/s_csinhl.c: Likewise.
17243 * math/s_csinl.c: Likewise.
17244 * math/s_ctan.c: Likewise.
17245 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
17246 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
17247 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
17248
8ec250a4
UD
172492011-10-21 Ulrich Drepper <drepper@gmail.com>
17250
c196fed8
UD
17251 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
17252 compilation problems.
17253
8ec250a4
UD
17254 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
17255 __builtin_expect.
17256
8d4f46c6
UD
172572011-10-20 Ulrich Drepper <drepper@gmail.com>
17258
ed72b654
UD
17259 * sysdeps/i386/configure.in: Test for -mfma4 option.
17260 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
17261 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
17262 COMMON_CPUID_INDEX_80000001.
17263 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
17264 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
17265 use it if FMA3 is not supported.
17266 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
17267
8d4f46c6
UD
17268 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
17269 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17270
d45c60c2
AS
172712011-10-20 Andreas Schwab <schwab@redhat.com>
17272
17273 [BZ #12892]
17274 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
17275 it would create a cycle with a link time dependency.
17276
d9a4d2ab
UD
172772011-10-19 Ulrich Drepper <drepper@gmail.com>
17278
855d1560
UD
17279 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
17280 instruction.
17281 * string/Makefile (strop-tests): Add rawmemchr.
17282 * string/test-rawmemchr.c: New file.
17283
d9a4d2ab
UD
17284 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
17285 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
17286 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
17287 when compiling str{,n}casecmp and when AVX is available. Hook up
17288 new optimized code in initializers.
17289
8f3b1ffe
AS
172902011-10-19 Andreas Schwab <schwab@redhat.com>
17291
17292 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
17293 __feraiseexcept instead of feraiseexcept.
17294
d38f1dba
UD
172952011-10-18 Ulrich Drepper <drepper@gmail.com>
17296
d9a8d0ab
UD
17297 * math/math_private.h: Define defaults for libc_fetestexcept and
17298 libc_feupdateenv.
17299 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
17300 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
17301 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17302 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17303 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17304 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17305 libc_fetestexcept and libc_feupdateenv.
17306
4855e3dd
UD
17307 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
17308 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
17309 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
17310 * sysdeps/x86_64/fpu/math_private.h: Define special version of
17311 libc_feholdexcept_setround.
17312
581d30e3
UD
17313 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
17314 Add s_nearbyint-c and s_nearbyintf-c.
17315 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
17316 nearbyintf inlines.
17317 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
17318 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
17319 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
17320 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
17321
d38f1dba
UD
17322 * math/math_private.h: Define defaults for libc_fegetround,
17323 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
17324 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
17325 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
17326 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
17327 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
17328 standard functions.
17329 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17330 Remove comments and hacks for old compiler versions.
17331 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17332 libc_fegetround, libc_fesetround, libc_feholdexcept, and
17333 libc_feholdexceptl.
17334
caa6c9d8
AS
173352011-10-18 Andreas Schwab <schwab@redhat.com>
17336
17337 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
17338 (__feraiseexcept_renamed): Add __NTH.
17339 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
17340 namespace violations.
17341
97c066e6
UD
173422011-10-17 Ulrich Drepper <drepper@gmail.com>
17343
99ce7b04
UD
17344 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
17345
1004d182
UD
17346 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
17347
228a984d
UD
17348 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
17349 recently added interfaces.
17350 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
17351
c8553a6a
UD
17352 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
17353 about macro parameter expansion.
17354
ed22dcf6
UD
17355 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
17356 __NO_MATH_INLINES is defined. Cleanups.
17357
17358 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
17359 and __floorf is target has SSE4.1.
17360 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
17361 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
17362 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
17363 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
17364
b171c137
UD
17365 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
17366 name.
17367 (floorf): Likewise.
17368
97c066e6
UD
17369 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
17370
629f62ef
AS
173712011-10-17 Andreas Schwab <schwab@redhat.com>
17372
49a43d80
AS
17373 * misc/sys/cdefs.h: Fix last change.
17374
629f62ef
AS
17375 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
17376 database lookup.
17377
e453f6cd
UD
173782011-10-16 Ulrich Drepper <drepper@gmail.com>
17379
aa78043a
UD
17380 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
17381
ad0f5cad
UD
17382 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
17383 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17384 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17385 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17386 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17387 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17388 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17389 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17390 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17391 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
17392 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
17393 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
17394 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
17395 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
17396 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
17397 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
17398 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
17399 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
17400 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
17401 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
17402 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
17403 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
17404
17405 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
17406 ceil, ceilf, floor, floorf.
17407
17408 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
17409 Perform IRELATIVE relocations last.
17410
e453f6cd
UD
17411 * elf/do-rel.h: Add another parameter nrelative, replacing the
17412 local variable with the same name. Change name of the function
17413 to end in Rel or Rela (uppercase).
17414 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
17415 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
17416 elf_dynamic_do_##reloc function.
17417
fd5bdc09
UD
174182011-10-15 Ulrich Drepper <drepper@gmail.com>
17419
79b195b5
UD
17420 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
17421 is sufficient, at least on modern CPUs.
17422
d4a28569
UD
17423 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
17424
b61099b5
UD
17425 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
17426 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
17427
bcf01e6d
UD
17428 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
17429 __expl_finite.
17430 * math/bits/math-finite.h: Add entries for exp.
17431 * math/e_expl.c: Add __*_finite alias.
17432 * sysdeps/i386/fpu/e_exp.S: Likewise.
17433 * sysdeps/i386/fpu/e_expf.S: Likewise.
17434 * sysdeps/i386/fpu/e_expl.c: Likewise.
17435 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17436 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17437 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17438 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17439 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
17440 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17441 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17442
ba1a0d59
UD
17443 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
17444 is sufficient, at least on modern CPUs.
17445
fd5bdc09
UD
17446 * ctype/ctype-info.c (__ctype_init): Define.
17447 * include/ctype.h (__ctype_init): Declare.
17448 (__ctype_b_loc): The variable is always initialized.
17449 (__ctype_toupper_loc): Likewise.
17450 (__ctype_tolower_loc): Likewise.
17451 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
17452 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
17453
7872cfb0
AS
174542011-10-15 Andreas Schwab <schwab@linux-m68k.org>
17455
b468825a
AS
17456 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
17457
7872cfb0
AS
17458 * configure.in: Also look in $cxxmachine/include for C++ system
17459 headers.
17460
be13f7bf
LD
174612011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17462
17463 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
17464 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
17465 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
17466 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
17467 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
17468 (USE_AS_WMEMCMP): New macro.
17469 Fixing indents.
17470 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
17471 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
17472 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
17473 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
17474 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17475 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
17476 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
17477 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
17478 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
17479 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
17480 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
17481 (USE_AS_WMEMCMP): New macro.
17482 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
17483 * sysdeps/string/test-memcmp.c: Update.
17484 Fix simple_wmemcmp.
17485 Add new tests.
17486 * wcsmbs/wmemcmp.c: Update.
17487 (WMEMCMP): New macro.
17488 Fix overflow bug.
17489
556a2007
AJ
174902011-10-12 Andreas Jaeger <aj@suse.de>
17491
17492 [BZ #13268]
17493 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
17494
538faaa7
UD
174952011-10-15 Ulrich Drepper <drepper@gmail.com>
17496
ab6737ff
UD
17497 * libio/iofwide.c (do_length): Avoid warning.
17498
538faaa7
UD
17499 * ctype/ctype.h (__isctype_f): Add missing __THROW.
17500
396a21b1
UD
175012011-10-14 Ulrich Drepper <drepper@gmail.com>
17502
cdf2901f
UD
17503 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
17504
38ad40ce
UD
17505 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
17506 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
17507 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
17508 * sysdeps/i386/i686/fpu/e_log.S: New file.
17509 * sysdeps/i386/i686/fpu/e_logf.S: New file.
17510 * sysdeps/i386/i686/fpu/e_logl.S: New file.
17511
396a21b1
UD
17512 * ctype/ctype.h: Add support for inlined isXXX functions when
17513 compiling C++ code.
17514
6b1f68c9
AS
175152011-10-14 Andreas Schwab <schwab@redhat.com>
17516
349290c0
AS
17517 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17518
6b1f68c9
AS
17519 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
17520
f2282d42
RM
175212011-10-13 Roland McGrath <roland@hack.frob.com>
17522
17523 [BZ #13291]
17524 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
17525
5298ffa8
AS
175262011-10-13 Andreas Schwab <schwab@redhat.com>
17527
714fad23
AS
17528 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
17529 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
17530 feraiseexcept.
17531
81dcc7fb
AS
17532 * sysdeps/x86_64/memrchr.S: Check for zero size.
17533
5298ffa8
AS
17534 * string/stratcliff.c: Add memrchr tests.
17535
951fbcec
LD
175362011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17537
17538 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17539 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
17540 rawmemchr-sse2 rawmemchr-sse2-bsf.
17541 * sysdeps/i386/i686/multiarch/memchr.S: New file.
17542 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
17543 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
17544 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
17545 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
17546 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
17547 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
17548 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
17549 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
17550 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
17551 * string/memrchr.c (MEMRCHR): New macro.
17552
0ac5ae23
UD
175532011-10-12 Ulrich Drepper <drepper@gmail.com>
17554
17555 Add integration with gcc's -ffinite-math-only and optimize wrapper
17556 functions in libm.
17557 * Versions.def: Define GLIBC_2.15 version for libm.
17558 * math/Makefile (headers): Add bits/math-finite.h.
17559 * math/bits/math-finite.h: New file.
17560 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
17561 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
17562 * math/e_acoshl.c: Add __*_finite alias.
17563 * math/e_acosl.c: Likewise.
17564 * math/e_asinl.c: Likewise.
17565 * math/e_atan2l.c: Likewise.
17566 * math/e_atanhl.c: Likewise.
17567 * math/e_coshl.c: Likewise.
17568 * math/e_exp10.c: Likewise.
17569 * math/e_exp10f.c: Likewise.
17570 * math/e_exp10l.c: Likewise.
17571 * math/e_exp2l.c: Likewise.
17572 * math/e_fmodl.c: Likewise.
17573 * math/e_gammal_r.c: Likewise.
17574 * math/e_hypotl.c: Likewise.
17575 * math/e_j0l.c: Likewise.
17576 * math/e_j1l.c: Likewise.
17577 * math/e_jnl.c: Likewise.
17578 * math/e_lgammal_r.c: Likewise.
17579 * math/e_log10l.c: Likewise.
17580 * math/e_log2l.c: Likewise.
17581 * math/e_logl.c: Likewise.
17582 * math/e_powl.c: Likewise.
17583 * math/e_sinhl.c: Likewise.
17584 * math/e_sqrtl.c: Likewise.
17585 * math/e_scalb.c: Completely rewritten and optimized.
17586 * math/e_scalbf.c: Likewise.
17587 * math/e_scalbl.c: Likewise.
17588 * math/w_acos.c: Likewise.
17589 * math/w_acosf.c: Likewise.
17590 * math/w_acosl.c: Likewise.
17591 * math/w_acosh.c: Likewise.
17592 * math/w_acoshf.c: Likewise.
17593 * math/w_acoshl.c: Likewise.
17594 * math/w_asin.c: Likewise.
17595 * math/w_asinf.c: Likewise.
17596 * math/w_asinl.c: Likewise.
17597 * math/w_atan2.c: Likewise.
17598 * math/w_atan2f.c: Likewise.
17599 * math/w_atan2l.c: Likewise.
17600 * math/w_atanh.c: Likewise.
17601 * math/w_atanhf.c: Likewise.
17602 * math/w_atanhl.c: Likewise.
17603 * math/w_exp10.c: Likewise.
17604 * math/w_exp10f.c: Likewise.
17605 * math/w_exp10l.c: Likewise.
17606 * math/w_fmod.c: Likewise.
17607 * math/w_fmodf.c: Likewise.
17608 * math/w_fmodl.c: Likewise.
17609 * math/w_j0.c: Likewise.
17610 * math/w_j0f.c: Likewise.
17611 * math/w_j0l.c: Likewise.
17612 * math/w_j1.c: Likewise.
17613 * math/w_j1f.c: Likewise.
17614 * math/w_j1l.c: Likewise.
17615 * math/w_jn.c: Likewise.
17616 * math/w_jnf.c: Likewise.
17617 * math/w_log.c: Likewise.
17618 * math/w_logf.c: Likewise.
17619 * math/w_logl.c: Likewise.
17620 * math/w_log10.c: Likewise.
17621 * math/w_log10f.c: Likewise.
17622 * math/w_log10l.c: Likewise.
17623 * math/w_log2.c: Likewise.
17624 * math/w_log2f.c: Likewise.
17625 * math/w_log2l.c: Likewise.
17626 * math/w_pow.c: Likewise.
17627 * math/w_powf.c: Likewise.
17628 * math/w_powl.c: Likewise.
17629 * math/w_remainder.c: Likewise.
17630 * math/w_remainderf.c: Likewise.
17631 * math/w_remainderl.c: Likewise.
17632 * math/w_scalb.c: Likewise.
17633 * math/w_scalbf.c: Likewise.
17634 * math/w_scalbl.c: Likewise.
17635 * math/w_sqrt.c: Likewise.
17636 * math/w_sqrtf.c: Likewise.
17637 * math/w_sqrtl.c: Likewise.
17638 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
17639 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
17640 used.
17641 * math/math_private.h: Declare __kernel_standard_f.
17642 * math/w_cosh.c: Remove cruft and optimize a bit.
17643 * math/w_coshf.c: Likewise.
17644 * math/w_coshl.c: Likewise.
17645 * math/w_exp2.c: Likewise.
17646 * math/w_exp2f.c: Likewise.
17647 * math/w_exp2l.c: Likewise.
17648 * math/w_hypot.c: Likewise.
17649 * math/w_hypotf.c: Likewise.
17650 * math/w_hypotl.c: Likewise.
17651 * math/w_lgamma.c: Likewise.
17652 * math/w_lgamma_r.c: Likewise.
17653 * math/w_lgammaf.c: Likewise.
17654 * math/w_lgammaf_r.c: Likewise.
17655 * math/w_lgammal.c: Likewise.
17656 * math/w_lgammal_r.c: Likewise.
17657 * math/w_sinh.c: Likewise.
17658 * math/w_sinhf.c: Likewise.
17659 * math/w_sinhl.c: Likewise.
17660 * math/w_tgamma.c: Likewise.
17661 * math/w_tgammaf.c: Likewise.
17662 * math/w_tgammal.c: Likewise.
17663 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17664 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17665 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
17666 Minor optimizations. Pretty printing. Remove cruft.
17667 * sysdeps/i386/fpu/e_acosf.S: Likewise.
17668 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17669 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17670 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17671 * sysdeps/i386/fpu/e_acosl.c: Likewise.
17672 * sysdeps/i386/fpu/e_asin.S: Likewise.
17673 * sysdeps/i386/fpu/e_asinf.S: Likewise.
17674 * sysdeps/i386/fpu/e_atan2.S: Likewise.
17675 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
17676 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
17677 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17678 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17679 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17680 * sysdeps/i386/fpu/e_exp10.S: Likewise.
17681 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
17682 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
17683 * sysdeps/i386/fpu/e_exp2.S: Likewise.
17684 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
17685 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
17686 * sysdeps/i386/fpu/e_fmod.S: Likewise.
17687 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
17688 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
17689 * sysdeps/i386/fpu/e_hypot.S: Likewise.
17690 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
17691 * sysdeps/i386/fpu/e_log.S: Likewise.
17692 * sysdeps/i386/fpu/e_log10.S: Likewise.
17693 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17694 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17695 * sysdeps/i386/fpu/e_log2.S: Likewise.
17696 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17697 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17698 * sysdeps/i386/fpu/e_logf.S: Likewise.
17699 * sysdeps/i386/fpu/e_logl.S: Likewise.
17700 * sysdeps/i386/fpu/e_pow.S: Likewise.
17701 * sysdeps/i386/fpu/e_powf.S: Likewise.
17702 * sysdeps/i386/fpu/e_powl.S: Likewise.
17703 * sysdeps/i386/fpu/e_remainder.S: Likewise.
17704 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
17705 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
17706 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17707 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17708 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17709 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
17710 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
17711 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
17712 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17713 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17714 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17715 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17716 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17717 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17718 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17719 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17720 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17721 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17722 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17723 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17724 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17725 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17726 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17727 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17728 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17729 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17730 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17731 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17732 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17733 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17734 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17735 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17736 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17737 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17738 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17739 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17740 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17741 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17742 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17743 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17744 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17745 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17746 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17747 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17748 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17749 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17750 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17751 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17752 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17753 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17754 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17755 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17756 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17757 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17758 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17759 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17760 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17761 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17762 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17763 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17764 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17765 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17766 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17767 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17768 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17769 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17770 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17771 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17772 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17773 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
17774 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17775 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17776 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
17777 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17778 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
17779 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
17780 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
17781 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17782 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
17783 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
17784 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
17785 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17786 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
17787 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17788 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
17789 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
17790 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17791 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
17792 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17793 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
17794 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
17795 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17796 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17797 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17798 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17799 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
17800 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17801 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17802 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17803 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17804 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17805 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17806 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17807 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17808 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17809 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
17810 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
17811 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
17812 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
17813 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
17814 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
17815 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
17816 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17817 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17818 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17819 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17820 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
17821 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17822 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
17823 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
17824 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
17825 (__isnanf): Likewise.
17826 (__isinf_ns): Likewise.
17827 (__isinf_nsf): Likewise.
17828 (__finite): Likewise.
17829 (__finitef): Likewise.
17830 (__ieee754_sqrt): Define as macro.
17831 (__ieee754_sqrtf): Define as macro.
17832 (__ieee754_sqrtl): Define as macro.
17833 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
17834 inlined copy.
17835 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
17836 __FINITE_MATH_ONLY__ consistent.
17837 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
17838
12cc2fcd
AS
178392011-10-10 Andreas Schwab <schwab@linux-m68k.org>
17840
a843a204
AS
17841 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
17842 of rawmemchr.
17843
12cc2fcd
AS
17844 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
17845
c853acd5
UD
178462011-10-09 Ulrich Drepper <drepper@gmail.com>
17847
17848 * po/ja.po: Update from translation team.
17849
c658d255
RM
178502011-10-08 Roland McGrath <roland@hack.frob.com>
17851
110946e4
RM
17852 * locale/programs/locarchive.c (prepare_address_space): New function.
17853 (create_archive, enlarge_archive, open_archive): Use it.
17854
50604220
RM
17855 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
17856 inside [SHARED], where it is used.
17857
c658d255
RM
17858 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
17859
17860 * nss/getent.c (netgroup_keys): Remove unused variable.
17861 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
17862
6a621eb7
UD
178632011-10-08 Ulrich Drepper <drepper@gmail.com>
17864
7edb55ce
UD
17865 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
17866 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
17867 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
17868 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
17869 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
17870 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
17871 * math/Makefile (libm-calls): Add s_isinf_ns.
17872 * math/divtc3.c: Use __isinf_nsl instead of isinf.
17873 * math/multc3.c: Likewise.
17874 * math/s_casin.c: Likewise.
17875 * math/s_casinf.c: Likewise.
17876 * math/s_casinl.c: Likewise.
17877 * math/s_ccos.c: Likewise.
17878 * math/s_ccosf.c: Likewise.
17879 * math/s_ccosl.c: Likewise.
17880 * math/s_ctan.c: Likewise.
17881 * math/s_ctanf.c: Likewise.
17882 * math/s_ctanh.c: Likewise.
17883 * math/s_ctanhf.c: Likewise.
17884 * math/s_ctanhl.c: Likewise.
17885 * math/s_ctanl.c: Likewise.
17886 * math/w_fmod.c: Likewise.
17887 * math/w_fmodf.c: Likewise.
17888 * math/w_fmodl.c: Likewise.
17889 * math/w_remainder.c: Likewise.
17890 * math/w_remainderf.c: Likewise.
17891 * math/w_remainderl.c: Likewise.
17892 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
17893 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
17894 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
17895 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
17896 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
17897 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
17898 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
17899 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
17900
187da0ae
UD
17901 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
17902 of the number.
17903 * stdio-common/printf_fphex.c: Likewise.
17904 * stdio-common/printf_size.c: Likewise.
17905
9277c064
UD
17906 * math/e_exp10.c: Include math_private.h using <...> not "...".
17907 * math/e_exp10f.c: Likewise.
17908 * math/e_exp10l.c: Likewise.
17909 * math/e_exp2l.c: Likewise.
17910 * math/e_j0l.c: Likewise.
17911 * math/e_j1l.c: Likewise.
17912 * math/e_jnl.c: Likewise.
17913 * math/e_lgammal_r.c: Likewise.
17914 * math/e_rem_pio2l.c: Likewise.
17915 * math/e_scalb.c: Likewise.
17916 * math/e_scalbf.c: Likewise.
17917 * math/e_scalbl.c: Likewise.
17918 * math/k_cosl.c: Likewise.
17919 * math/k_sinl.c: Likewise.
17920 * math/k_tanl.c: Likewise.
17921 * math/s_cacoshf.c: Likewise.
17922 * math/s_catan.c: Likewise.
17923 * math/s_catanf.c: Likewise.
17924 * math/s_catanh.c: Likewise.
17925 * math/s_catanhf.c: Likewise.
17926 * math/s_catanhl.c: Likewise.
17927 * math/s_catanl.c: Likewise.
17928 * math/s_ccosh.c: Likewise.
17929 * math/s_ccoshf.c: Likewise.
17930 * math/s_ccoshl.c: Likewise.
17931 * math/s_cexp.c: Likewise.
17932 * math/s_cexpf.c: Likewise.
17933 * math/s_cexpl.c: Likewise.
17934 * math/s_clog.c: Likewise.
17935 * math/s_clog10.c: Likewise.
17936 * math/s_clog10f.c: Likewise.
17937 * math/s_clog10l.c: Likewise.
17938 * math/s_clogf.c: Likewise.
17939 * math/s_clogl.c: Likewise.
17940 * math/s_csin.c: Likewise.
17941 * math/s_csinf.c: Likewise.
17942 * math/s_csinh.c: Likewise.
17943 * math/s_csinhf.c: Likewise.
17944 * math/s_csinhl.c: Likewise.
17945 * math/s_csinl.c: Likewise.
17946 * math/s_csqrt.c: Likewise.
17947 * math/s_csqrtf.c: Likewise.
17948 * math/s_csqrtl.c: Likewise.
17949 * math/s_ctan.c: Likewise.
17950 * math/s_ctanf.c: Likewise.
17951 * math/s_ctanh.c: Likewise.
17952 * math/s_ctanhf.c: Likewise.
17953 * math/s_ctanhl.c: Likewise.
17954 * math/s_ctanl.c: Likewise.
17955 * math/s_ldexp.c: Likewise.
17956 * math/s_ldexpf.c: Likewise.
17957 * math/s_ldexpl.c: Likewise.
17958 * math/s_significand.c: Likewise.
17959 * math/s_significandf.c: Likewise.
17960 * math/s_significandl.c: Likewise.
17961 * math/w_acos.c: Likewise.
17962 * math/w_acosf.c: Likewise.
17963 * math/w_acosh.c: Likewise.
17964 * math/w_acoshf.c: Likewise.
17965 * math/w_acoshl.c: Likewise.
17966 * math/w_acosl.c: Likewise.
17967 * math/w_asin.c: Likewise.
17968 * math/w_asinf.c: Likewise.
17969 * math/w_asinl.c: Likewise.
17970 * math/w_atan2.c: Likewise.
17971 * math/w_atan2f.c: Likewise.
17972 * math/w_atan2l.c: Likewise.
17973 * math/w_atanh.c: Likewise.
17974 * math/w_atanhf.c: Likewise.
17975 * math/w_atanhl.c: Likewise.
17976 * math/w_cosh.c: Likewise.
17977 * math/w_coshf.c: Likewise.
17978 * math/w_coshl.c: Likewise.
17979 * math/w_dremf.c: Likewise.
17980 * math/w_exp10.c: Likewise.
17981 * math/w_exp10f.c: Likewise.
17982 * math/w_exp10l.c: Likewise.
17983 * math/w_exp2.c: Likewise.
17984 * math/w_exp2f.c: Likewise.
17985 * math/w_fmod.c: Likewise.
17986 * math/w_fmodf.c: Likewise.
17987 * math/w_fmodl.c: Likewise.
17988 * math/w_hypot.c: Likewise.
17989 * math/w_hypotf.c: Likewise.
17990 * math/w_hypotl.c: Likewise.
17991 * math/w_j0.c: Likewise.
17992 * math/w_j0f.c: Likewise.
17993 * math/w_j0l.c: Likewise.
17994 * math/w_j1.c: Likewise.
17995 * math/w_j1f.c: Likewise.
17996 * math/w_j1l.c: Likewise.
17997 * math/w_jn.c: Likewise.
17998 * math/w_jnf.c: Likewise.
17999 * math/w_jnl.c: Likewise.
18000 * math/w_lgamma.c: Likewise.
18001 * math/w_lgamma_r.c: Likewise.
18002 * math/w_lgammaf.c: Likewise.
18003 * math/w_lgammaf_r.c: Likewise.
18004 * math/w_lgammal.c: Likewise.
18005 * math/w_lgammal_r.c: Likewise.
18006 * math/w_log.c: Likewise.
18007 * math/w_log10.c: Likewise.
18008 * math/w_log10f.c: Likewise.
18009 * math/w_log10l.c: Likewise.
18010 * math/w_log2.c: Likewise.
18011 * math/w_log2f.c: Likewise.
18012 * math/w_log2l.c: Likewise.
18013 * math/w_logf.c: Likewise.
18014 * math/w_logl.c: Likewise.
18015 * math/w_pow.c: Likewise.
18016 * math/w_powf.c: Likewise.
18017 * math/w_powl.c: Likewise.
18018 * math/w_remainder.c: Likewise.
18019 * math/w_remainderf.c: Likewise.
18020 * math/w_remainderl.c: Likewise.
18021 * math/w_scalb.c: Likewise.
18022 * math/w_scalbf.c: Likewise.
18023 * math/w_scalbl.c: Likewise.
18024 * math/w_sinh.c: Likewise.
18025 * math/w_sinhf.c: Likewise.
18026 * math/w_sinhl.c: Likewise.
18027 * math/w_sqrt.c: Likewise.
18028 * math/w_sqrtf.c: Likewise.
18029 * math/w_sqrtl.c: Likewise.
18030 * math/w_tgamma.c: Likewise.
18031 * math/w_tgammaf.c: Likewise.
18032 * math/w_tgammal.c: Likewise.
18033
6a621eb7
UD
18034 * po/ja.po: Update from translation team.
18035
bf582445
AJ
180362011-09-29 Andreas Jaeger <aj@suse.de>
18037
f9efbf3a
AJ
18038 [BZ #13179]
18039 * sunrpc/netname.c (netname2host): Fix logic.
18040
bf582445
AJ
18041 [BZ #6779]
18042 [BZ #6783]
18043 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
18044 correctly.
18045 * math/w_remainder.c (__remainder): Likewise.
18046 * math/w_remainderf.c (__remainderf): Likewise.
18047 * math/libm-test.inc (remainder_test): Add test cases.
18048
48693bea
AK
180492011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18050
18051 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
18052 sdiv_qrnnd.
18053
42622229
LD
180542011-10-07 Ulrich Drepper <drepper@gmail.com>
18055
18056 * string/test-memcmp.c: Avoid unncessary #defines.
18057 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18058
093ecf92
LD
180592011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18060
18061 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
18062 Use new sse2 version for core i3 - i7 as it's faster
18063 than sse42 version.
18064 (bit_Prefer_PMINUB_for_stringop): New.
18065 * sysdeps/x86_64/rawmemchr.S: Update.
18066 Replace with faster SSE2 version.
18067 * sysdeps/x86_64/memrchr.S: New file.
18068 * sysdeps/x86_64/memchr.S: Update.
18069 Replace with faster SSE2 version.
18070
fde56e5c
MP
180712011-09-12 Marek Polacek <mpolacek@redhat.com>
18072
18073 * elf/dl-load.c (lose): Add cast to avoid warning.
18074
21fd49a9
UD
180752011-10-07 Ulrich Drepper <drepper@gmail.com>
18076
5a06e643
UD
18077 * po/ca.po: Update from translation team.
18078
684ae515
UD
18079 * inet/getnetgrent_r.c: Hook up nscd.
18080 * nscd/Makefile (routines): Add nscd_netgroup.
18081 (nscd-modules): Add netgroupcache.
18082 (CFLAGS-netgroupcache.c): Define.
18083 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
18084 (cache_search): Add const to second parameter.
18085 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
18086 INNETGR.
18087 (dbs): Add netgrdb entry.
18088 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
18089 (verify_persistent_db): Handle netgrdb.
18090 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
18091 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
18092 GETFDNETGR.
18093 (netgroup_response_header): Define.
18094 (innetgroup_response_header): Define.
18095 (datahead): Add netgroup_response_header and innetgroup_response_header
18096 elements.
18097 * nscd/nscd.conf: Add entries for netgroup cache.
18098 * nscd/nscd.h (dbtype): Add netgrdb.
18099 (_PATH_NSCD_NETGROUP_DB): Define.
18100 (netgroup_iov_disabled): Declare.
18101 (xmalloc, xcalloc, xrealloc): Move declarations here.
18102 (cache_search): Adjust prototype.
18103 Add netgroup-related prototypes.
18104 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
18105 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
18106 (__nscd_innetgr): Declare.
18107 * nscd/selinux.c (perms): Use access_vector_t as element type and
18108 add netgroup-related initializers.
18109 * nscd/netgroupcache.c: New file.
18110 * nscd/nscd_netgroup.c: New file.
18111 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
18112 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
18113 For four parameters use innetgr.
18114 * nss/nss_files/files-init.c: Add definition and callback for netgr.
18115 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
18116 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
18117 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
18118
21fd49a9
UD
18119 * nscd/connections.c (register_traced_file): Don't register file
18120 for disabled databases.
18121
054c0457
UD
181222011-10-06 Ulrich Drepper <drepper@gmail.com>
18123
32b63198
UD
18124 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
18125
054c0457
UD
18126 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
18127 from tree and freeing node.
18128
64031225
JO
181292011-09-25 Jiri Olsa <jolsa@redhat.com>
18130
18131 * nss/nsswitch.c (__nss_database_lookup): Handle
18132 nss_parse_service_list out of memory case.
18133
0490345c
JO
181342011-09-15 Jiri Olsa <jolsa@redhat.com>
18135
18136 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
18137 out of memory case.
18138
3a62d00d
AS
181392011-10-04 Andreas Schwab <schwab@redhat.com>
18140
18141 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
18142 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
18143 pass it down.
18144 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
18145 elf_machine_rela, elf_machine_lazy_rel.
18146 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
18147 (ELF_DYNAMIC_DO_REL): Likewise.
18148 (ELF_DYNAMIC_DO_RELA): Likewise.
18149 (ELF_DYNAMIC_RELOCATE): Likewise.
18150 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
18151 to ELF_DYNAMIC_DO_REL.
18152 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
18153 (dl_main): In trace mode always set __RTLD_NOIFUNC.
18154 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
18155 elf_machine_rela.
18156 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
18157 skip_ifunc, don't call ifunc function if non-zero.
18158 (elf_machine_rela): Likewise.
18159 (elf_machine_lazy_rel): Likewise.
18160 (elf_machine_lazy_rela): Likewise.
18161 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
18162 (elf_machine_lazy_rel): Likewise.
18163 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
18164 Likewise.
18165 (elf_machine_lazy_rel): Likewise.
18166 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18167 Likewise.
18168 (elf_machine_lazy_rel): Likewise.
18169 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
18170 (elf_machine_lazy_rel): Likewise.
18171 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
18172 (elf_machine_lazy_rel): Likewise.
18173 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18174 (elf_machine_lazy_rel): Likewise.
18175 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
18176 (elf_machine_lazy_rel): Likewise.
18177 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
18178 (elf_machine_lazy_rel): Likewise.
18179 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18180 (elf_machine_lazy_rel): Likewise.
18181
68577918
UD
181822011-09-28 Ulrich Drepper <drepper@gmail.com>
18183
18184 * nss/nss_files/files-init.c (_nss_files_init): Use static
18185 initialization for all the *_traced_file variables.
18186
68822d74
AS
181872011-09-28 Andreas Schwab <schwab@redhat.com>
18188
18189 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18190
2056100b
RM
181912011-09-27 Roland McGrath <roland@hack.frob.com>
18192
18193 [BZ #13226]
18194 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
18195
32c76b63
AS
181962011-09-27 Andreas Schwab <schwab@redhat.com>
18197
18198 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18199 Reread the line before reparsing it.
18200
bf972c9d
AS
182012011-09-26 Andreas Schwab <schwab@redhat.com>
18202
18203 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
18204
e057a1b5
JM
182052011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
18206 Maxim Kuvyrkov <maxim@codesourcery.com>
18207 Joseph Myers <joseph@codesourcery.com>
18208
18209 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
18210 if needed for __stack_chk_guard.
18211
bc7e1c36
RM
182122011-09-19 Roland McGrath <roland@hack.frob.com>
18213
ecb1482f
RM
18214 * sysdeps/posix/spawni.c (script_execute): Always define it.
18215 It will be optimized away if unused.
18216 (maybe_script_execute): New function.
18217 (__spawni): Call it.
18218
bc7e1c36
RM
18219 * Makerules: Don't include tls.make.
18220 (config-tls): Always set to thread.
18221 * tls.make.c: File removed.
18222
1c3b002b
MF
182232011-09-19 Mike Frysinger <vapier@gentoo.org>
18224
18225 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
18226 * config.make.in (CPPFLAGS-config): New substituted variable.
18227
2840865d
UD
182282011-09-15 Ulrich Drepper <drepper@gmail.com>
18229
88738eb6
UD
18230 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
18231
cbf645a6 18232 [BZ #13192]
2840865d
UD
18233 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
18234 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
18235
b402e91a
RM
182362011-09-15 Roland McGrath <roland@hack.frob.com>
18237
18238 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
18239 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
18240 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18241 (CALL_FAIL): Likewise.
18242 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
18243 (CALL_FAIL): Macro removed.
18244 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
18245
4c1a1f71
UD
182462011-09-15 Ulrich Drepper <drepper@gmail.com>
18247
18248 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
18249 for __FINITE_MATH_ONLY__ == 1.
18250
edc121be
AS
182512011-09-15 Andreas Schwab <schwab@redhat.com>
18252
18253 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
18254 __ieee754_sqrt instead of sqrt.
18255 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
18256 __ieee754_sqrtf instead of sqrtf.
18257 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
18258 __floorf instead of floorf.
18259 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
18260 __floorf, __truncf instead of floorf, truncf.
18261
cd205654
UD
182622011-09-14 Ulrich Drepper <drepper@gmail.com>
18263
ee4d0315
UD
18264 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
18265
cd205654
UD
18266 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
18267 __extern_always_inline.
18268 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
18269 32-bit.
18270
48b67d71
AS
182712011-09-14 Andreas Schwab <schwab@redhat.com>
18272
18273 * elf/rtld.c (dl_main): Also relocate in dependency order when
18274 doing symbol dependency testing.
18275
1ae12c75
AS
182762011-09-13 Andreas Schwab <schwab@linux-m68k.org>
18277
18278 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18279 Always define `refsym'.
18280
995a80df
AS
182812011-09-13 Andreas Schwab <schwab@redhat.com>
18282
e529793b
AS
18283 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
18284 (__FD_ELT): Renamed from __FDELT.
18285 * misc/bits/select2.h (__FD_ELT): Likewise.
18286 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
18287 __FD_MASK instead of __FDELT, __FDMASK.
18288 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18289 Likewise.
18290 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18291 Likewise.
18292
52d4fef8
AS
18293 * elf/Makefile (gen-ldd): Fix pattern.
18294
995a80df
AS
18295 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
18296 (init_tls): Likewise.
18297
8682f8b0
UD
182982011-09-12 Ulrich Drepper <drepper@gmail.com>
18299
18300 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
18301
de82006d
AS
183022011-09-12 Andreas Schwab <schwab@redhat.com>
18303
a7c8e6a1
AS
18304 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
18305 `struct cmsghdr *' instead of `void *'.
18306 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
18307 Likewise.
18308
0f31fe77
AS
183092011-09-11 Andreas Schwab <schwab@linux-m68k.org>
18310
18311 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
18312 if non-absolute.
18313 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
18314 ldd_rewrite_script.
0f31fe77 18315
32b4c839
UD
183162011-09-11 Ulrich Drepper <drepper@gmail.com>
18317
83cd1420
UD
18318 * configure.in: Remove --with-tls option.
18319 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
18320 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
18321 out in case it is missing.
18322 * sysdeps/ia64/elf/configure.in: Likewise.
18323 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
18324 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
18325 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
18326 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
18327 * sysdeps/sh/elf/configure.in: Likewise.
18328 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
18329 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18330 * sysdeps/x86_64/elf/configure.in: Likewise.
18331 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
18332 * sysdeps/mach/hurd/tls.h: Likewise.
18333
633f745d
UD
18334 [BZ #13067]
18335 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
18336
f318beb8
UD
18337 [BZ #13090]
18338 * configure.in: Fix use of AC_INIT.
18339
32b4c839
UD
18340 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
18341
3ce1f295
UD
183422011-09-10 Ulrich Drepper <drepper@gmail.com>
18343
bb016596
UD
18344 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
18345 __set_errno.
8e58439c
UD
18346 * malloc/hooks.c: Likewise.
18347
aebae053 18348 [BZ #11929]
02d46fc4
UD
18349 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
18350 variables statically.
18351 (narenas): Initialize.
18352 (list_lock): Initialize.
bb016596
UD
18353 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
18354 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
18355 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
18356 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
18357 Add initializers to main_arena and mp_.
18358 (malloc_state): Remove pagesize member. Change all users to use
18359 GLRO(dl_pagesize).
18360
18361 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
18362 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
18363 is always initialized.
18364
22a89187
UD
18365 * malloc/malloc.c: Removed unused configurations and dead code.
18366 * malloc/arena.c: Likewise.
18367 * malloc/hooks.c: Likewise.
02d46fc4 18368 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 18369
d063d164
UD
18370 * include/tls.h: Removed. USE___THREAD must always be defined.
18371 * bits/libc-tsd.h: Don't handle !USE___THREAD.
18372 * elf/dl-libc.c: Likewise.
18373 * elf/dl-tsd.c: Likewise.
18374 * include/errno.h: Likewise.
18375 * include/netdb.h: Likewise.
18376 * include/resolv.h: Likewise.
18377 * inet/herrno-loc.c: Likewise.
18378 * inet/herrno.c: Likewise.
18379 * malloc/arena.c: Likewise.
18380 * malloc/hooks.c: Likewise.
18381 * malloc/malloc.c: Likewise.
18382 * resolv/res-state.c: Likewise.
18383 * resolv/res_libc.c: Likewise.
18384 * sysdeps/i386/dl-machine.h: Likewise.
18385 * sysdeps/ia64/dl-machine.h: Likewise.
18386 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
18387 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18388 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
18389 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18390 * sysdeps/sh/dl-machine.h: Likewise.
18391 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18392 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18393 * sysdeps/unix/i386/sysdep.S: Likewise.
18394 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18395 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
18396 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
18397 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18398 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
18399 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18400 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18401 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18402 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18403 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18404 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18405 * sysdeps/x86_64/dl-machine.h: Likewise.
18406 * tls.make.c: Likewise.
18407
3ce1f295
UD
18408 * configure.in: Remove --with-__thread option. Make tests for
18409 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
18410 tls_model attribute fail if no support is available. Remove
18411 USE_IN_LIBIO.
18412 * Makeconfig: Adjust for dropped configure option. All features are
18413 now mandatory.
18414 * Makerules: Likewise.
18415 * Versions.def: Likewise.
18416 * argp/argp-fmtstream.c: Likewise.
18417 * argp/argp-fmtstream.h: Likewise.
18418 * argp/argp-help.c: Likewise.
18419 * assert/assert.c: Likewise.
18420 * config.h.in: Likewise.
18421 * config.make.in: Likewise.
18422 * configure: Likewise.
18423 * configure.in: Likewise.
18424 * csu/Versions: Likewise.
18425 * csu/init.c: Likewise.
18426 * elf/tst-audit2.c: Likewise.
18427 * elf/tst-tls10.c: Likewise.
18428 * elf/tst-tls10.h: Likewise.
18429 * elf/tst-tls11.c: Likewise.
18430 * elf/tst-tls12.c: Likewise.
18431 * elf/tst-tls14.c: Likewise.
18432 * elf/tst-tlsmod11.c: Likewise.
18433 * elf/tst-tlsmod12.c: Likewise.
18434 * elf/tst-tlsmod13.c: Likewise.
18435 * elf/tst-tlsmod13a.c: Likewise.
18436 * elf/tst-tlsmod14a.c: Likewise.
18437 * elf/tst-tlsmod15b.c: Likewise.
18438 * elf/tst-tlsmod16a.c: Likewise.
18439 * elf/tst-tlsmod16b.c: Likewise.
18440 * elf/tst-tlsmod7.c: Likewise.
18441 * elf/tst-tlsmod8.c: Likewise.
18442 * elf/tst-tlsmod9.c: Likewise.
18443 * gmon/gmon.c: Likewise.
18444 * grp/fgetgrent_r.c: Likewise.
18445 * grp/putgrent.c: Likewise.
18446 * hurd/fopenport.c: Likewise.
18447 * include/libc-symbols.h: Likewise.
18448 * include/tls.h: Likewise.
18449 * intl/gettextP.h: Likewise.
18450 * intl/loadinfo.h: Likewise.
18451 * locale/global-locale.c: Likewise.
18452 * locale/localeinfo.h: Likewise.
18453 * mach/devstream.c: Likewise.
18454 * malloc/arena.c: Likewise.
18455 * malloc/set-freeres.c: Likewise.
18456 * misc/err.c: Likewise.
18457 * misc/getttyent.c: Likewise.
18458 * misc/mntent_r.c: Likewise.
18459 * posix/getopt.c: Likewise.
18460 * posix/wordexp.c: Likewise.
18461 * pwd/fgetpwent_r.c: Likewise.
18462 * resolv/Versions: Likewise.
18463 * resolv/res_hconf.c: Likewise.
18464 * shadow/fgetspent_r.c: Likewise.
18465 * shadow/putspent.c: Likewise.
18466 * stdio-common/printf_fphex.c: Likewise.
18467 * stdio-common/tmpfile.c: Likewise.
18468 * stdlib/abort.c: Likewise.
18469 * stdlib/fmtmsg.c: Likewise.
18470 * sunrpc/auth_unix.c: Likewise.
18471 * sunrpc/clnt_perr.c: Likewise.
18472 * sunrpc/clnt_tcp.c: Likewise.
18473 * sunrpc/clnt_udp.c: Likewise.
18474 * sunrpc/clnt_unix.c: Likewise.
18475 * sunrpc/openchild.c: Likewise.
18476 * sunrpc/svc_simple.c: Likewise.
18477 * sunrpc/svc_tcp.c: Likewise.
18478 * sunrpc/svc_udp.c: Likewise.
18479 * sunrpc/svc_unix.c: Likewise.
18480 * sunrpc/xdr.c: Likewise.
18481 * sunrpc/xdr_array.c: Likewise.
18482 * sunrpc/xdr_rec.c: Likewise.
18483 * sunrpc/xdr_ref.c: Likewise.
18484 * sunrpc/xdr_stdio.c: Likewise.
18485
1248c1c4
PB
184862011-09-09 Ulrich Drepper <drepper@gmail.com>
18487
18488 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18489
184902011-07-03 Andreas Jaeger <aj@suse.de>
18491
18492 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
18493 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
18494 regenerate with gen-libm-tests.pl.
18495
184962010-05-12 Petr Baudis <pasky@suse.cz>
18497
18498 [BZ #11589]
18499 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
18500 around j0() zero points by switching to j1().
18501 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18502 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18503 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18504 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18505
f22e1074
UD
185062011-09-09 Ulrich Drepper <drepper@gmail.com>
18507
f19009c1
UD
18508 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
18509 instead of 0.
18510 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
18511 instead of 0. .
18512 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18513 Patch in part by Pavel Roskin <proski@gnu.org>.
18514
3f8cc204
UD
18515 [BZ #13138]
18516 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
18517 realloc.
18518 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
18519 Free memory block if necessary.
18520
f22e1074
UD
18521 [BZ #12847]
18522 * libio/genops.c (INTDEF): For string streams the _lock pointer can
18523 be NULL. Don't lock in this case.
18524
0a2349f9
RM
185252011-09-09 Roland McGrath <roland@hack.frob.com>
18526
18527 * elf/elf.h (ELFOSABI_GNU): New macro.
18528 (ELFOSABI_LINUX): Define to that.
18529
f3cdd467
DZ
185302011-07-29 Denis Zaitceff <zaitceff@gmail.com>
18531
18532 * string/strncat.c (strncat): Undef the symbol in case it has been
18533 defined in bits/string.h.
18534
74718d13
UD
185352011-09-09 Ulrich Drepper <drepper@gmail.com>
18536
633e9e0f
UD
18537 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
18538
0a2349f9 18539 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
18540 link map.
18541
f9924780
AJ
185422011-08-17 Andreas Jaeger <aj@suse.de>
18543
18544 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
18545
7f5517aa
PP
185462011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
18547 Ian Lance Taylor <iant@google.com>
18548
18549 * math/libm-test.inc (lround_test): New testcase.
18550 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
18551
762011fe
UD
185522011-09-08 Ulrich Drepper <drepper@gmail.com>
18553
92963737
UD
18554 * Makefile: Remove support for automatic cvs check-ins.
18555 * Makerules: Likewise.
18556 * config.make.in: Likewise.
18557 * configure.in: Likewise.
18558 * intl/Makefile: Likewise.
18559 * locale/Makefile: Likewise.
18560 * po/Makefile: Likewise.
18561 * posix/Makefile: Likewise.
18562 * sysdeps/gnu/Makefile: Likewise.
18563 * sysdeps/mach/hurd/Makefile: Likewise.
18564 * sysdeps/sparc/sparc32/Makefile: Likewise.
18565
b0727fd8
JS
18566 [BZ #13118]
18567 * posix/Makefile (bug-regex32-ENV): Define.
18568 Patch by John Stanley <jpsinthemix@verizon.net>.
18569
a0f33f99
UD
18570 * misc/Makefile (headers): Add bits/select2.h.
18571 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
18572 * misc/bits/select2.h: New file.
18573 * include/bits/select2.h: New file.
18574 * debug/Makefile (routines): Add fdelt_chk.
18575 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
18576 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
18577 FD_ISSET.
18578 * debug/fdelt_chk.c: New file.
18579
762011fe
UD
18580 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
18581 * wcsmbs/test-wmemcmp.c: Likewise.
18582 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 18583 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
18584
185852011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18586
18587 * string/Makefile (strop-tests): Add memcmp.
18588 * string/test-wmemcmp.c: New file.
18589 * string/test-memcmp.c: Add wmemcmp support.
18590
7f513ec8
RM
185912011-09-08 Roland McGrath <roland@hack.frob.com>
18592
0442afb4
RM
18593 [BZ #13153]
18594 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
18595 2011-07-19 change.
18596
7f513ec8
RM
18597 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
18598 garbage value in a __mach_port_mod_refs call in the cases of the
18599 task-self and thread-self ports.
18600
a12b2239
ST
186012011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18602
18603 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
18604
610f9ab4
AS
186052011-09-08 Andreas Schwab <schwab@redhat.com>
18606
7f513ec8 18607 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 18608
48882a1a
LD
186092011-09-07 Ulrich Drepper <drepper@gmail.com>
18610
b49865be
UD
18611 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
18612
fdc86bc9
UD
18613 * elf/dl-libc.c (dlerror_run): Pass back error code from
18614 dl_catch_error.
18615
c966526a
UD
18616 [BZ #13123]
18617 * elf/dl-load.c (lose): Free l_origin if it is valid.
18618
48882a1a
LD
18619 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
18620 names.
18621 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
18622 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18623 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18624 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18625 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
18626 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
18627
77a2a8b4
AZ
186282011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18629
18630 * sysdeps/powerpc/fpu/e_hypot.c: New file.
18631 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
18632 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
18633 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
18634 * sysdeps/powerpc/fpu/k_cosf.c: New file.
18635 * sysdeps/powerpc/fpu/k_sinf.c: New file.
18636 * sysdeps/powerpc/fpu/s_cosf.c: New file.
18637 * sysdeps/powerpc/fpu/s_sinf.c: New file.
18638 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
18639 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
18640
24f579d8
AM
186412011-08-15 Alan Modra <amodra@gmail.com>
18642
18643 [BZ #13092]
18644 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
18645 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
18646 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
18647 ppc_mcount to static-only-routines.
18648 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
18649 __mcount_internal.
18650 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
18651 __mcount_internal with usual JUMPTARGET. Remove useless nop.
18652
3d4837df
UD
186532011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
18654
18655 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
18656 for finite and infinity parameters.
18657
22700377
WS
186582011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
18659
18660 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
18661 and add nop instructions for throughput optimization.
18662 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18663
5025581e
WS
186642011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
18665
18666 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
18667 aligned copy for power7 with vector-scalar instructions.
18668 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18669
08a300c9
L
186702011-07-24 H.J. Lu <hongjiu.lu@intel.com>
18671
18672 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
18673 AVX check.
18674
59178ef9
AS
186752011-09-07 Andreas Schwab <schwab@redhat.com>
18676
18677 [BZ #13144]
18678 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
18679 last change.
18680
e38ba7ab
UD
186812011-09-07 Ulrich Drepper <drepper@gmail.com>
18682
18683 * sysdeps/unix/sysv/linux/x86_64/init-first.c
18684 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
18685 syscall wrapper around clock_gettime in __vdso_clock_gettime.
18686 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
18687 clock_gettime.
18688
d53a73ac
UD
186892011-09-06 Ulrich Drepper <drepper@gmail.com>
18690
fc8bffcc
UD
18691 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
18692 Forgot to demangle the pointer.
18693
ceaa0c5d
UD
18694 * sysdeps/i386/sysdep.h: Define atom_text_section.
18695 * sysdeps/x86_64/sysdep.h: Likewise.
18696 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
18697 section with atom_text_section.
18698 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18699 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18700 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
18701 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
18702 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
18703
a77d3c17
UD
18704 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
18705 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
18706 already be defined. Change to take two parameters and don't assign
18707 result to variable. Adjust all users.
18708 Define INTERNAL_GETTIME if not already defined.
18709 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
18710 call.
18711 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
18712 HAVE_CLOCK_GETTIME_VSYSCALL.
18713 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
18714
d53a73ac
UD
18715 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
18716 gettimeofday vsyscall, just use time.
18717
a8f84144
AS
187182011-09-06 Andreas Schwab <schwab@redhat.com>
18719
18720 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
18721 <errno.h>.
18722
ef606249
UD
187232011-09-06 Ulrich Drepper <drepper@gmail.com>
18724
18725 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
18726 syscall on x86-64.
18727 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
18728 syscall.
18729 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
18730 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
18731 syscall if possible.
18732
6585cb60
UD
187332011-09-05 Ulrich Drepper <drepper@gmail.com>
18734
18735 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
18736 e_ident. Don't pass to find_mapsXX.
18737 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
18738
a5f524e4
LD
187392011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18740
18741 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18742 strchr-sse2-no-bsf strrchr-sse2-no-bsf
18743 * sysdeps/x86_64/multiarch/strchr.S: Update.
18744 Check bit_slow_BSF bit.
18745 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18746 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
18747 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
18748
554881ef
UD
187492011-09-05 Ulrich Drepper <drepper@gmail.com>
18750
d96de963
UD
18751 [BZ #13134]
18752 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
18753 before glibc 2.15.
18754 (tryshell): Define.
18755 (__spawni): Change last parameter to be flag. Test
18756 SPAWN_XFLAGS_USE_PATH flag to use path or not.
18757 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
18758 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
18759 * posix/spawni.c: Likewise.
18760 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
18761 * posix/spawnp.c: Likewise. Change normal version to use
18762 SPAWN_XFLAGS_USE_PATH.
18763 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
18764 SPAWN_XFLAGS_TRY_SHELL.
18765
d48e5868
UD
18766 [BZ #13150]
18767 * posix/glob.h: Remove gcc 1.x support.
18768
554881ef
UD
18769 [BZ #13068]
18770 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
18771
693fb948
LD
187722011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18773
18774 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18775 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
18776 strrchr-sse2-bsf
18777 * sysdeps/i386/i686/multiarch/strchr.S: New file.
18778 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
18779 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
18780 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
18781 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
18782 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
18783
1b48c537
UD
187842011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18785
49d42c37
UD
18786 * sysdeps/x86_64/wcscmp.S: New file.
18787
1b48c537
UD
18788 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
18789 wcscmp-c wcscmp-sse2
18790 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
18791 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
18792 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
18793 * wcsmbs/wcscmp.c: Allow renaming.
18794
15c95c5d
DM
187952011-09-05 David S. Miller <davem@davemloft.net>
18796
18797 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
18798 stack slot, rather than the struct return pointer slot.
18799 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
18800 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
18801 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
18802 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
18803
2f0ad8f3
UD
188042011-09-05 Ulrich Drepper <drepper@gmail.com>
18805
d88ae418
UD
18806 * po/ja.po: Update from translation team.
18807
2f0ad8f3
UD
18808 [BZ #13144]
18809 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
18810 kernel in 64-bit binaries.
18811
5f4318d1
DM
188122011-09-01 David S. Miller <davem@davemloft.net>
18813
18814 * elf/elf.h (HWCAP_SPARC_*): Move to..
18815 * sysdeps/sparc/sysdep.h: this new file and add new values.
18816 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
18817 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
18818 _DL_HWCAP_COUNT to 24.
18819 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
18820 entries.
18821 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
18822 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
18823 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
18824 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
18825 instead of magic constants.
18826 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18827
3ba57516
DM
188282011-08-31 David S. Miller <davem@davemloft.net>
18829
18830 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
18831 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
18832 Reimplement to do errno handling inline.
18833 (SYSCALL_ERROR_HANDLER): New macro.
18834 (__SYSCALL_STRING): Do not do errno handling in asm.
18835 (__CLONE_SYSCALL_STRING): Delete.
18836 (__INTERNAL_SYSCALL_STRING): Delete.
18837 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
18838 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
18839 (PSEUDO): Reimplement to do errno handling inline.
18840 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
18841 (SYSCALL_ERROR_HANDLER): New macro.
18842 (__SYSCALL_STRING): Do not do errno handling in asm.
18843 (__CLONE_SYSCALL_STRING): Delete.
18844 (__INTERNAL_SYSCALL_STRING): Delete.
18845 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
18846 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
18847 i386.
18848 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
18849 (inline_syscall*): Add 'err' argument.
18850 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
18851 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
18852 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
18853 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
18854
18855 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
18856 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18857
2bc17433
AS
188582011-08-30 Andreas Schwab <schwab@redhat.com>
18859
18860 * elf/rtld.c (dl_main): Relocate objects in dependency order.
18861
fbeb5f4d
JO
188622011-08-29 Jiri Olsa <jolsa@redhat.com>
18863
18864 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
18865 directive.
18866
ad69cc26
DM
188672011-08-24 David S. Miller <davem@davemloft.net>
18868
18869 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
18870
39dd69df
AS
188712011-08-24 Andreas Schwab <schwab@redhat.com>
18872
18873 * elf/Makefile: Add rules to build and run unload8 test.
18874 * elf/unload8.c: New file.
18875 * elf/unload8mod1.c: New file.
18876 * elf/unload8mod1x.c: New file.
18877 * elf/unload8mod2.c: New file.
18878 * elf/unload8mod3.c: New file.
18879
18880 * elf/dl-close.c (_dl_close_worker): Reset private search list if
18881 it wasn't used.
18882
2c0b250a
DM
188832011-08-23 David S. Miller <davem@davemloft.net>
18884
18885 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
18886 subtract stack bias.
18887 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
18888 %sp not %fp in calculations.
18889 (_JMPBUF_UNWINDS_ADJ): Likewise.
18890
22044b48
DM
18891 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
18892 (aio_suspend): Call it to force an exception region around the
18893 AIO_MISC_WAIT() invocation.
18894
2cae4995
AS
188952011-08-23 Andreas Schwab <schwab@redhat.com>
18896
18897 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
18898 backslash.
18899
873a772e
AJ
189002011-07-04 Aurelien Jarno <aurelien@aurel32.net>
18901
18902 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
18903 protection macro.
18904 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
18905 and <dl-machine.h>.
18906 (Elf64_FuncDesc): Remove.
18907
25ad0df1
DM
189082011-08-22 David S. Miller <davem@davemloft.net>
18909
18910 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
18911 sigaltstack check, add missing cfi directives.
18912 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
18913 missing cfi directives, and sigaltstack handling.
18914
e888bcbe
AS
189152011-08-16 Andreas Schwab <schwab@redhat.com>
18916
18917 [BZ #11724]
18918 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
18919 object is seen twice.
18920 * elf/dl-fini.c (_dl_sort_fini): Likewise.
18921
18922 * elf/Makefile (distribute): Add tst-initorder2.c.
18923 (tests): Add tst-initorder2.
18924 (modules-names): Add tst-initorder2a tst-initorder2b
18925 tst-initorder2c tst-initorder2d. Add rules to build them.
18926 ($(objpfx)tst-initorder2.out): New rule.
18927 * elf/tst-initorder2.c: New file.
18928 * elf/tst-initorder2.exp: New file.
18929
87162f46
AS
189302011-08-22 Andreas Schwab <schwab@redhat.com>
18931
70538b7f
AS
18932 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
18933
f55ffe58
AS
18934 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
18935 dependencies back to end of function.
18936
87162f46
AS
18937 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18938 $(elfobjdir)/ld.so.
18939
91b392a4
UD
189402011-08-21 Ulrich Drepper <drepper@gmail.com>
18941
18942 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
18943 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
18944 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
18945 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
18946 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
18947 of __vdso_gettimeofday.
18948 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
18949 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
18950 attribute_hidden.
18951 (_libc_vdso_platform_setup): Remove initialization of
18952 __vdso_gettimeofday and __vdso_time.
18953
5c43483f
UD
189542011-08-20 Ulrich Drepper <drepper@gmail.com>
18955
775a77e7
UD
18956 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
18957 and fgetc_unlocked.
18958 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
18959 getc_unlocked.
89f447ed 18960
49c74ba9
UD
18961 * elf/dl-open.c (add_to_global): Report additions to the global scope
18962 for LD_DEBUG=scopes.
18963 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 18964 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 18965
5c43483f
UD
18966 [BZ #13114]
18967 * stdio-common/Makefile (tests): Add bug24.
18968 * stdio-common/bug24.c: New file.
18969
a101b025
AJ
189702011-08-19 Andreas Jaeger <aj@suse.de>
18971
18972 [BZ #13114]
18973 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
18974 non-existant file when using close-on-exec mode.
18975
c88f1766
UD
189762011-08-20 Ulrich Drepper <drepper@gmail.com>
18977
0276a718
UD
18978 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
18979 the very first instruction.
18980
c88f1766
UD
18981 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
18982 the CFI state in the end.
18983 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
18984 inclusion of dl-trampoline.h.
18985 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
18986
51ccffa0
AS
189872011-08-19 Andreas Schwab <schwab@redhat.com>
18988
94d7165f
AS
18989 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
18990 expectations for long double.
18991
51ccffa0
AS
18992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
18993 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
18994
fd708658 189952011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
18996
18997 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
18998 artificual limit depends upon the system page size.
18999
44f0a71e
UD
190002011-08-17 Ulrich Drepper <drepper@gmail.com>
19001
19002 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
19003 * resolv/Makefile: Define CFLAGS-libresolv.
19004
8de79a24
AS
190052011-08-17 Andreas Schwab <schwab@redhat.com>
19006
19007 * nss/makedb.c (compute_tables): Make variables used in nested
19008 function static.
19009
27724598
UD
190102011-08-17 Ulrich Drepper <drepper@gmail.com>
19011
c5305d88
UD
19012 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
19013 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
19014 if buffer was too small.
19015
27724598
UD
19016 * elf/pldd.c (main): Attach to all threads in the process.
19017 Rewrite /proc handling to use *at functions.
19018
076fe015
UD
190192011-08-16 Ulrich Drepper <drepper@gmail.com>
19020
174baab3
UD
19021 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
19022 specifies first scope to show.
19023 (dl_open_worker): Update callers. Move printing scope of new
19024 object to before the relocation.
44f0a71e 19025 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
19026 * sysdeps/generic/ldsodefs.h: Update declaration.
19027
076fe015
UD
19028 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
19029 string for the scope number.
19030
a60df2c3
UD
190312011-08-14 Ulrich Drepper <drepper@gmail.com>
19032
19033 * nscd/servicescache.c (cache_addserv): Make sure written is always
19034 initialized.
19035
5e4287d1
RM
190362011-08-14 Roland McGrath <roland@hack.frob.com>
19037
85ae0589
RM
19038 * sysdeps/i386/i486/bits/atomic.h
19039 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
19040 statement expression, so as to suppress "set but not used" warning.
19041 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
19042
69f63097
RM
19043 * string/strncat.c (STRNCAT): Use prototype definition.
19044
675456ef
RM
19045 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
19046 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
19047 -Iprograms here.
19048 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
19049 (localedef-modules): Add localedef.
19050 (locale-modules): Add locale.
19051
5e4287d1
RM
19052 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
19053 * elf/rtld.c (dl_main): Invert order of assignment in last change,
19054 to avoid a warning.
19055
9c96ff23
DM
190562011-08-14 David S. Miller <davem@davemloft.net>
19057
19058 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
19059 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
19060
f9ddf089
UD
190612011-08-13 Ulrich Drepper <drepper@gmail.com>
19062
44f0a71e 19063 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
19064 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
19065 * elf/rtld.c (dl_main): Set l_name of vDSO.
19066 Call _dl_show_scope when DL_DEBUG_SCOPES.
19067 (process_dl_debug): Recognize scopes flag and also set it for all.
19068 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
19069 Declare _dl_show_scope.
19070
1dc27704
UD
19071 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
19072 (do_dlopen): Pass caller_dlopen to dl_open.
19073 (__libc_dlopen_mode): Initialize caller_dlopen.
19074
f9ddf089
UD
19075 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
19076 of libc. Make tolower call locale-independent. Optimize a bit by
19077 using isdigit instead of isalnum.
19078 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
19079
9ac533d3
UD
190802011-08-12 Ulrich Drepper <drepper@gmail.com>
19081
19082 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
19083 was a dependency or dynamically loaded.
19084
89edf2e9
UD
190852011-08-11 Ulrich Drepper <drepper@gmail.com>
19086
8e999d29
UD
19087 * intl/l10nflist.c: Allow architecture-specific pop function.
19088 * sysdeps/x86_64/l10nflist.c: New file.
19089
89edf2e9
UD
19090 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
19091 classification.
19092
14d96785
AS
190932011-08-10 Andreas Schwab <schwab@redhat.com>
19094
19095 * include/dirent.h: Add libc_hidden_proto for scandirat and
19096 scandirat64. Don't declare __scandirat64.
19097 * dirent/scandirat.c: Add libc_hidden_def.
19098 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
19099 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
19100
6761ac04
DM
191012011-08-10 David S. Miller <davem@davemloft.net>
19102
19103 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
19104 enum.
19105 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19106 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19107 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19108
c55fbd1e
UD
191092011-08-09 Ulrich Drepper <drepper@gmail.com>
19110
19111 * Versions.def [libc]: Add GLIBC_2.15.
19112 * dirent/Makefile (routines): Add scandirat and scandirat64.
19113 * dirent/Versions [libc]: Export scandirat and scandirat64 for
19114 GLIBC_2.15.
19115 * dirent/dirent.h: Declare scandirat and scandirat64.
19116 * dirent/scandirat.c: New file.
19117 * dirent/scandirat64.c: New file.
19118 * sysdeps/wordsize-64/scandirat.c: New file.
19119 * sysdeps/wordsize-64/scandirat64.c: New file.
19120 * dirent/opendir.c: Define opendirat.
19121 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
19122 using scandirat.
19123 * dirent/scandir64.c: Adjust for scandir.c change.
19124 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
19125 __scandirat64, and __scandir_cancel_handler.
19126 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
19127 additional parameter and use openat instead of open (outside of ld.so).
19128 Add new __opendir as wrapper around __opendirat.
19129 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
19130 here without requiring old scandirat implementation.
19131
879165f2
UD
191322011-08-08 Ulrich Drepper <drepper@gmail.com>
19133
19134 * dirent/scandir.c (cancel_handler): Renamed to
19135 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
19136 defined. Adjust users.
19137 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
19138 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
19139
cb7e923b
UD
191402011-08-04 Ulrich Drepper <drepper@gmail.com>
19141
16292edd
UD
19142 * string/test-string.h (IMPL): Use __STRING to expand name and then
19143 stringify it.
19144
cb7e923b
UD
19145 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
19146 of cleanups.
19147
cff82933
LD
191482011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19149
19150 * string/Makefile: Update.
19151 (strop-tests): Append strncat.
19152 * string/test-wcscmp.c: New file.
19153 New comprehensive test for wcscmp.
19154 * string/test-strcmp.c: Update.
19155 (WIDE): New define.
19156
9be9bfcc
AS
191572011-07-22 Andreas Schwab <schwab@redhat.com>
19158
19159 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
19160 line.
19161
2e96f1c7
AS
191622011-07-26 Andreas Schwab <schwab@redhat.com>
19163
19164 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19165 encoding to ACE if AI_IDN.
19166
85188888
JJ
191672011-08-01 Jakub Jelinek <jakub@redhat.com>
19168
19169 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
19170 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
19171
5fa16e9b
LD
191722011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19173
19174 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
19175 Fix overflow bug in strncat.
19176 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
19177
19178 * string/test-strncat.c: Update.
19179 Add new tests for checking overflow bugs.
19180
191812011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19182
19183 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19184 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
19185 * sysdeps/i386/i686/multiarch/strcat.S: New file.
19186 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
19187 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
19188 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
19189 * sysdeps/i386/i686/multiarch/strncat.S: New file.
19190 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
19191 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
19192
19193 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
19194 (USE_AS_STRCAT): Define.
19195 Add strcat and strncat support.
19196 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19197
8c1a459f
AS
191982011-07-25 Andreas Schwab <schwab@redhat.com>
19199
19200 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
19201 __n bigger than INT_MAX+1.
19202 (__strncmp_g): Likewise.
19203
bba33c28
UD
192042011-07-23 Ulrich Drepper <drepper@gmail.com>
19205
798be72d
UD
19206 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
19207 * libio/stido.h: Likewise.
19208
8accd4dc
UD
19209 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
19210 (AF_NFC): Define.
19211 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
19212 (AF_NFC): Define.
19213
cbff0d96
UD
19214 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
19215 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19216 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19217 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19218 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19219
9191c04a
UD
19220 [BZ #13021]
19221 * scripts/test-installation.pl: Don't expect libnss_test1 to be
19222 installed.
19223
bba33c28
UD
19224 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
19225 typo.
19226 (_dl_x86_64_save_sse): Likewise.
19227
90f139dd
UD
192282011-07-22 Ulrich Drepper <drepper@gmail.com>
19229
1aae088a
UD
19230 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
19231 OSXSAVE.
19232 (_dl_x86_64_save_sse): Likewise.
19233
8e2045f5
UD
19234 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
19235
90f139dd
UD
19236 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
19237
1d002f25
AS
192382011-07-21 Andreas Schwab <schwab@redhat.com>
19239
19240 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
19241 change.
19242 (_dl_x86_64_save_sse): Use correct AVX check.
19243
21137f89
UD
192442011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19245
19246 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
19247 bug in strncpy/strncat.
19248 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
19249
a65c0b7a
UD
192502011-07-21 Ulrich Drepper <drepper@gmail.com>
19251
19252 * string/tester.c (test_strcat): Add tests for different alignments
19253 of source and destination.
19254 (test_strncat): Likewise.
19255
6986b98a
UD
192562011-07-20 Ulrich Drepper <drepper@gmail.com>
19257
90bb2039
UD
19258 [BZ #12852]
19259 * posix/glob.c (glob): Check passed in values before using them in
19260 expressions to avoid some overflows.
19261 (glob_in_dir): Likewise.
19262
5644ef54
UD
19263 [BZ #13007]
19264 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
19265 check for AVX enablement so that we don't crash with old kernels and
19266 new hardware.
19267 * elf/tst-audit4.c: Add same checks here.
19268 * elf/tst-audit6.c: Likewise.
19269
19270 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 19271
bfc9dc9b
AS
192722011-07-09 Andreas Schwab <schwab@linux-m68k.org>
19273
19274 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
19275
702e64bb
UD
192762011-07-20 Ulrich Drepper <drepper@gmail.com>
19277
19278 * po/cs.po: Update from translation team.
19279 * po/bg.po: Likewise.
19280
295e904f
MP
192812011-07-12 Marek Polacek <mpolacek@redhat.com>
19282
19283 * misc/sys/cdefs.h: Add support for const attribute.
19284 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
19285 to gnu_dev_{major,minor,makedev} functions.
19286
3ff94596
MP
192872011-07-20 Marek Polacek <mpolacek@redhat.com>
19288
19289 * intl/dcigettext.c (get_output_charset): Add missing bracket.
19290
28b59fca
AS
192912011-07-20 Andreas Schwab <schwab@redhat.com>
19292
19293 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
19294 strlen results.
19295
19df733e
AK
192962011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19297
19298 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
19299 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
19300 register in order to avoid conflicts with the soft frame pointer
19301 being held in r11 when necessary.
19302 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19303 (INTERNAL_VSYSCALL_NCS): Likewise.
19304
c8835729
MP
193052011-07-14 Marek Polacek <mpolacek@redhat.com>
19306
19307 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
19308 * elf/dl-fini.c (_dl_fini): Adjust caller.
19309 * elf/dl-close.c (_dl_close_worker): Likewise.
19310 * sysdeps/generic/ldsodefs.h: Adjust declaration.
19311
b902330c
MP
193122011-07-15 Marek Polacek <mpolacek@redhat.com>
19313
8991e135
MP
19314 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
19315 "aux_cache->nlibs < 0".
19316
b902330c
MP
19317 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
19318 in the reload-count case.
19319
99710781
LD
193202011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19321
19322 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19323 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
19324 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
19325 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
19326 * sysdeps/x86_64/multiarch/strcat.S: New file.
19327 * sysdeps/x86_64/multiarch/strncat.S: New file.
19328 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
19329 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
19330 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
19331 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
19332 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
19333 (USE_AS_STRCAT): Define.
19334 Add strcat and strncat support.
19335 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19336 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19337 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
19338 * string/strncat.c: Update.
19339 (USE_AS_STRNCAT): Define.
19340 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19341 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
19342 and i7.
19343 * sysdeps/x86_64/multiarch/init-arch.h
19344 (bit_Prefer_PMINUB_for_stringop): New.
19345 (index_Prefer_PMINUB_for_stringop): Likewise.
19346 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
19347 bit_Prefer_PMINUB_for_stringop.
19348
7dc6bd90
UD
193492011-07-19 Ulrich Drepper <drepper@gmail.com>
19350
19351 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
19352 buffer64.
19353 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
19354 of casting of buffer.
19355 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
19356 buffer32 and buffer64.
19357 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
19358 writes instead of casting of buffer.
19359 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
19360 buffer32.
19361 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
19362 casting of buffer.
19363
e0e72284
AS
193642011-07-19 Andreas Schwab <schwab@redhat.com>
19365
19366 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
19367
feb1eb0b
UD
193682011-07-19 Ulrich Drepper <drepper@gmail.com>
19369
19370 * nscd/nscd.c (termination_handler): Don't do anything for a database
19371 if it has not yet been initialized.
19372
298711ff
UD
193732011-07-18 Ulrich Drepper <drepper@gmail.com>
19374
19375 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19376
193772011-07-15 Marek Polacek <mpolacek@redhat.com>
19378
19379 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19380
f9d68389
UD
193812011-07-18 Ulrich Drepper <drepper@gmail.com>
19382
19383 * po/nl.po: Update from translation team.
19384 * po/sv.po: Likewise.
19385
db290cf5
RM
193862011-07-16 Roland McGrath <roland@hack.frob.com>
19387
19388 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
19389 now disallowed by GCC.
5c550700 19390
fd5e21c7
RM
19391 * configure.in (use-default-link): Default to yes if a test -shared
19392 link meets our qualifications.
19393 * configure: Regenerated.
19394
5c550700
RM
19395 * config.make.in (output-format): New variable.
19396 * configure.in: Check for ld --print-output-format support.
19397 * configure: Regenerated.
19398 * Makerules ($(common-objpfx)format.lds)
19399 [$(output-format) != unknown]: Just use $(output-format),
19400 instead of the linker-script munging.
19401
9fa2c032
RM
194022011-07-14 Roland McGrath <roland@hack.frob.com>
19403
a6928d51
RM
19404 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
19405 of $(common-objpfx)shlib.lds.
19406 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
19407
661607b3
RM
19408 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
19409 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
19410
9fa2c032
RM
19411 * configure.in (-z relro check): Adjust test code to add a large
19412 writable data section after it.
19413 * configure: Regenerated.
19414
defe9061
RM
194152011-07-11 Roland McGrath <roland@hack.frob.com>
19416
19417 * configure.in (-z relro check): Fix test code to make the variable
19418 truly const.
19419 * configure: Regenerated.
19420
319b9ad4
UD
194212011-07-11 Ulrich Drepper <drepper@gmail.com>
19422
19423 * nscd/nscd.h (struct traced_file): Define.
19424 (struct database_dyn): Remove inotify_descr, reset_res, and filename
19425 elements. Add traced_files.
19426 (inotify_fd): Declare.
19427 (register_traced_file): Declare.
19428 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
19429 (inotify_fd): Export.
19430 (resolv_conf_descr): Remove.
19431 (nscd_init): Move inotify descriptor creation to main.
19432 Don't register files for notification here.
19433 (register_traced_file): New function.
19434 (invalidate_cache): Don't use reset_res to determine whether to call
19435 res_init, go through the list of registered files.
19436 (main_loop_poll): The inotify descriptors are now stored in the
19437 structures for the traced files.
19438 (main_loop_epoll): Likewise
19439 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
19440 to __nss_disable_nscd.
19441 * nscd/cache.c (prune_cache): There is no single inotify descriptor
19442 for a database anymore. Check the records for all the registered
19443 files instead.
19444 * nss/Makefile (libnss_files-routines): Add files-init.
19445 (libnss_db-routines): Add db-init.
19446 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
19447 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
19448 * nss/nss_db/db-init.c: New file.
19449 * nss/nss_files/files-init.c: New file.
19450 * nss/nsswitch.c (nss_load_library): New function. Broken out of
19451 __nss_lookup_function.
19452 (__nss_lookup_function): Call nss_load_library.
19453 (nss_load_all_libraries): New function.
19454 (__nss_disable_nscd): Take parameter with callback function for files
19455 to register. Set is_nscd. Load all the DSOs for the NSS modules
19456 used for the cached services.
19457 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
19458 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
19459 options for features to all the files in nscd.
19460
19461 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
19462
23bee3e8
RM
194632011-07-10 Roland McGrath <roland@hack.frob.com>
19464
19465 * csu/elf-init.c (__libc_csu_init): Comment typo.
19466
46a5b7f0
UD
194672011-07-09 Ulrich Drepper <drepper@gmail.com>
19468
19469 * po/pl.po: Update from translation team.
19470 * po/ja.po: Likewise.
19471 * po/ru.po: Likewise.
19472 * po/ko.po: Likewise.
19473 * po/fr.po: Likewise.
19474
d30cf5bb
RM
194752011-07-09 Roland McGrath <roland@hack.frob.com>
19476
113ddea4
RM
19477 * configure.in (.ctors/.dtors header and trailer check):
19478 Use an empirical test on a built program.
19479 * configure: Regenerated.
19480
574920b4
RM
19481 * configure.in (-z relro check): Use an empirical test on a built DSO.
19482 Detect, but do not require, on ia64.
19483 * configure: Regenerated.
19484
d30cf5bb
RM
19485 * configure.in (READELF): Find it with AC_CHECK_TOOL.
19486 Update tests that use readelf to use $READELF instead.
19487 * configure: Regenerated.
19488
8538fdb3
UD
194892011-07-08 Ulrich Drepper <drepper@gmail.com>
19490
19491 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
19492 if the result is not used.
19493
04d08991
AJ
194942011-07-05 Andreas Jaeger <aj@suse.de>
19495
19496 [BZ#9696]
19497 * stdlib/tst-strtod.c: Add testcase.
19498
de283087
AD
194992011-07-07 Ulrich Drepper <drepper@gmail.com>
19500
4e5f31c8 19501 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 19502 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
19503 The latter has a higher limit. Take additional parameter to pass to
19504 the new function.
19505 (__pathconf): Pass file to __statfs_link_max.
19506 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
19507 __statfs_link_max.
19508 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
19509 __statfs_link_max.
19510
de283087
AD
19511 [BZ #12868]
19512 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
19513 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19514 Handle Lustre.
19515 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
19516 (__statfs_filesize_max): Likewise.
19517 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
19518
c75fa153
AJ
195192011-07-05 Andreas Jaeger <aj@suse.de>
19520
19521 * resolv/res_comp.c (dn_skipname): Remove unused variable.
19522
1a544854
UD
195232011-07-06 Marek Polacek <mpolacek@redhat.com>
19524
19525 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
19526 `status' variable.
19527 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
19528 Likewise.
19529
6f0eec67
UD
195302011-07-04 H.J. Lu <hongjiu.lu@intel.com>
19531
19532 * Makefile (strop-tests): Add strncat.
19533 * string/test-strncat.c: New file.
19534
aae30307
UD
195352011-06-30 Marek Polacek <mpolacek@redhat.com>
19536
19537 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
19538
c0cfb5eb
UD
195392011-06-21 Andreas Jaeger <aj@suse.de>
19540
19541 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
19542 Copy rule from iconvdata/Makefile.
19543
01636b21
UD
195442011-07-06 Ulrich Drepper <drepper@gmail.com>
19545
19546 [BZ #12922]
19547 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
19548 but no long options are defined, just return 'W'.
19549
9895c8bc
UD
195502011-06-22 Marek Polacek <mpolacek@redhat.com>
19551
19552 [BZ #9696]
19553 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
19554
5d4cf042
UD
195552011-07-06 Ulrich Drepper <drepper@gmail.com>
19556
19557 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
19558 netgroups to read.
960e5535 19559 (innetgr): Likewise.
5d4cf042 19560
751eb97e
RM
195612011-07-05 Roland McGrath <roland@hack.frob.com>
19562
19563 * config.make.in (install_root): Default to $(DESTDIR).
19564
f15f1e45
UD
195652011-07-05 Ulrich Drepper <drepper@gmail.com>
19566
19567 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
19568
4e34ac6a
RM
195692011-07-02 Roland McGrath <roland@hack.frob.com>
19570
5e9b6af4
RM
19571 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
19572
84f9ea0f
RM
19573 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
19574 containing directory rather than embedding absolute directory names.
19575
ea5ee9f7
RM
19576 * scripts/check-local-headers.sh: Rewritten using awk.
19577 Match by word, not by line. Print error messages for matches.
19578 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
19579
1b74661a
RM
19580 * Makerules [shlib-lds-flags empty]:
19581 ($(common-objpfx)libc_pic.opts): New target.
19582 ($(common-objpfx)libc_pic.os.clean): New target.
19583 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
19584
19585 * config.make.in (OBJCOPY): New variable.
19586 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
19587 * configure: Regenerated.
19588
f781ef40
RM
19589 * config.make.in (use-default-link): New variable.
19590 * configure.in (use_default_link): Grok --with-default-link to set it.
19591 * configure: Regenerated.
19592 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
19593 (shlib-lds, shlib-lds-flags): Define to empty.
19594
2d4fa81e
RM
19595 * Makerules (shlib-lds): New variable.
19596 (shlib-lds-flags): New variable.
19597 (build-shlib, build-moduile, build-module-asneeded): Use it.
19598 ($(common-objpfx)libc.so): Use $(shlib-lds).
19599 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
19600 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
19601
31fffa6b
RM
19602 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
19603 DT_FLAGS/DT_FLAGS_1 with zero flags.
19604
4e34ac6a
RM
19605 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
19606 linker script munging.
19607
fcfc776b
UD
196082011-07-02 Ulrich Drepper <drepper@gmail.com>
19609
19610 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
19611 as 128-bit value.
19612 * crypt/sha512.c (sha512_process_block): Perform total addition using
19613 128-bit if possible.
19614 (__sha512_finish_ctx): Likewise.
19615 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
19616 as 64-bit value.
19617 * crypt/sha256.c (SWAP64): Define.
19618 (sha256_process_block): Perform total addition using 64-bit if
19619 possible.
19620 (__sha256_finish_ctx): Likewise.
19621
99231d9a
UD
196222011-07-01 Ulrich Drepper <drepper@gmail.com>
19623
19624 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
19625 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19626 * nscd/hstcache.c (cache_addhst): Likewise.
19627 * nscd/grpcache.c (cache_addgr): Likewise.
19628 * nscd/aicache.c (addhstaiX): Likewise
19629 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
19630
445b4a53
TK
196312011-07-01 Thorsten Kukuk <kukuk@suse.de>
19632
19633 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
19634 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19635 * nscd/hstcache.c (cache_addhst): Likewise.
19636 * nscd/grpcache.c (cache_addgr): Likewise.
19637 * nscd/aicache.c (addhstaiX): Likewise
19638
6d4d8e8e
AS
196392011-07-01 Andreas Schwab <schwab@redhat.com>
19640
19641 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
19642 domain only when needed.
19643
89f654c5
AS
196442011-06-30 Andreas Schwab <schwab@redhat.com>
19645
19646 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
19647 is always restored.
19648
cf3b23ff
UD
196492011-06-29 Ulrich Drepper <drepper@gmail.com>
19650
19651 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
19652 are re-adding the entry.
19653 * nscd/servicescache.c (cache_addserv): Likewise.
19654
751626f9
AJ
196552011-06-30 Aurelien Jarno <aurelien@aurel32.net>
19656
19657 * sysdeps/generic/dl-irel.h: fix protection against multiple
19658 inclusions.
19659 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
19660
9113ea1f
UD
196612011-06-28 Ulrich Drepper <drepper@gmail.com>
19662
5c0b8d90
UD
19663 [BZ #12935]
19664 * malloc/memusage.sh: Fix quoting in message.
19665 * debug/xtrace.sh: Likewise.
19666
9113ea1f
UD
19667 * configure.in: Remove support for --experimental-malloc option, make
19668 it the default.
19669 * config.make.in: Likewise.
19670 * malloc/Makefile: Likewise.
19671
a4172181
AS
196722011-06-27 Andreas Schwab <schwab@redhat.com>
19673
19674 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
19675 two-byte characters.
19676
78a7eee7
RM
196772011-06-27 Roland McGrath <roland@hack.frob.com>
19678
62bede13
RM
19679 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
19680 AC_CACHE_CHECK invocation.
19681 * configure: Regenerated.
19682
78a7eee7
RM
19683 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
19684
5ce33a62
UD
196852011-06-27 Ulrich Drepper <drepper@gmail.com>
19686
034807a9
UD
19687 [BZ #12350]
19688 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
19689 bit from old_res_options.
19690
4902da17
UD
19691 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
19692
5ce33a62
UD
19693 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
19694 value type for setfct.
19695
c2344f56
L
196962011-06-23 H.J. Lu <hongjiu.lu@intel.com>
19697
19698 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19699 __gettimeofday instead of gettimeofday.
19700
68468076
UD
197012011-06-26 Ulrich Drepper <drepper@gmail.com>
19702
19703 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
19704
acb0d739
L
197052011-06-24 H.J. Lu <hongjiu.lu@intel.com>
19706
19707 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
19708
19709 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
19710 info.
19711
8912479f
L
197122011-06-22 H.J. Lu <hongjiu.lu@intel.com>
19713
19714 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19715 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19716 strcpy-sse2-unaligned strncpy-sse2-unaligned
19717 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
19718 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
19719 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
19720 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
19721 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
19722 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
19723 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
19724 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
19725 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
19726 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
19727 (STRCPY): Support SSE2 and SSSE3 versions.
19728
d5495a11
UD
197292011-06-24 Ulrich Drepper <drepper@gmail.com>
19730
19731 [BZ #12874]
19732 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
19733 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
19734 kernels which artificially limit size of requests.
19735
0b1cbaae
L
197362011-06-22 H.J. Lu <hongjiu.lu@intel.com>
19737
19738 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19739 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19740 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
19741 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
19742 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
19743 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
19744 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
19745 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
19746 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
19747 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
19748 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
19749 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
19750 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
19751 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
19752 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
19753 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19754 Enable unaligned load optimization for Intel Core i3, i5 and i7
19755 processors.
19756 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
19757 Define.
19758 (index_Fast_Unaligned_Load): Define.
19759 (HAS_FAST_UNALIGNED_LOAD): Define.
19760
07f494a0
MP
197612011-06-23 Marek Polacek <mpolacek@redhat.com>
19762
19763 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
19764
fa3fc0fe
UD
197652011-06-22 Ulrich Drepper <drepper@gmail.com>
19766
19767 [BZ #12907]
19768 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
19769 until it is clear that the information is realy needed.
19770 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
19771
e12df166
AS
197722011-06-22 Andreas Schwab <schwab@redhat.com>
19773
19774 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
19775
852eb34d
UD
197762011-06-22 Ulrich Drepper <drepper@gmail.com>
19777
84e2a551
UD
19778 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19779 /sys/devices/system/cpu/online if it is usable.
19780
852eb34d
UD
19781 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
19782 reading the information from the /proc filesystem to once a second.
19783
6e502e19
UD
197842011-06-21 Andreas Jaeger <aj@suse.de>
19785
19786 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
19787 NULL after inclusion of kernel headers.
19788
75d39ff2
UD
197892011-06-21 Ulrich Drepper <drepper@gmail.com>
19790
51f9aa6a
UD
19791 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
19792 calls to internal_setent.
19793
c0244a9d
UD
19794 [BZ #12885]
19795 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
19796 addresses using gethostbyname4_r ignore IPv4 addresses.
19797
c5e3c2ae
UD
19798 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
19799 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
19800
75d39ff2
UD
19801 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
19802
42675c6f
DM
198032011-06-20 David S. Miller <davem@davemloft.net>
19804
19805 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
19806 inclusions.
19807 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
19808
19809 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
19810 (elf_irel): Use it.
19811 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
19812 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
19813 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
19814 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
19815 * sysdeps/x86_64/dl-irel.h: Likewise.
19816
19817 * elf/dl-runtime.c: Use elf_ifunc_invoke.
19818 * elf/dl-sym.c: Likewise.
19819
57912a71
UD
198202011-06-15 Ulrich Drepper <drepper@gmail.com>
19821
19822 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
19823 need to dereference resplen2.
19824
ee22793d
AS
198252011-06-14 Andreas Schwab <schwab@redhat.com>
19826
19827 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
19828
a9e836b0
UD
198292011-06-15 Ulrich Drepper <drepper@gmail.com>
19830
77fb9117
UD
19831 * Makeconfig: Define vardbdir and inst_vardbdir.
19832 * nss/Makefile: Add rules to install db-Makefile.
19833
40c1b22c
UD
19834 * nss/nss_db/db-XXX.c: Cleanup.
19835
9f2da732
UD
19836 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
19837 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
19838 GLIBC_PRIVATE.
19839 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
19840 * nss/makedb.c: Implement -g option to specify that value strings
19841 are generated and should not be added to table iterated over for
19842 get*ent calls.
19843 * nss/nss_db/db-initgroups.c: New file.
19844
82e9a1f7
UD
19845 * nss/getent.c: Add support for initgroups lookups through getgrouplist
19846 interface.
19847
c41af17e
UD
19848 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
19849 (internal_getgrouplist): Adjust to name change.
19850 Update use_initgroups_entry if this is not the first call.
19851 * nss/databases.def: Add initgroups entry.
19852
a9e836b0
UD
19853 * nss/makedb.c (compute_tables): Check result of multiple hash table
19854 sizes to minimize maximum chain length.
19855
2666d441
UD
198562011-06-14 Ulrich Drepper <drepper@gmail.com>
19857
19858 * Versions.def: Add entry for libnss_db.
19859 * shlib-versions: Likewise.
19860 * nss/Makefile: Add rules to build libnss_db.
19861 * nss/Versions: Add libnss_db information. Organize libnss_files
19862 entries better.
19863 * nss/db-Makefile: Add gshadow support. Change rules for the new
19864 makedb progra. Some minor improvements to generate smaller files.
19865 * nss/nss_db/nss_db.h: Move NSS database header data structures to
19866 here from...
19867 * nss/makedb.c: ...here.
19868 Improve database format to be smaller and require less memory at
19869 runtime.
19870 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
19871 db anymore.
19872 * nss/nss_db/db-netgrp.c: Likewise.
19873 * nss/nss_db/db-open.c: Likewise.
19874 * nss/nss_files/flies-XXX.x: Adjust comments.
19875 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
19876 * nss/nss_files/files-grp.c: Likewise.
19877 * nss/nss_files/files-hosts.c: Likewise.
19878 * nss/nss_files/files-network.c: Likewise.
19879 * nss/nss_files/files-proto.c: Likewise.
19880 * nss/nss_files/files-pwd.c: Likewise.
19881 * nss/nss_files/files-rpc.c: Likewise.
19882 * nss/nss_files/files-service.c: Likewise.
19883 * nss/nss_files/files-sgrp.c: Likewise.
19884 * nss/nss_files/files-spwd.c: Likewise.
19885 * nss/nss_db/db-alias.c: Removed.
19886 * nss/nss_db/dummy-db.h: Removed.
19887
9ee76b5a
UD
198882011-06-02 Ulrich Drepper <drepper@gmail.com>
19889
19890 * nss/makedb.c: Rewritten to not use database library.
19891 * nss/Makefile: Update to build new makedb program.
19892
c71ca1f8
AJ
198932011-06-14 Andreas Jaeger <aj@suse.de>
19894
19895 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
19896 memset declaration.
19897
3154bfb8
UD
198982011-06-10 Andreas Schwab <schwab@redhat.com>
19899
19900 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
19901 tmpbuf.
19902
b350afab
RM
199032011-06-10 Roland McGrath <roland@hack.frob.com>
19904
decd4e50
RM
19905 * Makerules (shlib.lds): Fail if the linker script comes out empty.
19906 * elf/Makefile ($(objpfx)ld.so): Likewise.
19907
5615eaf2
RM
19908 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
19909 Don't list ld.so twice in dependencies.
19910
19911 * posix/bug-regex31.c: Include <stdlib.h>.
19912
19913 * nscd/hstcache.c (cache_addhst): Remove unused variable.
19914
19915 * nis/nss_compat/compat-spwd.c
19916 (getspent_next_nss_netgr): Remove unused variable.
19917 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
19918
19919 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
19920 nonmembers" output to use the right array.
19921
19922 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
19923
19924 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
19925
19926 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
19927 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
19928 * catgets/gencat.c (read_input_file): Likewise.
19929 * locale/programs/locarchive.c (enlarge_archive): Likewise.
19930
19931 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
19932 variable definition inside #if's controlling its use.
19933
19934 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
19935
19936 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
19937
19938 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
19939
19940 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
19941 unreachable code.
19942
19943 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
19944
b68e08db
RM
19945 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
19946 * configure: Regenerated.
19947
b350afab
RM
19948 * Makerules: Revert last change.
19949 * elf/Makefile: Likewise.
19950
28368601
RM
199512011-06-09 Roland McGrath <roland@hack.frob.com>
19952
19953 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
19954 * elf/Makefile ($(objpfx)librtld.os): Likewise.
19955 (reloc-link): Likewise.
19956
11988f8f
UD
199572011-06-09 Ulrich Drepper <drepper@gmail.com>
19958
19959 * elf/Makefile: Add rules to build pldd.
19960 * elf/pldd.c: New file.
19961 * elf/pldd-xx.c: New file.
19962
e80fab37
UD
199632011-06-07 Ulrich Drepper <drepper@gmail.com>
19964
19965 * version.h: Update for 2.15 development version.
19966
9b849836
DM
199672011-06-07 David S. Miller <davem@davemloft.net>
19968
19969 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
19970 ifuncs.
19971 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
19972 elf_machine_lazy_rel): Likewise.
19973 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
19974 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
19975 elf_machine_lazy_rel): Likewise.
19976 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
19977 dl_hwcap via passed in argument.
19978 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
19979 Likewise.
19980
5a31b283
AK
199812011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19982
19983 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
19984
069e52f8
RM
199852011-06-06 Roland McGrath <roland@hack.frob.com>
19986
19987 [BZ #12849]
19988 * manual/fdl-1.1.texi: New file, verbatim from:
19989 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
19990 * manual/lgpl-2.1.texi: New file, verbatim from:
19991 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
19992 * manual/Makefile (licenses): New variable, list those new file names.
19993 (texis): Use it.
19994 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
19995
19996 * manual/fdl.texi: File removed.
19997 * manual/lesser.texi: File removed.
19998 * manual/libc.texinfo (Copying, Documentation License):
19999 Use new @include file names, put @appendix directive before @include.
20000
f16846a5
JJ
200012011-06-04 Jakub Jelinek <jakub@redhat.com>
20002
20003 [BZ #12841]
20004 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
20005 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
20006 (mq_open): Add __NTH.
20007
3d29045b
L
200082011-06-02 H.J. Lu <hongjiu.lu@intel.com>
20009
20010 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20011 Assume Intel Core i3/i5/i7 processor if AVX is available.
20012
8c297311
UD
200132011-05-31 Ulrich Drepper <drepper@gmail.com>
20014
20015 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20016 typo.
20017
c8fc0c91
UD
200182011-05-31 Andreas Schwab <schwab@redhat.com>
20019
20020 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
20021 memory. Use alloca_account. Fix memory leak when retrying.
20022
5b27a807
UD
200232011-05-31 Ulrich Drepper <drepper@gmail.com>
20024
356f8bc6
UD
20025 * version.h (RELEASE): Bump for 2.14 release.
20026 * include/features.h (__GLIBC_MINOR__): Bump to 14.
20027
5b27a807
UD
20028 * config.make.in (RANLIB): Remove entry.
20029
01f16ab0
UD
200302011-05-30 Ulrich Drepper <drepper@gmail.com>
20031
41fce8bd
UD
20032 * po/Makefile (po-sed-cmd): Add ksh to extensions.
20033 (libc.pot): Work around missing support for .ksh extension in xgettext.
20034
4769ae77
UD
20035 [BZ #12684]
20036 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
20037 if both request failed.
20038 (send_dg): In case of server errors clear resplen or *resplen2.
20039
6b1e7d19
UD
20040 [BZ #12454]
20041 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
20042 when there are multiple maps.
20043 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
20044 (_dl_fini): Remove test here.
20045
01f16ab0
UD
20046 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
20047
b1ebd700
UD
200482011-05-29 Ulrich Drepper <drepper@gmail.com>
20049
7ae22829
UD
20050 [BZ #12350]
20051 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
20052 bit from old_res_options.
20053 (gaih_inet): Likewise.
20054
553149f6 20055 [BZ #11099]
18a84741 20056 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
20057 as signed.
20058
652ffab1
UD
20059 * resolv/res_init.c (res_setoptions): Make the code more compact.
20060
16985fd0
UD
20061 [BZ #11558]
20062 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
20063 set RES_USEVC.
20064
0464f746
UD
20065 [BZ #11634]
20066 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
20067
7d17596c
UD
20068 * malloc/malloc.h: Mark malloc hook variables as deprecated.
20069
cf6bbbd7
UD
20070 [BZ #11781]
20071 * malloc/malloc.h: Declare malloc hook variables as volatile.
20072
13f1ab36
UD
20073 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
20074 in last patch.
20075
b1ebd700
UD
20076 [BZ #11799]
20077 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 20078 raise in the comment.
80e2212d
UD
20079 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20080 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20081 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 20082
ce67228d
UD
200832011-05-28 Ulrich Drepper <drepper@gmail.com>
20084
8887a920
UD
20085 [BZ #12811]
20086 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
20087 grow the buffers more if it already has to be sufficient.
20088 (build_wcs_upper_buffer): Likewise.
20089 * posix/regexec.c (check_matching): Likewise.
20090 (clean_state_log_if_needed): Likewise.
20091 (extend_buffers): Don't enlarge buffers beyond size of the input
20092 buffer.
20093 Patches mostly by Emil Wojak <emil@wojak.eu>.
20094 * posix/bug-regex32.c: New file.
20095 * posix/Makefile (tests): Add bug-regex32.
20096
4f031072
UD
20097 * locale/findlocale.c (_nl_find_locale): Return right away if
20098 _nl_explode_name failed.
20099 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
20100
d0478f0c
UD
20101 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
20102
de81b246
UD
20103 * debug/xtrace.sh: Unify messages.
20104 * malloc/memusage.sh: Likewise.
20105
c738465a
UD
20106 [BZ #12813]
20107 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
20108 time symbol from vDSO. Substitute with vsyscall if not available.
20109 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
20110 __vdso_time.
20111
f1f929d7
UD
20112 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
20113 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
20114 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
20115 Add sendmmsg and internal_sendmmsg.
20116 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
20117 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
20118 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
20119
ce67228d
UD
20120 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
20121 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
20122 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
20123
e57420c6
UD
201242011-05-27 Ulrich Drepper <drepper@gmail.com>
20125
a8509ca5
UD
20126 [BZ #12813]
20127 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
20128 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
20129 available.
20130 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
20131 __vdso_getcpu.
20132
e57420c6
UD
20133 [BZ #12814]
20134 * iconvdata/Makefile (tests): Add bug-iconv9.
20135 * iconvdata/bug-iconv9.c: New file.
20136
4d07db15
AS
201372011-05-27 Andreas Schwab <schwab@redhat.com>
20138
20139 [BZ #12814]
20140 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
20141
ea486f69
JJ
201422011-05-25 Jakub Jelinek <jakub@redhat.com>
20143
20144 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20145 (struct user_regs_struct): Change intcs field back to cs.
20146
6f038433
UD
201472011-05-25 Ulrich Drepper <drepper@gmail.com>
20148
20149 * po/ja.po: Update from translation team.
20150
67f86a25
UD
201512011-05-23 Ulrich Drepper <drepper@gmail.com>
20152
20153 [BZ #12795]
20154 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
20155 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
20156
def7fbd6
AS
201572011-05-20 Andreas Schwab <schwab@redhat.com>
20158
20159 * stdlib/longlong.h: Update from GCC.
20160
f50ef8f1
AS
201612011-05-23 Andreas Schwab <schwab@redhat.com>
20162
20163 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
20164 parameter name.
20165 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
20166 Add parameter name.
20167 (__sysconf): Pass it down.
20168
de7ce8f1
UD
201692011-05-22 Ulrich Drepper <drepper@gmail.com>
20170
f2962a71
UD
20171 [BZ #12671]
20172 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
20173 some situations.
20174 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
20175 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
20176 add in in __libc_use_alloca calls. Adjust callers.
20177 (glob): Use malloc in some situations.
20178
de7ce8f1
UD
20179 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
20180 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
20181 pltexit.
20182
aec84f53
UD
201832011-05-21 Ulrich Drepper <drepper@gmail.com>
20184
05bb4a68
UD
20185 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
20186 and CLOCK_BOOTTIME_ALARM.
20187
7ea72f99
UD
20188 [BZ #12782]
20189 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
20190 is returned.
20191
7e4afad5
UD
20192 * string/_strerror.c (__strerror_r): Print negative errors as signed
20193 numbers.
20194
8e211fec
UD
20195 [BZ #12777]
20196 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
20197 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
20198 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
20199
f7d82dc9
UD
20200 * configure.in: Fix typo in redirection and correct removal of test
20201 files in two cases.
20202
cc9e536d
UD
20203 [BZ #12788]
20204 * locale/setlocale.c (new_composite_name): Fix test to check for
20205 identical name of all categories.
20206
aec84f53
UD
20207 [BZ #12792]
20208 * libio/filedoalloc.c (local_isatty): New function.
20209 (_IO_file_doallocate): Use local_isatty.
20210 * stdio-common/perror.c (perror): In case a new stream is used
20211 forward the stream error.
20212 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
20213 error flag.
20214
78e64fdc
RT
202152011-05-20 Ulrich Drepper <drepper@gmail.com>
20216
34a9094f
UD
20217 [BZ #11869]
20218 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
20219 alloca.
20220 * include/alloca.h (extend_alloca_account): Define.
20221
78e64fdc
RT
20222 [BZ #11857]
20223 * posix/regex.h: Fix comments with documentation of user-accessible
20224 fields after compilation and describe correct free'ing of pattern
20225 after re_compile_pattern.
20226 Patch by Reuben Thomas <rrt@sc3d.org>.
20227
457bddfc
RA
202282011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
20229
20230 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
20231 and -mno-altivec to prevent the compiler from using Altivec and/or
20232 VSX instructions when the corresponding registers are not available.
20233
a4527b51
AS
202342011-05-19 Andreas Schwab <schwab@redhat.com>
20235
20236 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
20237
ed690b2f
UD
202382011-05-19 Ulrich Drepper <drepper@gmail.com>
20239
20240 * libio/freopen.c (freopen): Use __dup2, not dup2.
20241 * libio/freopen64.c (freopen64): Likewise.
20242
8db73634
L
202432011-05-17 H.J. Lu <hongjiu.lu@intel.com>
20244
20245 [BZ #12775]
20246 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
20247 * math/Makefile (tests): Add test-powl.
20248 (CFLAGS-test-powl.c): Define.
20249 * math/test-powl.c: New file.
20250
0a197a9d
L
202512011-05-16 H.J. Lu <hongjiu.lu@intel.com>
20252
20253 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
20254
ee30c380
UD
202552011-05-17 Ulrich Drepper <drepper@gmail.com>
20256
20257 [BZ #11837]
20258 * iconvdata/gb18030.c: Update to GB18020-2005.
20259
6ce75379
UD
202602011-05-16 Ulrich Drepper <drepper@gmail.com>
20261
a4b89fd8
AR
20262 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
20263 RE_SYNTAX_POSIX_AWK): Update to match recent development.
20264 Patch by Aharon Robbins <arnold@skeeve.com>.
20265
ea389b12
UD
20266 [BZ #11892]
20267 * stdlib/putenv.c (putenv): Don't always create copy of the variable
20268 on the stack.
20269
68a3f91f
UD
20270 [BZ #11895]
20271 * misc/pselect.c (__pselect): Handle timeout value errors hidden
20272 through underflows.
20273
15cc7dd1
UD
20274 [BZ #12766]
20275 * misc/error.c (error_at_line): Ensure file_name and old_file_name
20276 point to strings before performing equality test for error_one_per_line
20277 mode.
20278
f3799213
UD
20279 [BZ #11697]
20280 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
20281
d79a9c94
UD
20282 [BZ #11820]
20283 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20284 (struct user_fpregs_struct): Avoid __uint*_t types.
20285
56e5eb46
UD
20286 [BZ #6420]
20287 * malloc/mtrace.c (tr_where): Add additional parameter to point to
20288 symbol info. Use it instead of calling _dl_addr locally.
20289 (lock_and_info): New function.
20290 (tr_freehook): Call lock_and_info and pass symbol info as additional
20291 parameter to tr_where.
20292 (tr_mallochook): Likewise.
20293 (tr_reallochook): Likewise.
20294 (tr_memalignhook): Likewise.
20295
6ce75379
UD
20296 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
20297 used and couldn't be at all thread-safe.
20298
f8a3b5bf
UD
202992011-05-15 Ulrich Drepper <drepper@gmail.com>
20300
94b7cc37
UD
20301 * libio/freopen.c (freopen): Don't close old file descriptor
20302 before the new one is opened. Instead dup the new file descriptor
20303 to the old one after the new stream is created.
20304 * libio/freopen64.c (freopen64): Likewise.
20305 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
20306 * libio/fileops.c (_IO_new_file_close_it): Handle new
20307 _IO_FLAGS2_NOCLOSE flag.
20308 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
20309 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
20310 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
20311 _IO_FLAGS2_NOCLOSE flag.
20312 * include/unistd.h: Add hidden_proto for dup3.
20313 Define __have_dup3.
20314 * io/dup3.c: Define hidden symbol.
20315 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
20316
bd25564e
UD
20317 [BZ #7101]
20318 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
20319 when an incomplete long option is used.
20320 * posix/tst-getopt_long1.c: New file.
20321 * posix/Makefile (tests): Add tst-getopt_long1.
20322
c84cfef4
UD
20323 [BZ #10138]
20324 * scripts/config.guess: Update from autoconf-2.68.
20325 * scripts/config.sub: Likewise.
20326
3b85df27
UD
20327 [BZ #10157]
20328 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
20329 tests into ...
20330 (has_cpuclock): ...this. New function.
20331 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
20332 macro here based on has_cpuclock code.
20333
15a856b1
UD
20334 [BZ #10149]
20335 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20336 First byte (not low byte) is now always NUL.
20337 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
20338
05f399e6
UD
20339 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20340 Use non-cancelable interfaces.
20341
10a52685 20342 [BZ #9809]
94ecc67d
UD
20343 * locale/iso-639.def: Add entry for Sorani.
20344
f8a3b5bf
UD
20345 [BZ #11901]
20346 * include/stdlib.h: Move include protection to the right place.
20347 Define abort_msg_s. Declare __abort_msg with it.
20348 * stdlib/abort.c (__abort_msg): Adjust type.
20349 * assert/assert.c (__assert_fail_base): New function. Majority
20350 of code from __assert_fail. Allocate memory for __abort_msg with
20351 mmap.
20352 (__assert_fail): Now call __assert_fail_base.
20353 * assert/assert-perr.c: Remove bulk of implementation. Use
20354 __assert_fail_base.
20355 * include/assert.hL Declare __assert_fail_base.
20356 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
20357 mmap.
20358 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
20359
1af4e298
UD
203602011-05-14 Ulrich Drepper <drepper@gmail.com>
20361
f8a3b5bf 20362 [BZ #11952]
d26dfc60
MG
20363 [BZ #12453]
20364 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
20365 until all modules are registered in the DTV.
20366 * elf/Makefile: Add rules to build and run tst-tls19.
20367 * elf/tst-tls19.c: New file.
20368 * elf/tst-tls19mod1.c: New file.
20369 * elf/tst-tls19mod2.c: New file.
20370 * elf/tst-tls19mod3.c: New file.
20371 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
20372
2fc54d6f
UD
20373 [BZ #12083]
20374 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
20375 correctly.
20376
98d76b46
UD
20377 [BZ #12601]
20378 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
20379 two-byte sequence errors.
20380 * iconvdata/Makefile (tests): Add bug-iconv8.
20381 * iconvdata/bug-iconv8.c: New file.
20382
da3c19ef
UD
20383 [BZ #12626]
20384 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
20385 buf2 definition.
20386
ca408c15
UD
20387 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
20388
d6f67f7d
UD
20389 [BZ #12432]
20390 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
20391 (dummy_getcfa): New function.
20392 (init): Get _Unwind_GetCFA address, use dummy if not found.
20393 (backtrace_helper): In recursion check, also check whether CFA changes.
20394 (__backtrace): Completely initialize arg.
20395
1af4e298 20396 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
20397 storing incomplete byte sequence in state object. Avoid testing for
20398 guaranteed too small input if we know there is enough data available.
1af4e298 20399
da62f81b
AS
204002011-05-11 Andreas Schwab <schwab@redhat.com>
20401
20402 * Makeconfig (+link-pie): Indent.
20403 * Rules (binaries-pie): Define if $(have-fpie) and
20404 $(build-shared).
20405 (binaries-shared): Also filter out $(binaries-pie).
20406 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
20407 * nscd/Makefile (others-pie): Add nscd.
20408 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
20409 ($(objpfx)nscd): Remove command override.
20410 * login/Makefile (others-pie): Add pt_chown.
20411 ($(objpfx)pt_chown): Remove command override.
20412 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
20413 remove command overrides.
20414
fcabc0f8
UD
204152011-05-13 Ulrich Drepper <drepper@gmail.com>
20416
20030ae6
UD
20417 * libio/tst_putwc.c: Fix error messages.
20418
fcabc0f8
UD
20419 [BZ #12724]
20420 * libio/fileops.c (_IO_new_file_close_it): Always flush when
20421 currently writing and seek to current position when not.
20422 * libio/Makefile (tests): Add bug-fclose1.
20423 * libio/bug-fclose1.c: New file.
20424
320a5dc0
PB
204252011-05-12 Ulrich Drepper <drepper@gmail.com>
20426
20427 [BZ #12511]
20428 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
20429 don't set DF_1_NODELETE here.
20430 (do_lookup_x): When entering new entry test for copy relocation
20431 and if necessary set DF_1_NODELETE flag.
20432 * elf/tst-unique4.cc: New file.
20433 * elf/tst-unique4.h: New file.
20434 * elf/tst-unique4lib.cc: New file.
20435 * elf/Makefile: Add rules to build and run tst-unique4.
20436 Patch by Piotr Bury <pbury@goahead.com>.
20437
22836f52
UD
204382011-05-11 Ulrich Drepper <drepper@gmail.com>
20439
f574184a
UD
20440 [BZ #12052]
20441 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
20442
e1fb097f
UD
20443 [BZ #12625]
20444 * misc/mntent_r.c (addmntent): Flush the stream after the output
20445
22836f52
UD
20446 [BZ #12393]
20447 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
20448 (is_trusted_path_normalize): Skip initial colon. Append slash
20449 to empty buffer. Duplicate is_trusted_path code but allow
20450 constructed patch to be prefix.
20451 (is_dst): Allow $ORIGIN followed by /.
20452 (_dl_dst_substitute): Correct clearing of check_for_trusted.
20453 Correct testing of result of is_trusted_path_normalize
20454 (decompose_rpath): Fix warning.
20455
7b3b0b2a
UD
204562011-05-10 Ulrich Drepper <drepper@gmail.com>
20457
20458 [BZ #11257]
20459 * grp/initgroups.c (internal_getgrouplist): When we found the service
20460 list through the initgroups entry in nsswitch.conf do not always
20461 continue on a successful lookup. Don't always use the
eac80ce2 20462 __nss_group_database value if it is set.
7b3b0b2a
UD
20463 * nss/nsswitch.conf (initgroups): Change action for successful db
20464 lookup to continue for compatibility.
20465
2a81eaa5
UD
204662011-05-09 Ulrich Drepper <drepper@gmail.com>
20467
be97a69e
UD
20468 [BZ #11532]
20469 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
20470 and CP774 modules.
20471 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
20472 and CP774 modules.
20473 * iconvdata/tst-tables.sh: Likewise.
20474 * iconvdata/cp770.c: New file.
20475 * iconvdata/cp771.c: New file.
20476 * iconvdata/cp772.c: New file.
20477 * iconvdata/cp773.c: New file.
20478 * iconvdata/cp774.c: New file.
20479 * iconvdata/testdata/CP770: New file.
20480 * iconvdata/testdata/CP770..UTF8: New file.
20481 * iconvdata/testdata/CP771: New file.
20482 * iconvdata/testdata/CP771..UTF8: New file.
20483 * iconvdata/testdata/CP772: New file.
20484 * iconvdata/testdata/CP772..UTF8: New file.
20485 * iconvdata/testdata/CP773: New file.
20486 * iconvdata/testdata/CP773..UTF8: New file.
20487 * iconvdata/testdata/CP774: New file.
20488 * iconvdata/testdata/CP774..UTF8: New file.
20489
20490 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
20491 END CHARMAP line.
20492 * iconvdata/gen-8bit-gap.sh: Likewise.
20493 * iconvdata/gen-8bit.sh: Likewise.
20494
c1e9e399
UD
20495 * locale/iso-639.def: Add ary entry.
20496
24c55fb3 20497 [BZ #11258]
96b4b1b0
UD
20498 * locale/C-translit.h.in: Add U20A1 transliteration.
20499
bdc2f971
KB
20500 [BZ #12178]
20501 * locale/iso-639.def: Add wae entry.
20502 Patch by Kevin Bortis <bortis@translate-wae.ch>.
20503
2952b117
UD
20504 [BZ #12545]
20505 * locale/programs/localedef.c (construct_output_path): Use ssize_t
20506 for n.
20507
2a81eaa5
UD
20508 [BZ #12711]
20509 * locale/C-translit.h.in: Add entry for U20B9.
20510 Patch by pravin.d.s@gmail.com.
20511
28377d1b
UD
205122011-05-08 Ulrich Drepper <drepper@gmail.com>
20513
7fb90fb8
UD
20514 [BZ #12713]
20515 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
20516 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
20517 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
20518 in rtld. Use *stat64.
7fb90fb8 20519 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 20520 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 20521 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
20522 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
20523 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
20524 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
20525 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
20526 __fstatat64 macros.
7fb90fb8
UD
20527 * include/dirent.h: Add libc_hidden_proto for rewinddir.
20528 * dirent/rewinddir.c: Add libc_hidden_def.
20529 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 20530 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 20531
28377d1b
UD
20532 * include/dirent.h (__alloc_dir): Add flags parameter.
20533 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
20534 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
20535 __alloc_dir.
20536 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
20537 from fdopendir if O_CLOEXEC is already set.
20538
66bdbaa4
AM
205392011-03-15 Alan Modra <amodra@gmail.com>
20540
20541 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
20542 l_tls_firstbyte_offset non-zero. Save padding offset in
20543 l_tls_firstbyte_offset for later use.
20544 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
20545 freeing static tls block.
20546
95721191
JN
205472011-03-05 Jonathan Nieder <jrnieder@gmail.com>
20548
20549 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
20550 where #ifdef was intended. The intent is to prevent ARG_MAX from
20551 being defined by the kernel headers.
20552
f87dfb1f
UD
205532011-05-07 Ulrich Drepper <drepper@gmail.com>
20554
20555 [BZ #12734]
20556 * resolv/resolv.h: Define RES_NOTLDQUERY.
20557 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
20558 no-tld-query and set RES_NOTLDQUERY.
20559 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
20560 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
20561 modern BIND to search name as TLD unless forbidden.
20562
47c3cd7a
UD
205632011-05-07 Petr Baudis <pasky@suse.cz>
20564 Ulrich Drepper <drepper@gmail.com>
20565
20566 [BZ #12393]
20567 * elf/dl-load.c (fillin_rpath): Move trusted path check...
20568 (is_trusted_path): ...to here.
c1e9ea35 20569 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 20570 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 20571 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 20572
8a35c912
PP
205732011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20574
20575 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
20576 __BEGIN/__END_DECLS.
20577
acd41f47
UD
205782011-05-06 Ulrich Drepper <drepper@gmail.com>
20579
20580 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
20581 NSS_STATUS_NOTFOUND if no record was found.
20582
597df647
AS
205832011-05-05 Andreas Schwab <schwab@redhat.com>
20584
20585 * sunrpc/Makefile (headers): Add rpc/netdb.h.
20586 (headers-not-in-tirpc): Remove rpc/netdb.h
20587 * resolv/netdb.h: Revert last change.
20588
b9af1301
PP
205892011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20590
20591 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
20592 circular dependency between libgcc.a and libc.a.
20593
4e34d5f5
AS
205942011-05-05 Andreas Schwab <schwab@redhat.com>
20595
20596 * resolv/netdb.h: Don't include <rpc/netdb.h>.
20597 * nis/Makefile: Don't install rpcsvc/*.
20598 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
20599 instead of <rpc/types.h>.
20600 (MAXHOSTNAMELEN): Define.
20601
00ee369c
AS
206022011-05-03 Andreas Schwab <schwab@redhat.com>
20603
20604 * elf/ldconfig.c (add_dir): Don't crash on empty path.
20605
0b592a30
MB
206062011-04-28 Maciej Babinski <mbabinski@google.com>
20607
20608 [BZ #12714]
20609 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
20610 gethostbyname4_r when IPv6 results are possible.
20611
6e04cbbe
UD
206122011-05-02 Ulrich Drepper <drepper@gmail.com>
20613
20614 [BZ #12723]
20615 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
20616 _PC_PIPE_BUF handling.
20617
e4ecafe0
BH
206182011-04-30 Bruno Haible <bruno@clisp.org>
20619
20620 [BZ #12717]
20621 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
20622 * resolv/netdb.h (getnameinfo): Change type of flags parameter
20623 to 'int'.
20624 * inet/getnameinfo.c (getnameinfo): Likewise.
20625
125ee683
UD
206262011-04-29 Ulrich Drepper <drepper@gmail.com>
20627
20628 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
20629 to groups setting in database lookup.
20630 * nss/nsswitch.conf: Add initgroups entry.
20631
b722481a
EB
206322011-04-22 Ulrich Drepper <drepper@gmail.com>
20633
20634 [BZ #12685]
20635 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
20636 mode string.
20637 Patch by Eric Blake <eblake@redhat.com>.
20638
4df46dbd
L
206392011-04-20 H.J. Lu <hongjiu.lu@intel.com>
20640
20641 * sunrpc/Makefile (need-export-routines): Add svc_run.
20642 (routines): Remove svc_run.
20643 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
20644 * sunrpc/clnt_perr.c (clnt_perrno): Export.
20645 * sunrpc/svc_run.c (svc_run): Likewise.
20646 * sunrpc/svc_udp.c (svcudp_create): Likewise.
20647
e84142d2
UD
206482011-04-21 Ulrich Drepper <drepper@gmail.com>
20649
20650 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
20651 problem in reallocation in last patch.
20652
877175d8
UD
206532011-04-20 Ulrich Drepper <drepper@gmail.com>
20654
20655 * sunrpc/Makefile: Move inclusion of Rules.
20656
ab8eed78
UD
206572011-04-19 Ulrich Drepper <drepper@gmail.com>
20658
20659 * nss/nss_files/files-initgroups.c: New file.
20660 * nss/Makefile (libnss_files-routines): Add files-initgroups.
20661 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
20662 _nss_files_initgroups_dyn.
20663
e3d8f584
RS
206642011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
20665
20666 * elf/elf.h (R_ARM_IRELATIVE): Define.
20667
af190f45
UD
206682011-04-19 Ulrich Drepper <drepper@gmail.com>
20669
20670 * po/ru.po: Update from translation team.
20671
53cf59ef
UD
206722011-04-17 Ulrich Drepper <drepper@gmail.com>
20673
20674 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
20675 dependencies.
20676
4c559bcd
MF
206772011-02-06 Mike Frysinger <vapier@gentoo.org>
20678
20679 [BZ #12653]
20680 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
20681 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
20682 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20683 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20684 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20685
4420675c
AS
206862011-03-28 Andreas Schwab <schwab@linux-m68k.org>
20687
20688 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
20689 differing bytes.
20690 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20691 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20692 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20693
75ea32ab
UD
206942011-04-17 Ulrich Drepper <drepper@gmail.com>
20695
20696 [BZ #12420]
20697 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
20698 storing it.
20699 * stdlib/bug-getcontext.c: New file.
20700 * stdlib/Makefile: Add rules to build and run bug-getcontext.
20701
27390476
AK
207022011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20703
20704 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
20705 instructions into .machine "z9-109".
20706 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
20707 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
20708
10442705
AK
207092011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20710
20711 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
20712 between environment variables and auxiliary vector.
20713
7b57bfe5
UD
207142011-04-16 Ulrich Drepper <drepper@gmail.com>
20715
20716 * Makefile: Add rules to build linkobj/libc.so.
20717 * include/libc-symbols.h: Define libc_hidden_nolink.
20718 * include/rpc/auth.h: Mark functions which are to be hidden.
20719 * include/rpc/auth_des.h: Likewise.
20720 * include/rpc/auth_unix.h: Likewise.
20721 * include/rpc/clnt.h: Likewise.
20722 * include/rpc/des_crypt.h: Likewise.
20723 * include/rpc/key_prot.h: Likewise.
20724 * include/rpc/pmap_clnt.h: Likewise.
20725 * include/rpc/pmap_prot.h: Likewise.
20726 * include/rpc/pmap_rmt.h: Likewise.
20727 * include/rpc/rpc_msg.h: Likewise.
20728 * include/rpc/svc.h: Likewise.
20729 * include/rpc/svc_auth.h: Likewise.
20730 * include/rpc/xdr.h: Likewise.
20731 * nis/Makefile: Link all DSOs against linkobj/libc.so.
20732 * nss/Makefile: Likewise.
20733 * sunrpc/Makefile: Don't install headers. Build library with normal
20734 entry points. Don't build rpcinfo. Link RPC tests appropriately.
20735 * sunrpc/auth_des.c: Hide exported symbols by default, export some
20736 for the compat linking library. Remove use of INTDEF/INTUSE.
20737 * sunrpc/auth_none.c: Likewise.
20738 * sunrpc/auth_unix.c: Likewise.
20739 * sunrpc/authdes_prot.c: Likewise.
20740 * sunrpc/authuxprot.c: Likewise.
20741 * sunrpc/clnt_gen.c: Likewise.
20742 * sunrpc/clnt_perr.c: Likewise.
20743 * sunrpc/clnt_raw.c: Likewise.
20744 * sunrpc/clnt_simp.c: Likewise.
20745 * sunrpc/clnt_tcp.c: Likewise.
20746 * sunrpc/clnt_udp.c: Likewise.
20747 * sunrpc/clnt_unix.c: Likewise.
20748 * sunrpc/des_crypt.c: Likewise.
20749 * sunrpc/des_soft.c: Likewise.
20750 * sunrpc/get_myaddr.c: Likewise.
20751 * sunrpc/key_call.c: Likewise.
20752 * sunrpc/key_prot.c: Likewise.
20753 * sunrpc/netname.c: Likewise.
20754 * sunrpc/pm_getmaps.c: Likewise.
20755 * sunrpc/pm_getport.c: Likewise.
20756 * sunrpc/pmap_clnt.c: Likewise.
20757 * sunrpc/pmap_prot.c: Likewise.
20758 * sunrpc/pmap_prot2.c: Likewise.
20759 * sunrpc/pmap_rmt.c: Likewise.
20760 * sunrpc/publickey.c: Likewise.
20761 * sunrpc/rpc_cmsg.c: Likewise.
20762 * sunrpc/rpc_common.c: Likewise.
20763 * sunrpc/rpc_dtable.c: Likewise.
20764 * sunrpc/rpc_prot.c: Likewise.
20765 * sunrpc/rpc_thread.c: Likewise.
20766 * sunrpc/rtime.c: Likewise.
20767 * sunrpc/svc.c: Likewise.
20768 * sunrpc/svc_auth.c: Likewise.
20769 * sunrpc/svc_authux.c: Likewise.
20770 * sunrpc/svc_raw.c: Likewise.
20771 * sunrpc/svc_run.c: Likewise.
20772 * sunrpc/svc_simple.c: Likewise.
20773 * sunrpc/svc_tcp.c: Likewise.
20774 * sunrpc/svc_udp.c: Likewise.
20775 * sunrpc/svc_unix.c: Likewise.
20776 * sunrpc/svcauth_des.c: Likewise.
20777 * sunrpc/xcrypt.c: Likewise.
20778 * sunrpc/xdr.c: Likewise.
20779 * sunrpc/xdr_array.c: Likewise.
20780 * sunrpc/xdr_float.c: Likewise.
20781 * sunrpc/xdr_intXX_t.c: Likewise.
20782 * sunrpc/xdr_mem.c: Likewise.
20783 * sunrpc/xdr_rec.c: Likewise.
20784 * sunrpc/xdr_ref.c: Likewise.
20785 * sunrpc/xdr_sizeof.c: Likewise.
20786 * sunrpc/xdr_stdio.c: Likewise.
20787
e6c61494
UD
207882011-04-10 Ulrich Drepper <drepper@gmail.com>
20789
20790 [BZ #12650]
20791 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
20792 * sysdeps/ia64/dl-tls.h: Likewise.
20793 * sysdeps/powerpc/dl-tls.h: Likewise.
20794 * sysdeps/s390/dl-tls.h: Likewise.
20795 * sysdeps/sh/dl-tls.h: Likewise.
20796 * sysdeps/sparc/dl-tls.h: Likewise.
20797 * sysdeps/x86_64/dl-tls.h: Likewise.
20798 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
20799
34fe483e
AS
208002011-03-14 Andreas Schwab <schwab@redhat.com>
20801
20802 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
20803 rpath element also skip the following colon.
20804 (expand_dynamic_string_token): Add is_path parameter and pass
20805 down to DL_DST_REQUIRED and _dl_dst_substitute.
20806 (decompose_rpath): Call expand_dynamic_string_token with
20807 non-zero is_path. Ignore empty rpaths.
20808 (_dl_map_object_from_fd): Call expand_dynamic_string_token
20809 with zero is_path.
20810
f12a32e6
AS
208112011-04-08 Andreas Schwab <schwab@linux-m68k.org>
20812
20813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
20814 Make cancelable.
20815
38a7d692
UD
208162011-04-09 Ulrich Drepper <drepper@gmail.com>
20817
20818 [BZ #12655]
20819 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
20820 Patch by Filipe David Manana <fdmanana@apache.org>.
20821
e451d22b
AS
208222011-04-07 Andreas Schwab <schwab@redhat.com>
20823
20824 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
20825 Maintain aligned stack.
20826 (CHECK_RSP): Remove unused macro.
20827
dedc7c7b
UD
208282011-04-03 Ulrich Drepper <drepper@gmail.com>
20829
20830 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
20831 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
20832
94521213
UD
208332011-04-02 Ulrich Drepper <drepper@gmail.com>
20834
20835 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
20836
8cb700c0 20837 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 20838
0354e355
L
208392011-03-26 H.J. Lu <hongjiu.lu@intel.com>
20840
20841 [BZ #12518]
20842 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
20843 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
20844 * sysdeps/x86_64/memmove.c: New file.
20845 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
20846 (memcpy): Renamed to ...
20847 (__new_memcpy): This.
20848 (memcpy): Provide GLIBC_2_14 memcpy.
20849 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
20850 (memcpy): Provide GLIBC_2_2_5 memcpy.
20851
8593482f
UD
208522011-04-01 Ulrich Drepper <drepper@gmail.com>
20853
20854 [BZ #12631]
20855 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
20856
81a5726b
AS
208572011-03-30 Andreas Schwab <schwab@redhat.com>
20858
20859 * misc/syncfs.c: New file.
20860 * misc/Makefile (routines): Add syncfs.
20861 * posix/unistd.h: Declare syncfs.
20862 * sysdeps/unix/syscalls.list: Add syncfs.
20863
00e5419f
AS
208642011-04-01 Andreas Schwab <schwab@redhat.com>
20865
20866 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
20867 open_by_handle_at.
20868 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
20869 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20870 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20871 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20872 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20873 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
20874 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20875
748876bf
UD
208762011-04-01 Ulrich Drepper <drepper@gmail.com>
20877
658e451d
UD
20878 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
20879 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20880 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
20881 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20882 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20883 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20884 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20885
748876bf
UD
20886 * io/Makefile: Compile fallocate.c, fallocate64.c, and
20887 sync_file_range.c with -fexceptions.
20888 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
20889 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
20890 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
20891 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
20892 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
20893 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
20894 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
20895 sync_file_range as cancellation point
20896 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
20897 now a wrapper around __call_sync_file_range with cancellation handling.
20898 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
20899 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
20900 function name to __call_sync_file_range.
20901 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
20902 Add call_sync_file_range.
748876bf 20903
6e63d5e1
AS
209042011-04-01 Andreas Schwab <schwab@redhat.com>
20905
20906 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 20907 bits/timex.h.
6e63d5e1 20908
46998f74
UD
209092011-04-01 Ulrich Drepper <drepper@gmail.com>
20910
4c1423ed
UD
20911 * iconv/iconv.h: Fix typo in comment.
20912 * io/fcntl.h: Likewise.
20913 * libio/stdio.h: Likewise.
20914 * posix/spawn.h: Likewise.
20915 * posix/unistd.h: Likewise.
20916 * stdlib/stdlib.h: Likewise.
20917 * time/time.h: Likewise.
20918 * wcsmbs/wchar.h: Likewise.
20919
158648c0
UD
20920 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
20921 open_by_handle): Add.
20922 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
20923 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
20924 Augment a few comments.
20925 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20926 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20927 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20928 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20929 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20930 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
20931 open_by_handle.
20932
46998f74
UD
20933 * io/fcntl.h (AT_EMPTY_PATH): Define.
20934
83fe108b
UD
209352011-03-30 Ulrich Drepper <drepper@gmail.com>
20936
20937 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
20938 * sysdeps/unix/sysv/linux/bits/time.h: New file.
20939 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
20940 to...
20941 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
20942 * Versions.def: Add GLIBC_2.14.
20943 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
20944 Export.
83fe108b 20945
bb242059
UD
209462011-03-22 Ulrich Drepper <drepper@gmail.com>
20947
20948 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
20949 round counter.
20950 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
20951
c97a1282
L
209522011-03-20 H.J. Lu <hongjiu.lu@intel.com>
20953
20954 [BZ #12597]
20955 * string/test-strncmp.c (do_page_test): New function.
20956 (check2): Likewise.
20957 (test_main): Call check2.
20958 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
20959
2a115601
UD
209602011-03-20 Ulrich Drepper <drepper@gmail.com>
20961
20962 [BZ #12587]
20963 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
20964 Handle cache information in CPU leaf 4.
20965 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
20966
8126d904
UD
209672011-03-18 Ulrich Drepper <drepper@gmail.com>
20968
042c49c6 20969 [BZ #12583]
8126d904
UD
20970 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
20971 character representation.
20972 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
20973
ccfe366e
RA
209742011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
20975
20976 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
20977 END(__isnan) to END(__isnanf) to match function entry point/label
20978 EALIGN(__isnanf,...).
20979
c6e13027
JJ
209802011-03-10 Jakub Jelinek <jakub@redhat.com>
20981
20982 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
20983
33f85a3f
UD
209842011-03-10 Ulrich Drepper <drepper@gmail.com>
20985
028478fa
UD
20986 [BZ #12510]
20987 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
20988 copy from the symbol referenced in the relocation to initialize the
20989 used variable.
20990 Patch by Piotr Bury <pbury@goahead.com>.
20991 * elf/Makefile: Add rules to build and tst-unique3.
20992 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
20993 * elf/tst-unique3.cc: New file.
20994 * elf/tst-unique3.h: New file.
20995 * elf/tst-unique3lib.cc: New file.
20996 * elf/tst-unique3lib2.cc: New file.
20997
33f85a3f
UD
20998 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
20999
03592fc7
MF
210002011-03-10 Mike Frysinger <vapier@gentoo.org>
21001
21002 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
21003 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
21004 to _start.
03592fc7 21005
6a5ee102
UD
210062011-03-06 Ulrich Drepper <drepper@gmail.com>
21007
21008 * elf/dl-load.c (_dl_map_object): If we are looking for the first
21009 to-be-loaded object along a path to loader is ld.so.
21010
7e4ba49c
HJ
210112011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21012 Ulrich Drepper <drepper@gmail.com>
21013
21014 * sysdeps/x86_64/memset.S: After aligning destination, code
21015 branches to different locations depending on the value of
21016 misalignment, when multiarch is enabled. Fix this.
21017
210182011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21019
21020 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
21021 Set _x86_64_preferred_memory_instruction for AMD processsors.
21022 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21023 Set bit_Prefer_SSE_for_memop for AMD processors.
21024
13a804de
UD
210252011-03-04 Ulrich Drepper <drepper@gmail.com>
21026
21027 * libio/fmemopen.c (fmemopen): Optimize a bit.
21028
9d25c392
AS
210292011-03-03 Andreas Schwab <schwab@redhat.com>
21030
21031 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
21032
a5543c6a
RM
210332011-03-03 Roland McGrath <roland@redhat.com>
21034
21035 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
21036
012d35f7
DM
210372011-02-28 Aurelien Jarno <aurelien@aurel32.net>
21038
7e4ba49c 21039 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
21040 __bzero_ultra1 instead of __memset_ultra1.
21041
4bff6e01
AS
210422011-02-23 Andreas Schwab <schwab@redhat.com>
21043 Ulrich Drepper <drepper@gmail.com>
21044
21045 [BZ #12509]
21046 * include/link.h (struct link_map): Add l_orig_initfini.
21047 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
21048 returning unsuccessfully.
21049 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
21050 close of a file loaded at startup, restore the original l_initfini
21051 list.
21052 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
21053 list, store the pointer.
21054 * elf/Makefile ($(objpfx)noload-mem): New rule.
21055 (noload-ENV): Define.
21056 (tests): Add $(objpfx)noload-mem.
21057 * elf/noload.c: Include <memcheck.h>.
21058 (main): Call mtrace. Close all opened handles.
21059
f2092faf
AS
210602011-02-17 Andreas Schwab <schwab@redhat.com>
21061
21062 [BZ #12454]
21063 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
21064 dependencies are missing.
21065
6c8a2e88
ST
210662011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
21067
f2092faf 21068 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
21069 Hurd needs munmap.
21070 * sysdeps/mach/hurd/ifreq.h: New file.
21071
84a42118
PB
210722011-01-27 Petr Baudis <pasky@suse.cz>
21073 Ulrich Drepper <drepper@gmail.com>
21074
071f805e 21075 [BZ 12445]#
84a42118
PB
21076 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
21077 to extend_alloca().
21078 * stdio-common/bug23.c: New file.
21079 * stdio-common/Makefile (tests): Add bug23.
21080
e23fe25b
AS
210812010-09-28 Andreas Schwab <schwab@redhat.com>
21082 Ulrich Drepper <drepper@gmail.com>
21083
21084 [BZ #12489]
21085 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
21086 before performing relro protection. At old place add assertion
21087 to make sure nothing changed.
21088
d3f02e10
NS
210892011-02-17 Nathan Sidwell <nathan@codesourcery.com>
21090 Glauber de Oliveira Costa <glommer@gmail.com>
21091
21092 * elf/elf.h: Add new ARM TLS relocs.
21093
d55fd7a5
RA
210942011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
21095
21096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21097 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
21098 cast from r3.
21099 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
21100 'tests' variable.
21101 * sysdeps/wordsize-64/tst-writev.c: New file.
21102
2206397e
RA
211032011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
21104
21105 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
21106 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
21107 insns in _dl_start to prevent a TOC reference before relocs are
21108 resolved.
21109
e9433893
UD
211102011-02-15 Ulrich Drepper <drepper@gmail.com>
21111
21112 [BZ #12469]
21113 * Makeconfig: Remove RANLIB definition.
21114 * Makerules: Don't use RANLIB.
21115 * aclocal.m4: Remove ranlib test.
21116 * configure.in: No need to check for ranlib.
21117 * elf/rtld-Rules: Don't use RANLIB.
21118
f75286c6
ST
211192011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
21120
8e31c82d
ST
21121 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
21122 protection macro.
21123 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
21124 inclusion protection macro.
21125
f75286c6
ST
21126 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
21127 SIGRTMIN and SIGRTMAX and print information in that case only when
21128 SIGRTMIN is defined.
21129
c1d0e639
JJ
211302011-02-11 Jakub Jelinek <jakub@redhat.com>
21131
21132 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
21133 arginfo fn returning -1.
21134
21135 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
21136 and thousands string is zero terminated.
21137
edf9294e
AS
211382011-02-03 Andreas Schwab <schwab@redhat.com>
21139
21140 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
21141 sysdeps/unix/sysv/linux/bits/socket.h.
21142
2b7e92df
ST
211432011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
21144
edf9294e
AS
21145 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
21146 (__CPU_COUNT): Remove old macros.
21147 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
21148 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
21149 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
21150 (__sched_cpualloc, __sched_cpufree): Add declarations.
21151
a4c7ea7b
UD
211522011-02-05 Ulrich Drepper <drepper@gmail.com>
21153
21154 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
21155 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
21156 * nscd/aicache.c (addhstaiX): Return timeout of added value.
21157 (readdhstai): Return value of addhstaiX call.
21158 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
21159 (addgrbyX): Return value returned by cache_addgr.
21160 (readdgrbyname): Return value returned by addgrbyX.
21161 (readdgrbygid): Likewise.
21162 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
21163 (addpwbyX): Return value returned by cache_addpw.
21164 (readdpwbyname): Return value returned by addhstbyX.
21165 (readdpwbyuid): Likewise.
21166 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
21167 (addservbyX): Return value returned by cache_addserv.
21168 (readdservbyname): Return value returned by addservbyX:
21169 (readdservbyport): Likewise.
21170 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
21171 (addhstbyX): Return value returned by cache_addhst.
21172 (readdhstbyname): Return value returned by addhstbyX.
21173 (readdhstbyaddr): Likewise.
21174 (readdhstbynamev6): Likewise.
21175 (readdhstbyaddrv6): Likewise.
21176 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
21177 (readdinitgroups): Return value returned by addinitgroupsX.
21178 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
21179 (prune_cache): Keep track of timeout value of re-added entries.
21180 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
21181 * nscd/nscd.h: Adjust prototypes of readd* functions.
21182
a0bf67cc
RM
211832011-02-04 Roland McGrath <roland@redhat.com>
21184
21185 * nis/nis_server.c (nis_servstate): Use the right name for 0.
21186 (nis_stats): Likewise.
21187 * nis/nis_modify.c (nis_modify): Likewise.
21188 * nis/nis_remove.c (nis_remove): Likewise.
21189 * nis/nis_add.c (nis_add): Likewise.
21190
21191 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
21192
21193 * posix/fnmatch_loop.c: Add some consts.
21194
21195 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
21196
435b95eb
L
211972011-02-02 H.J. Lu <hongjiu.lu@intel.com>
21198
21199 [BZ #12460]
21200 * config.make.in (config-cflags-novzeroupper): Define.
21201 * configure.in: Substitute libc_cv_cc_novzeroupper.
21202 * elf/Makefile (AVX-CFLAGS): Define.
21203 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
21204 (CFLAGS-tst-auditmod4a.c): Likewise.
21205 (CFLAGS-tst-auditmod4b.c): Likewise.
21206 (CFLAGS-tst-auditmod6b.c): Likewise.
21207 (CFLAGS-tst-auditmod6c.c): Likewise.
21208 (CFLAGS-tst-auditmod7b.c): Likewise.
21209 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
21210
8517b15e
UD
212112011-02-02 Ulrich Drepper <drepper@gmail.com>
21212
21213 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
21214 function to the callback.
21215 Patch partly by Jiri Olsa <jolsa@redhat.com>.
21216
10a656fe
AS
212172011-02-02 Andreas Schwab <schwab@redhat.com>
21218
21219 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
21220 of errno.
21221
968dad0a
UD
212222011-01-19 Ulrich Drepper <drepper@gmail.com>
21223
9f94d2ea 21224 [BZ #11724]
968dad0a
UD
21225 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
21226 of constructors.
21227 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
21228 of destructors.
21229 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
21230
21231 [BZ #11724]
21232 * elf/Makefile: Add rules to build and run new test.
21233 * elf/tst-initorder.c: New file.
21234 * elf/tst-initorder.exp: New file.
21235 * elf/tst-initordera1.c: New file.
21236 * elf/tst-initordera2.c: New file.
21237 * elf/tst-initordera3.c: New file.
21238 * elf/tst-initordera4.c: New file.
21239 * elf/tst-initorderb1.c: New file.
21240 * elf/tst-initorderb2.c: New file.
21241 * elf/tst-order-a1.c: New file.
21242 * elf/tst-order-a2.c: New file.
21243 * elf/tst-order-a3.c: New file.
21244 * elf/tst-order-a4.c: New file.
21245 * elf/tst-order-b1.c: New file.
21246 * elf/tst-order-b2.c: New file.
21247 * elf/tst-order-main.c: New file.
21248 New test case by George Gensure <werkt0@gmail.com>.
21249
86e92359
UD
212502010-10-01 Andreas Schwab <schwab@redhat.com>
21251
21252 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21253 decoding ACE if AI_CANONIDN.
21254
5d5732b0
UD
212552011-01-18 Ulrich Drepper <drepper@gmail.com>
21256
21257 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
21258
a77e8cbc
UD
212592011-01-17 Ulrich Drepper <drepper@gmail.com>
21260
6392473f
UD
21261 * version.h (RELEASE): Bump for 2.13 release.
21262 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
21263
620a0529
UD
21264 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
21265
18ba70a5
UD
21266 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
21267 MADV_NOHUGEPAGE.
32465c3e
UD
21268 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
21269 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21270 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21271 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21272 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21273 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21274
c0dafcf1
UD
21275 * posix/getconf.c: Update copyright year.
21276 * catgets/gencat.c: Likewise.
21277 * csu/version.c: Likewise.
21278 * debug/catchsegv.sh: Likewise.
21279 * debug/xtrace.sh: Likewise.
21280 * elf/ldconfig.c: Likewise.
21281 * elf/ldd.bash.in: Likewise.
21282 * elf/sprof.c (print_version): Likewise.
21283 * iconv/iconv_prog.c: Likewise.
21284 * iconv/iconvconfig.c: Likewise.
21285 * locale/programs/locale.c: Likewise.
21286 * locale/programs/localedef.c: Likewise.
21287 * malloc/memusage.sh: Likewise.
21288 * malloc/mtrace.pl: Likewise.
21289 * nscd/nscd.c (print_version): Likewise.
21290 * nss/getent.c: Likewise.
21291
a77e8cbc
UD
21292 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
21293 PF_CAIF, and PF_ALG.
21294 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21295
77e8bddf
AS
212962011-01-16 Andreas Schwab <schwab@linux-m68k.org>
21297
1f20b93a
AS
21298 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
21299 (modules-names): Use them.
21300 (ifunc-test-modules, ifunc-pie-tests): Define.
21301 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
21302 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
21303 (test-extras): Likewise.
21304 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
21305 $(compile-command.c).
21306 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
21307 (all-built-dso): Define.
21308 (check-textrel.out, check-execstack.out): Depend on it.
21309
77e8bddf
AS
21310 * configure.in: Don't override --enable-multi-arch.
21311
bc425b33
UD
213122011-01-15 Ulrich Drepper <drepper@gmail.com>
21313
21314 [BZ #6812]
21315 * nscd/hstcache.c (tryagain): Define.
21316 (cache_addhst): Return tryagain not notfound for temporary errors.
21317 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
21318 failed.
21319
794c3ad3
UD
213202011-01-14 Ulrich Drepper <drepper@gmail.com>
21321
70181fdd
UD
21322 [BZ #10563]
21323 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
21324 to make the syscall.
21325 * sysdeps/unix/sysv/linux/setgroups.c: New file.
21326
794c3ad3
UD
21327 [BZ #12378]
21328 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
21329 and fall back to matching as normal character if the string ends before
21330 the matching ']' is found. This is what POSIX requires.
21331 * posix/testfnm.c: Adjust test result.
21332 * posix/globtest.sh: Adjust test result. Add new test.
21333 * posix/tst-fnmatch.input: Likewise.
21334 * posix/tst-fnmatch2.c: Add new test.
21335
68dc9497
AS
213362010-12-28 Andreas Schwab <schwab@linux-m68k.org>
21337
21338 * elf/Makefile (check-execstack): Revert last change. Depend on
21339 check-execstack.h.
21340 (check-execstack.h): New target.
21341 (generated): Add check-execstack.h.
21342 * elf/check-execstack.c: Include "check-execstack.h".
21343 (main): Revert last change.
21344 (handle_file): Return zero if GNU_STACK is absent and
21345 DEFAULT_STACK_PERMS doesn't include PF_X.
21346
451f001b
UD
213472011-01-13 Ulrich Drepper <drepper@gmail.com>
21348
cfa28e56
UD
21349 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
21350 in child fails because the descriptor is already closed.
8cf8ce17
UD
21351 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
21352 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
21353 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 21354
1086d70d
UD
21355 [BZ #12397]
21356 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
21357 syscall.
21358
451f001b
UD
21359 [BZ #10484]
21360 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
21361 temporary buffer used to handle multi lookups locally.
a85b5cb4 21362 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 21363
08769175
UD
213642011-01-12 Ulrich Drepper <drepper@gmail.com>
21365
21366 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
21367 loader is ld.so.
21368
5e49c52e
UD
213692011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
21370
21371 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
21372 alignment for SSE2.
21373
60522a5f
UD
213742011-01-12 Ulrich Drepper <drepper@gmail.com>
21375
21376 [BZ #12394]
21377 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
21378 characters. When rounding increased number of integer digits recompute
21379 number of groups.
21380 * stdio-common/tst-grouping.c: New file.
21381 * stdio-common/Makefile: Add rules to build and run tst-grouping.
21382
f257bbd7
UD
213832011-01-09 Ulrich Drepper <drepper@gmail.com>
21384
21385 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
21386 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
21387
21388 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
21389 void.
21390 * bits/select.h: Likewise.
21391
fa9c15cb
UD
213922011-01-08 Ulrich Drepper <drepper@gmail.com>
21393
21394 * po/ja.po: Update from translation team.
21395
16c2895f
DM
213962011-01-04 David S. Miller <davem@sunset.davemloft.net>
21397
21398 [BZ #11155]
21399 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
21400 implementation just like for lxstat, fxstatat, et al.
21401
2543fef2
JM
214022010-12-27 Jim Meyering <meyering@redhat.com>
21403
21404 [BZ #12348]
21405 * posix/regexec.c (build_trtable): Return failure indication upon
21406 calloc failure. Otherwise, re_search_internal could infloop on OOM.
21407
98727dbe
UD
214082010-12-25 Ulrich Drepper <drepper@gmail.com>
21409
5bd6dc5c
UD
21410 [BZ #12201]
21411 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
21412 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
21413 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
21414 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
21415
97983464
UD
21416 [BZ #12207]
21417 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
21418
98727dbe
UD
21419 [BZ #12204]
21420 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
21421 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
21422
4a531bb0
L
214232010-12-15 H.J. Lu <hongjiu.lu@intel.com>
21424
21425 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
21426 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
21427 script has SORT_BY_INIT_PRIORITY.
21428 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
21429 NO_CTORS_DTORS_SECTIONS is defined.
21430 * elf/soinit.c: Likewise.
21431 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
21432 NO_CTORS_DTORS_SECTIONS is defined.
21433 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
21434 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
21435 * sysdeps/sh/init-first.c: Likewise.
21436 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
21437
07eb4b71
UD
214382010-12-24 Ulrich Drepper <drepper@gmail.com>
21439
21440 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
21441 always use the slow path.
21442
30950a5f
RA
214432010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
21444
21445 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
21446 similar rule which adds the sysdep directories to the header search in
21447 order to pick up the correct platform stackinfo.h.
21448 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
21449 perform test if it is, otherwise return successfully without testing.
21450 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
21451 DEFAULT_STACK_PERMS define in stackinfo.h.
21452 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
21453 defined in stackinfo.h.
21454 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
21455 DEFAULT_STACK_PERMS defined in stackinfo.h.
21456 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
21457 * sysdeps/ia64/stackinfo.h: Likewise.
21458 * sysdeps/s390/stackinfo.h: Likewise.
21459 * sysdeps/sh/stackinfo.h: Likewise.
21460 * sysdeps/sparc/stackinfo.h: Likewise.
21461 * sysdeps/x86_64/stackinfo.h: Likewise.
21462 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
21463 PF_X for powerpc64. Retain PF_X for powerpc32.
21464
db753e2c
UD
214652010-12-19 Ulrich Drepper <drepper@gmail.com>
21466
14b697f7
UD
21467 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
21468 accurately.
db753e2c
UD
21469 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
21470 GETDENTS_64BIT_ALIGNED.
21471
28300719
UD
214722010-12-14 Ulrich Drepper <dreper@gmail.com>
21473
14b697f7 21474 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 21475
4f197237
AS
214762010-12-10 Andreas Schwab <schwab@redhat.com>
21477
dbb0472f
AS
21478 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
21479 _GNU_SOURCE.
21480
4f197237
AS
21481 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
21482 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
21483 Remove __restrict.
21484 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
21485 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
21486
fb88ac72
UD
214872010-12-09 Ulrich Drepper <drepper@gmail.com>
21488
21489 [BZ #11655]
21490 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
21491 are initialized.
21492
42acbb92
JJ
214932010-12-09 Jakub Jelinek <jakub@redhat.com>
21494
21495 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
21496
c038d98d
UD
214972010-12-03 Ulrich Drepper <drepper@gmail.com>
21498
21499 * po/it.po: Update from translation team.
21500
3a4a2499
L
215012010-12-01 H.J. Lu <hongjiu.lu@intel.com>
21502
21503 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
21504 unused codes.
21505
1e24cf6e
UD
215062010-11-30 Ulrich Drepper <drepper@gmail.com>
21507
21508 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
21509
a7690819
AS
215102010-11-24 Andreas Schwab <schwab@redhat.com>
21511
21512 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
21513 specially.
21514 (gaih_getanswer_slice): Likewise.
21515
3bf8d1b1
JJ
215162010-10-20 Jakub Jelinek <jakub@redhat.com>
21517
21518 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
21519
6db52fbb
PB
215202010-05-31 Petr Baudis <pasky@suse.cz>
21521
21522 [BZ #11149]
21523 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
21524 silently even in the chroot mode.
21525
eaca7569
UD
215262010-11-22 Ulrich Drepper <drepper@gmail.com>
21527
21528 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
21529 last patch a bit. Pretty printing
21530
3056dcdb
UD
215312010-05-31 Petr Baudis <pasky@suse.cz>
21532
21533 [BZ #10085]
21534 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
21535 initialization of skip_initgroups_dyn.
21536
cf7c9078
UD
215372010-11-19 Ulrich Drepper <drepper@gmail.com>
21538
21539 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
21540 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21541
a1fb5e3e
UD
215422010-11-16 Ulrich Drepper <drepper@gmail.com>
21543
21544 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
21545
3540d66b
AS
215462010-11-11 Andreas Schwab <schwab@redhat.com>
21547
21548 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
21549 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
21550 (tst-fnmatch-ENV): Set MALLOC_TRACE.
21551 ($(objpfx)tst-fnmatch-mem): New rule.
21552 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
21553 * posix/tst-fnmatch.c (main): Call mtrace.
21554
13b69574
L
215552010-11-11 H.J. Lu <hongjiu.lu@intel.com>
21556
21557 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21558 Support Intel processor model 6 and model 0x2c.
21559
da93d214
LM
215602010-11-10 Luis Machado <luisgpm@br.ibm.com>
21561
21562 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
21563 signed comparison.
21564
8ca52c6e
L
215652010-11-09 H.J. Lu <hongjiu.lu@intel.com>
21566
21567 [BZ #12205]
21568 * string/test-strncasecmp.c (check_result): New function.
21569 (do_one_test): Use it.
21570 (check1): New function.
21571 (test_main): Use it.
21572 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
21573 Support strcasecmp and strncasecmp.
21574
69da074d
UD
215752010-11-08 Ulrich Drepper <drepper@gmail.com>
21576
21577 [BZ #12194]
21578 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
21579 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21580
ff02d528
L
215812010-11-07 H.J. Lu <hongjiu.lu@intel.com>
21582
21583 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
21584 IFUNC support.
21585 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21586 memset-x86-64.
21587 * sysdeps/x86_64/multiarch/bzero.S: New file.
21588 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
21589 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
21590 * sysdeps/x86_64/multiarch/memset.S: New file.
21591 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
21592 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21593 Set bit_Prefer_SSE_for_memop for Intel processors.
21594 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
21595 Define.
21596 (index_Prefer_SSE_for_memop): Define.
21597 (HAS_PREFER_SSE_FOR_MEMOP): Define.
21598
344d0b54
LM
215992010-11-04 Luis Machado <luisgpm@br.ibm.com>
21600
21601 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
21602 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
21603
c0dde15b
UD
216042010-11-03 H.J. Lu <hongjiu.lu@intel.com>
21605
21606 [BZ #12191]
21607 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21608 (__x86_64_raw_data_cache_size_half): Likewise.
21609 (__x86_64_raw_shared_cache_size): Likewise.
21610 (__x86_64_raw_shared_cache_size_half): Likewise.
21611
21612 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21613 (__x86_64_raw_data_cache_size_half): Likewise.
21614 (__x86_64_raw_shared_cache_size): Likewise.
21615 (__x86_64_raw_shared_cache_size_half): Likewise.
21616 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
21617 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
21618 and __x86_64_raw_shared_cache_size_half. Round
21619 __x86_64_data_cache_size_half, __x86_64_data_cache_size
21620 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
21621 to multiple of 256 bytes.
21622
0e516e0e
MS
216232010-11-03 Ulrich Drepper <drepper@gmail.com>
21624
21625 [BZ #12167]
21626 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
21627 of inacessible symlinks. Verify result of symlink before returning it.
21628 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
21629 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
21630
0e012e87
ER
216312010-10-28 Erich Ritz <erichritz@gmail.com>
21632
21633 * math/math.h (isinf): Fix typo in comment.
21634
de0ff7bc
UD
216352010-11-01 Ulrich Drepper <drepper@gmail.com>
21636
21637 * po/da.po: Update from translation team.
21638
fa41c84d
UD
216392010-10-26 Ulrich Drepper <drepper@gmail.com>
21640
21641 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
21642 is added to the list.
21643
f0967738
AK
216442010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21645 Ulrich Drepper <drepper@gmail.com>
21646
21647 * elf/dl-object.c (_dl_new_object): Don't append the new object to
21648 the global list here. Move code to...
21649 (_dl_add_to_namespace_list): ...here. New function.
21650 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
21651 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
21652 * elf/dl-load.c (lose): Don't remove the element from the list.
21653 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
21654 (_dl_map_object): Likewise.
21655
216562010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
21657
21658 [BZ #12159]
21659 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
21660 into all bytes of SSE register.
21661 Patch by Richard Li <richardpku@gmail.com>.
21662
f0967738 216632010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
21664
21665 [BZ #12140]
21666 * malloc/malloc.c (_int_free): Fill correct number of bytes when
21667 perturbing.
21668
d0b9e94f
MB
216692010-10-20 Michael B. Brutman <brutman@us.ibm.com>
21670
21671 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
21672 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
21673 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
21674 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
21675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
21676 submachine.
21677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
21678
8e9f92e9
AS
216792010-10-22 Andreas Schwab <schwab@redhat.com>
21680
21681 * include/dlfcn.h (__RTLD_SECURE): Define.
21682 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
21683 mode & __RTLD_SECURE instead.
21684 (open_path): Rename preloaded parameter to secure.
21685 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
21686 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
21687 * elf/dl-deps.c (openaux): Likewise.
21688 * elf/rtld.c (struct map_args): Remove is_preloaded.
21689 (map_doit): Don't use it.
21690 (dl_main): Likewise.
21691 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
21692 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
21693
bc96fbda
AS
216942010-09-09 Andreas Schwab <schwab@redhat.com>
21695
21696 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
21697 (sysd-rules-targets): Remove duplicates.
21698 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
21699 rtld-%.$o dependency.
21700
22cd1c9b
AS
217012010-10-18 Andreas Schwab <schwab@redhat.com>
21702
21703 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
21704 _dl_map_object do it.
21705
18edac48
UD
217062010-10-19 Ulrich Drepper <drepper@gmail.com>
21707
21708 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
21709 fast fma builtins, define the macros in the C99 standard.
21710 (FP_FAST_FMAF): Likewise.
21711 (FP_FAST_FMAL): Likewise.
21712 * sysdeps/x86_64/bits/mathdef.h: Likewise.
21713
21714 * bits/mathdef.h: Update copyright year.
21715 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21716
d2050124
MM
217172010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
21718
21719 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
21720 builtins, define the macros in the C99 standard.
21721 (FP_FAST_FMAF): Likewise.
21722 (FP_FAST_FMAL): Likewise.
21723 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
21724 multiply/add.
21725 (FP_FAST_FMAF): Likewise.
21726
475facd1
JJ
217272010-10-15 Jakub Jelinek <jakub@redhat.com>
21728
21729 [BZ #3268]
21730 * math/libm-test.inc (fma_test): Some new testcases.
21731 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
21732 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
21733 y and infinite z. Do multiplication by C already in long double.
21734 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
21735 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
21736 y and infinite z. Do bitwise or of inexact bit into u.d.
21737 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
21738 * sysdeps/i386/fpu/s_fmaf.S: Removed.
21739 * sysdeps/i386/fpu/s_fma.S: Removed.
21740 * sysdeps/i386/fpu/s_fmal.S: Removed.
21741
7c08a05c
JJ
217422010-10-16 Jakub Jelinek <jakub@redhat.com>
21743
21744 [BZ #3268]
21745 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
21746 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
21747 computation is not scheduled after fetestexcept. Fix value
21748 of minimum denormal long double.
21749
f3f7372d
JJ
217502010-10-14 Jakub Jelinek <jakub@redhat.com>
21751
21752 [BZ #3268]
21753 * math/libm-test.inc (fma_test): Add some more tests.
21754 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
21755 correctly.
21756
14d43591
AS
217572010-10-15 Andreas Schwab <schwab@redhat.com>
21758
21759 * scripts/data/localplt-s390-linux-gnu.data: New file.
21760 * scripts/data/localplt-s390x-linux-gnu.data: New file.
21761
5e908464
JJ
217622010-10-13 Jakub Jelinek <jakub@redhat.com>
21763
21764 [BZ #3268]
21765 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
21766 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
21767 instead of dbl-64.
21768 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
21769 inlines.
21770 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
21771 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
21772 if one of x and y is very large and the other is subnormal.
21773 * sysdeps/s390/fpu/s_fmaf.c: New file.
21774 * sysdeps/s390/fpu/s_fma.c: New file.
21775 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
21776 * sysdeps/powerpc/fpu/s_fma.S: New file.
21777 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
21778 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
21779 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
21780
217812010-10-12 Jakub Jelinek <jakub@redhat.com>
21782
21783 [BZ #3268]
21784 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
21785 fma tests.
21786 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
21787 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
21788 * sysdeps/i386/i686/multiarch/s_fma.c: Include
21789 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
21790 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
21791 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
21792 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
21793
b833d51f
UD
217942010-10-12 Ulrich Drepper <drepper@redhat.com>
21795
21796 [BZ #12078]
21797 * posix/regcomp.c (parse_branch): One more memory leak plugged.
21798 * posix/bug-regex31.input: Add test case.
21799
1751705d
UD
218002010-10-11 Ulrich Drepper <drepper@gmail.com>
21801
e9b9cbf5
UD
21802 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
21803 * posix/bug-regex31.input: New file.
21804
21805 [BZ #12078]
21806 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
21807 (parse_sub_exp): Fix last change, use postorder.
21808
ef06edbe
UD
21809 * posix/bug-regex31.c: New file.
21810 * posix/Makefile: Add rules to build and run bug-regex31.
21811
a129c80d
UD
21812 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
21813
21814 [BZ #12078]
21815 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
21816
b76b818e
UD
21817 [BZ #12108]
21818 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
21819 to have entries in sys_siglist.
21820
1751705d
UD
21821 [BZ #12093]
21822 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
21823 be NULL.
21824
9ff8d36f
JJ
218252010-10-07 Jakub Jelinek <jakub@redhat.com>
21826
21827 [BZ #3268]
21828 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
21829 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
21830 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
21831 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
21832 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
21833 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
21834 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
21835 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
21836 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
21837 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
21838 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
21839 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
21840 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
21841 * math/ftestexcept.c (fetestexcept): Likewise.
21842 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
21843 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
21844 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
21845 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
21846 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
21847 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
21848 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21849
af325969
UD
218502010-10-11 Ulrich Drepper <drepper@gmail.com>
21851
c579b202 21852 [BZ #12107]
af325969
UD
21853 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
21854 newline.
21855
67a67b95
UD
218562010-10-06 Ulrich Drepper <drepper@gmail.com>
21857
21858 * string/bug-strstr1.c: New file.
21859 * string/Makefile: Add rules to build and run bug-strstr1.
21860
5fb308bc
EB
218612010-10-05 Eric Blake <eblake@redhat.com>
21862
21863 [BZ #12092]
21864 * string/str-two-way.h (two_way_long_needle): Always clear memory
21865 when skipping input due to the shift table.
21866
45db99c7
UD
218672010-10-03 Ulrich Drepper <drepper@gmail.com>
21868
3b111893
UD
21869 [BZ #12005]
21870 * malloc/mcheck.c: Handle large requests.
21871
45db99c7
UD
21872 [BZ #12077]
21873 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
21874 for strncmp and strncasecmp.
21875 * string/stratcliff.c: Add tests for strcmp and strncmp.
21876 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
21877
cf7a1eb8
NI
218782010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21879
21880 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
21881 __set_fpscr.
21882
6484ba5e
AJ
218832010-09-30 Andreas Jaeger <aj@suse.de>
21884
21885 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
21886 (CGROUP_SUPER_MAGIC): Define.
21887 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21888 Handle btrfs and cgroup file systems.
21889 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21890 Likewise.
21891
91c42559
LM
218922010-09-27 Luis Machado <luisgpm@br.ibm.com>
21893
21894 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
21895 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
21896
87a97932
AK
218972010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21898
21899 [BZ #12067]
21900 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
21901 trying to locate the ELF header.
21902
c21cc9bc
AS
219032010-09-27 Andreas Schwab <schwab@redhat.com>
21904
21905 [BZ #11611]
21906 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
21907 Mask out sign-bit copies when constructing f_fsid.
21908
315970f6
PB
219092010-09-24 Petr Baudis <pasky@suse.cz>
21910
21911 * debug/stack_chk_fail_local.c: Add missing licence exception.
21912 * debug/warning-nop.c: Likewise.
21913
1ac7a2c7
JM
219142010-09-15 Joseph Myers <joseph@codesourcery.com>
21915
21916 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
21917 implementing getdents64 using getdents syscall, set d_type if
21918 __ASSUME_GETDENTS32_D_TYPE.
21919
56801c50
AS
219202010-09-16 Andreas Schwab <schwab@redhat.com>
21921
21922 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
21923 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
21924
dda51327
UD
219252010-09-21 Ulrich Drepper <drepper@redhat.com>
21926
21927 [BZ #12037]
21928 * posix/unistd.h: Undo change of feature selection for ftruncate from
21929 2010-01-11.
21930
8ffcee4a
UD
219312010-09-20 Ulrich Drepper <drepper@redhat.com>
21932
a545ecd9 21933 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
21934 detection.
21935
e24f0a8b
AS
219362010-09-20 Andreas Schwab <schwab@redhat.com>
21937
21938 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
21939 fanotify_mark.
21940 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
21941
7291c56f
AS
219422010-09-14 Andreas Schwab <schwab@redhat.com>
21943
21944 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
21945 variables after CHECK_SP call.
21946 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
21947
bc5fb037
AS
219482010-09-13 Andreas Schwab <schwab@redhat.com>
21949 Ulrich Drepper <drepper@redhat.com>
21950
21951 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
21952 re-relocationg ld.so.
21953 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
21954 _dl_init_paths call.
21955 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
21956 here anymore.
21957
e66e7419
UD
219582010-09-14 Ulrich Drepper <drepper@redhat.com>
21959
21960 * resolv/res_init.c (__res_vinit): Count the default server we added.
21961
c044aa75
CLT
219622010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
21963 Ulrich Drepper <drepper@redhat.com>
21964
21965 [BZ #11968]
21966 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
21967 (____longjmp_chk): Use %ebx for saving value across system call.
21968 Add unwind info.
21969
32cf4069
AS
219702010-09-06 Andreas Schwab <schwab@redhat.com>
21971
21972 * manual/Makefile: Don't mix pattern rules with normal rules.
21973
817328ee
AS
219742010-09-05 Andreas Schwab <schwab@linux-m68k.org>
21975
21976 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
21977 operation.
21978 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
21979 * libio/iofopncook.c (_IO_cookie_init): Likewise.
21980 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
21981 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
21982 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21983 Likewise.
21984
29fddf61
UD
219852010-09-04 Ulrich Drepper <drepper@redhat.com>
21986
21987 [BZ #11979]
21988 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
21989 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
21990
0959ffc9
UD
219912010-09-02 Ulrich Drepper <drepper@redhat.com>
21992
21993 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
21994 * sysdeps/x86_64/addmul_1.S: Likewise.
21995 * sysdeps/x86_64/lshift.S: Likewise.
21996 * sysdeps/x86_64/mul_1.S: Likewise.
21997 * sysdeps/x86_64/rshift.S: Likewise.
21998 * sysdeps/x86_64/sub_n.S: Likewise.
21999 * sysdeps/x86_64/submul_1.S: Likewise.
22000
ece29840
ST
220012010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
22002
0959ffc9
UD
22003 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
22004 Define __sched_param instead of SCHED_* and sched_param when
ece29840 22005 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 22006 * bits/sched.h [__need_schedparam]
ece29840 22007 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
22008 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
22009 (__defined_schedparam): Define to 1.
ece29840
ST
22010 (__sched_param): New structure, identical to sched_param.
22011 (__need_schedparam): Undefine.
22012
e53a31fe
MF
220132010-08-31 Mike Frysinger <vapier@gentoo.org>
22014
fdc0c10d
MF
22015 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
22016 (epoll_create1): Declare.
22017
e53a31fe
MF
22018 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
22019
a726d796
AS
220202010-08-31 Andreas Schwab <schwab@redhat.com>
22021
22022 [BZ #7066]
22023 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
22024 shifting retval into place.
22025
2f3e3dc7
UD
220262010-09-01 Ulrich Drepper <drepper@redhat.com>
22027
f2933da9
UD
22028 * nis/rpcsvc/nis.h: Update copyright notice.
22029 * nis/rpcsvc/nis.x: Likewise.
22030 * nis/rpcsvc/nis_callback.h: Likewise.
22031 * nis/rpcsvc/nis_callback.x: Likewise.
22032 * nis/rpcsvc/nis_object.x: Likewise.
22033 * nis/rpcsvc/nis_tags.h: Likewise.
22034 * nis/rpcsvc/yp.h: Likewise.
22035 * nis/rpcsvc/yp.x: Likewise.
22036 * nis/rpcsvc/ypupd.h: Likewise.
22037 * nis/yp_xdr.c: Likewise.
22038 * nis/ypupdate_xdr.c: Likewise.
22039
2f3e3dc7
UD
22040 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
22041 mainly the body of pmap_getport. Add parameters to specify timeouts.
22042 (pmap_getport): Use __libc_rpc_getport.
22043 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
22044 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
22045 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
22046
f3dcc2f9
AS
220472010-08-31 Andreas Schwab <schwab@linux-m68k.org>
22048
22049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
22050 fanotify_mark.
22051
6d34eb5b
RM
220522010-08-27 Roland McGrath <roland@redhat.com>
22053
22054 * sysdeps/i386/i686/multiarch/Makefile
22055 (CFLAGS-varshift.c): New variable.
22056
9ea3de11
UD
220572010-08-27 Ulrich Drepper <drepper@redhat.com>
22058
c96d23fc
UD
22059 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
22060 * sysdeps/i386/i686/multiarch/varshift.c: New file.
22061
9ea3de11
UD
22062 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
22063
22064 * sysdeps/x86_64/strlen.S: Minimal code improvement.
22065
623aac7f
L
220662010-08-26 H.J. Lu <hongjiu.lu@intel.com>
22067
22068 * sysdeps/x86_64/strlen.S: Unroll the loop.
22069 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22070 strlen-sse2 strlen-sse2-bsf.
22071 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
22072 __strlen_no_bsf if bit_Slow_BSF is set.
22073 (__strlen_sse42): Removed.
22074 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
22075 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
22076
8b2b7715
RM
220772010-08-25 Roland McGrath <roland@redhat.com>
22078
22079 * sysdeps/x86_64/multiarch/varshift.S: File removed.
22080 * sysdeps/x86_64/multiarch/varshift.c: New file.
22081 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
22082 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
22083 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
22084 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22085
e73015f2
L
220862010-08-25 H.J. Lu <hongjiu.lu@intel.com>
22087
22088 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22089 strlen-sse2 strlen-sse2-bsf.
22090 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
22091 __strlen_sse2_bsf if bit_Slow_BSF is unset.
22092 (__strlen_sse2): Removed.
22093 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
22094 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
22095 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22096 bit_Slow_BSF for Atom.
22097 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
22098 (index_Slow_BSF): Define.
22099 (HAS_SLOW_BSF): Define.
22100
df24a73e
UD
221012010-08-25 Ulrich Drepper <drepper@redhat.com>
22102
22103 [BZ #10851]
22104 * resolv/res_init.c (__res_vinit): When no server address at all
22105 is given default to loopback.
22106
f2ac4868
RM
221072010-08-24 Roland McGrath <roland@redhat.com>
22108
09055553
RM
22109 * configure.in: Remove config-name.h generation.
22110 * configure: Regenerated.
22111 * config-name.in: File removed.
22112 * scripts/config-uname.sh: New file.
22113 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
22114 ($(objdir)config-name.h): New target.
22115
f2ac4868
RM
22116 * sunrpc/rpc_parse.h: Avoid nested comment.
22117
73f27d5e
RH
221182010-08-24 Richard Henderson <rth@redhat.com>
22119 Ulrich Drepper <drepper@redhat.com>
22120 H.J. Lu <hongjiu.lu@intel.com>
22121
22122 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
22123 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
22124 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
22125 Replace _mm_srli_si128 with __m128i_shift_right. Replace
22126 _mm_alignr_epi8 with _mm_loadu_si128.
22127 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
22128 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
22129 (__m128i_shift_right): Removed.
22130 * sysdeps/i386/i686/multiarch/varshift.h: New file.
22131 * sysdeps/i386/i686/multiarch/varshift.S: New file.
22132 * sysdeps/x86_64/multiarch/varshift.h: New file.
22133 * sysdeps/x86_64/multiarch/varshift.S: New file.
22134
84b9230c
MF
221352010-08-21 Mike Frysinger <vapier@gentoo.org>
22136
22137 * configure.in: Move assembler checks to before sysdep dir checking.
22138
9bbd0ddc
PB
221392010-08-20 Petr Baudis <pasky@suse.cz>
22140
22141 * LICENSES: Sync the sunrpc license.
22142
9da4bb31
UD
221432010-08-19 Ulrich Drepper <drepper@redhat.com>
22144
a7ab6ec8
UD
22145 * sunrpc/auth_des.c: Update copyright notice once again.
22146 * sunrpc/auth_none.c: Likewise.
22147 * sunrpc/auth_unix.c: Likewise.
22148 * sunrpc/authdes_prot.c: Likewise.
22149 * sunrpc/authuxprot.c: Likewise.
22150 * sunrpc/bindrsvprt.c: Likewise.
22151 * sunrpc/clnt_gen.c: Likewise.
22152 * sunrpc/clnt_perr.c: Likewise.
22153 * sunrpc/clnt_raw.c: Likewise.
22154 * sunrpc/clnt_simp.c: Likewise.
22155 * sunrpc/clnt_tcp.c: Likewise.
22156 * sunrpc/clnt_udp.c: Likewise.
22157 * sunrpc/clnt_unix.c: Likewise.
22158 * sunrpc/des_crypt.c: Likewise.
22159 * sunrpc/des_soft.c: Likewise.
22160 * sunrpc/get_myaddr.c: Likewise.
22161 * sunrpc/getrpcport.c: Likewise.
22162 * sunrpc/key_call.c: Likewise.
22163 * sunrpc/key_prot.c: Likewise.
22164 * sunrpc/openchild.c: Likewise.
22165 * sunrpc/pm_getmaps.c: Likewise.
22166 * sunrpc/pm_getport.c: Likewise.
22167 * sunrpc/pmap_clnt.c: Likewise.
22168 * sunrpc/pmap_prot.c: Likewise.
22169 * sunrpc/pmap_prot2.c: Likewise.
22170 * sunrpc/pmap_rmt.c: Likewise.
22171 * sunrpc/rpc/auth.h: Likewise.
22172 * sunrpc/rpc/auth_unix.h: Likewise.
22173 * sunrpc/rpc/clnt.h: Likewise.
22174 * sunrpc/rpc/des_crypt.h: Likewise.
22175 * sunrpc/rpc/key_prot.h: Likewise.
22176 * sunrpc/rpc/netdb.h: Likewise.
22177 * sunrpc/rpc/pmap_clnt.h: Likewise.
22178 * sunrpc/rpc/pmap_prot.h: Likewise.
22179 * sunrpc/rpc/pmap_rmt.h: Likewise.
22180 * sunrpc/rpc/rpc.h: Likewise.
22181 * sunrpc/rpc/rpc_des.h: Likewise.
22182 * sunrpc/rpc/rpc_msg.h: Likewise.
22183 * sunrpc/rpc/svc.h: Likewise.
22184 * sunrpc/rpc/svc_auth.h: Likewise.
22185 * sunrpc/rpc/types.h: Likewise.
22186 * sunrpc/rpc/xdr.h: Likewise.
22187 * sunrpc/rpc_clntout.c: Likewise.
22188 * sunrpc/rpc_cmsg.c: Likewise.
22189 * sunrpc/rpc_common.c: Likewise.
22190 * sunrpc/rpc_cout.c: Likewise.
22191 * sunrpc/rpc_dtable.c: Likewise.
22192 * sunrpc/rpc_hout.c: Likewise.
22193 * sunrpc/rpc_main.c: Likewise.
22194 * sunrpc/rpc_parse.c: Likewise.
22195 * sunrpc/rpc_parse.h: Likewise.
22196 * sunrpc/rpc_prot.c: Likewise.
22197 * sunrpc/rpc_sample.c: Likewise.
22198 * sunrpc/rpc_scan.c: Likewise.
22199 * sunrpc/rpc_scan.h: Likewise.
22200 * sunrpc/rpc_svcout.c: Likewise.
22201 * sunrpc/rpc_tblout.c: Likewise.
22202 * sunrpc/rpc_util.c: Likewise.
22203 * sunrpc/rpc_util.h: Likewise.
22204 * sunrpc/rpcinfo.c: Likewise.
22205 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
22206 * sunrpc/rpcsvc/key_prot.x: Likewise.
22207 * sunrpc/rpcsvc/klm_prot.x: Likewise.
22208 * sunrpc/rpcsvc/mount.x: Likewise.
22209 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
22210 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
22211 * sunrpc/rpcsvc/rex.x: Likewise.
22212 * sunrpc/rpcsvc/rstat.x: Likewise.
22213 * sunrpc/rpcsvc/rusers.x: Likewise.
22214 * sunrpc/rpcsvc/sm_inter.x: Likewise.
22215 * sunrpc/rpcsvc/spray.x: Likewise.
22216 * sunrpc/rpcsvc/yppasswd.x: Likewise.
22217 * sunrpc/rtime.c: Likewise.
22218 * sunrpc/svc.c: Likewise.
22219 * sunrpc/svc_auth.c: Likewise.
22220 * sunrpc/svc_authux.c: Likewise.
22221 * sunrpc/svc_raw.c: Likewise.
22222 * sunrpc/svc_run.c: Likewise.
22223 * sunrpc/svc_simple.c: Likewise.
22224 * sunrpc/svc_tcp.c: Likewise.
22225 * sunrpc/svc_udp.c: Likewise.
22226 * sunrpc/svc_unix.c: Likewise.
22227 * sunrpc/svcauth_des.c: Likewise.
22228 * sunrpc/xcrypt.c: Likewise.
22229 * sunrpc/xdr.c: Likewise.
22230 * sunrpc/xdr_array.c: Likewise.
22231 * sunrpc/xdr_float.c: Likewise.
22232 * sunrpc/xdr_mem.c: Likewise.
22233 * sunrpc/xdr_rec.c: Likewise.
22234 * sunrpc/xdr_ref.c: Likewise.
22235 * sunrpc/xdr_sizeof.c: Likewise.
22236 * sunrpc/xdr_stdio.c: Likewise.
22237
9da4bb31
UD
22238 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
22239 handling.
22240
bdaa77bc
AS
222412010-08-19 Andreas Schwab <schwab@redhat.com>
22242
22243 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
22244
fe2f79db
LM
222452010-08-19 Luis Machado <luisgpm@br.ibm.com>
22246
22247 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
22248 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
22249 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
22250 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
22251 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
22252 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
22253 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
22254 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
22255 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
22256 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
22257 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
22258 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
22259 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
22260 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
22261
b9b42ee0
AB
222622010-07-26 Anton Blanchard <anton@samba.org>
22263
22264 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
22265 * malloc/arena.c (heap_trim): Likewise.
22266
1c06ba31
UD
222672010-08-16 Ulrich Drepper <drepper@redhat.com>
22268
22269 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
22270 here. Not...
22271 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
22272 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
22273
f8392f40
L
222742010-08-12 H.J. Lu <hongjiu.lu@intel.com>
22275
22276 * sysdeps/i386/elf/Makefile: New file.
22277
3162f12e
AS
222782010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22279
22280 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
22281 from fanotify_init.
22282 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
22283 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22284
28c90b2c
UD
222852010-08-15 Ulrich Drepper <drepper@redhat.com>
22286
22287 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
22288 of strncasecmp_l.
1feccb6c 22289 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 22290
ca6bb004
UD
222912010-08-14 Ulrich Drepper <drepper@redhat.com>
22292
e9f82e0d
UD
22293 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22294 strncase_l-nonascii.
22295 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22296 Add strncase_l-ssse3.
22297 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
22298 * sysdeps/x86_64/strcmp.S: Likewise.
22299 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
22300 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
22301 * sysdeps/x86_64/strncase.S: New file.
22302 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
22303 * sysdeps/x86_64/strncase_l.S: New file.
22304 * string/Makefile (strop-tests): Add strncasecmp.
22305 * string/test-strncasecmp.c: New file.
22306
22307 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
22308 warning.
22309
ca6bb004
UD
22310 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
22311 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
22312
052fa7b3
AS
223132010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22314
22315 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
22316
962dba78
UD
223172010-08-12 Ulrich Drepper <drepper@redhat.com>
22318
22319 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
22320 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
22321 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
22322
bebff237
AM
223232010-05-01 Alan Modra <amodra@gmail.com>
22324
22325 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
22326 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
22327 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
22328 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
22329 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
22330 tidying. Don't tail-call __sigjmp_save for static lib.
22331 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
22332 save location.
22333 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
22334 (CALL_MCOUNT): Add eh info, and nop after bl.
22335 (TAIL_CALL_SYSCALL_ERROR): New macro.
22336 (PSEUDO_RET): Use it.
22337 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22338 Correct save location of integer regs and cr.
22339 (_dl_profile_resolve): Correct cr save location. Delete nops
22340 after bl when SHARED. Reduce cfi size a little by better
22341 placement of cfi directives.
22342 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
22343 make a stack frame. Instead use parm save area as a temp.
22344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
22345 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
22346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22347 Don't make a stack frame for parent, use parm save area.
22348 Increase child stack frame to 112 bytes. Don't save unused reg,
22349 and adjust reg usage. Set up cfi on error recovery and
22350 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
22351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22352 (__makecontext): Add dummy nop after jump to exit.
22353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
22354 Use correct parm save area and cr save, reduce stack frame.
22355 Correct cfi for possible PSEUDO_RET frame setup.
22356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
22357 Branch to local label emitted by PSEUDO_RET rather than
22358 __syscall_error.
22359
02637374
AS
223602010-08-12 Andreas Schwab <schwab@redhat.com>
22361
22362 [BZ #11904]
22363 * locale/programs/locale.c (print_assignment): New function.
22364 (show_locale_vars): Use it.
22365
c3e2f19b
UD
223662010-08-11 Ulrich Drepper <drepper@redhat.com>
22367
3cdaa6ad
UD
22368 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
22369 field.
22370 (struct statfs64): Likewise.
22371 (_STATFS_F_FLAGS): Define.
22372 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
22373 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22374 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
22375 (ST_VALID): Define locally.
22376 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
22377 __statvfs_getflags, use the provided value.
22378 * sysdeps/unix/sysv/linux/kernel-features.h: Define
22379 __ASSUME_STATFS_F_FLAGS.
22380
754f7da3
UD
22381 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
22382
10b3bedc
UD
22383 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
22384 Add sys/fanotify.h.
22385 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
22386 fanotify_mask for GLIBC_2.13.
22387 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
22388 fanotify_init and fanotify_mark.
22389 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22390 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
22391
c08fb0d7
UD
22392 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
22393 Add prlimit.
22394 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
22395 prlimit64 for GLIBC_2.13.
22396 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
22397 prlimit64.
22398 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
22399 syscall.
22400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
22401 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22402 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
22403 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
22404 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
22405 add prlimit alias.
22406 * sysdeps/unix/sysv/linux/prlimit.c: New file.
22407
15bac72b
UD
22408 [BZ #11903]
22409 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
22410 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
22411
c3e2f19b
UD
22412 * nss/Makefile: Add rules to build and run tst-nss-test1.
22413 * shlib-versions: Add entry for libnss_test1.
22414 * nss/nss_test1.c: New file.
22415 * nss/tst-nss-test1.c: New file.
22416
22417 * nss/nsswitch.c (__nss_database_custom): Define new variable.
22418 (__nss_configure_lookup): Set appropriate entry in
22419 __nss_configure_lookup to true.
22420 * nss/nsswitch.h: Define enum with indeces of databases in
22421 databases and __nss_database_custom arrays. Declare
22422 __nss_database_custom.
22423 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
22424 to avoid using nscd when custom rules are installed.
22425 * nss/getXXbyYY_r.c: Likewise.
22426 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22427
22428 * nss/nss_files/files-parse.c: Whitespace fixes.
22429
f15ce4d8
UD
224302010-08-09 Ulrich Drepper <drepper@redhat.com>
22431
22432 [BZ #11883]
22433 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
22434 * posix/fnmatch_loop.c: Likewise.
22435
d22e4cc9
AK
224362010-07-17 Andi Kleen <ak@linux.intel.com>
22437
22438 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
22439 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
22440 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
22441 * Versions.def [GLIBC_2.13]: Add.
22442
805bc17d
UD
224432010-08-06 Ulrich Drepper <drepper@redhat.com>
22444
22445 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22446 Also fail if tpwd after pwuid call is NULL.
22447
5a42321d
ST
224482010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
22449
22450 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
22451 when converting to ms.
22452
fd3ebeda
ST
224532010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22454
22455 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
22456 EOPNOTSUPP errors with ENOTTY.
22457 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
22458 EOPNOTSUPP errors with ENOTTY.
22459
73507d3a
UD
224602010-07-31 Ulrich Drepper <drepper@redhat.com>
22461
22462 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22463 Add strcasecmp_l-ssse3.
22464 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
22465 strcasecmp.
22466 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
22467 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
22468 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
22469
fe36dd02
UD
224702010-07-30 Ulrich Drepper <drepper@redhat.com>
22471
66f6765a
UD
22472 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
22473
42e08a54
UD
22474 * string/Makefile (strop-tests): Add strcasecmp.
22475 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22476 strcasecmp_l-nonascii.
22477 (gen-as-const-headers): Add locale-defines.sym.
22478 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
22479 * sysdeps/x86_64/strcasecmp.S: New file.
22480 * sysdeps/x86_64/strcasecmp_l.S: New file.
22481 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
22482 * sysdeps/x86_64/locale-defines.sym: New file.
22483 * string/test-strcasecmp.c: New file.
22484
fe36dd02
UD
22485 * string/test-strcasestr.c: Test both ends of the range of characters.
22486 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
22487
48cbc0d6
RM
224882010-07-29 Roland McGrath <roland@redhat.com>
22489
76e6d6bc 22490 [BZ #11856]
48cbc0d6
RM
22491 * manual/locale.texi (Yes-or-No Questions): Fix example code.
22492
880113d9
UD
224932010-07-27 Ulrich Drepper <drepper@redhat.com>
22494
22495 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
22496 for ld.so.
22497
deb9cabb
AS
224982010-07-27 Andreas Schwab <schwab@redhat.com>
22499
22500 * manual/memory.texi (Malloc Tunable Parameters): Document
22501 M_PERTURB.
22502
1c7570ff
RM
225032010-07-26 Roland McGrath <roland@redhat.com>
22504
22505 [BZ #11840]
22506 * configure.in (-fgnu89-inline check): Set and substitute
22507 gnu89_inline, not libc_cv_gnu89_inline.
22508 * configure: Regenerated.
22509 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
22510
24fb0f88
UD
225112010-07-26 Ulrich Drepper <drepper@redhat.com>
22512
22513 * string/test-strnlen.c: New file.
22514 * string/Makefile (strop-tests): Add strnlen.
22515 * string/tester.c (test_strnlen): Add a few more test cases.
22516 * string/tst-strlen.c: Better error reporting.
22517
22518 * sysdeps/x86_64/strnlen.S: New file.
22519
8e96b93a
UD
225202010-07-24 Ulrich Drepper <drepper@redhat.com>
22521
22522 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
22523 lower-latency instructions.
22524
dbc676d4
UD
225252010-07-23 Ulrich Drepper <drepper@redhat.com>
22526
22527 * string/test-strcasestr.c: New file.
22528 * string/test-strstr.c: New file.
22529 * string/Makefile (strop-tests): Add strstr and strcasestr.
22530 * string/str-two-way.h: Don't undefine MAX.
22531 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
22532
f6a31e0e
AS
225332010-07-21 Andreas Schwab <schwab@redhat.com>
22534
22535 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22536 strcasestr-nonascii.
22537 (CFLAGS-strcasestr-nonascii.c): Define.
22538 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
22539 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
22540 Remove unused attribute.
22541
5dbc3b6c
RM
225422010-07-20 Roland McGrath <roland@redhat.com>
22543
22544 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
22545 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
22546 ld.so.cache was broken. With it, there is no way to disable dsocaps
22547 like LD_HWCAP_MASK can disable hwcaps.
22548
23d101d8
EPM
225492010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22550
22551 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
22552
cc9f2e47
UD
225532010-07-16 Ulrich Drepper <drepper@redhat.com>
22554
22555 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
22556 call in strcasestr.
22557 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
22558 __strcasestr_sse42_nonascii.
22559 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
22560 strcasestr-nonascii.c.
22561 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
22562
77c1b069
LM
225632010-06-15 Luis Machado <luisgpm@br.ibm.com>
22564
22565 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
22566 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
22567 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
22568 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
22569
440566c3
UD
225702010-07-09 Ulrich Drepper <drepper@redhat.com>
22571
22572 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
22573 fcntl.
22574
5be9d05d
AS
225752010-07-06 Andreas Schwab <schwab@redhat.com>
22576
c30b7ee2 22577 [BZ #11577]
5be9d05d
AS
22578 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
22579 dl_signal_cerror.
22580
8a492a67
UD
225812010-07-06 Ulrich Drepper <drepper@redhat.com>
22582
22583 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
22584 _PC_PIPE_BUF using F_GETPIPE_SZ.
22585
713df3d5
RM
225862010-07-05 Roland McGrath <roland@redhat.com>
22587
22588 * manual/arith.texi (Rounding Functions): Fix rint description
22589 implicit in round description.
22590
702e8f14
UD
225912010-07-02 Ulrich Drepper <drepper@redhat.com>
22592
22593 * elf/Makefile: Fix linking for a few tests to make recent linker
22594 happy.
22595
52ed8be9
AS
225962010-06-30 Andreas Schwab <schwab@redhat.com>
22597
22598 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
22599 $(common-objpfx)libc_nonshared.a.
22600
f47c9a11
LM
226012010-06-21 Luis Machado <luisgpm@br.ibm.com>
22602
22603 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
22604 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
22605 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22606 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22607 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
22608 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
22609 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22610 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
22612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
22613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
22614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
22616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
22618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
22619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
22620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
22621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
22623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
22625 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
22626 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
22627 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
22628 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
22629 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
22630 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
22631 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
22632 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
22633 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
22634 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
22635 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
22636 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
22637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
22638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
22639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
22640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
22641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
22642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
22643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
22644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
22645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
22646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
22647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
22648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
22649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
22650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
22651
6fb8cbcb
L
226522010-06-25 H.J. Lu <hongjiu.lu@intel.com>
22653
22654 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
22655 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
22656 * string/memmove.c (memmove): Renamed to ...
22657 (MEMMOVE): ...this. Default to memmove.
22658 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
22659 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
22660 (END_CHK): Define.
22661 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22662 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
22663 mempcpy-ssse3-back memmove-ssse3-back.
22664 * sysdeps/x86_64/multiarch/bcopy.S: New file .
22665 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
22666 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
22667 * sysdeps/x86_64/multiarch/memcpy.S: New file.
22668 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
22669 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
22670 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
22671 * sysdeps/x86_64/multiarch/memmove.c: New file.
22672 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
22673 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
22674 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
22675 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
22676 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
22677 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
22678 Define.
22679 (index_Fast_Copy_Backward): Define.
22680 (HAS_ARCH_FEATURE): Define.
22681 (HAS_FAST_REP_STRING): Define.
22682 (HAS_FAST_COPY_BACKWARD): Define.
22683
4e733bac 226842010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
22685
22686 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22687 Restore proper fallback handling.
22688
63c4ed22
UD
226892010-06-19 Ulrich Drepper <drepper@redhat.com>
22690
ac2b484c
UD
22691 [BZ #11701]
22692 * posix/group_member.c (__group_member): Correct checking loop.
22693
63c4ed22
UD
22694 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
22695 OOM in getpwuid_r correctly. Return error number when the caller
22696 should return, otherwise -1.
22697 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
22698 call returning > 0 value.
22699 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
22700
765ade4b
AS
227012010-06-07 Andreas Schwab <schwab@redhat.com>
22702
22703 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
22704 libc_nonshared.a from targets in modules-names.
22705
80da2e09
KS
227062010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
22707
22708 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
22709 requires it.
22710
158db122
LM
227112010-06-10 Luis Machado <luisgpm@br.ibm.com>
22712
22713 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
22714 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
22715 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
22716 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
22717
caa78cf8
AS
227182010-06-02 Andreas Schwab <schwab@redhat.com>
22719
22720 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
22721
b2ef2c01
UD
227222010-06-14 Ulrich Drepper <drepper@redhat.com>
22723
22724 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
22725 and F_GETPIPE_SZ.
22726 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
22727 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22728 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22729 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22730 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22731 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
22732
fbd643b6
RM
227332010-06-14 Roland McGrath <roland@redhat.com>
22734
22735 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
22736
f32f2869
JJ
227372010-06-07 Jakub Jelinek <jakub@redhat.com>
22738
22739 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
22740 __REDIRECT followed by __THROW.
22741 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
22742 * posix/getopt.h (getopt): Likewise.
22743
2a50c078
EPM
227442010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22745
22746 * hurd/lookup-at.c (__file_name_lookup_at): Accept
22747 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
22748 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
22749 in AT_FLAGS.
22750 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
22751 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
22752
eb5ad2eb
LM
227532010-05-28 Luis Machado <luisgpm@br.ibm.com>
22754
22755 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
22756
3c88fe1e
L
227572010-05-26 H.J. Lu <hongjiu.lu@intel.com>
22758
22759 [BZ #11640]
22760 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22761 Properly check family and model.
22762
d2f73151
TY
227632010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
22764
22765 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
22766
ebd2e13d
LM
227672010-05-24 Luis Machado <luisgpm@br.ibm.com>
22768
22769 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
22770
b32b8b45
UD
227712010-05-21 Ulrich Drepper <drepper@redhat.com>
22772
22773 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
22774 symbol reference.
22775
9acbe24d
AS
227762010-05-19 Andreas Schwab <schwab@redhat.com>
22777
22778 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
22779 symbol reference.
22780
f0ccf6ea
AS
227812010-05-21 Andreas Schwab <schwab@redhat.com>
22782
3d04ff3a
AS
22783 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
22784 and internal_recvmmsg.
22785 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
22786 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
22787 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
22788 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
22789
f0ccf6ea
AS
22790 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
22791 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
22792 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
22793
5b08ac57
AS
227942010-05-20 Andreas Schwab <schwab@redhat.com>
22795
22796 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
22797
4828935d
LM
227982010-05-17 Luis Machado <luisgpm@br.ibm.com>
22799
22800 POWER7 optimizations.
22801 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
22802 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
22803
373d545e
UD
228042010-05-19 Ulrich Drepper <drepper@redhat.com>
22805
22806 * version.h: Update for 2.13 development version.
22807
21a2b1ae
AS
228082010-05-12 Andrew Stubbs <ams@codesourcery.com>
22809
22810 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
22811 exceptions. Return 0.
22812
3f7dcb2b
RM
228132010-05-07 Roland McGrath <roland@redhat.com>
22814
22815 * elf/ldconfig.c (main): Add a const.
22816
5f24d53a 228172010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 22818
a160f8d8
UD
22819 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
22820 (args_options): Add no-idn option.
22821 (ahosts_keys_int): Add idn_flags to ai_flags.
22822 (parse_option): Handle 'i' option to clear idn_flags.
22823
5f24d53a
UD
22824 * malloc/malloc.c (_int_free): Possible race in the most recently
22825 added check. Only act on the data if no current modification
22826 happened.
265bb1ce
UD
22827
22828See ChangeLog.17 for earlier changes.
This page took 2.877829 seconds and 5 git commands to generate.