]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix spurious underflows in ldbl-128 atan implementation.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
6d33cc9d
DM
12012-11-19 David S. Miller <davem@davemloft.net>
2
3 With help from Joseph Myers.
4 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
5 very large arguments properly.
6 * math/libm-test.inc (atan_test): New tests.
7 (atan2_test): New tests.
8 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10
ee663277
JM
112012-11-19 Joseph Myers <joseph@codesourcery.com>
12
877f2d8e
JM
13 [BZ #14856]
14 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
15 Define to 3.
16
116fc08a
JM
17 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
18 [POSIX] (EADDRNOTAVAIL): Likewise.
19 [POSIX] (EAFNOSUPPORT): Likewise.
20 [POSIX] (EALREADY): Likewise.
21 [POSIX] (ECONNABORTED): Likewise.
22 [POSIX] (ECONNREFUSED): Likewise.
23 [POSIX] (ECONNRESET): Likewise.
24 [POSIX] (EDESTADDRREQ): Likewise.
25 [POSIX] (EDQUOT): Likewise.
26 [POSIX] (EHOSTUNREACH): Likewise.
27 [POSIX] (EIDRM): Likewise.
28 [POSIX] (EISCONN): Likewise.
29 [POSIX] (ELOOP): Likewise.
30 [POSIX] (EMULTIHOP): Likewise.
31 [POSIX] (ENETDOWN): Likewise.
32 [POSIX] (ENETUNREACH): Likewise.
33 [POSIX] (ENOBUFS): Likewise.
34 [POSIX] (ENODATA): Likewise.
35 [POSIX] (ENOLINK): Likewise.
36 [POSIX] (ENOMSG): Likewise.
37 [POSIX] (ENOPROTOOPT): Likewise.
38 [POSIX] (ENOSR): Likewise.
39 [POSIX] (ENOSTR): Likewise.
40 [POSIX] (ENOTCONN): Likewise.
41 [POSIX] (ENOTSOCK): Likewise.
42 [POSIX] (EOPNOTSUPP): Likewise.
43 [POSIX] (EOVERFLOW): Likewise.
44 [POSIX] (EPROTO): Likewise.
45 [POSIX] (EPROTONOSUPPORT): Likewise.
46 [POSIX] (EPROTOTYPE): Likewise.
47 [POSIX] (ESTALE): Likewise.
48 [POSIX] (ETIME): Likewise.
49 [POSIX] (ETXTBSY): Likewise.
50 [POSIX] (EWOULDBLOCK): Likewise.
51 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
52 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
53 [POSIX] (SEEK_CUR): Likewise.
54 [POSIX] (SEEK_END): Likewise.
55 [POSIX || UNIX98] (mode_t): Do not require.
56 [POSIX] (off_t): Likewise.
57 [POSIX] (pid_t): Likewise.
58 [POSIX] (sys/stat.h): Do not allow header.
59 [POSIX] (unistd.h): Likewise.
60 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
61 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
62 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
63 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
64 require.
65 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
66 sigevent): Specify elements.
67 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
68 entry.
69 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
70 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
71
a483863f
JM
72 * conform/data/cpio.h-data [POSIX]: Disable whole file.
73 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
74 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
75 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
76 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
77 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
78 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
79 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
80 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
81 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
82 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
83 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
84 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
85 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
86 Likewise.
87 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
88 Likewise.
89 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
90 Likewise.
91 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
92 Likewise.
93 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
94 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
95 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
96 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
97 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
98 Specify lower bound on value.
99 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
100 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
101 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
102 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
103 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
104 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
105 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
106 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
107 value.
108 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
109 as optional.
110 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
111 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
112 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
113 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
114 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
115 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
116 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
117 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
118 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
119 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
120 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
121 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
122 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
123 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
124 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
125 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
126 entry.
127 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
128 optional.
129 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
130 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
131 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
132 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
133 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
134 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
135 Likewise.
136 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
137 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
138 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
139 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
140 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
141 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
142 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
143 as optional.
144 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
145 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
146 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
147 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
148 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
149 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
150 specify as optional.
151 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
152 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
153 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
154 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
155 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
156 [XPG3] (NL_LANGMAX): Likewise.
157 [POSIX || XPG3] (NL_MSGMAX): Likewise.
158 [POSIX || XPG3] (NL_NMAX): Likewise.
159 [POSIX || XPG3] (NL_SETMAX): Likewise.
160 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
161 [XPG3] (NZERO): Likewise.
162 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
163 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
164 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
165 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
166 (REG_ERANGE): Expect.
167 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
168 optional-constant.
169 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
170 Use (void) in prototype.
171 [POSIX] (*_t): Allow.
172 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
173 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
174 (WRDE_BADVAL): Expect.
175
5ba924e3
JM
176 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
177 expect.
178 [XPG3 || XPG4] (O_RSYNC): Likewise.
179 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
180 Likewise.
181 [XPG3 || XPG4] (pthread_sigmask): Likewise.
182 [XPG3 || XPG4] (sigqueue): Likewise.
183 [XPG3 || XPG4] (sigtimedwait): Likewise.
184 [XPG3 || XPG4] (sigwaitinfo): Likewise.
185 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
186 [XPG3 || XPG4] (vsnprintf): Likewise.
187 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
188 Likewise.
189 [XPG3 || XPG4] (blksize_t): Likewise.
190 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
191 Likewise.
192 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
193 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
194 [XPG3 || XPG4] (struct itimerspec): Likewise.
195 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
196 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
197 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
198 [XPG3 || XPG4] (clockid_t): Likewise.
199 [XPG3 || XPG4] (timer_t): Likewise.
200 [XPG3 || XPG4] (clock_getres): Likewise.
201 [XPG3 || XPG4] (clock_gettime): Likewise.
202 [XPG3 || XPG4] (clock_settime): Likewise.
203 [XPG3 || XPG4] (nanosleep): Likewise.
204 [XPG3 || XPG4] (timer_create): Likewise.
205 [XPG3 || XPG4] (timer_delete): Likewise.
206 [XPG3 || XPG4] (timer_gettime): Likewise.
207 [XPG3 || XPG4] (timer_getoverrun): Likewise.
208 [XPG3 || XPG4] (timer_settime): Likewise.
209 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
210 [XPG3 || XPG4] (getlogin_r): Likewise.
211 [XPG3 || XPG4] (pread): Likewise.
212 [XPG3 || XPG4] (pthread_atfork): Likewise.
213 [XPG3 || XPG4] (pwrite): Likewise.
214
ee663277
JM
215 [BZ #14835]
216 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
217 <bits/siginfo.h>.
218
942caa16
PT
2192012-11-19 Pino Toscano <toscano.pino@tiscali.it>
220
e19af380
PT
221 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
222 finalizing MALLSTREAM.
223
942caa16
PT
224 * sysdeps/mach/hurd/syncfs.c: New file.
225
cfde9b46
SP
2262012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
227
228 [BZ #14719]
229 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
230 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
231 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
232 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
233 (_nss_dns_gethostbyname4_r): Likewise.
234 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
235 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
236
f6da27e5
PH
2372012-11-19 Peng Haitao <penght@cn.fujitsu.com>
238
239 [BZ #13763]
240 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
241
6665d4a2
SM
2422012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
243
1f51ee92
SM
244 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
245 * elf/cache.c (print_entry): Print ",AArch64" for
246 FLAG_AARCH64_LIB64
247
6665d4a2
SM
248 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
249 * elf/cache.c (print_entry): Print ",hard-float" for
250 FLAG_ARM_LIBHF.
251
05b227bd
DM
2522012-11-18 David S. Miller <davem@davemloft.net>
253
254 With help from Joseph Myers.
255 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
256 cutoff to 2**-13.
257 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
258 cutoff to 2**-25.
259 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
260 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
261 small.
262 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
263 * math/libm-test.inc (y0_test): New tests.
264 (y1_test): New tests.
265 * sysdeps/i386/fpu/libm-test-ulps: Update.
266 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
267 * sysdeps/sparc/fpu/libm-test-ulps: Update.
268
786b0b67
AS
2692012-11-18 Andreas Schwab <schwab@linux-m68k.org>
270
271 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
272 64-bit targets.
273 * configure: Regenerated.
274
8e18b86d
DM
2752012-11-17 David S. Miller <davem@davemloft.net>
276
277 [BZ #14811]
278 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
279 nonzero exponents with absolute value below 0x1p-128 to +/-
280 0x1p-128.
281
531f1ae0
JM
2822012-11-17 Joseph Myers <joseph@codesourcery.com>
283
12df29e2
JM
284 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
285
150dc1a0
JM
286 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
287
531f1ae0
JM
288 * posix/getconf-speclist.c: New file.
289 * posix/posix-envs.def: Likewise.
290 * posix/confstr.c (START_ENV_GROUP): New macro.
291 (END_ENV_GROUP): Likewise.
292 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
293 (KNOWN_PRESENT_ENV_STRING): Likewise.
294 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
295 (UNKNOWN_ENVIRONMENT): Likewise.
296 (confstr): Include posix-envs.def instead of handling
297 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
298 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
299 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
300 (END_ENV_GROUP): Likewise.
301 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
302 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
303 (UNKNOWN_ENVIRONMENT): Likewise.
304 (__sysconf): Include posix-envs.def instead of handling associated
305 cases directly here.
306 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
307 preprocessing getconf-speclist.c rather than running getconf or
308 generating empty file.
309
a93f9cbc
PT
3102012-11-16 Pino Toscano <toscano.pino@tiscali.it>
311
312 * scripts/check-local-headers.sh: Ignore 'mach' headers.
313
d64d9f87
AL
3142012-11-16 Andrej Lajovic <natrij@gmail.com>
315
316 [BZ #14672]
317 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
318
447885eb
DM
3192012-11-16 David S. Miller <davem@davemloft.net>
320
321 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
322 smaller than LDBL_EPSILON/2.0L, just return xm1.
323
bcbf9830
L
3242012-11-16 H.J. Lu <hongjiu.lu@intel.com>
325
326 * elf/tst-array1.c (init): Set constructor priority to 1000.
327 (fini): Set destructor priority to 1000.
328 * elf/tst-array2dep.c: Likewise.
329
2b766585
SP
3302012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
331
332 [BZ #11741]
333 * libio/fileops.c (_IO_new_file_write): Correctly return error.
334 (_IO_new_file_xsputn): Also return EOF if none of the input
335 data was written when overflow failed.
336 * libio/iopadn.c (_IO_padn): Likewise.
337 * libio/iowpadn.c (_IO_wpadn): Likewise.
338 * stdio-common/tst-put-error.c: Add copyright notice.
339 (do_test): Add case for printing padded string.
340 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
341 _IO_padn returned error.
342 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
343 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
344 return EOF.
345
b1848fde
SP
3462012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
347
348 * libio/libioP.h: Add comment note that the references to C++
349 bits are now obsolete.
350
2fd89785
MS
3512012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
352
353 * math/libm-test.inc (check_complex): Use asprintf.
354
e3ea5409
JM
3552012-11-14 Joseph Myers <joseph@codesourcery.com>
356
357 * debug/pcprofiledump.c (print_version): Update copyright year.
358 * malloc/memusagestat.c (print_version): Likewise.
359
2e64d265
L
3602012-11-14 H.J. Lu <hongjiu.lu@intel.com>
361
362 [BZ #14831]
363 * elf/Makefile (tests): Add tst-audit8.
364 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
365 ($(objpfx)tst-audit8.out): New target.
366 (tst-audit8-ENV): New variable.
367 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
368 audit if l_reloc_result is NULL.
369 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
370 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
371 * elf/tst-audit8.c: New file.
372
c485e4d2
MS
3732012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
374
375 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
376 * misc/Makefile (CFLAGS-select.c): Define.
377 * posix/Makefile (CFLAGS-pause.c): Define.
378
3a0d900a
DM
3792012-11-13 David S. Miller <davem@davemloft.net>
380
381 * crypt/Makefile: Move test targets after toplevel Rules
382 inclusion. Grab any necessary sysdep routines when linking.
383 * crypt/md5.c (md5_process_block): Remove define, we will always
384 name it __md5_process_block.
385 (md5_finish_ctx): Update md5_process_block call.
386 (md5_stream): Likewise.
387 (md5_process_bytes): Likewise.
388 (md5_process_block): Rename to __md5_process_block and move to ...
389 * crypt/md5-block.c: ... here.
390 * crypt/sha256.c (sha256_process_block): Move to ...
391 * crypt/sha256-block.c: ... here.
392 * crypt/sha512.c (sha512_process_block): Move to ...
393 * crypt/sha512-block.c: ... here.
394 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
395 path.
396 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
397 * sysdeps/sparc/sparc64/multiarch/Makefile
398 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
399 crypt subdir.
400 (localedef-aux): Add md5 crypto assembler when in locale subdir.
401 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
402 multiarch changes.
403 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
404 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
405 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
406 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
407 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
408 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
409 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
410 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
411 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
412 file.
413 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
414 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
415 file.
416 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
417
8ca89318
JM
4182012-11-13 Joseph Myers <joseph@codesourcery.com>
419
e27d476a
JM
420 * timezone/tzselect.ksh: Update from tzcode git revision
421 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
422 * timezone/zdump.c: Likewise.
423 * timezone/zic.c: Likewise.
424 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
425 in TZVERSION setting, not $(PKGVERSION).
426 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
427 REPORT_BUGS_TO settings.
428
8ca89318
JM
429 [BZ #14838]
430 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
431 macro.
432
47594329
MS
4332012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
434
435 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
436 detection to immediately after _FP_ROUND().
437 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
438 bits are 0.
439
640ac3f1
DM
4402012-11-11 David S. Miller <davem@davemloft.net>
441
442 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
443 inttypes.h
444 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
445 __close rather than their public counterparts.
446
3d2577bb
JM
4472012-11-10 Joseph Myers <joseph@codesourcery.com>
448
449 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
450 file.
451 [UNIX98] (sem_timedwait): Do not expect.
452 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
453 [XPG4 || UNIX98] (sockatmark): Do not expect.
454 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
455 (clock_getcpuclockid): Do not expect.
456 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
457 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
458 Do not expect.
459 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
460 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
461 [UNIX98] (vwscanf): Likewise.
462 [UNIX98] (vswscanf): Likewise.
463
fb1ae1ee
JM
4642012-11-09 Joseph Myers <joseph@codesourcery.com>
465
9ec6f8bd
JM
466 * timezone/version.h: Remove file.
467 * timezone/README: Do not refer to version.h.
468 * timezone/Makefile ($(objpfx)zic.o): New dependency on
469 $(objpfx)version.h.
470 ($(objpfx)zdump.o): Likewise.
c3f81911 471 ($(objpfx)version.h): New target.
9ec6f8bd 472
0aa8f8a1
JM
473 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
474 2012i.
475 * timezone/README: Don't mention modification to tzselect.ksh.
476 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
477 work on unmodified tzselect.ksh. Substitute version numbers in
478 tzselect.ksh.
479
4e87147f
JM
480 * Makefile (format-me): Remove.
481 (INSTALL): Adjust indentation. Use commands directly instead of
482 using $(format-me).
483
8b748aed
JM
484 * aclocal.m4 (ACX_PKGVERSION): New macro.
485 (ACX_BUGURL): Likewise.
486 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
487 (PKGVERSION): New AC_DEFINE_UNQUOTED.
488 (REPORT_BUGS_TO): Likewise.
489 * configure: Regenerated.
490 * config.h.in (PKGVERSION): New macro.
491 (REPORT_BUGS_TO): Likewise.
492 * config.make.in (PKGVERSION): New variable.
493 (PKGVERSION_TEXI): Likewise.
494 (REPORT_BUGS_TO): Likewise.
495 (REPORT_BUGS_TEXI): Likewise.
496 * Makefile (format-me): Use -I$(common-objpfx)manual.
497 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
498 ($(common-objpfx)manual/%): New target.
499 (manual/%): Remove target.
500 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
501 (print_version): Use PKGVERSION.
502 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
503 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
504 and REPORT_BUGS_TO.
505 ($(objpfx)xtrace): Likewise.
506 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
507 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
508 (print_version): Use PKGVERSION.
509 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
510 (do_version): Use PKGVERSION.
511 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
512 REPORT_BUGS_TO.
513 (common-ldd-rewrite): Likewise.
514 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
515 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
516 (print_version): Use PKGVERSION.
517 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
518 * elf/pldd.c (argp_program_bug_address): Remove variable.
519 (more_help): New function.
520 (argp): Use more_help.
521 (print_version): Use PKGVERSION.
522 * elf/sln.c (main): Use PKGVERSION.
523 (usage): Use REPORT_BUGS_TO.
524 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
525 (top level): Use PKGVERSION.
526 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
527 (print_version): Use PKGVERSION.
528 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
529 (print_version): Use PKGVERSION.
530 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
531 (print_version): Use PKGVERSION.
532 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
533 (print_version): Use PKGVERSION.
534 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
535 (print_version): Use PKGVERSION.
536 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
537 (print_version): Use PKGVERSION.
538 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
539 and BUGURL.
540 ($(objpfx)memusage): Likewise.
541 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
542 (do_version): Use PKGVERSION.
543 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
544 (print_version): Use PKGVERSION.
545 * malloc/mtrace.pl ($PACKAGE): Remove variable.
546 ($PKGVERSION): New variable.
547 ($REPORT_BUGS_TO): Likewise.
548 (usage): Use $REPORT_BUGS_TO.
549 (top level): Use $PKGVERSION.
550 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
551 ($(objpfx)pkgvers.texi): New rule.
552 ($(objpfx)stamp-pkgvers): Likewise.
553 * manual/install.texi: Include pkgvers.texi.
554 (--with-pkgversion): Document new configure option.
555 (--with-bugurl): Likewise.
556 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
557 than necessarily for this particular distribution. Use
558 REPORT_BUGS_TO for where to report bugs.
559 * INSTALL: Regenerated.
560 * manual/libc.texinfo: Include pkgvers.texi.
561 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
562 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
563 (print_version): Use PKGVERSION.
564 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
565 (print_version): Use PKGVERSION.
566 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
567 (print_version): Use PKGVERSION.
568 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
569 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
570 macro.
571 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
572 (print_version): Use PKGVERSION.
573 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
574 (print_version): Use PKGVERSION.
575 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
576 and PKGVERSION.
577
92e4b6a9
JM
578 * timezone/checktab.awk: Update from tzcode 2012i.
579 * timezone/ialloc.c: Likewise.
580 * timezone/private.h: Likewise.
581 * timezone/scheck.c: Likewise.
582 * timezone/tzfile.h: Likewise.
583 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
584 (TZVERSION): Hardcode tzcode version number.
585 * timezone/zdump.c: Update from tzcode 2012i.
586 * timezone/zic.c: Likewise.
587 * timezone/version.h: New file.
588 * timezone/README: Describe version.h. Update upstream location.
589
9bde902c
JM
590 [BZ #14824]
591 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
592 (mktemp): Enable declaration.
593 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
594 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
595 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
596 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
597 Likewise.
598 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
599 Likewise.
600 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
601 Likewise.
602 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
603 Likewise.
604 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
605 Likewise.
606 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
607 Likewise.
608
fb1ae1ee
JM
609 [BZ #14821]
610 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
611 offset in buffer as u_int32_t not u_long. Consistently use memcpy
612 for copies of such integer values.
613 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
614 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
615
2c1adbcb
AJ
6162012-11-09 Andreas Jaeger <aj@suse.de>
617
618 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
619 definitions and declarations that are provided by
620 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
621
d0f8457e
AK
6222012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
623
624 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
625 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
626 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
627 definition.
628
57241e26
MS
6292012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
630
631 * elf/elf.h: Update comment before AArch64 relocations.
632
60e8270d
DM
6332012-11-07 David S. Miller <davem@davemloft.net>
634
635 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
636 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
637 (__start_context): Declare.
638 (__makecontext_ret): Delete.
639 (__makecontext): Hook up __start_context instead of
640 __makecontext_ret.
641 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
642 (sysdep_routines): Add __start_context when in stdlib.
643
0fbb0fbc
JM
6442012-11-07 Joseph Myers <joseph@codesourcery.com>
645
646 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
647 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
648 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
649 hardcoded "nm".
650 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
651 (READELF): New variable. Use it instead of hardcoded "readelf".
652
eb48db7e
L
6532012-11-07 H.J. Lu <hongjiu.lu@intel.com>
654
655 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
656 * sysdeps/x86/Makefile: Here.
657 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
658 * sysdeps/x86/tst-xmmymm.sh: This.
659
05bcf62a
JM
6602012-11-07 Joseph Myers <joseph@codesourcery.com>
661
c4b6cf53
JM
662 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
663 expectations.
664 [UNIX98] (pthread_barrier_t): Do not expect.
665 [UNIX98] (pthread_barrierattr_t): Likewise.
666 [UNIX98] (pthread_spinlock_t): Likewise.
667 [UNIX98] (pthread_barrier_destroy): Likewise.
668 [UNIX98] (pthread_barrier_init): Likewise.
669 [UNIX98] (pthread_barrier_wait): Likewise.
670 [UNIX98] (pthread_barrierattr_destroy): Likewise.
671 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
672 [UNIX98] (pthread_barrierattr_init): Likewise.
673 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
674 [UNIX98] (pthread_getcpuclockid): Likewise.
675 [UNIX98] (pthread_mutex_timedlock): Likewise.
676 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
677 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
678 [UNIX98] (pthread_sigmask): Likewise.
679 [UNIX98] (pthread_spin_destroy): Likewise.
680 [UNIX98] (pthread_spin_init): Likewise.
681 [UNIX98] (pthread_spin_lock): Likewise.
682 [UNIX98] (pthread_spin_trylock): Likewise.
683 [UNIX98] (pthread_spin_unlock): Likewise.
684 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
685 Do not expect.
686 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
687 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
688 [XPG3 || XPG4] (pthread_cond_t): Likewise.
689 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
690 [XPG3 || XPG4] (pthread_key_t): Likewise.
691 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
692 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
693 [XPG3 || XPG4] (pthread_once_t): Likewise.
694 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
695 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
696 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
697 [XPG3 || XPG4] (pthread_t): Likewise.
698
cbe6e120
JM
699 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
700 not expect.
701 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
702
1b126443
JM
703 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
704 Change function return type to int.
705
b961a573
JM
706 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
707 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
708 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
709 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
710 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
711 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
712 [!POSIX] (posix_madvise): Likewise.
713 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
714 && !UNIX98].
715 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
716 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
717 (mode_t): Likewise.
718 (posix_mem_offset): Likewise.
719 (posix_typed_mem_get_info): Likewise.
720 (posix_typed_mem_open): Likewise.
721
9e188909
JM
722 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
723 Change condition to [XOPEN2K8].
724
05bcf62a
JM
725 * conform/conformtest.pl: Preprocess allow-header data with -x c
726 instead of from stdin.
727 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
728 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
729 [C99-based standards] (cerfc): Likewise.
730 [C99-based standards] (cexp2): Likewise.
731 [C99-based standards] (cexpm1): Likewise.
732 [C99-based standards] (clog10): Likewise.
733 [C99-based standards] (clog1p): Likewise.
734 [C99-based standards] (clog2): Likewise.
735 [C99-based standards] (clgamma): Likewise.
736 [C99-based standards] (ctgamma): Likewise.
737 [C99-based standards] (cerff): Likewise.
738 [C99-based standards] (cerfcf): Likewise.
739 [C99-based standards] (cexp2f): Likewise.
740 [C99-based standards] (cexpm1f): Likewise.
741 [C99-based standards] (clog10f): Likewise.
742 [C99-based standards] (clog1pf): Likewise.
743 [C99-based standards] (clog2f): Likewise.
744 [C99-based standards] (clgammaf): Likewise.
745 [C99-based standards] (ctgammaf): Likewise.
746 [C99-based standards] (cerfl): Likewise.
747 [C99-based standards] (cerfcl): Likewise.
748 [C99-based standards] (cexp2l): Likewise.
749 [C99-based standards] (cexpm1l): Likewise.
750 [C99-based standards] (clog10l): Likewise.
751 [C99-based standards] (clog1pl): Likewise.
752 [C99-based standards] (clog2l): Likewise.
753 [C99-based standards] (clgammal): Likewise.
754 [C99-based standards] (ctgammal): Likewise.
755 * conform/data/inttypes.h-data [C99-based standards]: Include
756 stdint.h-data. Remove all expectations for stdint.h contents.
757 [C99-based standards] (PRI*): Do not allow.
758 [C99-based standards] (SCN*): Likewise.
759 [C99-based standards] (*_t): Likewise.
760 [C99-based-standards] (PRId8): Expect macro.
761 [C99-based-standards] (PRIi8): Likewise.
762 [C99-based-standards] (PRIo8): Likewise.
763 [C99-based-standards] (PRIu8): Likewise.
764 [C99-based-standards] (PRIx8): Likewise.
765 [C99-based-standards] (PRIX8): Likewise.
766 [C99-based-standards] (SCNd8): Likewise.
767 [C99-based-standards] (SCNi8): Likewise.
768 [C99-based-standards] (SCNo8): Likewise.
769 [C99-based-standards] (SCNu8): Likewise.
770 [C99-based-standards] (SCNx8): Likewise.
771 [C99-based-standards] (PRIdLEAST8): Likewise.
772 [C99-based-standards] (PRIiLEAST8): Likewise.
773 [C99-based-standards] (PRIoLEAST8): Likewise.
774 [C99-based-standards] (PRIuLEAST8): Likewise.
775 [C99-based-standards] (PRIxLEAST8): Likewise.
776 [C99-based-standards] (PRIXLEAST8): Likewise.
777 [C99-based-standards] (SCNdLEAST8): Likewise.
778 [C99-based-standards] (SCNiLEAST8): Likewise.
779 [C99-based-standards] (SCNoLEAST8): Likewise.
780 [C99-based-standards] (SCNuLEAST8): Likewise.
781 [C99-based-standards] (SCNxLEAST8): Likewise.
782 [C99-based-standards] (PRIdFAST8): Likewise.
783 [C99-based-standards] (PRIiFAST8): Likewise.
784 [C99-based-standards] (PRIoFAST8): Likewise.
785 [C99-based-standards] (PRIuFAST8): Likewise.
786 [C99-based-standards] (PRIxFAST8): Likewise.
787 [C99-based-standards] (PRIXFAST8): Likewise.
788 [C99-based-standards] (SCNdFAST8): Likewise.
789 [C99-based-standards] (SCNiFAST8): Likewise.
790 [C99-based-standards] (SCNoFAST8): Likewise.
791 [C99-based-standards] (SCNuFAST8): Likewise.
792 [C99-based-standards] (SCNxFAST8): Likewise.
793 [C99-based-standards] (PRId16): Likewise.
794 [C99-based-standards] (PRIi16): Likewise.
795 [C99-based-standards] (PRIo16): Likewise.
796 [C99-based-standards] (PRIu16): Likewise.
797 [C99-based-standards] (PRIx16): Likewise.
798 [C99-based-standards] (PRIX16): Likewise.
799 [C99-based-standards] (SCNd16): Likewise.
800 [C99-based-standards] (SCNi16): Likewise.
801 [C99-based-standards] (SCNo16): Likewise.
802 [C99-based-standards] (SCNu16): Likewise.
803 [C99-based-standards] (SCNx16): Likewise.
804 [C99-based-standards] (PRIdLEAST16): Likewise.
805 [C99-based-standards] (PRIiLEAST16): Likewise.
806 [C99-based-standards] (PRIoLEAST16): Likewise.
807 [C99-based-standards] (PRIuLEAST16): Likewise.
808 [C99-based-standards] (PRIxLEAST16): Likewise.
809 [C99-based-standards] (PRIXLEAST16): Likewise.
810 [C99-based-standards] (SCNdLEAST16): Likewise.
811 [C99-based-standards] (SCNiLEAST16): Likewise.
812 [C99-based-standards] (SCNoLEAST16): Likewise.
813 [C99-based-standards] (SCNuLEAST16): Likewise.
814 [C99-based-standards] (SCNxLEAST16): Likewise.
815 [C99-based-standards] (PRIdFAST16): Likewise.
816 [C99-based-standards] (PRIiFAST16): Likewise.
817 [C99-based-standards] (PRIoFAST16): Likewise.
818 [C99-based-standards] (PRIuFAST16): Likewise.
819 [C99-based-standards] (PRIxFAST16): Likewise.
820 [C99-based-standards] (PRIXFAST16): Likewise.
821 [C99-based-standards] (SCNdFAST16): Likewise.
822 [C99-based-standards] (SCNiFAST16): Likewise.
823 [C99-based-standards] (SCNoFAST16): Likewise.
824 [C99-based-standards] (SCNuFAST16): Likewise.
825 [C99-based-standards] (SCNxFAST16): Likewise.
826 [C99-based-standards] (PRId32): Likewise.
827 [C99-based-standards] (PRIi32): Likewise.
828 [C99-based-standards] (PRIo32): Likewise.
829 [C99-based-standards] (PRIu32): Likewise.
830 [C99-based-standards] (PRIx32): Likewise.
831 [C99-based-standards] (PRIX32): Likewise.
832 [C99-based-standards] (SCNd32): Likewise.
833 [C99-based-standards] (SCNi32): Likewise.
834 [C99-based-standards] (SCNo32): Likewise.
835 [C99-based-standards] (SCNu32): Likewise.
836 [C99-based-standards] (SCNx32): Likewise.
837 [C99-based-standards] (PRIdLEAST32): Likewise.
838 [C99-based-standards] (PRIiLEAST32): Likewise.
839 [C99-based-standards] (PRIoLEAST32): Likewise.
840 [C99-based-standards] (PRIuLEAST32): Likewise.
841 [C99-based-standards] (PRIxLEAST32): Likewise.
842 [C99-based-standards] (PRIXLEAST32): Likewise.
843 [C99-based-standards] (SCNdLEAST32): Likewise.
844 [C99-based-standards] (SCNiLEAST32): Likewise.
845 [C99-based-standards] (SCNoLEAST32): Likewise.
846 [C99-based-standards] (SCNuLEAST32): Likewise.
847 [C99-based-standards] (SCNxLEAST32): Likewise.
848 [C99-based-standards] (PRIdFAST32): Likewise.
849 [C99-based-standards] (PRIiFAST32): Likewise.
850 [C99-based-standards] (PRIoFAST32): Likewise.
851 [C99-based-standards] (PRIuFAST32): Likewise.
852 [C99-based-standards] (PRIxFAST32): Likewise.
853 [C99-based-standards] (PRIXFAST32): Likewise.
854 [C99-based-standards] (SCNdFAST32): Likewise.
855 [C99-based-standards] (SCNiFAST32): Likewise.
856 [C99-based-standards] (SCNoFAST32): Likewise.
857 [C99-based-standards] (SCNuFAST32): Likewise.
858 [C99-based-standards] (SCNxFAST32): Likewise.
859 [C99-based-standards] (PRId64): Likewise.
860 [C99-based-standards] (PRIi64): Likewise.
861 [C99-based-standards] (PRIo64): Likewise.
862 [C99-based-standards] (PRIu64): Likewise.
863 [C99-based-standards] (PRIx64): Likewise.
864 [C99-based-standards] (PRIX64): Likewise.
865 [C99-based-standards] (SCNd64): Likewise.
866 [C99-based-standards] (SCNi64): Likewise.
867 [C99-based-standards] (SCNo64): Likewise.
868 [C99-based-standards] (SCNu64): Likewise.
869 [C99-based-standards] (SCNx64): Likewise.
870 [C99-based-standards] (PRIdLEAST64): Likewise.
871 [C99-based-standards] (PRIiLEAST64): Likewise.
872 [C99-based-standards] (PRIoLEAST64): Likewise.
873 [C99-based-standards] (PRIuLEAST64): Likewise.
874 [C99-based-standards] (PRIxLEAST64): Likewise.
875 [C99-based-standards] (PRIXLEAST64): Likewise.
876 [C99-based-standards] (SCNdLEAST64): Likewise.
877 [C99-based-standards] (SCNiLEAST64): Likewise.
878 [C99-based-standards] (SCNoLEAST64): Likewise.
879 [C99-based-standards] (SCNuLEAST64): Likewise.
880 [C99-based-standards] (SCNxLEAST64): Likewise.
881 [C99-based-standards] (PRIdFAST64): Likewise.
882 [C99-based-standards] (PRIiFAST64): Likewise.
883 [C99-based-standards] (PRIoFAST64): Likewise.
884 [C99-based-standards] (PRIuFAST64): Likewise.
885 [C99-based-standards] (PRIxFAST64): Likewise.
886 [C99-based-standards] (PRIXFAST64): Likewise.
887 [C99-based-standards] (SCNdFAST64): Likewise.
888 [C99-based-standards] (SCNiFAST64): Likewise.
889 [C99-based-standards] (SCNoFAST64): Likewise.
890 [C99-based-standards] (SCNuFAST64): Likewise.
891 [C99-based-standards] (SCNxFAST64): Likewise.
892 [C99-based-standards] (PRIdMAX): Likewise.
893 [C99-based-standards] (PRIiMAX): Likewise.
894 [C99-based-standards] (PRIoMAX): Likewise.
895 [C99-based-standards] (PRIuMAX): Likewise.
896 [C99-based-standards] (PRIxMAX): Likewise.
897 [C99-based-standards] (PRIXMAX): Likewise.
898 [C99-based-standards] (SCNdMAX): Likewise.
899 [C99-based-standards] (SCNiMAX): Likewise.
900 [C99-based-standards] (SCNoMAX): Likewise.
901 [C99-based-standards] (SCNuMAX): Likewise.
902 [C99-based-standards] (SCNxMAX): Likewise.
903 [C99-based-standards] (PRIdPTR): Likewise.
904 [C99-based-standards] (PRIiPTR): Likewise.
905 [C99-based-standards] (PRIoPTR): Likewise.
906 [C99-based-standards] (PRIuPTR): Likewise.
907 [C99-based-standards] (PRIxPTR): Likewise.
908 [C99-based-standards] (PRIXPTR): Likewise.
909 [C99-based-standards] (SCNdPTR): Likewise.
910 [C99-based-standards] (SCNiPTR): Likewise.
911 [C99-based-standards] (SCNoPTR): Likewise.
912 [C99-based-standards] (SCNuPTR): Likewise.
913 [C99-based-standards] (SCNxPTR): Likewise.
914 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
915 allow.
916 * conform/data/stdint.h-data: Update comments to clarify
917 requirements.
918 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
919 type.
920 [C99-based standards] (INT8_MAX): Likewise.
921 [C99-based standards] (INT16_MIN): Likewise.
922 [C99-based standards] (INT16_MAX): Likewise.
923 [C99-based standards] (INT32_MIN): Likewise.
924 [C99-based standards] (INT32_MAX): Likewise.
925 [C99-based standards] (INT64_MIN): Likewise.
926 [C99-based standards] (INT64_MAX): Likewise.
927 [C99-based standards] (UINT8_MAX): Likewise.
928 [C99-based standards] (UINT16_MAX): Likewise.
929 [C99-based standards] (UINT32_MAX): Likewise.
930 [C99-based standards] (UINT64_MAX): Likewise.
931 [C99-based standards] (INT_LEAST8_MIN): Likewise.
932 [C99-based standards] (INT_LEAST8_MAX): Likewise.
933 [C99-based standards] (INT_LEAST16_MIN): Likewise.
934 [C99-based standards] (INT_LEAST16_MAX): Likewise.
935 [C99-based standards] (INT_LEAST32_MIN): Likewise.
936 [C99-based standards] (INT_LEAST32_MAX): Likewise.
937 [C99-based standards] (INT_LEAST64_MIN): Likewise.
938 [C99-based standards] (INT_LEAST64_MAX): Likewise.
939 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
940 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
941 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
942 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
943 [C99-based standards] (INT_FAST8_MIN): Likewise.
944 [C99-based standards] (INT_FAST8_MAX): Likewise.
945 [C99-based standards] (INT_FAST16_MIN): Likewise.
946 [C99-based standards] (INT_FAST16_MAX): Likewise.
947 [C99-based standards] (INT_FAST32_MIN): Likewise.
948 [C99-based standards] (INT_FAST32_MAX): Likewise.
949 [C99-based standards] (INT_FAST64_MIN): Likewise.
950 [C99-based standards] (INT_FAST64_MAX): Likewise.
951 [C99-based standards] (UINT_FAST8_MAX): Likewise.
952 [C99-based standards] (UINT_FAST16_MAX): Likewise.
953 [C99-based standards] (UINT_FAST32_MAX): Likewise.
954 [C99-based standards] (UINT_FAST64_MAX): Likewise.
955 [C99-based standards] (INTPTR_MIN): Likewise.
956 [C99-based standards] (INTPTR_MAX): Likewise.
957 [C99-based standards] (UINTPTR_MAX): Likewise.
958 [C99-based standards] (INTMAX_MIN): Likewise.
959 [C99-based standards] (INTMAX_MAX): Likewise.
960 [C99-based standards] (UINTMAX_MAX): Likewise.
961 [C99-based standards] (PTRDIFF_MIN): Likewise.
962 [C99-based standards] (PTRDIFF_MAX): Likewise.
963 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
964 [C99-based standards] (SIZE_MAX): Likewise.
965 [C99-based standards] (WCHAR_MAX): Likewise.
966 [C99-based standards] (WINT_MAX): Likewise.
967 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
968 constraint on value.
969 [C99-based standards] (WCHAR_MIN): Likewise.
970 [C99-based standards] (WINT_MIN): Likewise.
971 [C99-based standards] (*_t): Allow.
972 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
973 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
974 Include math.h-data and complex.h-data. Remove all expectations
975 of math.h and complex.h contents.
976 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
977 at end of line.
978 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
979 (struct tm): Expect tag.
980 [C99-based-standards] (wcstof): Expect function.
981 [C99-based-standards] (wcstold): Likewise.
982 [C99-based-standards] (wcstoll): Likewise.
983 [C99-based-standards] (wcstoull): Likewise.
984 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
985 macro-int-constant. Specify type.
986 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
987 constraint on value.
988 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
989 Specify type.
990 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
991 Specify value.
992 [ISO C standards]: Do not allow headers.
993 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
994 wcs[abcdefghijklmnopqrstuvwxyz]*.
995 [ISO C standards] (*_t): Do not allow.
996 * conform/data/wctype.h-data [C99-based standards] (iswblank):
997 Expect function.
998 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
999 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1000 Specify type.
1001 [ISO C standards]: Do not allow headers.
1002 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
1003 is[abcdefghijklmnopqrstuvwxyz]*.
1004 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
1005 to[abcdefghijklmnopqrstuvwxyz]*.
1006 [ISO C standards] (*_t): Do not allow.
1007 * conform/data/stdalign.h-data: New file.
1008 * conform/data/stdbool.h-data: Likewise.
1009 * conform/data/stdnoreturn.h-data: Likewise.
1010
01f34a3b
JL
10112012-11-07 Andreas Jaeger <aj@suse.de>
1012
1013 [BZ #14809]
1014 * sysdeps/unix/sysv/linux/sys/sysctl.h (_UAPI_LINUX_KERNEL_H)
1015 (_UAPI_LINUX_TYPES_H): Starting with Linux 3.7, the include header
1016 guards are changed. Only define if not yet defined, #undef back
1017 after including linux/sysctl.h if defined here.
1018
7514feb8
RM
10192012-11-07 Roland McGrath <roland@hack.frob.com>
1020
1021 [BZ #14815]
1022 * manual/filesys.texi (Directory Entries): Typo fix.
1023 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
1024
19b2ecfc
MS
10252012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1026
1027 * elf/elf.h (EM_AARCH64): New macro.
1028 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
1029 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
1030 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
1031 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
1032 (R_AARCH64_TLSDESC): Likewise.
1033 (NT_ARM_TLS): Likewise.
1034 (NT_ARM_HW_BREAK): Likewise.
1035 (NT_ARM_HW_WATCH): Likewise.
1036
60e235ee
JM
10372012-11-07 Joseph Myers <joseph@codesourcery.com>
1038
1039 [BZ #14811]
1040 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
1041 (__ieee754_powl): Saturate nonzero exponents with absolute value
1042 below 0x1p-79 to +/- 0x1p-79.
1043 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
1044 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
1045 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
1046 nonzero exponents with absolute value below 0x1p-32 to +/-
1047 0x1p-32.
1048 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
1049 (__ieee754_powl): Saturate nonzero exponents with absolute value
1050 below 0x1p-79 to +/- 0x1p-79.
1051 * math/libm-test.inc (pow_test): Add more tests.
1052
0ab234b7
AK
10532012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1054
1055 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
1056 _dl_s390_cap_flags with kernel. Increase string length.
1057 (_dl_s390_platforms): Add z196 and zEC12.
1058
45832f74
JM
10592012-11-07 Joseph Myers <joseph@codesourcery.com>
1060
1061 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
1062 Change XOPEN21K to XOPEN2K.
1063
19218757
MK
10642012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
1065
1066 * string/memmove.c: Use memcpy when possible.
1067
c5f45721
AJ
10682012-11-06 Andreas Jaeger <aj@suse.de>
1069
1070 * po/eo.po: Update from translation team.
1071
82477c28
JM
10722012-11-06 Joseph Myers <joseph@codesourcery.com>
1073
1074 [BZ #14793]
1075 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
1076 exponent and small x and y exponents, scale x or y up. Increase
1077 by 2 the exponent used in scaling up.
1078 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1079 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1080 * math/libm-test.inc (fma_test): Add more tests.
1081 (fma_test_towardzero): Likewise.
1082 (fma_test_downward): Likewise.
1083 (fma_test_upward): Likewise.
1084
99252c8c
JM
10852012-11-05 Joseph Myers <joseph@codesourcery.com>
1086
acfa885f
JM
1087 [BZ #14805]
1088 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
1089 fenv_t *.
1090
99252c8c
JM
1091 [BZ #14801]
1092 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
1093 namespace for names of struct fields.
1094 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
1095 fenv_t fields.
1096 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1097 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
1098
d6d98dea
ST
10992012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1100
1101 [BZ #3665]
1102 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
1103
e10bb107
TS
11042012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1105
1106 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
1107 PTR_DEMANGLE.
1108
1109 [BZ #5246]
1110 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
1111 PTR_DEMANGLE.
1112
a0c2940d
JM
11132012-11-04 Joseph Myers <joseph@codesourcery.com>
1114
1115 [BZ #14797]
1116 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
1117 definitely overflow as x * y not x * y + z.
1118 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1119 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1120 * math/libm-test.inc (fma_test): Add more tests.
1121 (fma_test_towardzero): Likewise.
1122 (fma_test_downward): Likewise.
1123 (fma_test_upward): Likewise.
1124
b830319d
TS
11252012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1126
1127 [BZ #157]
1128
1129 * include/stub-tag.h: Remove file.
1130 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
1131 '#include' of it.
1132 * manual/maint.texi (Porting): Don't reference it.
1133 * Makerules ($(objpfx)stubs): Likewise.
1134 * dirent/closedir.c: Don't include <stub-tag.h>.
1135 * dirent/dirfd.c: Likewise.
1136 * dirent/fdopendir.c: Likewise.
1137 * dirent/getdents.c: Likewise.
1138 * dirent/getdents64.c: Likewise.
1139 * dirent/opendir.c: Likewise.
1140 * dirent/readdir.c: Likewise.
1141 * dirent/readdir64.c: Likewise.
1142 * dirent/readdir64_r.c: Likewise.
1143 * dirent/readdir_r.c: Likewise.
1144 * dirent/rewinddir.c: Likewise.
1145 * dirent/seekdir.c: Likewise.
1146 * dirent/telldir.c: Likewise.
1147 * gmon/profil.c: Likewise.
1148 * grp/setgroups.c: Likewise.
1149 * inet/if_index.c: Likewise.
1150 * io/access.c: Likewise.
1151 * io/chdir.c: Likewise.
1152 * io/chmod.c: Likewise.
1153 * io/chown.c: Likewise.
1154 * io/close.c: Likewise.
1155 * io/dup.c: Likewise.
1156 * io/dup2.c: Likewise.
1157 * io/dup3.c: Likewise.
1158 * io/euidaccess.c: Likewise.
1159 * io/faccessat.c: Likewise.
1160 * io/fchdir.c: Likewise.
1161 * io/fchmod.c: Likewise.
1162 * io/fchmodat.c: Likewise.
1163 * io/fchown.c: Likewise.
1164 * io/fchownat.c: Likewise.
1165 * io/fcntl.c: Likewise.
1166 * io/flock.c: Likewise.
1167 * io/fstatfs.c: Likewise.
1168 * io/fstatfs64.c: Likewise.
1169 * io/fstatvfs.c: Likewise.
1170 * io/fstatvfs64.c: Likewise.
1171 * io/futimens.c: Likewise.
1172 * io/fxstat.c: Likewise.
1173 * io/fxstat64.c: Likewise.
1174 * io/fxstatat.c: Likewise.
1175 * io/fxstatat64.c: Likewise.
1176 * io/getcwd.c: Likewise.
1177 * io/isatty.c: Likewise.
1178 * io/lchmod.c: Likewise.
1179 * io/lchown.c: Likewise.
1180 * io/link.c: Likewise.
1181 * io/linkat.c: Likewise.
1182 * io/lseek.c: Likewise.
1183 * io/lseek64.c: Likewise.
1184 * io/lxstat64.c: Likewise.
1185 * io/mkdir.c: Likewise.
1186 * io/mkdirat.c: Likewise.
1187 * io/mkfifo.c: Likewise.
1188 * io/mkfifoat.c: Likewise.
1189 * io/open.c: Likewise.
1190 * io/open64.c: Likewise.
1191 * io/openat.c: Likewise.
1192 * io/openat64.c: Likewise.
1193 * io/pipe.c: Likewise.
1194 * io/pipe2.c: Likewise.
1195 * io/poll.c: Likewise.
1196 * io/posix_fadvise.c: Likewise.
1197 * io/posix_fadvise64.c: Likewise.
1198 * io/posix_fallocate.c: Likewise.
1199 * io/posix_fallocate64.c: Likewise.
1200 * io/read.c: Likewise.
1201 * io/readlink.c: Likewise.
1202 * io/readlinkat.c: Likewise.
1203 * io/rmdir.c: Likewise.
1204 * io/sendfile.c: Likewise.
1205 * io/sendfile64.c: Likewise.
1206 * io/statfs.c: Likewise.
1207 * io/statfs64.c: Likewise.
1208 * io/statvfs.c: Likewise.
1209 * io/statvfs64.c: Likewise.
1210 * io/symlink.c: Likewise.
1211 * io/symlinkat.c: Likewise.
1212 * io/ttyname.c: Likewise.
1213 * io/ttyname_r.c: Likewise.
1214 * io/umask.c: Likewise.
1215 * io/unlink.c: Likewise.
1216 * io/unlinkat.c: Likewise.
1217 * io/utime.c: Likewise.
1218 * io/utimensat.c: Likewise.
1219 * io/write.c: Likewise.
1220 * io/xmknod.c: Likewise.
1221 * io/xmknodat.c: Likewise.
1222 * io/xstat.c: Likewise.
1223 * io/xstat64.c: Likewise.
1224 * login/getpt.c: Likewise.
1225 * login/grantpt.c: Likewise.
1226 * login/unlockpt.c: Likewise.
1227 * math/e_acoshl.c: Likewise.
1228 * math/e_acosl.c: Likewise.
1229 * math/e_asinl.c: Likewise.
1230 * math/e_atan2l.c: Likewise.
1231 * math/e_atanhl.c: Likewise.
1232 * math/e_coshl.c: Likewise.
1233 * math/e_expl.c: Likewise.
1234 * math/e_fmodl.c: Likewise.
1235 * math/e_gammal_r.c: Likewise.
1236 * math/e_hypotl.c: Likewise.
1237 * math/e_j0l.c: Likewise.
1238 * math/e_j1l.c: Likewise.
1239 * math/e_jnl.c: Likewise.
1240 * math/e_lgammal_r.c: Likewise.
1241 * math/e_log10l.c: Likewise.
1242 * math/e_log2l.c: Likewise.
1243 * math/e_logl.c: Likewise.
1244 * math/e_powl.c: Likewise.
1245 * math/e_rem_pio2l.c: Likewise.
1246 * math/e_sinhl.c: Likewise.
1247 * math/e_sqrtl.c: Likewise.
1248 * math/fclrexcpt.c: Likewise.
1249 * math/fedisblxcpt.c: Likewise.
1250 * math/feenablxcpt.c: Likewise.
1251 * math/fegetenv.c: Likewise.
1252 * math/fegetexcept.c: Likewise.
1253 * math/fegetround.c: Likewise.
1254 * math/feholdexcpt.c: Likewise.
1255 * math/fesetenv.c: Likewise.
1256 * math/fesetround.c: Likewise.
1257 * math/feupdateenv.c: Likewise.
1258 * math/fgetexcptflg.c: Likewise.
1259 * math/fraiseexcpt.c: Likewise.
1260 * math/fsetexcptflg.c: Likewise.
1261 * math/ftestexcept.c: Likewise.
1262 * math/k_cosl.c: Likewise.
1263 * math/k_rem_pio2l.c: Likewise.
1264 * math/k_sinl.c: Likewise.
1265 * math/k_tanl.c: Likewise.
1266 * math/s_asinhl.c: Likewise.
1267 * math/s_atanl.c: Likewise.
1268 * math/s_cbrtl.c: Likewise.
1269 * math/s_erfl.c: Likewise.
1270 * math/s_expm1l.c: Likewise.
1271 * math/s_log1pl.c: Likewise.
1272 * math/s_tanhl.c: Likewise.
1273 * misc/acct.c: Likewise.
1274 * misc/brk.c: Likewise.
1275 * misc/chflags.c: Likewise.
1276 * misc/chroot.c: Likewise.
1277 * misc/fchflags.c: Likewise.
1278 * misc/fgetxattr.c: Likewise.
1279 * misc/flistxattr.c: Likewise.
1280 * misc/fremovexattr.c: Likewise.
1281 * misc/fsetxattr.c: Likewise.
1282 * misc/fsync.c: Likewise.
1283 * misc/ftruncate.c: Likewise.
1284 * misc/futimes.c: Likewise.
1285 * misc/futimesat.c: Likewise.
1286 * misc/getdomain.c: Likewise.
1287 * misc/getdtsz.c: Likewise.
1288 * misc/gethostid.c: Likewise.
1289 * misc/gethostname.c: Likewise.
1290 * misc/getloadavg.c: Likewise.
1291 * misc/getpagesize.c: Likewise.
1292 * misc/getsysstats.c: Likewise.
1293 * misc/getxattr.c: Likewise.
1294 * misc/gtty.c: Likewise.
1295 * misc/ioctl.c: Likewise.
1296 * misc/lgetxattr.c: Likewise.
1297 * misc/listxattr.c: Likewise.
1298 * misc/llistxattr.c: Likewise.
1299 * misc/lremovexattr.c: Likewise.
1300 * misc/lsetxattr.c: Likewise.
1301 * misc/lutimes.c: Likewise.
1302 * misc/madvise.c: Likewise.
1303 * misc/mincore.c: Likewise.
1304 * misc/mlock.c: Likewise.
1305 * misc/mlockall.c: Likewise.
1306 * misc/mmap.c: Likewise.
1307 * misc/mprotect.c: Likewise.
1308 * misc/msync.c: Likewise.
1309 * misc/munlock.c: Likewise.
1310 * misc/munlockall.c: Likewise.
1311 * misc/munmap.c: Likewise.
1312 * misc/preadv.c: Likewise.
1313 * misc/preadv64.c: Likewise.
1314 * misc/ptrace.c: Likewise.
1315 * misc/pwritev.c: Likewise.
1316 * misc/pwritev64.c: Likewise.
1317 * misc/readv.c: Likewise.
1318 * misc/reboot.c: Likewise.
1319 * misc/remap_file_pages.c: Likewise.
1320 * misc/removexattr.c: Likewise.
1321 * misc/revoke.c: Likewise.
1322 * misc/select.c: Likewise.
1323 * misc/setdomain.c: Likewise.
1324 * misc/setegid.c: Likewise.
1325 * misc/seteuid.c: Likewise.
1326 * misc/sethostid.c: Likewise.
1327 * misc/sethostname.c: Likewise.
1328 * misc/setregid.c: Likewise.
1329 * misc/setreuid.c: Likewise.
1330 * misc/setxattr.c: Likewise.
1331 * misc/sstk.c: Likewise.
1332 * misc/stty.c: Likewise.
1333 * misc/swapoff.c: Likewise.
1334 * misc/swapon.c: Likewise.
1335 * misc/sync.c: Likewise.
1336 * misc/syncfs.c: Likewise.
1337 * misc/syscall.c: Likewise.
1338 * misc/truncate.c: Likewise.
1339 * misc/ualarm.c: Likewise.
1340 * misc/usleep.c: Likewise.
1341 * misc/ustat.c: Likewise.
1342 * misc/utimes.c: Likewise.
1343 * misc/vhangup.c: Likewise.
1344 * misc/writev.c: Likewise.
1345 * posix/_exit.c: Likewise.
1346 * posix/alarm.c: Likewise.
1347 * posix/execve.c: Likewise.
1348 * posix/fexecve.c: Likewise.
1349 * posix/fork.c: Likewise.
1350 * posix/fpathconf.c: Likewise.
1351 * posix/getaddrinfo.c: Likewise.
1352 * posix/getegid.c: Likewise.
1353 * posix/geteuid.c: Likewise.
1354 * posix/getgid.c: Likewise.
1355 * posix/getgroups.c: Likewise.
1356 * posix/getlogin.c: Likewise.
1357 * posix/getlogin_r.c: Likewise.
1358 * posix/getpgid.c: Likewise.
1359 * posix/getpid.c: Likewise.
1360 * posix/getppid.c: Likewise.
1361 * posix/getresgid.c: Likewise.
1362 * posix/getresuid.c: Likewise.
1363 * posix/getsid.c: Likewise.
1364 * posix/getuid.c: Likewise.
1365 * posix/glob64.c: Likewise.
1366 * posix/nanosleep.c: Likewise.
1367 * posix/pathconf.c: Likewise.
1368 * posix/pause.c: Likewise.
1369 * posix/posix_madvise.c: Likewise.
1370 * posix/pread.c: Likewise.
1371 * posix/pread64.c: Likewise.
1372 * posix/pwrite.c: Likewise.
1373 * posix/pwrite64.c: Likewise.
1374 * posix/sched_getaffinity.c: Likewise.
1375 * posix/sched_getp.c: Likewise.
1376 * posix/sched_gets.c: Likewise.
1377 * posix/sched_primax.c: Likewise.
1378 * posix/sched_primin.c: Likewise.
1379 * posix/sched_rr_gi.c: Likewise.
1380 * posix/sched_setaffinity.c: Likewise.
1381 * posix/sched_setp.c: Likewise.
1382 * posix/sched_sets.c: Likewise.
1383 * posix/sched_yield.c: Likewise.
1384 * posix/setgid.c: Likewise.
1385 * posix/setlogin.c: Likewise.
1386 * posix/setpgid.c: Likewise.
1387 * posix/setresgid.c: Likewise.
1388 * posix/setresuid.c: Likewise.
1389 * posix/setsid.c: Likewise.
1390 * posix/setuid.c: Likewise.
1391 * posix/sleep.c: Likewise.
1392 * posix/spawni.c: Likewise.
1393 * posix/sysconf.c: Likewise.
1394 * posix/times.c: Likewise.
1395 * posix/wait.c: Likewise.
1396 * posix/wait3.c: Likewise.
1397 * posix/wait4.c: Likewise.
1398 * posix/waitpid.c: Likewise.
1399 * resolv/gai_sigqueue.c: Likewise.
1400 * resource/getpriority.c: Likewise.
1401 * resource/getrlimit.c: Likewise.
1402 * resource/getrusage.c: Likewise.
1403 * resource/nice.c: Likewise.
1404 * resource/setpriority.c: Likewise.
1405 * resource/setrlimit.c: Likewise.
1406 * resource/ulimit.c: Likewise.
1407 * rt/aio_cancel.c: Likewise.
1408 * rt/aio_fsync.c: Likewise.
1409 * rt/aio_read.c: Likewise.
1410 * rt/aio_sigqueue.c: Likewise.
1411 * rt/aio_suspend.c: Likewise.
1412 * rt/aio_write.c: Likewise.
1413 * rt/clock_getres.c: Likewise.
1414 * rt/clock_gettime.c: Likewise.
1415 * rt/clock_nanosleep.c: Likewise.
1416 * rt/clock_settime.c: Likewise.
1417 * rt/lio_listio.c: Likewise.
1418 * rt/mq_close.c: Likewise.
1419 * rt/mq_getattr.c: Likewise.
1420 * rt/mq_notify.c: Likewise.
1421 * rt/mq_open.c: Likewise.
1422 * rt/mq_receive.c: Likewise.
1423 * rt/mq_send.c: Likewise.
1424 * rt/mq_setattr.c: Likewise.
1425 * rt/mq_timedreceive.c: Likewise.
1426 * rt/mq_timedsend.c: Likewise.
1427 * rt/mq_unlink.c: Likewise.
1428 * rt/shm_open.c: Likewise.
1429 * rt/shm_unlink.c: Likewise.
1430 * rt/timer_create.c: Likewise.
1431 * rt/timer_delete.c: Likewise.
1432 * rt/timer_getoverr.c: Likewise.
1433 * rt/timer_gettime.c: Likewise.
1434 * rt/timer_settime.c: Likewise.
1435 * setjmp/__longjmp.c: Likewise.
1436 * setjmp/setjmp.c: Likewise.
1437 * signal/kill.c: Likewise.
1438 * signal/killpg.c: Likewise.
1439 * signal/raise.c: Likewise.
1440 * signal/sigaction.c: Likewise.
1441 * signal/sigaltstack.c: Likewise.
1442 * signal/sigblock.c: Likewise.
1443 * signal/sigignore.c: Likewise.
1444 * signal/sigintr.c: Likewise.
1445 * signal/signal.c: Likewise.
1446 * signal/sigpause.c: Likewise.
1447 * signal/sigpending.c: Likewise.
1448 * signal/sigqueue.c: Likewise.
1449 * signal/sigreturn.c: Likewise.
1450 * signal/sigset.c: Likewise.
1451 * signal/sigsetmask.c: Likewise.
1452 * signal/sigstack.c: Likewise.
1453 * signal/sigsuspend.c: Likewise.
1454 * signal/sigtimedwait.c: Likewise.
1455 * signal/sigvec.c: Likewise.
1456 * signal/sigwait.c: Likewise.
1457 * signal/sigwaitinfo.c: Likewise.
1458 * signal/sysv_signal.c: Likewise.
1459 * socket/accept.c: Likewise.
1460 * socket/accept4.c: Likewise.
1461 * socket/bind.c: Likewise.
1462 * socket/connect.c: Likewise.
1463 * socket/getpeername.c: Likewise.
1464 * socket/getsockname.c: Likewise.
1465 * socket/getsockopt.c: Likewise.
1466 * socket/isfdtype.c: Likewise.
1467 * socket/listen.c: Likewise.
1468 * socket/recv.c: Likewise.
1469 * socket/recvfrom.c: Likewise.
1470 * socket/recvmsg.c: Likewise.
1471 * socket/send.c: Likewise.
1472 * socket/sendmsg.c: Likewise.
1473 * socket/sendto.c: Likewise.
1474 * socket/setsockopt.c: Likewise.
1475 * socket/shutdown.c: Likewise.
1476 * socket/sockatmark.c: Likewise.
1477 * socket/socket.c: Likewise.
1478 * socket/socketpair.c: Likewise.
1479 * stdio-common/ctermid.c: Likewise.
1480 * stdio-common/cuserid.c: Likewise.
1481 * stdio-common/remove.c: Likewise.
1482 * stdio-common/rename.c: Likewise.
1483 * stdio-common/renameat.c: Likewise.
1484 * stdio-common/tempname.c: Likewise.
1485 * stdlib/getcontext.c: Likewise.
1486 * stdlib/makecontext.c: Likewise.
1487 * stdlib/setcontext.c: Likewise.
1488 * stdlib/swapcontext.c: Likewise.
1489 * stdlib/system.c: Likewise.
1490 * streams/fattach.c: Likewise.
1491 * streams/fdetach.c: Likewise.
1492 * streams/getmsg.c: Likewise.
1493 * streams/getpmsg.c: Likewise.
1494 * streams/putmsg.c: Likewise.
1495 * streams/putpmsg.c: Likewise.
1496 * sysdeps/unix/bsd/getpt.c: Likewise.
1497 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
1498 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
1499 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
1501 Likewise.
1502 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
1503 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
1504 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1505 * sysvipc/msgctl.c: Likewise.
1506 * sysvipc/msgget.c: Likewise.
1507 * sysvipc/msgrcv.c: Likewise.
1508 * sysvipc/msgsnd.c: Likewise.
1509 * sysvipc/semctl.c: Likewise.
1510 * sysvipc/semget.c: Likewise.
1511 * sysvipc/semop.c: Likewise.
1512 * sysvipc/semtimedop.c: Likewise.
1513 * sysvipc/shmat.c: Likewise.
1514 * sysvipc/shmctl.c: Likewise.
1515 * sysvipc/shmdt.c: Likewise.
1516 * sysvipc/shmget.c: Likewise.
1517 * termios/tcdrain.c: Likewise.
1518 * termios/tcflow.c: Likewise.
1519 * termios/tcflush.c: Likewise.
1520 * termios/tcgetattr.c: Likewise.
1521 * termios/tcgetpgrp.c: Likewise.
1522 * termios/tcsendbrk.c: Likewise.
1523 * termios/tcsetattr.c: Likewise.
1524 * termios/tcsetpgrp.c: Likewise.
1525 * time/adjtime.c: Likewise.
1526 * time/clock.c: Likewise.
1527 * time/getitimer.c: Likewise.
1528 * time/gettimeofday.c: Likewise.
1529 * time/setitimer.c: Likewise.
1530 * time/settimeofday.c: Likewise.
1531 * time/stime.c: Likewise.
1532 * time/time.c: Likewise.
1533
15342012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 1535
a20492cf
PT
1536 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
1537 /usr/old/bin.
1538
72e182e3
PT
1539 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
1540 instead of spaces.
1541 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
1542
fbeafede
JM
15432012-11-03 Joseph Myers <joseph@codesourcery.com>
1544
5b5b04d6
JM
1545 [BZ #14796]
1546 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
1547 FE_TONEAREST before applying Dekker multiplication and Knuth
1548 addition. Clear inexact exceptions and check for exact zero
1549 results afterwards.
1550 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1551 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1552 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1553 * math/libm-test.inc (fma_test): Add more tests.
1554 (fma_test_towardzero): Likewise.
1555 (fma_test_downward): Likewise.
1556 (fma_test_upward): Likewise.
1557 * sysdeps/generic/math_private.h (default_libc_fesetround): New
1558 function.
1559 (libc_fesetround): New macro.
1560 (libc_fesetroundf): Likewise.
1561 (libc_fesetroundl): Likewise.
1562 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
1563 function.
1564 (libc_fesetround_387): Likewise.
1565 (libc_fesetroundf): New macro.
1566 (libc_fesetround): Likewise.
1567 (libc_fesetroundl): Likewise.
1568 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
1569 function.
1570 (libc_fesetroundf): New macro.
1571 (libc_fesetround): Likewise.
1572 (libc_fesetroundl): Likewise.
1573 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
1574 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
1575 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
1576 libm_hidden_ver.
1577 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
1578 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
1579 libm_hidden_def.
1580 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
1581 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
1582 libm_hidden_ver.
1583 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
1584 libm_hidden_def.
1585
fbeafede
JM
1586 [BZ #3439]
1587 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
1588 integer constant usable in #if and use that to give value to enum
1589 constant.
1590 (FE_DIVBYZERO): Likewise.
1591 (FE_UNDERFLOW): Likewise.
1592 (FE_OVERFLOW): Likewise.
1593 (FE_INVALID): Likewise.
1594 (FE_INVALID_SNAN): Likewise.
1595 (FE_INVALID_ISI): Likewise.
1596 (FE_INVALID_IDI): Likewise.
1597 (FE_INVALID_ZDZ): Likewise.
1598 (FE_INVALID_IMZ): Likewise.
1599 (FE_INVALID_COMPARE): Likewise.
1600 (FE_INVALID_SOFTWARE): Likewise.
1601 (FE_INVALID_SQRT): Likewise.
1602 (FE_INVALID_INTEGER_CONVERSION): Likewise.
1603 (FE_TONEAREST): Likewise.
1604 (FE_TOWARDZERO): Likewise.
1605 (FE_UPWARD): Likewise.
1606 (FE_DOWNWARD): Likewise.
1607 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
1608 (FE_DIVBYZERO): Likewise.
1609 (FE_OVERFLOW): Likewise.
1610 (FE_UNDERFLOW): Likewise.
1611 (FE_INEXACT): Likewise.
1612 (FE_TONEAREST): Likewise.
1613 (FE_DOWNWARD): Likewise.
1614 (FE_UPWARD): Likewise.
1615 (FE_TOWARDZERO): Likewise.
1616 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
1617 (FE_UNDERFLOW): Likewise.
1618 (FE_OVERFLOW): Likewise.
1619 (FE_DIVBYZERO): Likewise.
1620 (FE_INVALID): Likewise.
1621 (FE_TONEAREST): Likewise.
1622 (FE_TOWARDZERO): Likewise.
1623 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
1624 (FE_OVERFLOW): Likewise.
1625 (FE_UNDERFLOW): Likewise.
1626 (FE_DIVBYZERO): Likewise.
1627 (FE_INEXACT): Likewise.
1628 (FE_TONEAREST): Likewise.
1629 (FE_TOWARDZERO): Likewise.
1630 (FE_UPWARD): Likewise.
1631 (FE_DOWNWARD): Likewise.
1632 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
1633 (FE_DIVBYZERO): Likewise.
1634 (FE_OVERFLOW): Likewise.
1635 (FE_UNDERFLOW): Likewise.
1636 (FE_INEXACT): Likewise.
1637 (FE_TONEAREST): Likewise.
1638 (FE_DOWNWARD): Likewise.
1639 (FE_UPWARD): Likewise.
1640 (FE_TOWARDZERO): Likewise.
1641
105ca950
CM
16422012-11-02 Chris Metcalf <cmetcalf@tilera.com>
1643
1644 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
1645
a542b389
AS
16462012-11-03 Andreas Schwab <schwab@linux-m68k.org>
1647
1648 * scripts/cross-test-ssh.sh (command): Use newlines to separate
1649 commands. Quote $PWD.
1650 (blacklist_exports): Don't use remove_newlines. Replace "declare
1651 -x" by "export".
1652 (remove_newlines): Remove.
1653
f62c8abc
L
16542012-11-02 H.J. Lu <hongjiu.lu@intel.com>
1655
1656 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
1657 * stdlib/stdlib.h (atof): Moved to ...
1658 * include/bits/stdlib-float.h: Here. New file.
1659 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
1660 * stdlib/bits/stdlib-float.h: New file.
1661 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
1662 -mno-sse -mno-mmx.
1663 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
1664 <xmmintrin.h>.
1665
0155d5b2
JM
16662012-11-02 Joseph Myers <joseph@codesourcery.com>
1667
a68d0680
JM
1668 * conform/conformtest.pl (@headers): Add fenv.h.
1669 * conform/data/fenv.h-data: New file.
1670 * include/fenv.h [_ISOMAC]: Disable all contents of file except
1671 include of <math/fenv.h>.
1672
caf7f573
JM
1673 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
1674 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
1675 && !UNIX98]. Enables tests for XOPEN2K8.
1676 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
1677 POSIX2008]: Likewise.
1678
6c073ad6
JM
1679 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
1680 (struct rusage): Do not expect type or its members.
1681
0155d5b2
JM
1682 [BZ #3439]
1683 * math/math.h (FP_NAN): Define macro to integer constant usable in
1684 #if and use that to give value to enum constant.
1685 (FP_INFINITE): Likewise.
1686 (FP_ZERO): Likewise.
1687 (FP_SUBNORMAL): Likewise.
1688 (FP_NORMAL): Likewise.
1689
b5dcacb4
AS
16902012-11-02 Andreas Schwab <schwab@linux-m68k.org>
1691
1692 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
1693 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
1694 arguments.
1695
f7934be8
RM
16962012-11-02 Roland McGrath <roland@hack.frob.com>
1697
1698 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
1699 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
1700 autoconf-time if not.
1701 * configure.in: Remove AC_PREREQ.
1702
d7d08bde
TMQMF
17032012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1704
1705 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
1706 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
1707 of the internal implementation.
1708
dcdae19a
JM
17092012-11-02 Joseph Myers <joseph@codesourcery.com>
1710
1711 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
1712 except include of <misc/sys/syslog.h>.
1713
d6cffd3e
AS
17142012-11-01 Andreas Schwab <schwab@linux-m68k.org>
1715
1716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
1717 function returns with a NULL context exit with zero.
1718
b3563932
TMQMF
17192012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1720
1721 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
1722
b288a93d
L
17232012-11-01 H.J. Lu <hongjiu.lu@intel.com>
1724
1725 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
1726 (run_program_cmd): This.
1727 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
1728 (tst_langinfo): New variable. Use it.
1729
a2421a68
SAS
17302012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
1731
1732 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
1733 floating point opcodes.
1734
6f796e1b
TS
17352012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1736
7402596b
TS
1737 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
1738 variable.
1739
d0d4f868
TS
1740 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
1741
6f796e1b
TS
1742 * sysdeps/mach/hurd/powerpc: Remove directory.
1743 * sysdeps/mach/powerpc: Likewise.
1744
4da224a2
AS
17452012-11-01 Andreas Schwab <schwab@linux-m68k.org>
1746
1747 * scripts/check-local-headers.sh: Ignore c++ headers.
1748
341dd673
TS
17492012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1750
1751 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
1752 __libc_cleanup_region_start argument.
1753
473611b2
JM
17542012-11-01 Joseph Myers <joseph@codesourcery.com>
1755
1756 [BZ #14784]
1757 [BZ #14785]
1758 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
1759 x * y using scaling, not as x * y + z.
1760 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1761 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1762 * math/libm-test.inc (fma_test): Add more tests.
1763 (fma_test_towardzero): Likewise.
1764 (fma_test_downward): Likewise.
1765 (fma_test_upward): Likewise.
1766
4078da3d
TS
17672012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1768
1769 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
1770
903252aa
JM
17712012-10-31 Joseph Myers <joseph@codesourcery.com>
1772
1773 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
1774 New variable.
1775
cbc818d0
TS
17762012-10-31 Thomas Schwinge <thomas@codesourcery.com>
1777
1778 * rt/tst-shm.c (worker): Correct checking for mmap failure.
1779
5a03cb1e
AS
17802012-10-31 Andreas Schwab <schwab@linux-m68k.org>
1781
1782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1783 Fix sort order.
1784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1785 Likewise.
1786
90aff2ff
TMQMF
17872012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1788
1789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1790 Fix the order of the list for glibc 2.17.
1791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1792 Likewise.
1793
1818fcb7
AS
17942012-10-31 Andreas Schwab <schwab@linux-m68k.org>
1795
1796 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1797
ef82f4da
JM
17982012-10-31 Joseph Myers <joseph@codesourcery.com>
1799
16a0e2ec
JM
1800 [BZ #14610]
1801 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
1802 for low part of x being zero before using __atanl (y).
1803 * math/libm-test.inc (atan2_test): Add another test.
1804
0eb69512
JM
1805 * manual/install.texi (Configuring and compiling): Document
1806 general use of test-wrapper and test-wrapper-env.
1807 * INSTALL: Regenerated.
1808
ef82f4da
JM
1809 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
1810 (__fma): Do not extract and scale down low bits on after-rounding
1811 systems when result rounded to normal precision would have normal
1812 exponent.
1813 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
1814 (__fmal): Do not extract and scale down low bits on after-rounding
1815 systems when result rounded to normal precision would have normal
1816 exponent.
1817 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
1818 (__fmal): Do not extract and scale down low bits on after-rounding
1819 systems when result rounded to normal precision would have normal
1820 exponent.
1821 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
1822 macro.
1823 (fma_test): Add more tests.
1824 (fma_test_towardzero): Likewise.
1825 (fma_test_downward): Likewise.
1826 (fma_test_upward): Likewise.
1827
954ef0d9
L
18282012-10-30 H.J. Lu <hongjiu.lu@intel.com>
1829
1830 * sysdeps/i386/tininess.h: Renamed to ...
1831 * sysdeps/x86/tininess.h: This.
1832 * sysdeps/x86_64/tininess.h: Removed.
1833
df61ffb2
JM
18342012-10-30 Joseph Myers <joseph@codesourcery.com>
1835
1836 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
1837 input. Use $(build-program-cmd).
1838 ($(objpfx)tst-array1-static.out): Likewise.
1839 ($(objpfx)tst-array2.out): Likewise.
1840 ($(objpfx)tst-array3.out): Likewise.
1841 ($(objpfx)tst-array4.out): Likewise.
1842 ($(objpfx)tst-array5.out): Likewise.
1843 ($(objpfx)tst-array5-static.out): Likewise.
1844
01767843
CM
18452012-10-30 Chris Metcalf <cmetcalf@tilera.com>
1846
47cc1490
CM
1847 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
1848 if defined.
1849
01767843
CM
1850 * nss/nsswitch.h (nss_interface_function): Provide new
1851 macro for use with NSS functions.
1852 * grp/initgroups.c: Use new macro.
1853 * nss/getXXbyYY.c: Likewise.
1854 * nss/getXXbyYY_r.c: Likewise.
1855 * nss/getXXent.c: Likewise.
1856 * nss/getXXent_r.c: Likewise.
1857 * sysdeps/posix/getaddrinfo.c: Likewise.
1858
8321aa97
AJ
18592012-10-30 Andreas Jaeger <aj@suse.de>
1860
1861 * po/ru.po: Update Russion translation from translation project.
1862
2a27fd6d
JM
18632012-10-30 Joseph Myers <joseph@codesourcery.com>
1864
8627a232
JM
1865 [BZ #14152]
1866 [BZ #14783]
1867 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
1868 result and shift together with sticky bit instead of replicating
1869 round-to-nearest rounding.
1870 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1871 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1872 * math/libm-test.inc (fma_test): Add more tests. Do not permit
1873 missing underflow exceptions.
1874 (fma_test_towardzero): Add more tests.
1875 (fma_test_downward): Likewise.
1876 (fma_test_upward): Likewise.
1877
2a27fd6d
JM
1878 [BZ #14047]
1879 * sysdeps/generic/tininess.h: New file.
1880 * sysdeps/i386/tininess.h: Likewise.
1881 * sysdeps/sh/tininess.h: Likewise.
1882 * sysdeps/x86_64/tininess.h: Likewise.
1883 * stdlib/tst-strtod-underflow.c: Likewise.
1884 * stdlib/tst-tininess.c: Likewise.
1885 * stdlib/strtod_l.c: Include <tininess.h>.
1886 (round_and_return): Do not set errno for exact underflow cases.
1887 Force an underflow exception when setting errno for underflow.
1888 Determine underflow based on rounding to normal precision if
1889 TININESS_AFTER_ROUNDING.
1890 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
1891 ERANGE for exact underflow cases.
1892 * stdlib/Makefile (tests): Add tst-tininess and
1893 tst-strtod-underflow.
1894 ($(objpfx)tst-tininess): Use $(link-libm).
1895 ($(objpfx)tst-strtod-underflow): Likewise.
1896
e7170363
AJ
18972012-10-30 Andreas Jaeger <aj@suse.de>
1898
e5088dc6
AJ
1899 [BZ#14767]
1900 * elf/Makefile (tests): Remove conditional for have-initfini-array
1901 since this is now always required and the variable does not exist
1902 anymore.
1903 (tests-static): Likewise.
1904 (modules-names): Likewise.
1905
e7170363 1906 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
1907
1908 * elf/tst-array1.c (fini_array): Make writeable so that it can be
1909 merged with constructor/destructor.
1910 (init_array): Likewise.
1911 * elf/tst-array2dep.c (fini_array): Likewise.
1912 (init_array): Likewise.
1913
60457d8a
MF
19142012-10-29 Mike Frysinger <vapier@gentoo.org>
1915
1916 * manual/message.texi: Delete @cartouche tags.
1917
8bece752
PT
19182012-10-29 Pino Toscano <toscano.pino@tiscali.it>
1919
94ce799f
PT
1920 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
1921 EOPNOTSUPP.
1922 * sysdeps/mach/hurd/fsync.c: Likewise.
1923
8bece752
PT
1924 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
1925 [_POSIX_REALTIME_SIGNALS]: Change condition to
1926 [_POSIX_REALTIME_SIGNALS > 0].
1927
86ebe6b1
AJ
19282012-10-27 Andreas Jaeger <aj@suse.de>
1929
1930 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
1931 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
1932 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
1933 [__WORDSIZE != 64]: Likewise.
1934
54399c08
L
19352012-10-26 H.J. Lu <hongjiu.lu@intel.com>
1936
1937 * iconvdata/tst-table.sh: Remove ${SHELL}.
1938 * iconvdata/tst-tables.sh: Likewise.
1939
e2211bed
DM
19402012-10-25 David S. Miller <davem@davemloft.net>
1941
1942 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1943 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
1944 of strtoull.
1945
f303f97c
DM
1946 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
1947 ifunc-impl-list.c
1948 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1949 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
1950 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
1951 file.
1952
1e9d84cd
RM
19532012-10-25 Roland McGrath <roland@hack.frob.com>
1954
1955 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1956 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
1957 __getdirentries.
1958
df381762
JM
19592012-10-25 Joseph Myers <joseph@codesourcery.com>
1960 Jim Blandy <jimb@codesourcery.com>
1961
1962 * scripts/cross-test-ssh.sh: New file.
1963 * manual/install.texi (Configuring and compiling): Document use of
1964 cross-test-ssh.sh.
1965 * INSTALL: Regenerated.
1966
bff64913
PT
19672012-10-25 Pino Toscano <toscano.pino@tiscali.it>
1968
1969 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
1970 EOPNOTSUPP.
1971
25fe8932
JM
19722012-10-25 Joseph Myers <joseph@codesourcery.com>
1973
1974 * Makeconfig (run-program-prefix): Fix comment.
1975
cc1290d0
JM
19762012-10-24 Joseph Myers <joseph@codesourcery.com>
1977 Jim Blandy <jimb@codesourcery.com>
1978
1979 * Makeconfig (test-wrapper): New variable,
1980 (test-wrapper-env): Likewise.
1981 [$(cross-compiling) = yes && $(test-wrapper) != ""]
1982 (run-built-tests): Define to yes.
1983 (run-program-prefix): Use $(test-wrapper).
1984 (built-program-cmd): Likewise.
1985 * Rules (make-test-out): Use $(test-wrapper-env) and
1986 $(host-built-program-cmd).
1987 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
1988 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
1989 tst-pathopt.sh.
1990 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
1991 $(test-wrapper-env) to tst-rtld-load-self.sh.
1992 ($(objpfx)order2.out): Use $(test-wrapper).
1993 ($(objpfx)tst-initorder.out): Likewise.
1994 ($(objpfx)tst-initorder2.out): Likewise.
1995 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
1996 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
1997 (test_wrapper_env): New variable. Use it to run ld.so.
1998 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
1999 Use it to run ld.so.
2000 (test_wrapper_env): Likewise.
2001 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
2002 $(test-wrapper) to run-iconv-test.sh.
2003 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
2004 (ICONV): Use $test_wrapper.
2005 * posix/Makefile ($(objpfx)globtest.out): Pass
2006 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
2007 globtest.sh, not $(run-program-prefix).
2008 * posix/globtest.sh (run_via_rtld_prefix): New variable.
2009 (test_wrapper): Likewise.
2010 (test_wrapper_env): Likewise. Use it to run globtest with HOME
2011 set together with run_via_rtld_prefix.
2012 (run_program_prefix): Define in terms of test_wrapper and
2013 run_via_rtld_prefix.
2014
6e6249d0
RM
20152012-10-24 Roland McGrath <roland@hack.frob.com>
2016
2017 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
2018 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
2019 Targets removed.
2020
2021 [BZ #14743]
2022 * include/time.h: Remove librt_hidden_proto (clock_gettime).
2023 Declare __clock_getres, __clock_gettime, __clock_settime,
2024 __clock_nanosleep, and __clock_getcpuclockid.
2025 * rt/clock_gettime.c: Define __clock_gettime as an alias.
2026 Remove librt_hidden_def (clock_gettime).
2027 * sysdeps/unix/clock_gettime.c: Likewise.
2028 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
2029 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2030 * rt/clock_getres.c: Define __clock_getres as an alias.
2031 * sysdeps/posix/clock_getres.c: Likewise.
2032 * rt/clock_settime.c: Define __clock_settime as an alias.
2033 * sysdeps/unix/clock_settime.c: Likewise.
2034 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
2035 * sysdeps/unix/clock_nanosleep.c: Likewise.
2036 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2037 * rt/clock-compat.c: New file.
2038 * rt/Makefile (librt-routines): Add clock-compat and move
2039 $(clock-routines) to ...
2040 (routines): ... here, new variable.
2041 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
2042 Don't add get_clockfreq here.
2043 * rt/Versions (libc: GLIBC_2.17): New version set.
2044 Add clock_* symbols here.
2045 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
2046 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
2047 (GLIBC_2.17): Add clock_* symbols.
2048 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2049 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2050 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2052 Likewise.
2053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2054 Likewise.
2055 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2056 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2057 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2058 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2059 * NEWS: Mention the move.
2060
2061 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2062 Use __open, __read, __close rather than their public counterparts.
2063 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2064 (__get_clockfreq_via_cpuinfo): Likewise.
2065 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
2066 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
2067
2068 * config.h.in (HAVE_IFUNC): New #undef.
2069 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
2070 was successful.
2071 * configure: Regenerated.
2072
0cae3f4b
MF
20732012-10-24 Mike Frysinger <vapier@gentoo.org>
2074
2075 * configure.in: Move READELF check to start of file.
2076 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
2077 libc_cv_asm_gnu_indirect_function in the process.
2078 * configure: Regenerated.
2079
8175a253
MF
20802012-10-24 Mike Frysinger <vapier@gentoo.org>
2081
2082 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
2083 send the output to /dev/null.
2084 (libc_cv_cc_with_libunwind): Likewise.
2085 (libc_cv_as_noexecstack): Likewise.
2086 * configure: Regenerate.
2087
0708a7d1
JM
20882012-10-24 Joseph Myers <joseph@codesourcery.com>
2089
10b40d85
JM
2090 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
2091
0708a7d1
JM
2092 * posix/globtest.sh (TMPDIR): Do not set.
2093 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
2094 (testout): Likewise.
2095
9fddec1a
AJ
20962012-10-24 Andreas Jaeger <aj@suse.de>
2097
3a8db22f
AJ
2098 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
2099 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
2100 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
2101 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
2102 posix_fadvise64, posix_fallocate64.
2103
9fddec1a
AJ
2104 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
2105 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
2106 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
2107 Likewise.
2108 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
2109 Likewise.
2110 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
2111
2112 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
2113 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
2114 <bits/fcntl-linux.h>.
2115 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
2116
2117 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
2118 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
2119 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
2120 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
2121 [__WORDSIZE != 64]: Likewise.
2122
ebfd1bbd
JM
21232012-10-23 Joseph Myers <joseph@codesourcery.com>
2124
03ac099f
JM
2125 * Makeconfig (run-built-tests): New variable.
2126 * Rules [$(cross-compiling) = yes]: Change condition to
2127 [$(run-built-tests) = no].
2128 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
2129 to [$(run-built-tests) = yes].
2130 * elf/Makefile [$(cross-compiling) = no]: Likewise
2131 * grp/Makefile [$(cross-compiling) = no]: Likewise.
2132 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
2133 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
2134 * intl/Makefile [$(cross-compiling) = no]: Likewise.
2135 * io/Makefile [$(cross-compiling) = no]: Likewise.
2136 * libio/Makefile [$(cross-compiling) = no]: Likewise.
2137 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
2138 * misc/Makefile [$(cross-compiling) = no]: Likewise.
2139 * posix/Makefile [$(cross-compiling) = no]: Likewise.
2140 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
2141 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
2142 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
2143 * string/Makefile [$(cross-compiling) = no]: Likewise.
2144
ebfd1bbd
JM
2145 * posix/Makefile ($(objpfx)globtest.out): Pass
2146 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
2147 $(rtld-installed-name).
2148 * posix/globtest.sh (elf_objpfx): Remove variable.
2149 (rtld_installed_name): Likewise.
2150 (library_path): Likewise.
2151 (run_program_prefix): New variable. Use for running globtest
2152 binary.
2153
166bca24
JB
21542012-10-23 Jim Blandy <jimb@codesourcery.com>
2155 Joseph Myers <joseph@codesourcery.com>
2156
2157 * Makeconfig (host-built-program-cmd): New variable.
2158 * elf/Makefile (tst-stackguard1-ARGS): Use
2159 $(host-built-program-cmd).
2160 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
2161 (tst-spawn-ARGS): Likewise.
2162 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
2163
88866099
JM
21642012-10-23 Joseph Myers <joseph@codesourcery.com>
2165 Jim Blandy <jimb@codesourcery.com>
2166
2167 * Makeconfig (run-via-rtld-prefix): New variable.
2168 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
2169 (built-program-cmd): Likewise.
2170
b4b4c296
AJ
21712012-10-22 Andreas Jaeger <aj@suse.de>
2172
2173 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
2174 __O_RSYNC if it exists, otherwise to O_SYNC.
2175
6fb54a22
JB
21762012-10-22 Jim Blandy <jimb@codesourcery.com>
2177 Joseph Myers <joseph@codesourcery.com>
2178
2179 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
2180 /dev/null.
2181 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
2182 from /dev/null
2183 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
2184 /dev/null.
2185
481b90b9
AJ
21862012-10-22 Andreas Jaeger <aj@suse.de>
2187
2a0e2669
AJ
2188 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
2189 Define always.
2190 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
2191
76e38f9a
AJ
2192 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2193 bits/fcntl-linux.h.
2194
7cd37b43
AJ
2195 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
2196 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
2197
481b90b9
AJ
2198 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
2199 to __O_LARGEFILE.
2200 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
2201 to __O_LARGEFILE.
2202
aba75984
JB
22032012-10-21 Jim Blandy <jimb@codesourcery.com>
2204 Joseph Myers <joseph@codesourcery.com>
2205
2206 * config.make.in (NM): New variable.
2207
88d4247f
AJ
22082012-10-21 Andreas Jaeger <aj@suse.de>
2209
2210 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
2211 definitions and declarations that are provided by
2212 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2213
f2eed205
L
22142012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2215
2216 [BZ #14683]
2217 * elf/Makefile (tests-static): Add tst-leaks1-static.
2218 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
2219 ($(objpfx)tst-leaks1-static): New rule.
2220 ($(objpfx)tst-leaks1-static-mem): Likewise.
2221 (tst-leaks1-static-ENV): New macro.
2222 * elf/dl-open.c (dl_open_worker): Check the main application
2223 only if SHARED is defined.
2224 * elf/tst-leaks1-static.c: New file.
2225
335e6931
AJ
22262012-10-20 Andreas Jaeger <aj@suse.de>
2227
2228 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
2229 generic values for Linux.
2230 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
2231 and declarations that are provided by <bits/fcntl-linux.h> and
2232 include <bits/fcntl-linux.h>.
2233 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2234 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
2235
ac5c94d3
RM
22362012-10-20 Roland McGrath <roland@hack.frob.com>
2237
2238 * io/fcntl.h: Move include of <bits/types.h> to the top and
2239 include it unconditionally.
2240
de54b33a
L
22412012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2242
228cfb01
L
2243 * wcsmbs/Makefile (tests-ifunc): New variable.
2244 (tests): Add $(tests-ifunc).
2245 * wcsmbs/test-wcschr-ifunc.c: New file.
2246 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2247 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2248 * wcsmbs/test-wcslen-ifunc.c: Likewise.
2249 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2250 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2251
69f07e5f
L
2252 * string/Makefile (tests-ifunc): New variable.
2253 (tests): Add $(tests-ifunc).
2254 * string/test-memccpy.c (TEST_NAME): New macro.
2255 * string/test-memchr.c (TEST_NAME): Likewise.
2256 * string/test-memcmp.c (TEST_NAME): Likewise.
2257 * string/test-memcpy.c (TEST_NAME): Likewise.
2258 * string/test-memmem.c (TEST_NAME): Likewise.
2259 * string/test-memmove.c (TEST_NAME): Likewise.
2260 * string/test-memset.c (TEST_NAME): Likewise.
2261 * string/test-rawmemchr.c (TEST_NAME): Likewise.
2262 * string/test-stpcpy.c (TEST_NAME): Likewise.
2263 * string/test-stpncpy.c (TEST_NAME): Likewise.
2264 * string/test-strcasecmp.c (TEST_NAME): Likewise.
2265 * string/test-strcasestr.c (TEST_NAME): Likewise.
2266 * string/test-strcat.c (TEST_NAME): Likewise.
2267 * string/test-strchr.c (TEST_NAME): Likewise.
2268 * string/test-strcmp.c(TEST_NAME): Likewise.
2269 * string/test-strcpy.c (TEST_NAME): Likewise.
2270 * string/test-strcspn.c (TEST_NAME): Likewise.
2271 * string/test-strlen.c (TEST_NAME): Likewise.
2272 * string/test-strncasecmp.c (TEST_NAME): Likewise.
2273 * string/test-strncmp.c (TEST_NAME): Likewise.
2274 * string/test-strncpy.c (TEST_NAME): Likewise.
2275 * string/test-strnlen.c (TEST_NAME): Likewise.
2276 * string/test-strpbrk.c (TEST_NAME): Likewise.
2277 * string/test-strrchr.c (TEST_NAME): Likewise.
2278 * string/test-strspn.c (TEST_NAME): Likewise.
2279 * string/test-strstr.c (TEST_NAME): Likewise.
2280 * string/test-bcopy-ifunc.c: New file.
2281 * string/test-bzero-ifunc.c: Likewise.
2282 * string/test-memccpy-ifunc.c: Likewise.
2283 * string/test-memchr-ifunc.c: Likewise.
2284 * string/test-memcmp-ifunc.c: Likewise.
2285 * string/test-memcpy-ifunc.c: Likewise.
2286 * string/test-memmem-ifunc.c: Likewise.
2287 * string/test-memmove-ifunc.c: Likewise.
2288 * string/test-mempcpy-ifunc.c: Likewise.
2289 * string/test-memset-ifunc.c: Likewise.
2290 * string/test-rawmemchr-ifunc.c: Likewise.
2291 * string/test-stpcpy-ifunc.c: Likewise.
2292 * string/test-stpncpy-ifunc.c: Likewise.
2293 * string/test-strcasecmp-ifunc.c: Likewise.
2294 * string/test-strcasestr-ifunc.c: Likewise.
2295 * string/test-strcat-ifunc.c: Likewise.
2296 * string/test-strchr-ifunc.c: Likewise.
2297 * string/test-strchrnul-ifunc.c: Likewise.
2298 * string/test-strcmp-ifunc.c: Likewise.
2299 * string/test-strcpy-ifunc.c: Likewise.
2300 * string/test-strcspn-ifunc.c: Likewise.
2301 * string/test-strlen-ifunc.c: Likewise.
2302 * string/test-strncasecmp-ifunc.c: Likewise.
2303 * string/test-strncat-ifunc.c: Likewise.
2304 * string/test-strncmp-ifunc.c: Likewise.
2305 * string/test-strncpy-ifunc.c: Likewise.
2306 * string/test-strnlen-ifunc.c: Likewise.
2307 * string/test-strpbrk-ifunc.c: Likewise.
2308 * string/test-strrchr-ifunc.c: Likewise.
2309 * string/test-strspn-ifunc.c: Likewise.
2310 * string/test-strstr-ifunc.c: Likewise.
2311
de54b33a
L
2312 * debug/Makefile (tests-ifunc): New variable.
2313 (tests): Add $(tests-ifunc).
2314 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
2315 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
2316 * debug/test-stpcpy_chk-ifunc.c: New file.
2317 * debug/test-strcpy_chk-ifunc.c: Likewise.
2318
88481c16
SP
23192012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2320
2321 [BZ #13601]
2322 * elf/dl-load.c (open_verify): Retry read if the entire ELF
2323 header is not read in.
2324
135948bd
JM
23252012-10-19 Joseph Myers <joseph@codesourcery.com>
2326
89f1c388
JM
2327 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
2328 script to $(SHELL) as $<. Pass $(common-objpfx) to script
2329 directly. Pass built executable to script as
2330 $(built-program-cmd).
2331 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
2332 $testprogram without using LD_LIBRARY_PATH and $ldso.
2333
e40a0d21
JM
2334 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
2335 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
2336 $(rtld-installed-name).
2337 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
2338 (rtld_installed_name): Likewise.
2339 (library_path): Likewise.
2340 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
2341 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
2342 $(run-program-prefix) to tst-tables.sh.
2343 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
2344 it to run tst-table-from and tst-table-to.
2345 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
2346 Pass it to tst-table.sh.
2347 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
2348 $(run-program-prefix) to tst-gettext.sh.
2349 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
2350 tst-translit.sh.
2351 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
2352 tst-gettext2.sh.
2353 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
2354 to run tst-gettext.
2355 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
2356 to run tst-gettext2.
2357 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
2358 to run tst-translit.
2359 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
2360 $(run-program-prefix) to tst-mtrace.sh.
2361 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
2362 to run tst-mtrace.
2363 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
2364 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
2365 $(rtld-installed-name).
2366 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
2367 (rtld_installed_name): Likewise.
2368 (run_program_prefix): New variable. Use it to run wordexp-test.
2369
728e272a
JM
2370 * Makeconfig (ARCH): Remove all definitions.
2371 (machine): Likewise.
2372 [ARCH]: Remove conditional code.
2373 [!objdir]: Give error.
2374 [!objdir] (objpfx): Remove.
2375 [!objdir] (common-objpfx): Likewise.
2376 [!objdir] (common-objdir): Likewise.
2377 * configure.in (config_makefile): Remove. Hardcode Makefile in
2378 AC_CONFIG_FILES call.
2379 * configure: Regenerated.
2380
d528cdcf
JM
2381 [BZ #13888]
2382 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
2383 or TMPDIR.
2384 (testout): Likewise.
2385
135948bd
JM
2386 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
2387 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
2388 $(rtld-installed-name).
2389 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
2390 (rtld_installed_name): Likwise.
2391 (runit): Remove function.
2392 (run_getconf): New variable, Use it for running getconf binary.
2393
38c78296
L
23942012-10-18 H.J. Lu <hongjiu.lu@intel.com>
2395
2396 [BZ #14716]
2397 * string/test-memmem.c (check_result): New function.
2398 (do_one_test): Use it.
2399 (check1): New function.
2400 (test_main): Use it.
2401
d077f65f
MT
24022012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
2403
2404 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
2405
ced52c71
JM
24062012-10-18 Joseph Myers <joseph@codesourcery.com>
2407
2408 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
2409 (_G_LSEEK64): Likewise.
2410 (_G_MMAP64): Likewise.
2411 (_G_FSTAT64): Likewise.
2412 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
2413 (_G_LSEEK64): Likewise.
2414 (_G_MMAP64): Likewise.
2415 (_G_FSTAT64): Likewise.
2416 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
2417 unconditional. Call __mmap64 directly.
2418 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
2419 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
2420 __lseek64 directly.
2421 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
2422 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
2423 __mmap64 directly.
2424 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
2425 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
2426 __lseek64 directly.
2427 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
2428 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
2429 __lseek64 directly.
2430 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
2431 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
2432 __lseek64 directly.
2433 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
2434 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
2435 __fxstat64 directly.
2436 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
2437 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
2438 unconditional.
2439 (freopen64) [!_G_OPEN64]: Remove conditional code.
2440 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
2441 unconditional.
2442 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
2443 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
2444 unconditional.
2445 (ftello64) [!_G_LSEEK64]: Remove conditional code.
2446 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
2447 unconditional.
2448 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2449 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
2450 unconditional.
2451 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
2452 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
2453 unconditional.
2454 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2455 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
2456 unconditional.
2457 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2458 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
2459 unconditional.
2460 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2461
b741de23
SP
24622012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2463
2464 [BZ #12140]
2465 * manual/memory.texi (Malloc Tunable Parameters): Add note
2466 about free list pointers overwriting some perturb bytes.
2467 Wording suggested by Roland McGrath.
2468
f9b9d9c9
JM
24692012-10-17 Joseph Myers <joseph@codesourcery.com>
2470
2471 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
2472 (lgamma_test): Likewise.
2473 (tgamma_test): Likewise.
2474
172a631a
FW
24752012-10-16 Florian Weimer <fweimer@redhat.com>
2476
2477 [BZ #14700]
2478 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
2479 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
2480
e9f37252
MK
24812012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
2482
2483 * NEWS: Mention BZ #14716.
2484 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
2485 when removing AVAILABLE1_USES_J macro.
2486
d394eb74
L
24872012-10-12 H.J. Lu <hongjiu.lu@intel.com>
2488
2489 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
2490 (__bswap_64): __uint64_t for unsigned 64-bit int.
2491
ca38dc17
AS
24922012-10-12 Andreas Schwab <schwab@linux-m68k.org>
2493
2494 * include/string.h (memmem): Declare libc hidden alias.
2495 * string/memmem.c (memmem): Define libc hidden alias.
2496 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
2497 __read, __close instead of open, read, close.
2498
9a387d1f
L
24992012-10-11 H.J. Lu <hongjiu.lu@intel.com>
2500
ac49ecaf
L
2501 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
2502 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
2503 global and hidden.
2504 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
2505 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
2506 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
2507 Likewise.
2508 (__rawmemchr_sse2): Likewise.
2509 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
2510 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
2511 (__strchr_sse2): Likewise.
2512 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
2513 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
2514 (__strcasecmp_sse2): Likewise.
2515 (__strncasecmp_sse2): Likewise.
2516 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
2517 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
2518 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
2519 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
2520 (__strrchr_sse2): Likewise.
2521 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
2522 ifunc-impl-list.c.
2523 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2524 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2525 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2526 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2527 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2528 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2529 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2530 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2531 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
2532 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
2533 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
2534 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
2535 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
2536 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2537 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2538 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2539 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2540 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2541 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
2542 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
2543 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
2544 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
2545 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
2546 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
2547 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
2548 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2549 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2550 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2551 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2552 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2553
b090e8ea
L
2554 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
2555 global and hidden.
2556 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
2557 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
2558 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
2559 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
2560 Likewise.
2561 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
2562 Likewise.
2563 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
2564 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
2565 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
2566 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
2567 ifunc-impl-list.c.
2568 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2569 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2570 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2571 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2572 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2573 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2574 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2575 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2576 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2577 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2578 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2579 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2580 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2581 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
2582 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
2583 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2584 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
2585 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
2586 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2587 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2588 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2589 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2590 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2591 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2592 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2593 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
2594 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
2595 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
2596 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
2597 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2598 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
2599 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2600 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2601 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
2602 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2603 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2604 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2605 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2606 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2607 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2608 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
2609
11dd4af6
L
2610 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
2611 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
2612 * include/ifunc-impl-list.h: New file.
2613 * misc/ifunc-impl-list.c: Likewise.
2614 * misc/Makefile (routines): Add ifunc-impl-list.
2615 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
2616 * string/test-string.h: Include <ifunc-impl-list.h>.
2617 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
2618 impl_array): New variables.
2619 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
2620 are defined.
2621 (test_init): Call __libc_ifunc_impl_list to initialize
2622 func_list if TEST_IFUNC and TEST_NAME are defined.
2623
9a387d1f
L
2624 * string/Makefile (strop-tests): Add bcopy and bzero.
2625 * string/test-bcopy.c: New file.
2626 * string/test-bzero.c: Likewise.
2627 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
2628 defined.
2629 * string/test-memset.c: Support bzero test if TEST_BZERO is
2630 defined.
2631 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
2632 __libc_memmove.
2633 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
2634 __libc_memset.
2635 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
2636 of memset.
2637
472371b9
JM
26382012-10-10 Joseph Myers <joseph@codesourcery.com>
2639
1e4a9536
JM
2640 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
2641 * configure: Regenerated.
2642
d173d12e
JM
2643 * Makeconfig (+link-static-before-libc): Don't include
2644 $(link-static-libc).
2645
472371b9
JM
2646 * libio/libio.h (_IO_pos_t): Remove.
2647
89a3ad0b
AO
26482012-10-10 Alexandre Oliva <aoliva@redhat.com>
2649
2650 * NEWS: Add note about FIPS mode. Wording suggested by Roland
2651 McGrath.
2652
e7451425
AO
26532012-10-10 Alexandre Oliva <aoliva@redhat.com>
2654
2655 * crypt/crypt-entry.c: Include fips-private.h.
2656 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
2657 * crypt/md5c-test.c (main): Tolerate disabled MD5.
2658 * sysdeps/unix/sysv/linux/fips-private.h: New file.
2659 * sysdeps/generic/fips-private.h: New file, dummy fallback.
2660
4ba74a35
AO
26612012-10-10 Alexandre Oliva <aoliva@redhat.com>
2662
2663 * crypt/crypt-private.h: Include stdbool.h.
2664 (_ufc_setup_salt_r): Return bool.
2665 * crypt/crypt-entry.c: Include errno.h.
2666 (__crypt_r): Return NULL with EINVAL for bad salt.
2667 * crypt/crypt_util.c (bad_for_salt): New.
2668 (_ufc_setup_salt_r): Check that salt is long enough and within
2669 the specified alphabet.
2670 * crypt/badsalttest.c: New file.
2671 * crypt/Makefile (tests): Add it.
2672 ($(objpfx)badsalttest): New.
2673
f96f1242
MK
26742012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
2675
2676 * NEWS: Add entry for BZ #14602.
2677
0e8e0c1c
JM
26782012-10-09 Joseph Myers <joseph@codesourcery.com>
2679
2680 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
2681 type-generic.
2682 * math/libm-test.inc: Update comment listing what functions and
2683 macros are tested.
2684 (isgreater_test): New function.
2685 (isgreaterequal_test): Likewise.
2686 (isless_test): Likewise.
2687 (islessequal_test): Likewise.
2688 (islessgreater_test): Likewise.
2689 (isunordered_test): Likewise.
2690 (main): Call the new functions.
2691
273edc5e
RM
26922012-10-09 Roland McGrath <roland@hack.frob.com>
2693
b8493de0
RM
2694 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
2695 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
2696 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
2697 * sysdeps/i386/configure: Regenerated.
2698 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
2699 * sysdeps/mach/configure: Regenerated.
2700 * sysdeps/mach/hurd/configure: Regenerated.
2701 * sysdeps/powerpc/configure: Regenerated.
2702 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2703 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2704 * sysdeps/s390/s390-32/configure: Regenerated.
2705 * sysdeps/s390/s390-64/configure: Regenerated.
2706 * sysdeps/sh/configure: Regenerated.
2707 * sysdeps/sparc/configure: Regenerated.
2708 * sysdeps/unix/sysv/linux/configure: Regenerated.
2709 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2710 * sysdeps/x86_64/configure: Regenerated.
2711
273edc5e
RM
2712 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
2713 defined. Don't check if MAP is NULL.
2714
c8450f70
JM
27152012-10-09 Joseph Myers <joseph@codesourcery.com>
2716
2717 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
2718 (_G_stat64): Likewise.
2719 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
2720 (_G_stat64): Likewise.
2721 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
2722 instead of struct _G_stat64.
2723 * libio/fileops.c (mmap_remap_check): Likewise.
2724 (decide_maybe_mmap): Likewise.
2725 (_IO_new_file_seekoff): Likewise.
2726 (_IO_file_stat): Likewise.
2727 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
2728 _G_off64_t.
2729 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
2730 instead of struct _G_stat64.
2731 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
2732
57e605ba
MK
27332012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
2734
2735 [BZ #14602]
2736 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2737 Replace with ...
2738 (CHECK_EOL): New macro.
2739 (two_way_short_needle): Check beginning of haystack for EOL. Use
2740 CHECK_EOL.
2741 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2742 Replace with CHECK_EOL.
2743 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2744 Replace with CHECK_EOL.
2745
ef1bb361
JM
27462012-10-08 Joseph Myers <joseph@codesourcery.com>
2747
2748 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
2749 type-generic.
2750 * math/libm-test.inc: Update comment listing what functions and
2751 macros are tested.
2752 (finite_test): New function.
2753 (isinf_test): Likewise.
2754 (isnan_test): Likewise.
2755 (fpclassify_test): Test subnormal input.
2756 (isfinite_test): Likewise.
2757 (isnormal_test): Likewise.
2758 (main): Call the new functions.
2759
55f11534
JN
27602012-10-08 Jonathan Nieder <jrnieder@gmail.com>
2761
2762 [BZ #14660]
2763 * Makerules (%.dynsym): Force C locale when running
2764 $(OBJDUMP) --dynamic-syms.
2765
1ab29350
AS
27662012-10-08 Andreas Schwab <schwab@linux-m68k.org>
2767
2768 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
2769 <stdint.h>.
2770
f1ecb7ef
DM
27712012-10-06 David S. Miller <davem@davemloft.net>
2772
2773 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
2774 upper 32-bits of the length value in %o2 since we use branch-on-register
2775 tests which consider the entire 64-bit register.
2776
5d41d91a
L
27772012-10-06 H.J. Lu <hongjiu.lu@intel.com>
2778
2779 * string/test-strstr.c (check2): Add a test for page boundary.
2780
3baddb72
DM
27812012-10-05 David S. Miller <davem@davemloft.net>
2782
2783 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
2784 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
2785 file.
2786 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
2787 sysdep_routines.
2788 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
2789 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
2790 and bzero when HWCAP_SPARC_CRYPTO is present.
2791
9cee5585
L
27922012-10-05 H.J. Lu <hongjiu.lu@intel.com>
2793
d7e0dab9
L
2794 [BZ #14602]
2795 * string/test-strstr.c (check2): New function.
2796 (test_main): Call check2.
2797
03759f47
L
2798 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
2799 and bug-strchr1.
2800 * string/bug-strcasestr1.c (do_test): Moved to ...
2801 * string/test-strcasestr.c (check1): Here. New function.
2802 (do_one_test): Break out result checking code into ...
2803 (check_result): This. New function.
2804 (do_one_test): Call check_result.
2805 (test_main): Call check1.
2806 * string/bug-strchr1.c (do_test): Moved to ...
2807 * string/test-strchr.c (check1): Here. New function.
2808 (do_one_test): Break out result checking code into ...
2809 (check_result): This. New function.
2810 (do_one_test): Call check_result.
2811 (test_main): Call check1.
2812 * string/bug-strstr1.c (main): Moved to ...
2813 * string/test-strchr.c (check1): Here. New function.
2814 (do_one_test): Break out result checking code into ...
2815 (check_result): This. New function.
2816 (do_one_test): Call check_result.
2817 (test_main): Call check1.
2818 * string/bug-strcasestr1.c: Removed.
2819 * string/bug-strchr1.c: Likewise.
2820 * string/bug-strstr1.c: Likewise.
2821
53cea63e
L
2822 * elf/Makefile (dl-routines): Add hwcaps.
2823 * elf/dl-support.c (_dl_important_hwcaps): Removed.
2824 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
2825 (_dl_important_hwcaps): Moved to ...
2826 * elf/dl-hwcaps.c: Here. New file.
2827 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
2828
9cee5585 2829 [BZ #14557]
bb859b06
L
2830 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
2831 if IS_IN_rtld isn't defined.
2832
9cee5585
L
2833 * elf/dl-support.c (_dl_sysinfo_map): New.
2834 Include "get-dynamic-info.h" and "setup-vdso.h".
2835 (_dl_non_dynamic_init): Call setup_vdso.
2836 * elf/dynamic-link.h: Don't include <assert.h>.
2837 (elf_get_dynamic_info): Moved to ...
2838 * elf/get-dynamic-info.h: Here. New file.
2839 * elf/dynamic-link.h: Include "get-dynamic-info.h".
2840 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
2841 * elf/setup-vdso.h: Here. New file.
2842 * elf/rtld.c: Include "setup-vdso.h".
2843 (dl_main): Call setup_vdso.
2844
23c31b76
JM
28452012-10-05 Joseph Myers <joseph@codesourcery.com>
2846
28234b07
JM
2847 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
2848 creal in comment listing functions tested. List finite, isinf,
2849 isnan, isless, islessequal, isgreater, isgreaterequal,
2850 islessgreater, isunordered, lgamma_r and pow10 as functions and
2851 macros not tested. Mention which functions not tested are aliases
2852 for other functions. Fix typo. Note that signs of NaNs are not
2853 tested.
2854
23c31b76
JM
2855 * scripts/config.guess: Update from config.git.
2856 * scripts/config.sub: Likewise.
2857
9043e228
RM
28582012-10-04 Roland McGrath <roland@hack.frob.com>
2859
2860 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
2861 * misc/madvise.c (madvise): Renamed to __madvise.
2862 Make madvise a weak alias.
2863 * include/sys/mman.h: Declare __madvise.
2864 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
2865 * sysdeps/unix/syscalls.list
2866 (madvise): Make __madvise the strong name, and madvise a weak alias.
2867 * sysdeps/unix/sysv/linux/syscalls.list
2868 (madvise, mmap): Remove redundant entries.
2869 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
2870 * malloc/malloc.c (mtrim): Likewise.
2871 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
2872
f57f8055
RM
28732012-10-03 Roland McGrath <roland@hack.frob.com>
2874
2875 * sysdeps/mach/hurd/dl-cache.c: File removed.
2876 * config.h.in (USE_LDCONFIG): New #undef.
2877 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
2878 * configure: Regenerated.
2879 * elf/Makefile (dl-routines): Add dl-cache only under
2880 [$(use-ldconfig) = yes].
2881 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
2882 cache on [USE_LDCONFIG].
2883 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
2884 [USE_LDCONFIG].
2885 * elf/rtld.c (dl_main): Likewise.
2886
5bb0c10a
PT
28872012-10-03 Pino Toscano <toscano.pino@tiscali.it>
2888
2889 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
2890 _SC_LEVEL4_CACHE_LINESIZE.
2891
010188c6
RM
28922012-10-03 Roland McGrath <roland@hack.frob.com>
2893
2894 * sysdeps/unix/bsd/confstr.h: File removed.
2895
b6c5ec07
AO
28962012-10-02 Alexandre Oliva <aoliva@redhat.com>
2897
2898 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
2899 sys/sdt-config.h.
2900
408223d4
RM
29012012-10-02 Roland McGrath <roland@hack.frob.com>
2902
2903 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
2904 Make 'mapoff' field ElfW(Off) rather than off_t.
2905
bb9510dc
DL
29062012-10-02 Dmitry V. Levin <ldv@altlinux.org>
2907
fc997c6e
DL
2908 * nscd/Makefile: Remove nscd-cflags and all its users.
2909 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
2910 (CFLAGS-nonlib): Add compiler flags for nscd modules.
2911
bb9510dc
DL
2912 [BZ #10631]
2913 * malloc.c (malloc_printerr): Clarify error message.
2914
05699367
L
29152012-10-02 H.J. Lu <hongjiu.lu@intel.com>
2916
2917 [BZ #14648]
2918 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2919 Set bit_FMA_Usable if FMA is supported.
2920 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
2921 macro.
2922 (bit_FMA4_Usable): Updated.
2923 (index_FMA_Usable): New macro.
2924 (CPUID_FMA): Likewise
2925 (HAS_FMA): Defined with bit_FMA_Usable.
2926
51367701
RM
29272012-10-01 Roland McGrath <roland@hack.frob.com>
2928
2929 * bits/types.h (__swblk_t): Type removed.
2930 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
2931 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
2932 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2933 (__SWBLK_T_TYPE): Likewise.
2934 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2935 (__SWBLK_T_TYPE): Likewise.
2936 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2937 (__SWBLK_T_TYPE): Likewise.
2938 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2939 (__SWBLK_T_TYPE): Likewise.
2940
4d57bf63 29412012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 2942 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
2943
2944 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
2945 (xdr_mapname): Use YPMAXMAP as maxsize.
2946 (xdr_peername): Use YPMAXPEER as maxsize.
2947 (xdr_keydat): Use YPAXRECORD as maxsize.
2948 (xdr_valdat): Use YPMAXRECORD as maxsize.
2949
93c65d43
RM
29502012-10-01 Roland McGrath <roland@hack.frob.com>
2951
497a03d6
RM
2952 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
2953
93c65d43
RM
2954 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
2955 * csu/init-first.c: ... here.
2956 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
2957 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
2958 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
2959 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
2960 * sysdeps/i386/init-first.c: File removed.
2961 * sysdeps/sh/init-first.c: File removed.
2962
bec749fd
JM
29632012-10-01 Joseph Myers <joseph@codesourcery.com>
2964
2965 [BZ #14645]
2966 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
2967 if x * y might underflow to zero and z is zero.
2968 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2969 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2970 * math/libm-test.inc (min_subnorm_value): New variable.
2971 (fma_test): Add more tests.
2972 (fma_test_towardzero): Likewise.
2973 (fma_test_downward): Likewise
2974 (fma_test_upward): Likewise.
2975 (initialize): Set min_subnorm_value.
2976
8ec5b013
JM
29772012-09-29 Joseph Myers <joseph@codesourcery.com>
2978
2979 [BZ #14638]
2980 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
2981 0 + 0.
2982 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
2983 mode for addition resulting in exact zero.
2984 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
2985 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
2986 exact 0 + 0.
2987 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2988 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2989 * math/libm-test.inc (fma_test): Add more tests.
2990 (fma_test_towardzero): New function.
2991 (fma_test_downward): Likewise.
2992 (fma_test_upward): Likewise.
2993 (main): Call the new functions.
2994
b1fa802e
DM
29952012-09-28 David S. Miller <davem@davemloft.net>
2996
2997 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
2998
d3b9fd9e
RM
29992012-09-28 Roland McGrath <roland@hack.frob.com>
3000
ea4d37b3
RM
3001 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
3002 instead of SIGALRM.
3003
ac51c949
RM
3004 * sysdeps/gnu/_G_config.h: Moved to ...
3005 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
3006 * sysdeps/mach/hurd/_G_config.h: Moved to ...
3007 * sysdeps/generic/_G_config.h: ... here.
3008
28c195f7
RM
3009 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
3010
848917f9
RM
3011 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
3012
6bacf05b
RM
3013 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
3014 Conditionalize target on [libnss_test1.so-version].
3015
91363dbb
RM
3016 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
3017
cc87f7d8
RM
3018 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
3019 (elfobjdir): Move out of conditionals.
3020
b1c608fe
RM
3021 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
3022 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
3023 (__nss_lookup_function): Conditionalize label remove_from_tree on
3024 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 3025
1d9a6d96
DM
30262012-09-28 David S. Miller <davem@davemloft.net>
3027
3028 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
3029 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
3030 file.
3031 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3032 sysdep_routines.
3033 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3034 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
3035 when HWCAP_SPARC_CRYPTO is present.
3036
72581615
PT
30372012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3038
3039 * io/tst-mknodat.c: Create a FIFO instead of a socket.
3040
715a900c
JL
30412012-09-28 Andreas Schwab <schwab@linux-m68k.org>
3042
3043 [BZ #6530]
3044 * stdio-common/vfprintf.c (process_string_arg): Revert
3045 2000-07-22 change.
3046
30472011-09-28 Jonathan Nieder <jrnieder@gmail.com>
3048
3049 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
3050 for testcase.
3051 * stdio-common/tst-sprintf.c: Include <locale.h>
3052 (main): Test sprintf's handling of incomplete multibyte
3053 characters.
3054
9bac1d86
L
30552012-09-28 H.J. Lu <hongjiu.lu@intel.com>
3056
3057 * elf/dl-runtime.c (VERSYMIDX): Removed.
3058 * elf/dl-version.c (VERSYMIDX): Likewise.
3059 * elf/do-rel.h (VERSYMIDX): Likewise.
3060 (VALIDX): Likewise.
3061 * elf/dynamic-link.h (VERSYMIDX): Likewise.
3062 * elf/rtld.c (VALIDX): Likewise.
3063 (ADDRIDX): Likewise.
9bac1d86
L
3064 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
3065 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
3066 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
3067 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
3068 (VALIDX): Likewise.
3069 (ADDRIDX): Likewise.
9bac1d86 3070
b31606c0
PT
30712012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3072
3073 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
3074
11541177
JL
30752012-09-28 Dmitry V. Levin <ldv@altlinux.org>
3076
3077 [BZ #11438]
3078 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
3079 to global scope.
3080 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
3081 addresses are in the same scope as 192.0.2/24.
3082 * posix/gai.conf: Document new scope table defaults.
3083
adb26fae
SP
30842012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3085
3086 [BZ #5298]
3087 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
3088 for ftell. Compute offsets from write pointers instead.
3089 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3090
4573c6b0
SP
30912012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3092
3093 [BZ #14543]
3094 * libio/Makefile (tests): New test case tst-fseek.
3095 * libio/tst-fseek.c: New test case to verify that fseek/ftell
3096 combination works in wide mode.
3097 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
3098 state when the external buffer state changes.
3099
aa9bbfe6
DM
31002012-09-27 David S. Miller <davem@davemloft.net>
3101
3102 [BZ #14376]
3103 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
3104 pass reloc->r_addend in as the 'high' argument to
3105 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
3106
784421e7
DM
3107 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3108
c39bc8b8
PT
31092012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3110
3111 * rt/tst-aio2.c: Include <pthread.h>.
3112 * rt/tst-aio3.c: Likewise.
3113
1ccc2399
SE
31142012-09-27 Steve Ellcey <sellcey@mips.com>
3115
3116 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
3117
31ed4153
L
31182012-09-27 H.J. Lu <hongjiu.lu@intel.com>
3119
25f5f885
L
3120 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
3121 contents on [SHARED].
31ed4153 3122
b7bfe116
MP
31232012-09-26 Marek Polacek <polacek@redhat.com>
3124
3125 [BZ #14530]
3126 [BZ #13741]
3127 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
3128 for C++ and GCC <4.3 as well as for non GCC compilers.
3129
43c4edba
MT
31302012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
3131
3132 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3133
6a1bf82f
RM
31342012-09-25 Roland McGrath <roland@hack.frob.com>
3135
3136 * Makefile.in (all, install): Declare with .PHONY.
3137 Reported by Michael Hope <michael.hope@linaro.org>.
3138
8ad11b9a
TMQMF
31392012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3140
3141 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
3142 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
3143 system header.
3144 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
3145 Likewise.
3146 (sydep_routines): Add the new and the internal functions.
3147 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
3148 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
3149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
3150 (GLIBC_2.17): Add the new function.
3151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3152 (GLIBC_2.17): Likewise.
3153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
3154 (GLIBC_2.17): Likewise.
3155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
3156 (GLIBC_2.17): Likewise.
3157 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
3158
7e2fca8d
AM
31592012-09-25 Alan Modra <amodra@gmail.com>
3160
3161 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
3162 Add release barrier before setting once_control to say
3163 initialisation is done. Add hints on lwarx. Use macro in
3164 place of isync.
3165 (clear_once_control): Add release barrier.
3166
b87c4b24
JM
31672012-09-25 Joseph Myers <joseph@codesourcery.com>
3168
d032e0d2
JM
3169 [BZ #13629]
3170 * math/s_clog.c (__clog): Handle more values close to |z| = 1
3171 specially.
3172 * math/s_clog10.c (__clog10): Likewise.
3173 * math/s_clog10f.c (__clog10f): Likewise.
3174 * math/s_clog10l.c (__clog10l): Likewise.
3175 * math/s_clogf.c (__clogf): Likewise.
3176 * math/s_clogl.c (__clogl): Likewise.
3177 * math/Makefile (libm-calls): Add x2y2m1.
3178 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
3179 (__x2y2m1): Likewise.
3180 (__x2y2m1l): Likewise.
3181 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
3182 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
3183 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3184 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3185 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
3186 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
3187 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
3188 * sysdeps/i386/fpu/libm-test-ulps: Update.
3189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3190
b87c4b24
JM
3191 [BZ #14621]
3192 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
3193 int as type of variable DEPTH.
3194 (glob): Use size_t instead of int as type of variables NEWCOUNT
3195 and OLD_PATHC.
3196
6d3bf199
LD
31972012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3198
22bf5c17
LD
3199 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3200 Add s_sincosf-sse2.
3201 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
3202 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
3203 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
3204 macros for using routine as __sincosf_ia32.
3205 Use macro for function declaration and weak_alias.
3206 * sysdeps/i386/fpu/libm-test-ulps: Update.
3207
3208 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
3209 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3210
3211 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
3212 subnormal argument.
3213 * math/s_cexpf.c (__cexpf): Likewise.
3214 * math/s_csinf.c (__csinf): Likewise.
3215 * math/s_csinhf.c (__csinhf): Likewise.
3216 * math/s_ctanf.c (__ctanf): Likewise.
3217 * math/s_ctanhf.c (__ctanhf): Likewise.
3218 * math/s_ccosh.c (__ccoshf): Likewise.
3219 * math/s_cexp.c (__cexpl): Likewise.
3220 * math/s_csin.c (__csin): Likewise.
3221 * math/s_csinh.c (__csinh): Likewise.
3222 * math/s_ctan.c (__ctan): Likewise.
3223 * math/s_ctanh.c (ctanh): Likewise.
3224 * math/s_ccoshl.c (__ccoshl): Likewise.
3225 * math/s_cexpl.c (__cexpl): Likewise.
3226 * math/s_csinl.c (__csinl): Likewise.
3227 * math/s_csinhl.c (__csinhl): Likewise.
3228 * math/s_ctanl.c (__ctanl): Likewise.
3229 * math/s_ctanhl.c (__ctanhl): Likewise.
3230
203e5603
JM
32312012-09-25 Joseph Myers <joseph@codesourcery.com>
3232
3233 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
3234 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
3235 (_IO_off_t): Define to __off_t, not _G_off_t.
3236 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
3237 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
3238 (_IO_wint_t): Define to wint_t, not _G_wint_t.
3239 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
3240 type of __dummy and __dummy2 fields.
3241 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
3242 (_G_ssize_t): Likewise.
3243 (_G_off_t): Likewise.
3244 (_G_pid_t): Likewise.
3245 (_G_uid_t): Likewise.
3246 (_G_wchar_t): Likewise.
3247 (_G_wint_t): Likewise.
3248 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
3249 (_G_ssize_t): Likewise.
3250 (_G_off_t): Likewise.
3251 (_G_pid_t): Likewise.
3252 (_G_uid_t): Likewise.
3253 (_G_wchar_t): Likewise.
3254 (_G_wint_t): Likewise.
3255 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
3256 (_G_ssize_t): Likewise.
3257 (_G_off_t): Likewise.
3258 (_G_pid_t): Likewise.
3259 (_G_uid_t): Likewise.
3260 (_G_wchar_t): Likewise.
3261 (_G_wint_t): Likewise.
3262
9fab36eb
SP
32632012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3264
3265 * malloc/arena.c: Include malloc-sysdep.h.
3266 (shrink_heap): Use check_may_shrink_heap to decide if madvise
3267 is sufficient to shrink the heap or an unmap is needed.
3268 * sysdeps/generic/malloc-sysdep.h: New file. Define
3269 new function check_may_shrink_heap.
3270 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
3271 new function check_may_shrink_heap.
3272
2b4f00d1
SP
32732012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3274
3275 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
3276 comments.
3277
9a9028b1
DL
32782012-09-24 Dmitry V. Levin <ldv@altlinux.org>
3279
57c69bef
DL
3280 * catgets/test-gencat.sh: Add "set -e".
3281 * elf/tst-pathopt.sh: Likewise.
3282 * grp/tst_fgetgrent.sh: Likewise.
3283 * iconvdata/run-iconv-test.sh: Likewise.
3284 * intl/tst-gettext.sh: Likewise.
3285 * intl/tst-gettext2.sh: Likewise.
3286 * intl/tst-gettext4.sh: Likewise.
3287 * intl/tst-gettext6.sh: Likewise.
3288 * intl/tst-translit.sh: Likewise.
3289 * io/ftwtest-sh: Likewise.
3290 * libio/test-freopen.sh: Likewise.
3291 * malloc/tst-mtrace.sh: Likewise.
3292 * posix/globtest.sh: Likewise.
3293 * posix/tst-getconf.sh: Likewise.
3294 * posix/wordexp-tst.sh: Likewise.
3295 * stdio-common/tst-printf.sh: Likewise.
3296 * stdio-common/tst-unbputc.sh: Likewise.
3297 * stdlib/tst-fmtmsg.sh: Likewise.
3298 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3299 * catgets/Makefile: Do not specify -e option when running
3300 testsuite shell scripts.
3301 * elf/Makefile: Likewise.
3302 * grp/Makefile: Likewise.
3303 * iconvdata/Makefile: Likewise.
3304 * intl/Makefile: Likewise.
3305 * io/Makefile: Likewise.
3306 * libio/Makefile: Likewise.
3307 * malloc/Makefile: Likewise.
3308 * posix/Makefile: Likewise.
3309 * stdio-common/Makefile: Likewise.
3310 * stdlib/Makefile: Likewise.
3311 * sysdeps/x86_64/Makefile: Likewise.
3312
9a9028b1
DL
3313 * io/ftwtest-sh: Add copyright header.
3314 * posix/globtest.sh: Likewise.
3315 * posix/tst-getconf.sh: Likewise.
3316 * posix/wordexp-tst.sh: Likewise.
3317 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3318
ced6f16e
L
33192012-09-24 H.J. Lu <hongjiu.lu@intel.com>
3320
94b32c39
L
3321 [BZ #13679]
3322 * Makeconfig (+link): Defined as $(+link-static) if
3323 $(build-shared) isn't yes.
3324 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
3325 isn't yes.
3326 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
3327
189e935b
L
3328 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
3329
ced6f16e
L
3330 [BZ #14562]
3331 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
3332 new chunk size with MALLOC_ALIGN_MASK.
3333
a9f8e53a
JM
33342012-09-24 Joseph Myers <joseph@codesourcery.com>
3335
3336 [BZ #5044]
3337 * stdio-common/printf_fphex.c: Include <stdbool.h> and
3338 <rounding-mode.h>.
3339 (__printf_fphex): Determine rounding using get_rounding_mode and
3340 round_away.
3341 * stdio-common/tst-printf-round.c (struct hex_test): New
3342 structure.
3343 (hex_tests): New variable.
3344 (test_hex_in_one_mode): New function.
3345 (do_test): Also run tests for hex float output.
3346
43153109
JM
33472012-09-21 Joseph Myers <joseph@codesourcery.com>
3348
3349 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3350 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3351 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
3352 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3353 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3354 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
3355 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3356 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3357
8a26625d
JM
33582012-09-20 Joseph Myers <joseph@codesourcery.com>
3359
3360 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
3361 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
3362 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
3363 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
3364
f3fd569c
DL
33652012-09-19 Dmitry V. Levin <ldv@altlinux.org>
3366
3367 [BZ #14579]
3368 * elf/rtld.c (dl_main): Limit the check for self loading to normal
3369 mode only.
3370 * elf/tst-rtld-load-self.sh: New test.
3371 * elf/Makefile: Run it.
3372
63bbedd4
JM
33732012-09-18 Joseph Myers <joseph@codesourcery.com>
3374
3375 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
3376 (tst-writev-ENV): Remove.
3377 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
3378
626f8b6a
CM
33792012-09-17 Chris Metcalf <cmetcalf@tilera.com>
3380
3381 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
3382
b7aaa4d6
JM
33832012-09-17 Joseph Myers <joseph@codesourcery.com>
3384
3385 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
3386 unconditional.
3387 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
3388 Likewise.
3389 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
3390 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
3391 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
3392 Likewise.
3393
65513990
L
33942012-09-14 H.J. Lu <hongjiu.lu@intel.com>
3395
3396 [BZ #14587]
3397 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
3398 * config.make.in (have-cpp-asm-debuginfo): Removed.
3399 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
3400 * configure: Regenerated.
3401
784761be
JM
34022012-09-14 Joseph Myers <joseph@codesourcery.com>
3403
3404 [BZ #5044]
3405 * stdio-common/printf_fp.c: Include <stdbool.h> and
3406 <rounding-mode.h>.
3407 (___printf_fp): Determine rounding using get_rounding_mode and
3408 round_away.
3409 * stdio-common/tst-printf-round.c: New file.
3410 * stdio-common/Makefile (tests): Add tst-printf-round.
3411 (link-libm): New variable.
3412 ($(objpfx)tst-printf-round): Depend in $(link-libm).
3413
9503345f
L
34142012-09-13 H.J. Lu <hongjiu.lu@intel.com>
3415
3416 [BZ #14576]
3417 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
3418 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
3419 Likewise.
3420 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
3421 Likewise.
3422
ad35fc00
JM
34232012-09-13 Joseph Myers <joseph@codesourcery.com>
3424
3425 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
3426 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3427 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3428 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3429
6c9b0f68
JM
34302012-09-12 Joseph Myers <joseph@codesourcery.com>
3431
3432 [BZ #14518]
3433 * include/rounding-mode.h: New file.
3434 * sysdeps/generic/get-rounding-mode.h: Likewise.
3435 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
3436 * stdlib/strtod_l.c: Include <rounding-mode.h>.
3437 (MAX_VALUE): New macro.
3438 (MIN_VALUE): Likewise.
3439 (overflow_value): New function.
3440 (underflow_value): Likewise.
3441 (round_and_return): Use overflow_value and underflow_value to
3442 determine return values in overflow and underflow cases. Use
3443 round_away to determine rounding depending on rounding mode.
3444 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
3445 determine return values in overflow and underflow cases.
3446 * stdlib/tst-strtod-round.c: Include <fenv.h>.
3447 (struct test_results): New structure.
3448 (struct test): Use struct test_results to store expected results
3449 for all rounding modes.
3450 (TEST): Include expected results for all rounding modes.
3451 (test_in_one_mode): New function.
3452 (do_test): Use test_in_one_mode to compute and check results.
3453 Check results for all rounding modes.
3454 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
3455 $(link-libm).
3456
19fcedd5
AM
34572012-12-09 Allan McRae <allan@archlinux.org>
3458
1e9d84cd 3459 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 3460
8bbfd2f1
JM
34612012-09-11 Joseph Myers <joseph@codesourcery.com>
3462
3463 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
3464 (_G_int32_t): Likewise.
3465 (_G_uint16_t): Likewise.
3466 (_G_uint32_t): Likewise.
3467 (_G_HAVE_BOOL): Likewise.
3468 (_G_HAVE_ATEXIT): Likewise.
3469 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3470 (_G_HAVE_IO_FILE_OPEN): Likewise.
3471 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
3472 (_G_int32_t): Likewise.
3473 (_G_uint16_t): Likewise.
3474 (_G_uint32_t): Likewise.
3475 (_G_HAVE_BOOL): Likewise.
3476 (_G_HAVE_ATEXIT): Likewise.
3477 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3478 (_G_HAVE_IO_FILE_OPEN): Likewise.
3479 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
3480 (_G_int32_t): Likewise.
3481 (_G_uint16_t): Likewise.
3482 (_G_uint32_t): Likewise.
3483 (_G_HAVE_BOOL): Likewise.
3484 (_G_HAVE_ATEXIT): Likewise.
3485 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3486 (_G_HAVE_IO_FILE_OPEN): Likewise.
3487
b1dc5912
L
34882012-09-11 H.J. Lu <hongjiu.lu@intel.com>
3489
3490 * csu/libc-tls.c: Update copyright years.
3491
0e886ef9
JM
34922012-09-10 Joseph Myers <joseph@codesourcery.com>
3493
28361c5e
JM
3494 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
3495 [!_G_USING_THUNKS]: Remove conditional code.
3496 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
3497 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
3498
0e886ef9
JM
3499 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
3500 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
3501 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3502 (_G_VTABLE_LABEL_PREFIX): Likewise.
3503 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3504 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3505 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3506 (_G_VTABLE_LABEL_PREFIX): Likewise.
3507 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3508 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3509 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3510 (_G_VTABLE_LABEL_PREFIX): Likewise.
3511 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3512
bcba7aa2
L
35132012-09-10 H.J. Lu <hongjiu.lu@intel.com>
3514
3515 * libio/Makefile: Include ../Makeconfig before tests.
3516 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
3517 only if $(build-shared) is yes.
3518
06585ee8
L
3519 * iconv/gconv_db.c: Update copyright years.
3520
80ccd52c
LD
35212012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3522
3523 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
3524 unwind info if defined PIC. Fix special cases description.
3525 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
3526
3527 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
3528 DP_HI_MASK entry.
3529 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
3530
691bc9c1
L
35312012-09-07 H.J. Lu <hongjiu.lu@intel.com>
3532
3d9b46b3
L
3533 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
3534
de2139a9
L
3535 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
3536 is NULL.
3537
5ca78dd0
L
3538 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
3539 (LDLIBS-tst-chk4): This.
3540 (LDFLAGS-tst-chk5): Renamed to ...
3541 (LDLIBS-tst-chk5): This.
3542 (LDFLAGS-tst-chk6): Renamed to ...
3543 (LDLIBS-tst-chk6): This.
3544 (LDFLAGS-tst-lfschk4): Renamed to ...
3545 (LDLIBS-tst-lfschk4): This.
3546 (LDFLAGS-tst-lfschk5): Renamed to ...
3547 (LDLIBS-tst-lfschk5): This.
3548 (LDFLAGS-tst-lfschk6): Renamed to ...
3549 (LDLIBS-tst-lfschk6): This.
3550
691bc9c1
L
3551 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
3552 on $(common-objpfx)soversions.mk.
3553
65cafb1c
JM
35542012-09-07 Joseph Myers <joseph@codesourcery.com>
3555
3556 [BZ #10014]
3557 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
3558 example host name.
3559
c78ab094
SP
35602012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3561
3562 * malloc/arena.c (arena_get_retry): New function that gets
3563 another arena for the caller to try its request on.
3564 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
3565 current arena cannot fulfill the request.
3566 (__libc_memalign): Likewise.
3567 (__libc_memalign): Likewise.
3568 (__libc_pvalloc): Likewise.
3569 (__libc_calloc): Likewise.
3570
01f49f59
JT
35712012-09-05 John Tobey <john.tobey@gmail.com>
3572
3573 [BZ #13542]
3574 * manual/arith.texi (Operations on Complex): Fix description
3575 of carg branch cut.
3576
4c23fed5
JM
35772012-09-06 Joseph Myers <joseph@codesourcery.com>
3578
1d3c8572
JM
3579 [BZ #10014]
3580 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
3581 host name.
3582
4c23fed5
JM
3583 [BZ #10038]
3584 * manual/memory.texi (Memory): Make order of menu items match
3585 order of sections.
3586
04570aaa
L
35872012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3588
3589 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
3590 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
3591 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
3592
b80af2f4
L
35932012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3594
3595 * csu/libc-tls.c (static_dtv): Renamed to ...
3596 (_dl_static_dtv): This. Make it global.
3597 (_dl_initial_dtv): Removed.
3598 (__libc_setup_tls): Updated.
3599 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
3600 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
3601 DL_INITIAL_DTV.
3602
2abe9f15
PM
36032012-09-06 Petr Machata <pmachata@redhat.com>
3604
3605 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
3606 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
3607 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
3608 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
3609
0948c3af
L
36102012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3611
3612 [BZ #14545]
3613 * csu/libc-tls.c (_dl_initial_dtv): New variable.
3614 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
3615 freeing dtv[-1].
3616
a5055ad1
L
36172012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3618
3619 [BZ #14544]
3620 * Makeconfig (link-static-before-libc): Replace $(+prector)
3621 with $(+prectorT).
3622 (link-static-after-libc): Replace $(+postctor) with
3623 $(+postctorT).
3624 (link-bounded): Replace $(+prector)/$(+postctor) with
3625 $(+prectorT)/$(+postctorT).
3626 (+prectorT): New macro.
3627 (+postctorT): Likewise.
3628
ed8c2ecd
JM
36292012-09-06 Joseph Myers <joseph@codesourcery.com>
3630
3631 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
3632 (round_str): Handle values above the maximum for IBM long double
3633 as inexact.
3634 * stdlib/tst-strtod-round.c (tests): Regenerated.
3635
14c996c8
AK
36362012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3637
3638 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
3639 assembler flag.
3640 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
3641 zarch_nohighgprs around the zarch optimized routines.
3642 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3643 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3644 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
3645 for zarch.
3646
430d6ce6
DM
36472012-09-05 David S. Miller <davem@davemloft.net>
3648
3649 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3650
ff04dda4
DM
3651 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
3652 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
3653 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
3654 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
3655 entries.
3656
24d4e01b
AO
36572012-09-05 Alexandre Oliva <aoliva@redhat.com>
3658
3659 * malloc/arena.c: Fold copyright years.
3660 * malloc/mcheck.c, malloc/memusage.c: Likewise.
3661
61d58174
AO
36622012-09-05 Alexandre Oliva <aoliva@redhat.com>
3663
3664 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
3665
20196a5e
AO
36662012-09-05 Alexandre Oliva <aoliva@redhat.com>
3667
3668 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
3669
5c447383
AO
36702012-09-05 Alexandre Oliva <aoliva@redhat.com>
3671
3672 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
3673 change internal state upon failure.
3674
fad64255
AO
36752012-09-05 Alexandre Oliva <aoliva@redhat.com>
3676
3677 * malloc/mcheck.c (mcheck_check_all): Fix typo.
3678 * malloc/memusage.c (mmap): Likewise.
3679 (mmap64, mremap): Likewise. Adjust name in comment.
3680
1ffb8c90
SP
36812012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3682
3683 * libio/fileops.c: Fix typos in comments.
3684 * libio/oldfileops.c: Likewise.
3685 * libio/wfileops.c: Likewise.
3686
6ef9cc37
SP
36872012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3688
3689 [BZ #1349]
3690 * malloc/Makefile (tests): Add tst-malloc-usable test case.
3691 (tst-malloc-usable-ENV): Set environment for test case.
3692 * malloc/hooks.c (malloc_check_get_size): New function to get
3693 requested size.
3694 * malloc/malloc.c (musable): Use malloc_check_get_size.
3695 * malloc/tst-malloc-usable.c: New test case.
3696
4d038ae3
AS
36972012-09-05 Andreas Schwab <schwab@linux-m68k.org>
3698
3699 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
3700
c4e85184
AM
37012012-09-05 Allan McRae <allan@archlinux.org>
3702
b9dafc56 3703 [BZ #13966]
c4e85184
AM
3704 * configure.in (CXX_SYSINCLUDES): Use compiler output to
3705 determine header location.
3706 * configure: Regenerated.
3707
e1343020
AS
37082012-09-05 Andreas Schwab <schwab@linux-m68k.org>
3709
3710 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
3711 float format.
3712 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
3713 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
3714 format.
e1343020
AS
3715 (test): Regenerate.
3716
0a9f1987
DM
37172012-09-04 David S. Miller <davem@davemloft.net>
3718
3719 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
3720 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
3721 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
3722
29237804
FW
37232012-09-04 Florian Weimer <fweimer@redhat.com>
3724
3725 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
3726 failures.
3727
edb3cb88
FW
3728 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
3729
60160d83
JM
37302012-09-04 Joseph Myers <joseph@codesourcery.com>
3731
3732 [BZ #9914]
3733 * libio/iogetdelim.c: Include <limits.h>.
3734 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
3735 + len + 1 would overflow.
3736
bcd6c8dc
AJ
37372012-09-03 Andreas Jaeger <aj@suse.de>
3738
3739 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3740 * sysdeps/i386/fpu/libm-test-ulps: Update.
3741
4ffffbd2
LD
37422012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3743
3744 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3745 Add s_sinf-sse2, s_conf-sse2.
3746
3747 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
3748 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
3749 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
3750 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
3751
3752 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
3753 for using routine as __sinf_ia32.
3754 Use macro for function declaration and weak_alias.
3755 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
3756 for using routine as __cosf_ia32.
3757 Use macro for function declaration and weak_alias.
3758
3759 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
3760 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
3761
3762 * sysdeps/x86_64/fpu/s_sinf.S: New file.
3763 * sysdeps/x86_64/fpu/s_cosf.S: New file.
3764 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3765
3766 * math/libm-test.inc (cos_test): Add more test cases.
3767 (sin_test): Likewise.
3768 (sincos_test): Likewise.
3769
511fa286
AK
37702012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3771
3772 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
3773 (IFUNC_RESOLVE): Make pointers to the specialized implementations
3774 hidden.
3775 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3776
5f30cfec
L
37772012-09-02 H.J. Lu <hongjiu.lu@intel.com>
3778
3779 [BZ #14538]
3780 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
3781 first element of the GOT.
3782 (elf_machine_load_address): Return the difference between
3783 the runtime address of _DYNAMIC and elf_machine_dynamic ().
3784
0786794f
AM
37852012-09-01 Allan McRae <allan@archlinux.org>
3786
5f30cfec
L
3787 [BZ #13412]
3788 * configure.in (AWK): Require gawk version 3.0 or later.
3789 * configure: Regenerated.
0786794f 3790
26889eac
JM
37912012-09-01 Joseph Myers <joseph@codesourcery.com>
3792
3793 * sysdeps/unix/sysv/linux/kernel-features.h
3794 (__ASSUME_POSIX_CPU_TIMERS): Remove.
3795 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3796 [__NR_clock_getres]: Make code unconditional.
3797 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
3798 (clock_getcpuclockid): Remove code left unreachable by removal of
3799 conditionals.
3800 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
3801 code unconditional.
3802 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
3803 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3804 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
3805 Make code unconditional.
3806 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
3807 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3808 * sysdeps/unix/sysv/linux/clock_settime.c
3809 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
3810 conditional code.
3811 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
3812 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3813
d22e28b0
L
38142012-08-29 H.J. Lu <hongjiu.lu@intel.com>
3815
3816 [BZ #14476]
3817 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
3818 scripts/test-installation.pl.
3819
3820 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
3821 and $ld_so_version if it is set.
3822
050af9c4
SP
38232012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3824
3825 [BZ #14516]
3826 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
3827 failure if reading from procfs failed.
3828 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
3829
ad845c0b
JM
38302012-08-27 Joseph Myers <joseph@codesourcery.com>
3831
3832 * sysdeps/unix/sysv/linux/kernel-features.h
3833 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
3834 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
3835 Remove conditional code.
3836 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3837 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
3838 Remove conditional code.
3839 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3840 * sysdeps/unix/sysv/linux/i386/fxstat.c
3841 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3842 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3843 * sysdeps/unix/sysv/linux/i386/fxstatat.c
3844 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3845 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3846 * sysdeps/unix/sysv/linux/i386/lxstat.c
3847 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3848 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3849 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
3850 Remove conditional code.
3851 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3852 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
3853 Remove conditional code.
3854 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3855 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
3856 <kernel-features.h>.
3857 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
3858 Remove.
3859 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
3860 Remove conditional code.
3861 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3862 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
3863 Remove conditional.
3864
5dbf56af
MF
38652012-08-27 Mike Frysinger <vapier@gentoo.org>
3866
3867 [BZ #5400]
3868 * NEWS: Add fixed bug number.
3869
d6e70f43
JM
38702012-08-27 Joseph Myers <joseph@codesourcery.com>
3871
7efb4737
JM
3872 [BZ #14519]
3873 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
3874 underflowing exponent in case of negative sign.
3875 * stdlib/tst-strtod-round-data: Add more tests.
3876 * stdlib/tst-strtod-round.c (tests): Regenerated.
3877
af92131a
JM
3878 [BZ #3479]
3879 * stdlib/strtod_l.c (NDIG): Remove.
3880 (HEXNDIG): Likewise.
3881 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
3882 smallest representable value.
3883 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
3884 lie within an exact representation of 1/2 ulp of the result.
3885 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
3886 unconditionally.
3887 (TENS_P9_IDX): Define unconditionally.
3888 (TENS_P9_SIZE): Likewise.
3889 (TENS_P10_IDX): Likewise.
3890 (TENS_P10_SIZE): Likewise.
3891 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
3892 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
3893 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
3894 entries for 10^2^13 and 10^2^14.
3895 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
3896 (TENS_P13_IDX): Define.
3897 (TENS_P13_SIZE): Likewise.
3898 (TENS_P14_IDX): Likewise.
3899 (TENS_P14_SIZE): Likewise.
3900 (_fpioconst_pow10): Change array size to
3901 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
3902 unconditional.
3903 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
3904 1024]: Add entries for 10^2^13 and 10^2^14.
3905 [LAST_POW10 > _LAST_POW10]: Remove #error.
3906 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
3907 (_fpioconst_pow10): Change array size to
3908 FPIOCONST_POW10_ARRAY_SIZE.
3909 * stdlib/gen-fpioconst.c: New file.
3910 * stdlib/gen-tst-strtod-round.c: Likewise.
3911 * stdlib/tst-strtod-round-data: Likewise.
3912 * stdlib/tst-strtod-round.c: Likewise.
3913 * stdlib/Makefile (tests): Add tst-strtod-round.
3914
d6e70f43
JM
3915 [BZ #14459]
3916 * stdlib/strtod_l.c: Include <stdint.h>.
3917 (NDEBUG): Do not define.
3918 (round_and_return): Change EXPONENT parameter to type intmax_t.
3919 Rearrange calculations to avoid internal overflow possibilities.
3920 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
3921 Rearrange calculations to avoid internal overflow possibilities.
3922 Assert that number fits inside MPNSIZE limbs.
3923 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
3924 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
3925 calculations and add assertions to avoid internal overflow
3926 possibilities. Add casts to avoid signed/unsigned operations.
3927 * stdlib/tst-strtod-overflow.c: New file.
3928 * stdlib/Makefile (tests): Add tst-strtod-overflow.
3929
1f529f7d
MP
39302012-08-25 Marek Polacek <polacek@redhat.com>
3931
3932 * time/time.h: Fix some typos in comments.
3933
59a629f1
RM
39342012-08-23 Roland McGrath <roland@hack.frob.com>
3935
3936 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
3937 * posix/tst-rfc3484-2.c: Likewise.
3938 * posix/tst-rfc3484-3.c: Likewise.
3939
d3bafbc9
SM
39402012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
3941
3942 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
3943 (EF_ARM_ABI_FLOAT_HARD): Likewise.
3944
4efcc022
JM
39452012-08-23 Joseph Myers <joseph@codesourcery.com>
3946
3947 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
3948 #include of fxstatat64.c.
3949
3cc3ef96
RM
39502012-08-22 Roland McGrath <roland@hack.frob.com>
3951
f04e2132
RM
3952 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
3953 * shadow/getspent_r.c: Likewise.
3954 * shadow/getspnam.c: Likewise.
3955 * shadow/getspnam_r.c: Likewise.
3956 * gshadow/getsgent.c: Likewise.
3957 * gshadow/getsgent_r.c: Likewise.
3958 * gshadow/getsgnam.c: Likewise.
3959 * gshadow/getsgnam_r.c: Likewise.
3960 * inet/getnetbyad.c: Likewise.
3961 * inet/getnetbyad_r.c: Likewise.
3962 * inet/getnetbynm.c: Likewise.
3963 * inet/getnetbynm_r.c: Likewise.
3964 * inet/getnetent.c: Likewise.
3965 * inet/getnetent_r.c: Likewise.
3966 * inet/getproto.c: Likewise.
3967 * inet/getproto_r.c: Likewise.
3968 * inet/getprtent.c: Likewise.
3969 * inet/getprtent_r.c: Likewise.
3970 * inet/getprtname.c: Likewise.
3971 * inet/getprtname_r.c: Likewise.
3972 * inet/getrpcbyname.c: Likewise.
3973 * inet/getrpcbyname_r.c: Likewise.
3974 * inet/getrpcbynumber.c: Likewise.
3975 * inet/getrpcbynumber_r.c: Likewise.
3976 * inet/getrpcent.c: Likewise.
3977 * inet/getrpcent_r.c: Likewise.
3978 * inet/getaliasent.c: Likewise.
3979 * inet/getaliasent_r.c: Likewise.
3980 * inet/getaliasname.c: Likewise.
3981 * inet/getaliasname_r.c: Likewise.
3982 * nscd/getgrgid_r.c: Likewise.
3983 * nscd/getgrnam_r.c: Likewise.
3984 * nscd/gethstbyad_r.c: Likewise.
3985 * nscd/gethstbynm3_r.c: Likewise.
3986 * nscd/getpwnam_r.c: Likewise.
3987 * nscd/getpwuid_r.c: Likewise.
3988 * nscd/getsrvbynm_r.c: Likewise.
3989 * nscd/getsrvbypt_r.c: Likewise.
3990 * nscd/gai.c: Likewise.
3991
c53d909c
RM
3992 * configure.in (build_nscd): New substituted variable, set
3993 by --disable-build-nscd and defaults to $use_nscd.
3994 * configure: Regenerated.
3995 * config.make.in (build-nscd): New substituted variable.
3996 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
3997 Change conditional to require [$(build-nscd) = yes] as well.
3998 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
3999
3cc3ef96
RM
4000 [BZ# 13696]
4001 * configure.in (use_nscd): New substituted variable, set by
4002 --disable-nscd. If enabled, define USE_NSCD.
4003 * configure: Regenerated.
4004 * config.h.in: Add USE_NSCD.
4005 * config.make.in (use-nscd): New substituted variable.
4006 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
4007 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
4008 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
4009 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
4010 (CFLAGS-getgrnam_r.c): Likewise.
4011 (CFLAGS-initgroups.c): Likewise.
4012 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
4013 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
4014 Variables removed.
4015 * inet/getnetgrent_r.c
4016 (nscd_setnetgrent): New function, broken out of ...
4017 (setnetgrent): ... here. Call it.
4018 (innetgr): Conditionalize nscd bits on [USE_NSCD].
4019 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
4020 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
4021 * nscd/Makefile (routines, aux): Move definitions after include of
4022 Makeconfig. Conditionalize on [$(use-nscd) != no].
4023 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
4024 Conditionalize on [USE_NSCD].
4025 (is_nscd, nscd_init_cb): Likewise.
4026 (nss_load_library): Conditionalize init callback on [USE_NSCD].
4027 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
4028 * nss/nss_db/db-init.c: Likewise.
4029 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
4030 [USE_NSCD].
4031 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
4032 (make_request): Use it.
4033 (cache_valid_p): New function.
4034 (__check_pf): Use it.
4035 * NEWS: Add item for --disable-nscd.
4036
07e51550
DL
40372012-08-22 Dmitry V. Levin <ldv@altlinux.org>
4038
4039 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
4040 to support sed >= 4.2.1-20-ga9bf076.
4041 * configure: Regenerated.
4042
35a5b08b
RM
40432012-08-22 Roland McGrath <roland@hack.frob.com>
4044
4045 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
4046 Conditionalize whole body on [IREL].
4047
8479f23a
JL
40482012-08-22 Jeff Law <law@redhat.com>
4049
4050 [BZ #14505]
4051 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
4052 if the family is PF_UNSPEC.
4053
48da0b21
MF
40542012-08-22 Mike Frysinger <vapier@gentoo.org>
4055
4056 * Makerules (lib-version): Rename from V.
4057 (install-lib-nosubdir): Change V to lib-version.
4058
15d0da8c
WS
40592012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
4060
4061 [BZ #14252]
4062 * powerpc32/power6/wcschr.c: New file.
4063 * powerpc32/power6/wcscpy.c: New file.
4064 * powerpc32/power6/wcsrchr.c: New file.
4065 * powerpc64/power6/wcschr.c: New file.
4066 * powerpc64/power6/wcscpy.c: New file.
4067 * powerpc64/power6/wcsrchr.c: New file.
4068
bcca0895
MK
40692012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4070
4071 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
4072 (two_way_short_needle): Use it.
5a4aaa33
RM
4073 * string/strstr.c (AVAILABLE1_USES_J): Define.
4074 * string/strcasestr.c: Likewise.
99677e57
MK
4075
4076 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
4077 array references.
4078 * string/strcasestr.c (TOLOWER): Make side-effect safe.
4079
400726de
MK
4080 [BZ #11607]
4081 * NEWS: Add an entry.
4082 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
4083 define their defaults.
4084 (two_way_short_needle): Detect end-of-string on-the-fly.
4085 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
4086 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
4087 * string/bug-strcasestr1.c: New test.
4088 * string/Makefile: Run it.
4089
20a71f2c
MK
40902012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4091
4092 [BZ #11607]
4093 * string/str-two-way.h (two_way_short_needle): Optimize matching of
4094 the first character.
4095
21ad0558
RM
40962012-08-21 Roland McGrath <roland@hack.frob.com>
4097
4098 * csu/elf-init.c (__libc_csu_irel): Function removed.
4099 * csu/libc-start.c (apply_irel): New function.
4100 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
4101
0e1d9911
JM
41022012-08-21 Joseph Myers <joseph@codesourcery.com>
4103
4104 * sysdeps/unix/sysv/linux/kernel-features.h
4105 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
4106 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
4107 <kernel-features.h>.
4108 [__NR_fadvise64_64]: Make code unconditional.
4109 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
4110 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4111 !__NR_fadvise64_64)]: Likewise.
4112 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4113 !__NR_fadvise64_64))]: Likewise.
4114 [__NR_fadvise64]: Make code unconditional.
4115 [!__NR_fadvise64]: Remove conditional code.
4116 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
4117 <kernel-features.h>.
4118 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4119 unconditional.
4120 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4121 conditional code.
4122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
4123 not include <kernel-features.h>.
4124 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4125 unconditional.
4126 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4127 conditional code.
4128 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
4129 include <kernel-features.h>.
4130 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4131 unconditional.
4132 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4133 conditional code.
4134
14a50c9d
WS
41352012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4136
4137 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
4138 slight instruction rearrangements per scrollpipe analysis.
4139 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4140
c0f4faf0
RM
41412012-08-20 Roland McGrath <roland@hack.frob.com>
4142
696da859
RM
4143 * manual/syslog.texi (syslog; vsyslog, closelog):
4144 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
4145 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
4146
c0f4faf0
RM
4147 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
4148 DSOCAPS to match condition on defining it.
4149
348363b2
JM
41502012-08-20 Joseph Myers <joseph@codesourcery.com>
4151
a35cbf28
JM
4152 * sysdeps/unix/sysv/linux/kernel-features.h
4153 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
4154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
4155 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4156 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
4158 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4159 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
4161 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4162 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4163
445f7ecd
JM
4164 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
4165 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
4166
348363b2
JM
4167 * sysdeps/unix/sysv/linux/kernel-features.h
4168 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
4169 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
4170 unconditional.
4171 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4172 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
4173 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4174 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4175 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
4176 Make code unconditional.
4177 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4178 (__mmap64) [!__NR_mmap2]: Likewise.
4179 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
4180 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4181 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4182 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
4183 [__NR_mmap2]: Make code unconditional.
4184 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4185 (__mmap64) [!__NR_mmap2]: Likewise.
4186
bc5bc0e5
AK
41872012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4188
4189 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
4190
88d506de
AJ
41912012-08-18 Andreas Jaeger <aj@suse.de>
4192
4193 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
4194
493387d2
MF
41952012-08-18 Mike Frysinger <vapier@gentoo.org>
4196
4197 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
4198 * include/unistd.h (__have_sock_cloexec): Likewise.
4199 (__have_pipe2): Likewise.
4200 (__have_dup3): Likewise.
4201
a277af22
MF
42022012-08-18 Mike Frysinger <vapier@gentoo.org>
4203
4204 [BZ #9685]
4205 * include/unistd.h (__have_pipe2): Change define into an extern int.
4206 (__have_dup3): Likewise.
4207 * socket/have_sock_cloexec.c: Include fcntl.h.
4208 (__have_pipe2): New variable.
4209 (__have_dup3): Likewise.
4210
fdab8fd3
MF
42112012-08-17 Mike Frysinger <vapier@gentoo.org>
4212
4213 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
4214
31035e80
MP
42152012-08-17 Marek Polacek <polacek@redhat.com>
4216
4217 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
4218 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
4219
3bd9e993
RM
42202012-08-17 Roland McGrath <roland@hack.frob.com>
4221
c91c505f
RM
4222 * configure.in: Add AC_SUBST for sysheaders.
4223 * configure: Regenerated.
4224 * config.make.in (sysheaders): New substituted variable.
4225
7c6f9d53
RM
4226 * sysdeps/unix/mkfifo.c: Moved ...
4227 * sysdeps/posix/mkfifo.c: ... here.
4228 * sysdeps/unix/mkfifoat.c: Moved ...
4229 * sysdeps/posix/mkfifoat.c: ... here.
4230
4231 * sysdeps/unix/utime.c: Moved ...
4232 * sysdeps/posix/utime.c: ... here.
4233
4234 * sysdeps/unix/time.c: Moved ...
4235 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
4236 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
4237 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
4238
4239 * sysdeps/unix/nice.c: Moved ...
4240 * sysdeps/posix/nice.c: ... here.
4241
4242 * sysdeps/unix/alarm.c: Moved ...
4243 * sysdeps/posix/alarm.c: ... here.
4244
3bd9e993
RM
4245 * intl/Makefile ($(codeset_mo)): Depend on the input file.
4246
d1f09384
JL
42472012-08-17 Jeff Law <law@redhat.com>
4248
4249 * intl/Makefile (codeset_mo): New variable.
4250 ($(codeset_mo)): New target.
4251 (tst-codeset.out): Depend on that. Remove explicit rule.
4252 (tst-gettext3.out, tst-gettext5.out): Likewise.
4253 (LOCPATH-ENV, tst-codeset-ENV): New variables.
4254 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
4255 * intl/tst-codeset.sh: Remove.
4256 * intl/tst-gettext3.sh: Likewise.
4257 * intl/tst-gettext5.sh: Likewise.
4258
2ae1ae5c
RM
42592012-08-17 Roland McGrath <roland@hack.frob.com>
4260
c31fdb83
RM
4261 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
4262 * sysdeps/unix/syscalls.list: ... here.
4263
a0844057
RM
4264 * sysdeps/posix/getaddrinfo.c
4265 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
4266 (gaiconf_init, gaiconf_reload): Use them.
4267 [!_STATBUF_ST_NSEC]
4268 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
4269 Define using time_t rather than struct timespec.
4270
750c1f2a
RM
4271 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
4272 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
4273 Macros removed.
4274 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
4275 [!NO_THREADS].
4276 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
4277 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
4278 Likewise.
4279
2ae1ae5c
RM
4280 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
4281 __libc_cleanup_push argument.
4282
e66a42f5
RM
4283 * bits/param.h: New file.
4284 * misc/sys/param.h: New file.
4285 * include/sys/param.h: New file.
4286 * misc/Makefile (headers): Add bits/param.h.
4287 * sysdeps/generic/sys/param.h: File removed.
4288 * sysdeps/unix/sysv/linux/bits/param.h: New file.
4289 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
4290 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 4291 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 4292
b7c08a66
RM
4293 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
4294 last change.
4295
b2e1c562
RM
4296 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
4297 [_IO_MTSAFE_IO].
4298 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
4299 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
4300 New macros.
4301
c75ccd4c
RM
4302 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
4303 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
4304 rather than -D_IO_MTSAFE_IO conditionally.
4305 * stdio-common/Makefile (CPPFLAGS): Likewise.
4306 * wcsmbs/Makefile (CPPFLAGS): Likewise.
4307 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
4308 Use $(libio-mtsafe).
4309 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
4310 of -D_IO_MTSAFE_IO.
4311 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
4312 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
4313 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
4314 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
4315 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
4316 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
4317 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
4318 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
4319 (CFLAGS-fread_u_chk.c): Likewise.
4320 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
4321 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
4322 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
4323 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
4324 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
4325 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
4326 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
4327 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
4328 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
4329
4330 * libio/Makefile: Test [$(libc-reentrant) = yes]
4331 instead of [$(filter %REENTRANT, $(defines)) nonempty].
4332
4333 * Makeconfig
4334 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
4335 * sysdeps/pthread/configure: File removed.
4336 * sysdeps/pthread/Makeconfig: New file.
4337 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
4338 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
4339
d9195db8
GB
43402012-08-16 Gary Benson <gbenson@redhat.com>
4341
4342 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
4343 unmapping the first object in a namespace.
4344
86466cd9
RM
43452012-08-16 Roland McGrath <roland@hack.frob.com>
4346
4347 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
4348 (__internal_setnetgrent): ... this. Add internal_function to
4349 definition. Add libc_hidden_def.
4350 (setnetgrent): Update caller.
4351 (internal_endnetgrent): Renamed to ...
4352 (__internal_endnetgrent): ... this. Add internal_function to
4353 definition. Add libc_hidden_def.
4354 (endnetgrent): Update caller.
4355 (internal_getnetgrent_r): Renamed to ...
4356 (__internal_getnetgrent_r): ... this. Add internal_function to
4357 definition. Add libc_hidden_def.
4358 (__getnetgrent_r): Update caller.
4359 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
4360
c3c8283c
JM
43612012-08-16 Joseph Myers <joseph@codesourcery.com>
4362
4363 * stdlib/longlong.h: Update from GCC.
4364
db1ee0a8
RM
43652012-08-16 Roland McGrath <roland@hack.frob.com>
4366
4367 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
4368 on _QL, which is set by umul_ppmm but never used.
4369 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
4370 variables, which are set by GMP macros but never used.
4371 * stdio-common/_itowa.c (_itowa): Likewise.
4372 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
4373 * stdlib/mod_1.c (mpn_mod_1): Likewise.
4374
30f69637
CD
43752012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
4376
4377 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
4378 struct La_sh_regs is not constant.
4379 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
4380 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
4381 and struct La_sparc64_regs are not constant.
4382
93a78ac4
JM
43832012-08-16 Joseph Myers <joseph@codesourcery.com>
4384
4385 * sysdeps/unix/sysv/linux/kernel-features.h
4386 (__ASSUME_POSIX_TIMERS): Remove.
4387 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4388 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4389 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
4390 Make code unconditional.
4391 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4392 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
4393 Make code unconditional.
4394 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4395 * sysdeps/unix/sysv/linux/clock_nanosleep.c
4396 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
4397 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4398 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
4399 Make code unconditional.
4400 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4401 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
4402 (__libc_missing_posix_timers): Remove.
4403
dd924cd7
RM
44042012-08-15 Roland McGrath <roland@hack.frob.com>
4405
4b4f2771
RM
4406 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
4407 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
4408
601c888b
RM
4409 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
4410
176790a7
RM
4411 * elf/dl-sym.c: Include <stdlib.h>.
4412
329bc018
RM
4413 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
4414 constants, which avoids warnings in 32-bit builds.
4415
e04e272d
RM
4416 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
4417 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
4418
952bf94a
RM
4419 * misc/lseek.c: File moved to ...
4420 * io/lseek.c: ... here.
4421
7c99b50a
RM
4422 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
4423
dd924cd7
RM
4424 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
4425 shifting LEN more than 31 bits at once.
4426
b3f479a8
LD
44272012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4428
4429 [BZ #14195]
8c4ae0d4
RM
4430 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
4431 segmentation fault for a case of two empty input strings.
b3f479a8
LD
4432 * string/test-strncasecmp.c (check1): Renamed to...
4433 (bz12205): ...this.
4434 (bz14195): Add new testcase for two empty input strings and N > 0.
4435 (test_main): Call new testcase, adapt for renamed function.
4436
9c55864e
AJ
44372012-08-15 Andreas Jaeger <aj@suse.de>
4438
4439 [BZ #14090]
4440 * crypt/md5test2.c: New test, based on test supplied by Serge
4441 Belyshev <belyshev@depni.sinp.msu.ru>.
4442 * crypt/Makefile (xtests): Add md5test-giant..
4443 * crypt/Makefile ($(objpfx)md5test-giant): Add.
4444
02dcb6c5
PE
44452012-08-15 Paul Eggert <eggert@cs.ucla.edu>
4446
4447 [BZ #14090]
4448 * crypt/md5.c (md5_process_block): Don't assume the buffer
4449 length is less than 2**32.
4450 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
4451 length is less than 2**64.
4452
a3f95dcc
RM
44532012-08-15 Roland McGrath <roland@hack.frob.com>
4454
be75d758
RM
4455 * string/str-two-way.h: Include <sys/param.h>.
4456 (MAX): Macro removed.
4457
7312ca90
RM
4458 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
4459 Move #define and #undef of memmove to just before and after
4460 including <string.h>.
4461
9a0a5486
RM
4462 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
4463 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
4464 and after including <string.h>. Move declarations of
4465 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
4466 to before #include "string/memmove.c".
4467
67cc348d
RM
4468 * include/dirent.h: Declare __getdirentries.
4469
a3f95dcc
RM
4470 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
4471 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
4472
ca98e171
MF
44732012-08-14 Mike Frysinger <vapier@gentoo.org>
4474
4475 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
4476 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
4477 * sysdeps/i386/configure: Regenerated.
4478 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
4479 STABS_CURRENT_FILE, and STABS_FUN.
4480 (END): Remove call to STABS_FUN_END.
4481 (STABS_CURRENT_FILE1): Delete.
4482 (STABS_CURRENT_FILE): Likewise.
4483 (STABS_FUN): Likewise.
4484 (STABS_FUN_END): Likewise.
4485 (STABS_FUN2): Likewise.
4486 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
4487 * sysdeps/x86_64/configure: Regenerated.
4488
5908bf46
RM
44892012-08-14 Roland McGrath <roland@hack.frob.com>
4490
4491 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 4492 * elf/dl-lookup.c: Likewise.
5908bf46 4493
f2c05b9e
JM
44942012-08-14 Joseph Myers <joseph@codesourcery.com>
4495
4496 * sysdeps/unix/sysv/linux/kernel-features.h
4497 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
4498 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
4499 unconditionally.
4500 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
4501 unconditionally.
4502 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
4503 condition on __ASSUME_CLONE_THREAD_FLAGS.
4504
e11f5155
AJ
45052012-08-14 Andreas Jaeger <aj@suse.de>
4506
4507 * sysdeps/i386/fpu/libm-test-ulps: Update.
4508
51a9ba86
MK
45092012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
4510
2fdd4f78
AJ
4511 * include/atomic.h (atomic_exchange_and_add): Split into ...
4512 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
4513 New atomic macros.
51a9ba86 4514
ba6cba9e
MT
45152012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
4516
4517 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4518
42443a47
JL
45192012-08-13 Jeff Law <law@redhat.com>
4520
4521 * manual/stdio.texi (snprintf): Clarify handling of the trailing
4522 null byte in the output string.
4523
121dce05
JM
45242012-08-10 Joseph Myers <joseph@codesourcery.com>
4525
4526 * sysdeps/unix/sysv/linux/kernel-features.h
4527 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
4528 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
4529 (__ASSUME_ARG_MAX_STACK_BASED): Define.
4530 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4531 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
4532 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
4533 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
4534
bf51f568
JL
45352012-08-09 Jeff Law <law@redhat.com>
4536
4537 [BZ #13939]
4538 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
4539 When avoid_arena is set, don't retry in the that arena. Pick the
4540 next one, whatever it might be.
4541 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
4542 (arena_lock): Pass in new parameter to arena_get2.
4543 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
4544 arena_get2.
4545 (__libc_malloc): Unify retrying after main arena failure with
4546 __libc_memalign version.
4547 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
4548
f85fa270
L
45492012-08-09 H.J. Lu <hongjiu.lu@intel.com>
4550
4551 [BZ #14166]
4552 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
4553 to __redirect_strstr.
4554 (__strstr_sse42): Use typeof __redirect_strstr.
4555 (__strstr_ia32): Likewise.
4556 (__libc_strstr): New prototype.
4557 (strstr): Renamed to ...
4558 (__libc_strstr): This.
4559 (strstr): New strong alias of __libc_strstr.
4560 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
4561 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
4562 __redirect_time.
4563 Include <time.h>.
4564 (__libc_time): New prototype.
4565 (time_ifunc): Replace time with __libc_time.
4566 (time): New strong alias and hidden definition of __libc_time.
4567 (__GI_time): Remove strong alias.
4568 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
4569 Include <stddef.h>.
4570 (memmove): Redefined to __redirect_memmove.
4571 (__memmove_sse2): Use typeof __redirect_memmove.
4572 (__memmove_ssse3): Likewise.
4573 (__memmove_ssse3_back): Likewise.
4574 (__libc_memmove): New prototype.
4575 (memmove): Renamed to ...
4576 (__libc_memmove): This.
4577 (memmove): New strong alias of __libc_memmove.
4578
33b4a91e
MS
45792012-08-08 Mark Salter <msalter@redhat.com>
4580
4581 * elf/elf.h
4582 (R_MN10300_TLS_GD): Define.
4583 (R_MN10300_TLS_LD): Likewise.
4584 (R_MN10300_TLS_LDO): Likewise.
4585 (R_MN10300_TLS_GOTIE): Likewise.
4586 (R_MN10300_TLS_IE): Likewise.
4587 (R_MN10300_TLS_LE): Likewise.
4588 (R_MN10300_TLS_DTPMOD): Likewise.
4589 (R_MN10300_TLS_DTPOFF): Likewise.
4590 (R_MN10300_TLS_TPOFF): Likewise.
4591 (R_MN10300_SYM_DIFF): Likewise.
4592 (R_MN10300_ALIGN): Likewise.
4593 (R_MN10300_NUM): Update.
4594
b36137f1
JM
45952012-08-08 Joseph Myers <joseph@codesourcery.com>
4596
4597 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
4598 Remove.
4599
cdd915fd
RM
46002012-08-08 Roland McGrath <roland@hack.frob.com>
4601
a2433aac
RM
4602 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
4603
cdd915fd
RM
4604 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
4605 sysdeps/unix -> sysdeps/posix move.
4606 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
4607
bf9b740a
AM
46082012-08-07 Allan McRae <allan@archlinux.org>
4609
4610 [BZ #14303]
4611 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
4612 (SUNOS_CPP): Likewise.
4613 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
4614 not found.
4615 (open_input): Call CPP using execvp.
4616
93df14ee
JM
46172012-08-07 Joseph Myers <joseph@codesourcery.com>
4618
4619 * sysdeps/unix/sysv/linux/kernel-features.h
4620 (__ASSUME_PROT_GROWSUPDOWN): Remove.
4621 (__ASSUME_NO_CLONE_DETACHED): Likewise.
4622 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4623 (__ASSUME_WAITID_SYSCALL): Likewise.
4624 * sysdeps/unix/sysv/linux/dl-execstack.c
4625 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
4626 code unconditional.
4627 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
4628 conditional code.
4629 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
4630 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
4631 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
4632 code.
4633 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
4634 unconditional.
4635 [__ASSUME_WAITID_SYSCALL]: Likewise.
4636 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
4637
d34689de
RM
46382012-08-07 Roland McGrath <roland@hack.frob.com>
4639
a281decc
RM
4640 * sysdeps/unix/closedir.c: Renamed to ...
4641 * sysdeps/posix/closedir.c: ... here.
4642 * sysdeps/unix/dirfd.c: Renamed to ...
4643 * sysdeps/posix/dirfd.c: ... here.
4644 * sysdeps/unix/dirstream.h: Renamed to ...
4645 * sysdeps/posix/dirstream.h: ... here.
4646 * sysdeps/unix/fdopendir.c: Renamed to ...
4647 * sysdeps/posix/fdopendir.c: ... here.
4648 * sysdeps/unix/opendir.c: Renamed to ...
4649 * sysdeps/posix/opendir.c: ... here.
4650 * sysdeps/unix/readdir.c: Renamed to ...
4651 * sysdeps/posix/readdir.c: ... here.
4652 * sysdeps/unix/readdir_r.c: Renamed to ...
4653 * sysdeps/posix/readdir_r.c: ... here.
4654 * sysdeps/unix/rewinddir.c: Renamed to ...
4655 * sysdeps/posix/rewinddir.c: ... here.
4656 * sysdeps/unix/seekdir.c: Renamed to ...
4657 * sysdeps/posix/seekdir.c: ... here.
4658 * sysdeps/unix/telldir.c: Renamed to ...
4659 * sysdeps/posix/telldir.c: ... here.
4660 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
4661 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
4662 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
4663 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
4664
22895b47
RM
4665 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
4666 * bits/fcntl.h: ... here.
4667
707a53b6
RM
4668 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
4669 not 0.
4670 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
4671 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
4672 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
4673 (struct flock): Move l_start, l_len to the beginning.
4674 Use __pid_t for l_pid.
4675 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
4676 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
4677 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
4678 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
4679 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
4680 [__USE_LARGEFILE64] (struct flock64): New type.
4681 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
4682
f0bd3e25
RM
4683 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
4684 * bits/dirent.h: ... here.
4685
d34689de
RM
4686 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
4687 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
4688
6dad2c06
JM
46892012-08-07 Joseph Myers <joseph@codesourcery.com>
4690
4691 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4692 Change from 2.6.0 to 2.6.16.
4693 * sysdeps/unix/sysv/linux/configure: Regenerated.
4694 * sysdeps/unix/sysv/linux/kernel-features.h
4695 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
4696 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
4697 version.
4698 (__ASSUME_UTIMES): Likewise.
4699 (__ASSUME_CLONE_STOPPED): Remove.
4700 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
4701 architectures, not kernel version.
4702 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
4703 (__ASSUME_NO_CLONE_DETACHED): Likewise.
4704 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4705 (__ASSUME_WAITID_SYSCALL): Likewise.
4706 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
4707 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
4708 * README: State 2.6.16 as minimum Linux kernel version. Do not
4709 refer to older versions.
4710
03af9520
RM
47112012-08-06 Roland McGrath <roland@hack.frob.com>
4712
8e49df1d
RM
4713 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
4714 Define alphasort64 as an alias.
4715 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
4716 Define versionsort64 as an alias.
4717 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
4718 Define scandir64 as an alias.
4719 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
4720 Define scandirat64 as an alias.
4721 * dirent/alphasort64.c (alphasort64):
4722 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
4723 * dirent/versionsort64.c: Likewise.
4724 * dirent/scandir64.c: Likewise.
4725 * dirent/scandirat64.c: Likewise.
4726 * sysdeps/wordsize-64/alphasort.c: File removed.
4727 * sysdeps/wordsize-64/alphasort64.c: File removed.
4728 * sysdeps/wordsize-64/scandir.c: File removed.
4729 * sysdeps/wordsize-64/scandir64.c: File removed.
4730 * sysdeps/wordsize-64/scandirat.c: File removed.
4731 * sysdeps/wordsize-64/scandirat64.c: File removed.
4732 * sysdeps/wordsize-64/versionsort.c: File removed.
4733 * sysdeps/wordsize-64/versionsort64.c: File removed.
4734 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
4735 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
4736 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
4737 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
4738 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
4739 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
4740 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
4741 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
4742
4743 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
4744 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
4745 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
4746 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4747 [defined __arch64__ || defined __sparcv9]
4748 (__INO_T_MATCHES_INO64_T): New macro.
4749 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4750 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
4751 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
4752 * sysdeps/unix/sysv/linux/bits/dirent.h
4753 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
4754 (_DIRENT_MATCHES_DIRENT64): New macro.
4755
03af9520
RM
4756 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
4757 Define lockf64 as an alias.
4758 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
4759 Define fseeko64 as an alias.
4760 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
4761 Define ftello64 as an alias.
4762 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
4763 Define _IO_fgetpos64 and fgetpos64 as aliases.
4764 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
4765 Define _IO_fsetpos64 and fsetpos64 as aliases.
4766 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
4767 Conditionalize body on this.
4768 * libio/fseeko64.c: Likewise.
4769 * libio/ftello64.c: Likewise.
4770 * libio/iofgetpos64.c: Likewise.
4771 * libio/iofsetpos64.c: Likewise.
4772 * sysdeps/wordsize-64/lockf.c: File removed.
4773 * sysdeps/wordsize-64/lockf64.c: File removed.
4774 * sysdeps/wordsize-64/fseeko.c: File removed.
4775 * sysdeps/wordsize-64/fseeko64.c: File removed.
4776 * sysdeps/wordsize-64/ftello.c: File removed.
4777 * sysdeps/wordsize-64/ftello64.c: File removed.
4778 * sysdeps/wordsize-64/iofgetpos.c: File removed.
4779 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
4780 * sysdeps/wordsize-64/iofsetpos.c: File removed.
4781 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
4782 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
4783 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
4784 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
4785 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
4786 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
4787 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
4788 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
4789 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
4790 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
4791 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
4792
4793 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
4794 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
4795 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
4796 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4797 [defined __arch64__ || defined __sparcv9]
4798 (__OFF_T_MATCHES_OFF64_T): New macro.
4799 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4800 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
4801 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4802 (__OFF_T_MATCHES_OFF64_T): New macro.
4803
c5757acd
L
48042012-08-06 H.J. Lu <hongjiu.lu@intel.com>
4805
4806 * stdlib/secure-getenv.c (__secure_getenv): Replace
4807 GLIBC_2_16 with GLIBC_2_17.
4808
3a31811e
L
48092012-08-06 H.J. Lu <hongjiu.lu@intel.com>
4810
4811 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
4812 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4813
faa2bccb
DM
48142012-08-03 David S. Miller <davem@davemloft.net>
4815
4816 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4817
85fe1997
JM
48182012-08-03 Joseph Myers <joseph@codesourcery.com>
4819
4820 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
4821 Remove.
4822 (__ASSUME_CORRECT_SI_PID): Likewise.
4823 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
4824 (__ASSUME_TMPFS_NAME): Likewise.
4825 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
4826 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
4827 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
4828 (HAVE_AUX_SECURE): Make definition unconditional.
4829 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
4830 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
4831
4f75b7a0
RM
48322012-08-03 Roland McGrath <roland@hack.frob.com>
4833
4834 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
4835 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
4836 * sysdeps/mach/hurd/eloop-threshold.h: New file.
4837 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4838 __eloop_threshold instead of SYMLOOP_MAX.
4839
4840 * sysdeps/generic/eloop-threshold.h: New file.
4841 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
4842 of MAXSYMLINKS.
4843 * elf/chroot_canon.c (chroot_canon): Likewise.
4844
7aab07e4
JM
48452012-08-03 Joseph Myers <joseph@codesourcery.com>
4846
4847 [BZ #13717]
4848 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4849 Change to 2.6.0 everywhere.
4850 * sysdeps/unix/sysv/linux/configure: Regenerated.
4851 * sysdeps/unix/sysv/linux/kernel-features.h
4852 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
4853 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
4854 kernel versions.
4855 (__ASSUME_POSIX_TIMERS): Define unconditionally.
4856 (__ASSUME_FUTEX_REQUEUE): Remove.
4857 (__ASSUME_STATFS64): Define unconditionally.
4858 (__ASSUME_AT_SECURE): Likewise.
4859 (__ASSUME_CORRECT_SI_PID): Likewise.
4860 (__ASSUME_TGKILL): Define without depending on kernel version for
4861 i386.
4862 (__ASSUME_UTIMES): Likewise.
4863 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
4864 kernel version.
4865 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
4866 (__ASSUME_TMPFS_NAME): Likewise.
4867 * README: Update reference to Linux kernel versions.
4868
b67e9372
MP
48692012-08-02 Marek Polacek <polacek@redhat.com>
4870
1f529f7d 4871 [BZ# 14150]
b67e9372
MP
4872 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
4873 libc_cv_asm_type_prefix with %.
4874 * configure: Regenerated.
d2441631
RM
4875 * include/libc-symbols.h: Remove comment about
4876 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
4877 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
4878 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
4879 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
4880 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
4881 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
4882 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
4883 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
4884 * elf/tst-unique2mod1.c: Likewise.
4885 * elf/tst-unique1mod2.c: Likewise.
4886 * elf/tst-unique1mod1.c: Likewise.
4887 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
4888 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
4889 Replace ASM_TYPE_DIRECTIVE with .type.
4890 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4891 * sysdeps/i386/sysdep.h: Likewise.
4892 * sysdeps/x86_64/sysdep.h: Likewise.
4893 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
4894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
4895 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 4896 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
4897 * sysdeps/powerpc/powerpc32/sysdep.h:
4898 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
4899 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
4900 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4901 * sysdeps/i386/fpu/e_powf.S: Likewise.
4902 * sysdeps/i386/fpu/e_expl.S: Likewise.
4903 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4904 * sysdeps/i386/fpu/e_acosh.S: Likewise.
4905 * sysdeps/i386/fpu/e_pow.S: Likewise.
4906 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
4907 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4908 * sysdeps/i386/fpu/s_expm1.S: Likewise.
4909 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4910 * sysdeps/i386/fpu/e_log2.S: Likewise.
4911 * sysdeps/i386/fpu/e_log2l.S: Likewise.
4912 * sysdeps/i386/fpu/e_scalb.S: Likewise.
4913 * sysdeps/i386/fpu/e_powl.S: Likewise.
4914 * sysdeps/i386/fpu/e_log10f.S: Likewise.
4915 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
4916 * sysdeps/i386/fpu/e_logl.S: Likewise.
4917 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
4918 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4919 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
4920 * sysdeps/i386/fpu/e_log2f.S: Likewise.
4921 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4922 * sysdeps/i386/fpu/e_log.S: Likewise.
4923 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4924 * sysdeps/i386/fpu/e_logf.S: Likewise.
4925 * sysdeps/i386/fpu/e_log10l.S: Likewise.
4926 * sysdeps/i386/fpu/e_atanh.S: Likewise.
4927 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
4928 * sysdeps/i386/fpu/e_log10.S: Likewise.
4929 * sysdeps/i386/fpu/s_frexp.S: Likewise.
4930 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4931 * sysdeps/i386/fpu/s_asinh.S: Likewise.
4932 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
4933 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4934 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
4935 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
4936 * sysdeps/i386/i686/strtok.S: Likewise.
4937 * sysdeps/i386/i386-mcount.S: Likewise.
4938 * sysdeps/i386/strtok.S: Likewise.
4939 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
4940 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4941 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4942 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4943 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4944 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4945 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
4946 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
4947 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4948 * sysdeps/x86_64/_mcount.S: Likewise.
4949 * sysdeps/x86_64/strtok.S: Likewise.
4950 * sysdeps/sh/_mcount.S: Likewise.
4951
2747bf9a
RM
49522012-08-01 Roland McGrath <roland@hack.frob.com>
4953
4954 * libio/iofopen.c: Include <fcntl.h>.
4955 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
4956 (_IO_fopen64, fopen64): Define as aliases.
4957 * libio/iofopen64.c: Include <fcntl.h>.
4958 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
4959 Conditionalize body on this.
4960 * sysdeps/wordsize-64/iofopen.c: File removed.
4961 * sysdeps/wordsize-64/iofopen64.c: File removed.
4962
3fb791b8
MP
49632012-08-01 Marek Polacek <polacek@redhat.com>
4964
4965 * libc/Makeconfig: Use elf in place of binfmt-subdir.
4966 Use dlfcn directly instead of a variable.
4967 (binfmt-subdir): Do not define.
4968 (dlfcn): Likewise.
4969
a9f1039f
JM
49702012-08-01 Joseph Myers <joseph@codesourcery.com>
4971
23bddc06
JM
4972 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
4973 Remove all definitions.
4974 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
4975 <kernel-features.h>.
4976 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
4977 (miss_F_GETOWN_EX): Remove all definitions.
4978 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
4979 macro definition.
4980 [!__ASSUME_FCNTL64]: Remove conditional code.
4981 [__ASSUME_FCNTL64]: Make code unconditional.
4982 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
4983 <kernel-features.h>.
4984 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
4985 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
4986 (lockf64) [__NR_fcntl64]: Make code unconditional.
4987 (lockf64) [__ASSUME_FCNTL64]: Likewise.
4988
a9f1039f
JM
4989 * sysdeps/unix/sysv/linux/kernel-features.h
4990 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
4991 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
4992 Make code unconditional.
4993 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4994 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
4996 [__NR_vfork]: Make code unconditional.
4997 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4998 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
5000 [__NR_vfork]: Make code unconditional.
5001 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5002 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5003
09c0ee5f
RM
50042012-08-01 Roland McGrath <roland@hack.frob.com>
5005
48aec5b9
RM
5006 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
5007 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
5008
cd97c966
RM
5009 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5010 Define mkstemp64 as an alias.
3f55550c
RM
5011 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5012 Define mkstemps64 as an alias.
cd97c966
RM
5013 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5014 Define mkostemp64 as an alias.
b8625cfc
RM
5015 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5016 Define mkostemps64 as an alias.
cd97c966
RM
5017 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
5018 Conditionalize body on this.
5019 * misc/mkostemp64.c: Likewise.
b8625cfc 5020 * misc/mkostemps64.c: Likewise.
3f55550c 5021 * misc/mkstemps64.c: Likewise.
cd97c966
RM
5022 * sysdeps/wordsize-64/mkstemp64.c: File removed.
5023 * sysdeps/wordsize-64/mkostemp64.c: File removed.
5024 * sysdeps/wordsize-64/mkostemp.c: File removed.
5025 * sysdeps/wordsize-64/mkstemp.c: File removed.
5026 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
5027 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
5028 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
5029 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
5030
09c0ee5f
RM
5031 [BZ #14138]
5032 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
5033 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
5034 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
5035 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
5036
5037 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
5038 compat_symbol macros from <shlib-compat.h> rather than the underlying
5039 default_symbol_version and symbol_version macros, so that DEFAULT
5040 lines in shlib-versions are respected.
5041 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
5042
7e66ee51
FW
50432012-08-01 Florian Weimer <fweimer@redhat.com>
5044
5045 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
5046 Declare with warn_unused_result.
5047 (setgid, setregid, setegid, setresgid): Likewise.
5048 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
5049 Likewise.
5050 * WUR-REPORT: Remove set*id functions.
5051
d2a54255
PT
50522012-07-31 Pino Toscano <toscano.pino@tiscali.it>
5053
5054 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
5055
7ecdb005
RM
50562012-07-31 Roland McGrath <roland@hack.frob.com>
5057
789bd351
RM
5058 * include/sys/socket.h (__libc_accept, __libc_accept4):
5059 Add attribute_hidden.
5060 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
5061
40ce302d
RM
5062 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
5063 use of PTR_MANGLE.
5064 * inet/getnetgrent_r.c (setup): Likewise.
5065
7ecdb005
RM
5066 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
5067
e2eabb2c
DM
50682012-07-31 David S. Miller <davem@davemloft.net>
5069
5070 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5071
d0419dbf
JM
50722012-07-31 Joseph Myers <joseph@codesourcery.com>
5073
5074 [BZ #13629]
5075 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
5076 value between 1.0 and 2.0 and smaller part has absolute value less
5077 than 1.0.
5078 * math/s_clog10.c (__clog10): Likewise.
5079 * math/s_clog10f.c (__clog10f): Likewise.
5080 * math/s_clog10l.c (__clog10l): Likewise.
5081 * math/s_clogf.c (__clogf): Likewise.
5082 * math/s_clogl.c (__clogl): Likewise.
5083 * math/libm-test.inc (clog_test): Add more tests.
5084 (clog10_test): Likewise.
5085 * sysdeps/i386/fpu/libm-test-ulps: Update.
5086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5087
2bc13872
FW
50882012-07-31 Florian Weimer <fweimer@redhat.com>
5089
5090 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
5091 Exit with zero in case no suitable GID is found, and write a
5092 message to standard error.
5093
bea9b193
RM
50942012-07-30 Roland McGrath <roland@hack.frob.com>
5095
5096 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
5097 rather than to 1.
5098 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
5099 (MAXPATHLEN): Removed.
5100 (NOGROUP, NODEV): New macros.
5101 (setbit, clrbit, isset, isclr): New macros.
5102 (howmany, roundup, powerof2): New macros.
5103 (DEV_BSIZE): New macro.
5104
5105 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
5106 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
5107
5108 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
5109 definition on [!__NO_LONG_DOUBLE_MATH].
5110
5111 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
5112 PTR_MANGLE and PTR_DEMANGLE.
5113
5114 * socket/accept4.c (accept4): Rename to __libc_accept4.
5115 Define accept4 as a weak alias.
5116
5117 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
5118 on [_DIRENT_HAVE_D_TYPE].
5119 * io/ftw.c (ftw_dir): Likewise.
5120
5121 * io/xmknod.c (__xmknod): Don't check PATH for being null.
5122
5123 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
5124
5125 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
5126 Use the BSD numbers rather than the arbitrary ones we had.
5127 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
5128 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
5129 (SIGXCPU, SIGXFSZ): New macros.
5130 (_NSIG): Now 32.
5131
5132 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
5133 initializer on [_LIBC_REENTRANT].
5134
5135 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
5136 definitions inside [_POSIX_MAPPED_FILES].
5137
5138 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
5139
5140 * dirent/opendir.c: Include <fcntl.h>.
5141
5142 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
5143 (__libc_getspecific): Likewise.
5144 (__libc_key_create): Likewise.
5145
5146 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
5147 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
5148 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
5149 (tmpfile64): Define as alias.
5150 * sysdeps/wordsize-64/tmpfile.c: File removed.
5151 * sysdeps/wordsize-64/tmpfile64.c: File removed.
5152 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
5153 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
5154
5155 * stdio-common/vfscanf.c: Include <stdbool.h>.
5156 * nss/makedb.c: Likewise.
5157 * stdio-common/_i18n_number.h: Likewise.
5158 * argp/argp-help.c: Likewise.
5159 * posix/wordexp.c: Likewise.
5160 * sysdeps/posix/spawni.c: Likewise.
5161 * nss/nss_files/files-initgroups.c: Likewise.
5162 * stdio-common/reg-modifier.c: Include <stdlib.h>.
5163 * nss/nss_files/files-initgroups.c: Likewise.
5164 * nss/nss_db/db-netgrp.c: Likewise.
5165 * nss/nss_db/db-initgroups.c: Likewise.
5166 * io/fchmodat.c: Include <sys/stat.h>.
5167
5168 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
5169 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
5170
5171 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
5172 [HAVE_MMAP].
5173
5174 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
5175 Add multiple inclusion protection.
5176
e5abc686
DM
51772012-07-27 David S. Miller <davem@davemloft.net>
5178
5179 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5180
815e6fa3
GB
51812012-07-27 Gary Benson <gbenson@redhat.com>
5182
5183 [BZ #14298]
5184 * elf/rtld.c: Include <stap-probe.h>.
5185 (dl_main): Added static probes "init_start" and "init_complete".
5186 * elf/dl-load.c: Include <stap-probe.h>.
5187 (lose): Take new parameter "nsid".
5188 Added static probe "map_failed".
5189 (_dl_map_object_from_fd): Pass namespace id to lose.
5190 Added static probe "map_start".
5191 (open_verify): Pass namespace id to lose.
5192 * elf/dl-open.c: Include <stap-probe.h>.
5193 (dl_open_worker) Added static probes "map_complete", "reloc_start"
5194 and "reloc_complete".
5195 * elf/dl-close.c: Include <stap-probe.h>.
5196 (_dl_close_worker): Added static probes "unmap_start" and
5197 "unmap_complete".
5198 * elf/rtld-debugger-interface.txt: New file documenting the above.
5199
9f98c16c
RM
52002012-07-26 Roland McGrath <roland@hack.frob.com>
5201
5202 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
5203 rather than a string variable.
5204 * sunrpc/rpc_main.c (h_output): Likewise.
5205 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
5206
f3c22df3
PT
52072012-07-26 Pino Toscano <toscano.pino@tiscali.it>
5208
5209 * inet/check_native.c: New file.
5210
3129cfc6
JM
52112012-07-26 Joseph Myers <joseph@codesourcery.com>
5212
da865e95
JM
5213 [BZ #13629]
5214 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
5215 if larger part has absolute value 1.0.
5216 * math/s_clog10.c (__clog10): Likewise.
5217 * math/s_clog10f.c (__clog10f): Likewise.
5218 * math/s_clog10l.c (__clog10l): Likewise.
5219 * math/s_clogf.c (__clogf): Likewise.
5220 * math/s_clogl.c (__clogl): Likewise.
5221 * math/libm-test.inc (clog_test): Add more tests.
5222 (clog10_test): Likewise.
5223 * sysdeps/i386/fpu/libm-test-ulps: Update.
5224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5225
3129cfc6
JM
5226 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
5227 (pltexit): Likewise.
5228 (La_regs): Likewise.
5229 (La_retval): Likewise.
5230 (int_retval): Likewise.
5231 Update #error for removed macros to refer only to definitions in
5232 tst-audit.h.
5233 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
5234 macro.
5235 (pltexit): Likewise.
5236 (La_regs): Likewise.
5237 (La_retval): Likewise.
5238 (int_retval): Likewise.
5239 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
5240 macro.
5241 (pltexit): Likewise.
5242 (La_regs): Likewise.
5243 (La_retval): Likewise.
5244 (int_retval): Likewise.
5245 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
5246 macro.
5247 (pltexit): Likewise.
5248 (La_regs): Likewise.
5249 (La_retval): Likewise.
5250 (int_retval): Likewise.
5251 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
5252 macro.
5253 (pltexit): Likewise.
5254 (La_regs): Likewise.
5255 (La_retval): Likewise.
5256 (int_retval): Likewise.
5257 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
5258 macro.
5259 (pltexit): Likewise.
5260 (La_regs): Likewise.
5261 (La_retval): Likewise.
5262 (int_retval): Likewise.
5263 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
5264 macro.
5265 (pltexit): Likewise.
5266 (La_regs): Likewise.
5267 (La_retval): Likewise.
5268 (int_retval): Likewise.
5269 * sysdeps/generic/tst-audit.h: Update comment to refer only to
5270 macro definitions in tst-audit.h.
5271 * sysdeps/i386/tst-audit.h: New file.
5272 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
5273 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
5274 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
5275 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
5276 * sysdeps/sh/tst-audit.h: Likewise.
5277 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
5278 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
5279 * sysdeps/x86_64/tst-audit.h: Likewise.
5280
bfc07087
AJ
52812012-07-26 Andreas Jaeger <aj@suse.de>
5282
b1b2aaf8
AJ
5283 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
5284 ptrace.
5285
5286 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
5287 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
5288 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
5289 PTRACE_O_MASK.
5290 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
5291 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
5292 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
5293
bfc07087
AJ
5294 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
5295 value.
5296
5297 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
5298 _sigsys.
5299 (si_call_addr, si_syscall, si_arch): Define new macro.
5300 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
5301 _sigsys.
5302 (si_call_addr, si_syscall, si_arch): Define new marcro.
5303 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
5304 _sigsys.
5305 (si_call_addr, si_syscall, si_arch): Define new macro.
5306 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
5307 _sigsys.
5308 (si_call_addr, si_syscall, si_arch): Define new macro.
5309
89b4b02f
JM
53102012-07-25 Joseph Myers <joseph@codesourcery.com>
5311
5312 [BZ #13717]
5313 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5314 Change to 2.4.21 where previously 2.4.1.
5315 * sysdeps/unix/sysv/linux/configure: Regenerated.
5316 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
5317 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
5318 Linux kernel version.
5319 (__ASSUME_STD_AUXV): Remove.
5320 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
5321 kernel version.
5322 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
5323 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
5324 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
5325 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
5326 (__ASSUME_NETLINK_SUPPORT): Likewise.
5327 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
5328 (__no_netlink_support): Remove conditional definition.
5329 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
5330 Remove.
5331 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5332 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
5333 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
5334 (if_nameindex_ioctl): Remove.
5335 (if_nameindex_netlink): Do not handle __no_netlink_support.
5336 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5337 code.
5338 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
5339 Remove conditional code.
5340 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5341 code.
5342 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
5343 unconditional.
5344 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5345 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
5346 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
5347 Remove.
5348 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
5349 [!__ASSUME_STD_AUXV]: Remove conditional code.
5350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
5351 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
5352 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
5353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
5354 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
5355 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5356 code.
5357 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5359 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
5360 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5361 conditional code.
5362 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
5364 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5365 code.
5366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5367 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5368 conditional code.
5369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
5370 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5371 code unconditional.
5372 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5373 conditional code.
5374 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5375 unconditional.
5376 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5377 conditional code.
5378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
5379 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5380 unconditional.
5381 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5382 conditional code.
5383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
5384 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5385 code unconditional.
5386 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5387 conditional code.
5388 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5389 unconditional.
5390 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5391 conditional code.
5392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
5393 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5394 code unconditional.
5395 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5396 conditional code.
5397 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5398 unconditional.
5399 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5400 conditional code.
5401
842a39cd
AS
54022012-07-25 Andreas Schwab <schwab@linux-m68k.org>
5403
5404 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
5405 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
5406 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5407 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
5408 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
5409 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
5410 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5411 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
5412 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
5413 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
5414 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
5415 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
5416 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
5417 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5418 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
5419 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
5420 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
5421 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
5422 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
5423 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
5424 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
5425 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
5426 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5427
84b3fd84
FW
54282012-07-25 Florian Weimer <fweimer@redhat.com>
5429
5430 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
5431 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
5432 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
5433 Introduce __libc_secure_getenv.
0c7936d5
FW
5434 * stdlib/Versions (2.17): Add secure_getenv
5435 (GLIBC_PRIVATE): Add __libc_secure_getenv.
5436 * stdlib/secure-getenv.c: Rename __secure_getenv to
5437 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
5438 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
5439 * stdlib/tst-secure-getenv.c: New.
5440 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
5441 * manual/startup.texi (Environment Access): Document
5442 secure_getenv.
84b3fd84
FW
5443 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
5444 __libc_secure_getenv.
5445 * inet/ruserpass.c (ruserpass): Likewise.
5446 * malloc/mtrace.c (mtrace): Likewise.
5447 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 5448 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
5449 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
5450 * sysdeps/posix/tempname.c: Likewise. Evaluate
5451 HAVE_SECURE_GETENV.
5452 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 5453 __secure_getenv to __libc_secure_getenv.
84b3fd84 5454 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
5455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5456 Likewise.
5457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5458 Likewise.
5459 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
5460 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
5461 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5462 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
5463 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
5464 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5465 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 5466
56e49b71
JM
54672012-07-25 Joseph Myers <joseph@codesourcery.com>
5468
5469 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
5470 (struct La_i86_retval): Likewise.
5471 (struct La_x86_64_regs): Likewise.
5472 (struct La_x86_64_retval): Likewise.
5473 (struct La_x32_regs): Likewise.
5474 (struct La_x32_retval): Likewise.
5475 (struct La_ppc32_regs): Likewise.
5476 (struct La_ppc32_retval): Likewise.
5477 (struct La_ppc64_regs): Likewise.
5478 (struct La_ppc64_retval): Likewise.
5479 (struct La_sh_regs): Likewise.
5480 (struct La_sh_retval): Likewise.
5481 (struct La_s390_32_regs): Likewise.
5482 (struct La_s390_32_retval): Likewise.
5483 (struct La_s390_64_regs): Likewise.
5484 (struct La_s390_64_retval): Likewise.
5485 (struct La_sparc32_regs): Likewise.
5486 (struct La_sparc32_retval): Likewise.
5487 (struct La_sparc64_regs): Likewise.
5488 (struct La_sparc64_retval): Likewise.
5489 (struct audit_ifaces): Remove architecture-specific pltenter and
5490 pltexit members.
5491 * sysdeps/i386/ldsodefs.h: New file.
5492 * sysdeps/powerpc/ldsodefs.h: Likewise.
5493 * sysdeps/s390/ldsodefs.h: Likewise.
5494 * sysdeps/sh/ldsodefs.h: Likewise.
5495 * sysdeps/sparc/ldsodefs.h: Likewise.
5496 * sysdeps/x86_64/ldsodefs.h: Likewise.
5497
354691b7
MP
54982012-07-25 Marek Polacek <polacek@redhat.com>
5499
5500 [BZ #6808]
5501 * math/libm-test.inc (yn_test): Add another test.
5502 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
5503 to ERANGE when the result is +-Inf.
5504 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
5505 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
5506 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
5507 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
5508
bf9e2071
JM
55092012-07-24 Joseph Myers <joseph@codesourcery.com>
5510
5511 * conform/data/time.h-data (NULL): Use macro-constant. Require
5512 equal to 0.
5513 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
5514 clock_t.
5515 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
5516
57633811
TS
55172012-07-23 Thomas Schwinge <thomas@codesourcery.com>
5518
5519 * configure.in <sysdeps resolving>: Correct printing
5520 Implies_before.
5521 * configure: Regenerate.
5522
c23c33b0
TS
55232012-07-22 Thomas Schwinge <thomas@codesourcery.com>
5524
5525 * math/w_ilogb.c: Include <limits.h>.
5526 * math/w_ilogbl.c: Likewise.
5527
b5982523
JM
55282012-07-20 Joseph Myers <joseph@codesourcery.com>
5529
5530 * manual/lang.texi (__va_copy): Document primarily as ISO C99
5531 va_copy. Document allowing for unavailable va_copy only as
5532 pre-C99 compatibility.
5533 * manual/string.texi (Copying and Concatenation): Use va_copy
5534 instead of __va_copy in concat example.
5535
ac4ea442
PT
55362012-07-20 Pino Toscano <toscano.pino@tiscali.it>
5537
5538 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
5539 (__sendto): Use create_address_port. Initialize APORT and deallocate
5540 it if not null.
5541
f98eafbd
PT
5542 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
5543 with O_NOLINK passed to __file_name_lookup.
5544
898c7aab
PT
5545 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
5546 with O_NOLINK passed to __file_name_lookup.
5547
0ced335a
PT
5548 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
5549 negative N or less than NGIDS.
5550
b3404dbd
PT
5551 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
5552 type to string_t. Set ERANGE as errno and return it if NAME is not big
5553 enough. Use memcpy instead of strncpy.
5554
0f48659e
JM
55552012-07-20 Joseph Myers <joseph@codesourcery.com>
5556
5557 * elf/Makefile (check-data): Remove.
5558 (localplt.data): New vpath directive.
5559 ($(objpfx)check-localplt.out): Use localplt.data from vpath
5560 instead of $(check-data).
5561 * scripts/data/localplt-generic.data: Move to ...
5562 * sysdeps/generic/localplt.data: ... here.
5563 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
5564 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
5565 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
5566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
5567 ... here.
5568 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
5569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
5570 ... here.
5571 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
5572 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
5573 ... here.
5574 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
5575 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
5576 ... here.
5577 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
5578 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
5579 ... here.
5580 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
5581 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
5582 ... here.
5583
d37cbdaa
AZ
55842012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5585
5586 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
5587 PPC32 and PPC64 files.
5588 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
5589 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
5590
46f85fc2
AK
55912012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5592
5593 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
5594 __makecontext_ret to ...
5595 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
5596 ... here and call exit if uc_link is NULL. New file.
5597 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
5598 __makecontext_ret.S.
5599 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
5600 __makecontext_ret to ...
5601 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
5602 ... here and call exit if uc_link is NULL. New file.
5603 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
5604 __makecontext_ret.S.
5605
08f43f9b
AK
56062012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5607
5608 * elf/elf.h (R_390_IRELATIVE): New definition.
5609 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
5610 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
5611 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
5612 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
5613 (elf_machine_lazy_rel): Likewise.
5614 * sysdeps/s390/dl-irel.h: New file.
5615 * sysdeps/s390/s390-64/memcpy.S: New asm code.
5616 * sysdeps/s390/s390-64/memset.S: New asm code.
5617 * sysdeps/s390/s390-64/memcmp.S: New asm code.
5618 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
5619 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
5620 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
5621 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
5622 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
5623 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
5624 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
5625 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
5626 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
5627 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
5628 * sysdeps/s390/s390-32/memcpy.S: New asm code.
5629 * sysdeps/s390/s390-32/memset.S: New asm code.
5630 * sysdeps/s390/s390-32/memcmp.S: New asm code.
5631
3b05db33
MP
56322012-07-17 Marek Polacek <polacek@redhat.com>
5633
5634 [BZ #14349]
5635 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
5636 * sysdeps/s390/s390-64/configure.in: Likewise.
5637 * sysdeps/sparc/configure.in: Likewise.
5638 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
5639 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
5640 * sysdeps/i386/configure.in: Likewise.
5641 * sysdeps/x86_64/configure.in: Likewise.
5642 * sysdeps/sh/configure.in: Likewise.
5643 * sysdeps/s390/s390-32/configure: Regenerated.
5644 * sysdeps/s390/s390-64/configure: Likewise.
5645 * sysdeps/x86_64/configure: Likewise.
5646 * sysdeps/sh/configure: Likewise.
5647 * sysdeps/powerpc/powerpc64/configure: Likewise.
5648 * sysdeps/powerpc/powerpc32/configure: Likewise.
5649 * sysdeps/sparc/configure: Likwise.
5650 * sysdeps/i386/configure: Likewise.
5651
a66877c6
MP
5652 * elf/dl-open.c: Comment fixes.
5653
cfc82fd8
JM
56542012-07-17 Joseph Myers <joseph@codesourcery.com>
5655
bd29910a
JM
5656 * Makefile [CXX] (check-data): Remove.
5657 [CXX] (c++-types.data): New vpath directive.
5658 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
5659 vpath. Do not allow for C++ type data being missing.
5660 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
5661 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
5662 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
5663 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
5664 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
5665 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
5666 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
5667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
5668 ... here.
5669 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
5670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
5671 ... here.
5672 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
5673 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
5674 ... here.
5675 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
5676 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
5677 ... here.
5678 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
5679 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
5680 ... here.
5681 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
5682 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
5683 ... here.
5684 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
5685 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
5686 ... here.
5687 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
5688 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
5689
cfc82fd8
JM
5690 * elf/tls-macros.h (TLS_LE): Move architecture-specific
5691 definitions to architecture-specific files.
5692 (TLS_IE): Likewise.
5693 (TLS_LD): Likewise.
5694 (TLS_GD): Likewise.
5695 * sysdeps/i386/tls-macros.h: New file.
5696 * sysdeps/powerpc/tls-macros.h: Likewise.
5697 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
5698 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
5699 * sysdeps/sh/tls-macros.h: Likewise.
5700 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
5701 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
5702 * sysdeps/x86_64/tls-macros.h: Likewise.
5703
f7db3170
TS
57042012-07-17 Thomas Schwinge <thomas@codesourcery.com>
5705
07cbfc23
TS
5706 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
5707 zero value for regular exit case.
5708
f7db3170
TS
5709 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
5710 (__start_context): Preserve zero value for regular exit case.
5711
dc97c227
TS
57122012-07-17 Thomas Schwinge <thomas@codesourcery.com>
5713 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5714
5715 * manual/setjmp.texi (setcontext): Clarify normal process
5716 termination when uc_link is the null pointer.
5717 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
5718 exit call.
5719
d0cd7d02
AS
57202012-07-16 Andreas Schwab <schwab@linux-m68k.org>
5721
5722 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
5723 preprocessor. Test for each exception mask separately.
5724
dd318934
AJ
57252012-07-16 Andreas Jaeger <aj@suse.de>
5726
5727 * po/ru.po: Update from translation team.
5728
8048311a
JM
57292012-07-15 Joseph Myers <joseph@codesourcery.com>
5730
5731 * conform/data/string.h-data (NULL): Use macro-constant. Require
5732 equal to 0.
5733 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
5734 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
5735 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
5736 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
5737 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5738
b637d46e
AJ
57392012-07-13 Andreas Jaeger <aj@suse.de>
5740
5741 * po/fr.po: Update from translation team.
5742
541428fe
MP
57432012-07-12 Marek Polacek <polacek@redhat.com>
5744
5745 [BZ #14173]
5746 * math/libm-test.inc (yn_test): Add test for BZ #14173.
5747 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
5748 loop condition.
5749
ec332e94
JM
57502012-07-12 Joseph Myers <joseph@codesourcery.com>
5751
5752 [BZ #13717]
5753 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5754 Change to 2.4.1 where previously 2.4.0.
5755 * sysdeps/unix/sysv/linux/configure: Regenerated.
5756 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
5757 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
5758 version.
5759 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
5760 (__ASSUME_AT_CLKTCK): Remove.
5761 (__ASSUME_AT_PAGESIZE): Likewise.
5762 (__ASSUME_AT_XID): Likewise.
5763 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
5764 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
5765 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
5766 unconditionally.
5767 (HAVE_AUX_PAGESIZE): Likewise.
5768 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
5769 [__ASSUME_AT_CLKTCK]: Make code unconditional.
5770 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
5771
7b6e99be
JB
57722012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
5773
5774 [BZ #14307]
5775 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
5776 the temporary buffer used to invoke __gethostbyname2_r,
5777 __gethostbyaddr_r and gethostbyname4_r to make room for struct
5778 host_data / struct gaih_addrtuple.
5779 * resolv/nss_dns/dns-host.c (global scope): Move definition of
5780 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
5781 header file nss/nsswitch.h.
5782 * nss/nsswitch.h (global scope): Add definition of implementation
5783 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
5784 resolv/nss_dns/dns-host.c).
5785
608404eb
AJ
57862012-07-11 Andreas Jaeger <aj@suse.de>
5787
5788 * po/fr.po: Update from translation team.
5789
71220aca
AJ
5790 * po/sv.po: Update from translation team
5791 * po/fr.po: Another update from translation team.
5792
28cfe843
AZ
57932012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5794
5795 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
5796 for subnormals or multiply small sinh result by itself.
5797 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5798 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5799
6b90f981
DM
58002012-07-11 David S. Miller <davem@davemloft.net>
5801
5802 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5803
c6825772
AS
58042012-07-10 Andreas Schwab <schwab@linux-m68k.org>
5805
5806 [BZ #14347]
5807 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
5808 (INTERNAL_MARK): Shift it here.
5809
7b8e0d49
MP
58102012-07-10 Marek Polacek <polacek@redhat.com>
5811
5812 [BZ #14151]
5813 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
5814 libc_cv_asm_global_directive with .globl.
5815 * configure: Regenerated.
5816 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
5817 with .globl.
5818 * sysdeps/i386/configure: Regenerated.
5819 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
5820 with .globl.
5821 * sysdeps/x86_64/configure: Regenerated.
5822 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
5823 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
5824 * elf/tst-unique2mod2.c: Likewise.
5825 * elf/tst-unique2mod1.c: Likewise.
5826 * elf/tst-unique1mod2.c: Likewise.
5827 * elf/tst-unique1mod1.c: Likewise.
5828 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5829 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5830 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5831 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5832 * sysdeps/mach/sysdep.h: Likewise.
5833 * sysdeps/i386/sysdep.h: Likewise.
5834 * sysdeps/i386/i386-mcount.S: Likewise.
5835 * sysdeps/x86_64/_mcount.S: Likewise.
5836 * sysdeps/x86_64/sysdep.h: Likewise.
5837 * sysdeps/sh/_mcount.S: Likewise.
5838 * sysdeps/sh/sysdep.h: Likewise.
5839 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
5840 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
5841 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
5842 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5843 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
5844 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
5845 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
5846 * locale/localeinfo.h: Likewise.
5847 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
5848 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
5849
6c55cda3
RM
58502012-07-09 Roland McGrath <roland@hack.frob.com>
5851
5852 [BZ #14336]
5853 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
5854 system".
5855 * manual/message.texi (The Uniforum approach): Likewise.
5856 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
5857 (glibc iconv Implementation): Likewise.
5858
638a572e
JM
58592012-07-09 Joseph Myers <joseph@codesourcery.com>
5860
5861 [BZ #14337]
5862 * math/s_clog.c (__clog): Avoid scaling a value down where that
5863 could result in underflow.
5864 * math/s_clog10.c (__clog10): Likewise.
5865 * math/s_clog10f.c (__clog10f): Likewise.
5866 * math/s_clog10l.c (__clog10l): Likewise.
5867 * math/s_clogf.c (__clogf): Likewise.
5868 * math/s_clogl.c (__clogl): Likewise.
5869 * math/libm-test.inc (clog_test): Add more tests.
5870 (clog10_test): Likewise.
5871 * sysdeps/i386/fpu/libm-test-ulps: Update.
5872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5873
261f4859
AS
58742012-07-06 Andreas Schwab <schwab@linux-m68k.org>
5875
0abaf3e4
AS
5876 [BZ #14283]
5877 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
5878 by 7 not 8 to examine high bit of fractional part.
5879
261f4859
AS
5880 [BZ #14042]
5881 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
5882 for call to __mcount_internal.
5883 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
5884 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
5885 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
5886
f17ac40d
JM
58872012-07-06 Joseph Myers <joseph@codesourcery.com>
5888
9ad63c23
JM
5889 [BZ #14154]
5890 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
5891 approximation for values within 0x1p-13f of an odd multiple of
5892 pi/4.
5893 * math/libm-test.inc (tan_test): Do not allow spurious underflow
5894 exception. Add more tests.
5895 * sysdeps/i386/fpu/libm-test-ulps: Update.
5896
f17ac40d
JM
5897 [BZ #6778]
5898 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
5899 inputs and return -1 for them. Do not check for +Inf in case not
5900 reachable for +Inf.
5901 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5902 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
5903 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
5904 and return -1 for them. Do not check for +Inf in case not
5905 reachable for +Inf.
5906 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
5907 define.
5908 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
5909 and return -1 for them. Do not check for +Inf in case not
5910 reachable for +Inf.
5911 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
5912 spurious underflow.
5913 * sysdeps/i386/fpu/libm-test-ulps: Update.
5914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5915
fb21f89b
MF
59162012-07-06 Mike Frysinger <vapier@gentoo.org>
5917
5918 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
5919
cdfe2c5e
JM
59202012-07-05 Joseph Myers <joseph@codesourcery.com>
5921
5922 [BZ #14157]
5923 [BZ #14331]
5924 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
5925 could result in spurious underflow. Scale down values above
5926 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
5927 * math/s_csqrtf.c (__csqrtf): Likewise.
5928 * math/s_csqrtl.c (__csqrtl): Likewise.
5929 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
5930 spurious underflow.
5931 * sysdeps/i386/fpu/libm-test-ulps: Update.
5932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5933
70d35b67
AS
59342012-07-04 Andreas Schwab <schwab@linux-m68k.org>
5935
704bc459
AS
5936 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
5937 xopen-msg.sed.
5938 * catgets/xopen-msg.awk: New file.
5939 * catgets/xopen-msg.sed: Removed.
5940
70d35b67
AS
5941 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
5942 po2text.sed.
5943 * intl/po2test.awk: New file.
5944 * intl/po2test.sed: Removed.
5945
ca61cf32
JM
59462012-07-04 Joseph Myers <joseph@codesourcery.com>
5947
5948 [BZ #14328]
5949 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
5950 or multiply small sinh result by itself.
5951 * math/s_ctanf.c (__ctanf): Likewise.
5952 * math/s_ctanh.c (__ctanh): Likewise.
5953 * math/s_ctanhf.c (__ctanhf): Likewise.
5954 * math/s_ctanhl.c (__ctanhl): Likewise.
5955 * math/s_ctanl.c (__ctanl): Likewise.
5956 * math/libm-test.inc (ctan_test_tonearest): New function.
5957 (ctan_test_towardzero): Likewise.
5958 (ctan_test_downward): Likewise.
5959 (ctan_test_upward): Likewise.
5960 (ctanh_test_tonearest): Likewise.
5961 (ctanh_test_towardzero): Likewise.
5962 (ctanh_test_downward): Likewise.
5963 (ctanh_test_upward): Likewise.
5964 (main): Call these new functions.
5965 * sysdeps/i386/fpu/libm-test-ulps: Update.
5966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5967
ca48a46a
MF
59682012-07-03 Mike Frysinger <vapier@gentoo.org>
5969
5970 * .gitignore: Delete /ports entry.
5971
9d63d37d
AJ
59722012-07-03 Andreas Jaeger <aj@suse.de>
5973
5974 * po/bg.po: Update from translation team.
5975 * po/cs.po: Likewise.
5976 * po/de.po: Likewise.
5977 * po/hr.po: Likewise.
5978 * po/nl.pl: Likewise.
5979 * po/pl.po: Likewise.
5980 * po/vi.po: Likewise.
5981
370ca3d2
JM
59822012-07-03 Joseph Myers <joseph@codesourcery.com>
5983
95f5a9a8
JM
5984 * Makeconfig [!+link] (+link-before-libc): New variable.
5985 [!+link] (+link-after-libc): Likewise.
5986 [!+link] (+link-tests): Likewise.
5987 [!+link] (+link): Define in terms of $(+link-before-libc) and
5988 $(+link-after-libc).
5989 [!+link-static] (+link-static-before-libc): New variable.
5990 [!+link-static] (+link-static-after-libc): Likewise.
5991 [!+link-static] (+link-static-tests): Likewise.
5992 [!+link-static] (+link-static): Define in terms of
5993 $(+link-static-before-libc) and $(+link-static-after-libc).
5994 [build-shared] (link-libc-before-gnulib): New variable.
5995 [build-shared] (link-libc-tests): Likewise.
5996 [build-shared] (link-libc): Define in terms of
5997 $(link-libc-before-gnulib).
5998 [!build-shared] (link-libc-tests): New variable.
5999 (link-libc-static-tests): New variable.
6000 [!gnulib] (gnulib-arch): New variable.
6001 [!gnulib] (gnulib-tests): Likewise.
6002 [!gnulib] (static-gnulib-arch): Likewise.
6003 [!gnulib] (static-gnulib-tests): Likewise.
6004 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
6005 Define with "=" instead of ":=".
6006 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
6007 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
6008 * Rules (binaries-all-notests): New variable.
6009 (binaries-all-tests): Likewise.
6010 (binaries-static-notests): Likewise.
6011 (binaries-static-tests): Likewise.
6012 (binaries-all): Define using $(binaries-all-notests) and
6013 $(binaries-all-tests).
6014 (binaries-static): Define using $(binaries-static-notests) and
6015 $(binaries-static-tests).
6016 (binaries-shared-tests): New variable.
6017 (binaries-shared-notests): Likewise.
6018 (binaries-shared): Remove variable.
6019 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
6020 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
6021 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
6022 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
6023 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
6024 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
6025 * elf/Makefile (sln-modules): New variable.
6026 (extra-objs): Add $(sln-modules:=.o).
6027 (ldconfig-modules): Add static-stubs.
6028 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
6029 * elf/static-stubs.c: New file.
6030
7a845b2c
JM
6031 [BZ #14283]
6032 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
6033 by 7 not 8 to examine high bit of fractional part. Use volatile
6034 variables when splitting into final array of floats if
6035 __FLT_EVAL_METHOD__ != 0.
6036 * math/libm-test.inc (cos_test): Add another test.
6037 (sin_test): Likewise.
6038 * sysdeps/i386/fpu/libm-test-ulps: Update.
6039
e2283f38
JM
6040 [BZ #14273]
6041 * math/libm-test.inc (cosh_test): Add more tests.
6042
370ca3d2
JM
6043 * version.h (RELEASE): Set to "development".
6044 (VERSION): Set to "2.16.90".
6045
ee9247c3
CD
60462012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
6047
6048 * NEWS: Update copyright. Remove last-updated date.
6049 Mention math library bug fixes and timezone data changes.
6050 * README: Mention GNU/Hurd, x32, and HPPA support status.
6051
4648c381
TS
60522012-06-28 Thomas Schwinge <thomas@codesourcery.com>
6053
6054 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
6055
aac78a43
AJ
60562012-06-27 Andreas Jaeger <aj@suse.de>
6057
6058 * manual/contrib.texi (Contributors): Add Samuel Thibault.
6059
ed3dbfad
AJ
60602012-06-25 Andreas Jaeger <aj@suse.de>
6061
6062 * sysdeps/s390/fpu/libm-test-ulps: Update.
6063
4d0ee855
AS
60642012-06-23 Andreas Schwab <schwab@linux-m68k.org>
6065 Thomas Schwinge <thomas@codesourcery.com>
6066
6067 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
6068 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
6069 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
6070 fanotify_mark.
6071
af1bce34
TS
60722012-06-23 Thomas Schwinge <thomas@codesourcery.com>
6073
a9fa33ba
TS
6074 * sysdeps/mach/start.c: Remove file.
6075 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
6076 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
6077 * sysdeps/sh/init-first.c: Likewise.
6078
58f902b8
TS
6079 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
6080 registers for frame unwinding purposes, add CFI directives.
6081 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6082 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
6083 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
6084 Likewise.
6085
1518f58b
TS
6086 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
6087 __fortify_fail returning.
6088 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6089
db9b5059
TS
6090 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
6091 sysdeps/sh/____longjmp_chk.S.
6092 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
6093 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
6094 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
6095 (gen-as-const-headers): Append sigaltstack-offsets.sym.
6096
967705fe
TS
6097 * sysdeps/sh/abort-instr.h: New file.
6098 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
6099 process in case exit returns.
6100
a9def8c4
TS
6101 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
6102 initialize the GOT register before use.
6103
2a649725
TS
6104 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
6105 calculation of ARGC > 4.
6106
af1bce34
TS
6107 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
6108 meaningful names to some local labels.
6109
d230f50a
KK
61102012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6111 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6112
6113 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
6114 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
6115 (__arch_compare_and_exchange_val_16_acq): Likewise.
6116 (__arch_compare_and_exchange_val_32_acq): Likewise.
6117 (atomic_exchange_and_add): Fix gUSA sequence.
6118 (atomic_add): Likewise.
6119 (atomic_add_negative): Likewise.
6120 (atomic_add_zero): Likewise.
6121 (atomic_bit_test_set): Likewise.
6122
0479b305
AS
61232012-06-22 Andreas Schwab <schwab@redhat.com>
6124
6125 [BZ #13579]
6126 * include/link.h (struct link_map): Add l_free_initfini.
6127 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
6128 l_initfini.
6129 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
6130 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
6131 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
6132 set.
6133
0e3933b9
CD
61342012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
6135
6136 * configure.in: Use AC_LANG_SOURCE.
6137 * configure: Regenerate.
6138
4248b1b1
RM
61392012-06-22 Roland McGrath <roland@hack.frob.com>
6140
6141 * configure.in (libc_cv_localstatedir): New substituted variable.
6142 * configure: Regenerated.
6143 * config.make.in (localstatedir): New variable, substituted from
6144 libc_cv_localstatedir.
6145 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
6146 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
6147 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
6148 * sysdeps/gnu/configure: Regenerated.
6149
006dd861
JL
61502012-06-21 Jeff Law <law@redhat.com>
6151
6152 [BZ #14277]
6153 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
6154 free. Simplify list management for _LIBC case.
6155
79662d42
JM
61562012-06-21 Joseph Myers <joseph@codesourcery.com>
6157
b7abb4bf
JM
6158 [BZ #14273]
6159 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
6160 Clear sign bit of 64-bit integer value before comparing against
6161 overflow value.
6162
79662d42
JM
6163 * sysdeps/mach/configure: Regenerated.
6164
1f150908
L
61652012-06-21 H.J. Lu <hongjiu.lu@intel.com>
6166
6167 [BZ #14278]
6168 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
6169
28363bbf
JL
61702012-06-21 Jeff Law <law@redhat.com>
6171
6172 [BZ #13882]
6173 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
6174 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 6175 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
6176 * elf/dl-open.c (dl_open_worker): Likewise.
6177
09615db4
CD
61782012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
6179
6180 * scripts/list-sources.sh: Scan PORTS for translations.
6181 * po/libc.pot: Regenerated.
6182
2174c6dd
AJ
61832012-06-21 Andreas Jaeger <aj@suse.de>
6184
6185 [BZ #12194]
6186 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
6187 warning.
6188 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
6189 * bits/byteswap-16.h (__bswap_16): Likewise.
6190 * bits/byteswap.h (__bswap_constant_16): Likewise.
6191
3ee947b1
L
61922012-06-18 H.J. Lu <hongjiu.lu@intel.com>
6193
6194 [BZ #14117]
a2f34833
L
6195 * sysdeps/i386/fpu_control.h: Removed.
6196 * sysdeps/x86_64/fpu_control.h: Moved to ...
6197 * sysdeps/x86/fpu_control.h: Here.
6198
3ee947b1
L
6199 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
6200 (_FPU_SETCW): Likewise.
6201
ed1825f8
L
62022012-06-15 H.J. Lu <hongjiu.lu@intel.com>
6203
25f1282a
L
6204 [BZ #14117]
6205 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
6206 * sysdeps/x86/fpu/bits/mathinline.h: This.
6207 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
6208
ed1825f8
L
6209 [BZ #14050]
6210 [BZ #14117]
6211 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
6212 functions if __x86_64__ is defined.
6213
36d54b74
CLT
62142012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
6215
6216 * string/endian.h: Add !__ASSEMBLER__ condition for including
6217 conversion interfaces.
6218
10285c21
JM
62192012-06-15 Joseph Myers <joseph@codesourcery.com>
6220
6221 [BZ #14241]
6222 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
6223 of ABS(x) in calculating zero to negative powers other than odd
6224 integers.
6225 * math/libm-test.inc (pow_test): Add more tests.
6226
06c5abbd
AJ
62272012-06-15 Andreas Jaeger <aj@suse.de>
6228
6229 * manual/contrib.texi (Contributors): Update entry of Liubov
6230 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
6231 Machado Filho.
6232
a3aeac40
CH
62332012-06-15 Cyril Hrubis <metan@ucw.cz>
6234
6235 * string/string.h: Add __wur to GNU version of strerror_r.
6236
49bdf4c1
L
62372012-06-14 H.J. Lu <hongjiu.lu@intel.com>
6238
6239 [BZ #14229]
6240 * string/Makefile (tests): Add tst-strtok_r.
6241 * string/tst-strtok_r.c: New file.
6242 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
6243 RAX_LP/RDX_LP on SAVE_PTR.
6244
834f9b8d
RM
62452012-06-14 Roland McGrath <roland@hack.frob.com>
6246
6247 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
6248
75fa1921
JM
62492012-06-14 Joseph Myers <joseph@codesourcery.com>
6250
6251 * libm_test.inc (csqrt_test): Allow more spurious underflow
6252 exceptions.
6253 (j0_test): Likewise.
6254 (j1_test): Likewise.
6255 (y0_test): Likewise.
6256 (y1_test): Likewise.
6257
771766df
CD
62582012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
6259
6260 * po/Makefile (libc.pot): Use UTF-8 charset.
6261
ceb9e56b
PP
62622012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
6263
6264 [BZ #14210]
6265 Suppress sign-conversion warning from FD_SET.
6266 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
6267 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
6268 not unsigned long int.
6269 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
6270
ddb28975
L
62712012-06-12 H.J. Lu <hongjiu.lu@intel.com>
6272
6273 [BZ #14050]
6274 [BZ #14117]
6275 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
6276 __extern_always_inline instead of __extern_inline.
6277 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
6278 (__signbit): Likewise.
6279 (__signbitl): Support C++ namespace.
6280 (lrintf): New inline function.
6281 (lrint): Likewise.
6282 (llrintf): Likewise.
6283 (llrint): Likewise.
6284 (fmaxf): Likewise.
6285 (fmax): Likewise.
6286 (fminf): Likewise.
6287 (fmin): Likewise.
6288 (rint): Likewise.
6289 (rintf): Likewise.
6290 (ceil): Likewise.
6291 (ceilf): Likewise.
6292 (floor): Likewise.
6293 (floorf): Likewise.
6294 (nearbyint): Likewise.
6295 (nearbyintf): Likewise.
6296
d7b4fb26
TS
62972012-06-12 Thomas Schwinge <thomas@codesourcery.com>
6298
6299 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
6300 non-default versions.
6301
eb55f5c2
RM
63022012-06-11 Roland McGrath <roland@hack.frob.com>
6303
6304 [BZ #14218]
6305 * manual/argp.texi (Argp): Reword argp_parse description slightly.
6306
366af02c
TS
63072012-06-09 Thomas Schwinge <thomas@codesourcery.com>
6308
99ff6e5c
TS
6309 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
6310 (FE_UPWARD, FE_DOWNWARD): Don't define.
6311 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
6312 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6313
366af02c
TS
6314 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
6315 reading it.
6316 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6317 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6318
793ea851
KK
63192012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6320
6321 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6322 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
6323 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
6324 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
6325
a728a38f
L
63262012-06-06 H.J. Lu <hongjiu.lu@intel.com>
6327
6328 [BZ #14117]
c08010c7
L
6329 * sysdeps/i386/fpu/bits/fenv.h: Removed.
6330 * sysdeps/i386/fpu/Implies: New file.
6331 * sysdeps/x86_64/fpu/Implies: Likewise.
6332 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
6333 * sysdeps/x86/fpu/bits/fenv.h: This.
6334
a728a38f
L
6335 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
6336 __SSE_MATH__.
6337
6e230d11
SP
63382012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6339
6340 [BZ #14134]
6341 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
6342 character 0xffff that matches the last element of the
6343 conversion table.
6344
1b671feb
AZ
63452012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6346
6347 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
6348 fmodl commit.
6349
6043738b
AZ
63502012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6351
6352 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
6353 values higher than 25.6283.
6354
34ae0b32
AZ
63552012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6356
6357 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
6358 subnormal exponent extraction and add some __builtin_expect.
6359 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
6360 Fix for subnormal mantissa calculation.
6361
1214ec8f
MF
63622012-06-04 Mike Frysinger <vapier@gentoo.org>
6363
6364 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
6365 cpu2 is -1 and errno is not ENOSYS.
6366
f3d1f93c
L
63672012-06-04 H.J. Lu <hongjiu.lu@intel.com>
6368
6369 [BZ #14117]
0e4a3cd7
L
6370 * sysdeps/i386/i486/bits/string.h: Renamed to ...
6371 * sysdeps/x86/bits/string.h: This.
6372 * sysdeps/x86_64/bits/string.h: Removed.
6373
6704c645
L
6374 * sysdeps/i386/i486/bits/string.h: Define inline functions only
6375 if not compiling for x86-64, but compiling for >= i486.
6376
48495318
L
6377 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
6378 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
6379
14adcbfc
L
6380 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
6381 New macro from Linux kernel 3.4.0.
6382 (FP_XSTATE_MAGIC2): Likewise.
6383 (FP_XSTATE_MAGIC2_SIZE): Likewise.
6384 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
6385 (struct _fpx_sw_bytes): New struct.
6386 (struct _xsave_hdr): Likewise.
6387 (struct _ymmh_state): Likewise.
6388 (struct _xstate): Likewise.
6389
68e408ab
L
6390 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
6391 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
6392 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
6393 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
6394 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
6395 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
6396
f3d1f93c
L
6397 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
6398 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
6399 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
6400 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
6401 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
6402 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
6403
d9dc34cd
TMQMF
64042012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6405
6406 [BZ #13743]
6407 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
6408 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
6409 (sysdep_headers): Include sys/platform/ppc.h.
6410 * sysdeps/powerpc/test-gettimebase.c: Test for
6411 __ppc_get_timebase() to catch future ISA opcode/insn changes.
6412 * manual/Makefile (appendices): Include platform.texi.
6413 * manual/contrib.texi (Contributors): Update @node pointers.
6414 * manual/maint.texi (Maintenance): Likewise.
6415 (Platform): New node.
6416 * manual/platform.texi: New file. Document the new features.
6417
4af3879c
SP
64182012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6419 Jakub Jelinek <jakub@redhat.com>
6420
6421 [BZ #14188]
6422 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
6423 where __builtin_expect is unavailable.
6424
2fd6ff13
DM
64252012-06-03 David S. Miller <davem@davemloft.net>
6426
6427 * stdlib/longlong.h: Updated from GCC.
6428
173f7220
AS
64292012-06-02 Andreas Schwab <schwab@linux-m68k.org>
6430
6431 [BZ #14042]
6432 * sysdeps/powerpc/powerpc32/mcount.c: New file.
6433 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
6434 __mcount_internal.
6435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6436 (GLIBC_2.16): Likewise.
6437
f34a1c6f
L
64382012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6439
6440 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
6441
88a4576f
JM
64422012-06-01 Joseph Myers <joseph@codesourcery.com>
6443
ea32bcdd
JM
6444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
6445 (default-abi): New variable.
6446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
6447 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
6448 variable.
6449 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
6450 Likewise.
6451 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
6452 Likewise.
6453 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
6454 Likewise.
6455
88a4576f
JM
6456 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
6457 definition. Document in comment.
6458
402fe938
DM
64592012-06-01 David S. Miller <davem@davemloft.net>
6460
6461 * stdlib/longlong.h: Updated from GCC.
6462
3553723f
L
64632012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6464
6465 [BZ #14117]
3bd872c4
L
6466 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
6467 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
6468 sys/debugreg.h sys/io.h here.
6469 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
6470 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
6471 sys/io.h.
6472 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
6473 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
6474 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
6475 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
6476 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
6477 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
6478
3553723f
L
6479 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
6480 Define only if __x86_64__ is defined.
6481
4842e4fe
JM
64822012-06-01 Joseph Myers <joseph@codesourcery.com>
6483
c5bfe3d5
JM
6484 [BZ #14048]
6485 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
6486 Use int64_t for variable i.
6487 * math/libm-test.inc (fmod_test): Add more tests.
6488
4842e4fe
JM
6489 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
6490 z computation is not scheduled after fetestexcept.
6491 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
6492 Use math_force_eval instead of asm to ensure calculation scheduled
6493 before exception test.
6494 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
6495 Ensure a1 + u.d computation is not scheduled after fetestexcept.
6496
efb73488
AJ
64972012-06-01 Aurelien Jarno <aurelien@aurel32.net>
6498
6499 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
6500 computation is not scheduled after fetestexcept.
6501
29bcce7c
L
65022012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6503
6504 [BZ #14117]
6505 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
6506 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
6507
73a68f94
AZ
65082012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6509
6510 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
6511 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6512
67b6df78
L
65132012-05-31 H.J. Lu <hongjiu.lu@intel.com>
6514
edf2933a 6515 [BZ #14117]
ebc64a18
L
6516 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
6517 <bits/wordsize.h>.
6518 (__WCHAR_MIN): Support __WORDSIZE == 64.
6519 (__WCHAR_MAX): Likewise.
6520
edf2933a
L
6521 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
6522 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
6523
57c6cf40
L
6524 [BZ #14183]
6525 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
6526 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
6527
67b6df78 6528 [BZ #14117]
8eb6281e
L
6529 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
6530 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
6531
aac639f4
L
6532 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
6533 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
6534
67b6df78
L
6535 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
6536 Defined to 1 if __x86_64__ isn't defined.
6537 (_STAT_VER_LINUX_OLD): New.
6538 (st_atime): Remove duplicate.
6539 (st_mtime): Likewise.
6540 (st_ctime): Likewise.
6541
1c2cfe81
DM
65422012-05-31 David S. Miller <davem@davemloft.net>
6543
6544 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
6545 entries.
6546
5be8418c
AS
65472012-06-01 Andreas Schwab <schwab@linux-m68k.org>
6548
e7725326
AS
6549 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
6550 gen-libm-test.pl.
6551
5be8418c
AS
6552 [BZ #14132]
6553 * elf/dl-reloc.c: Include <_itoa.h>.
6554 (_dl_reloc_bad_type): Remove use of INTUSE.
6555 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
6556 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
6557 * stdio-common/psiginfo.c (psiginfo): Likewise.
6558 * stdio-common/psignal.c (psignal): Likewise.
6559 * string/strsignal.c (strsignal): Likewise.
6560 * include/signal.h (_sys_siglist): Declare hidden proto.
6561 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
6562 INTVARDEF with libc_hidden_data_def.
6563 * stdio-common/itoa-udigits.c: Likewise.
6564 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
6565 (_itoa_lower_digits_internal): Remove declaration.
6566 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
6567 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
6568 (_sys_sigabbrev_internal): Remove aliases.
6569 (_sys_siglist): Define hidden alias.
6570
507352f1
MT
65712012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
6572
6573 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6574 bits/sysctl.h.
6575
42bbb1c3
L
65762012-05-31 H.J. Lu <hongjiu.lu@intel.com>
6577
6578 [BZ #14117]
6bd784b6
L
6579 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
6580 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
6581
8bca20f0
L
6582 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
6583 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
6584 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
6585 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
6586 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
6587 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
6588
f9e890a9
L
6589 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
6590 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
6591 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
6592
471101a1
L
6593 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
6594 with __addr.
6595 (insw): Likewise.
6596 (insl): Likewise.
6597 (outsb): Likewise.
6598 (outsw): Likewise.
6599 (outsl): Likewise.
6600
6451c862
L
6601 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
6602 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
6603 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
6604
a254b8c9
L
6605 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
6606 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
6607 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
6608 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
6609 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
6610 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
6611
b8dfdd92
L
6612 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
6613 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
6614
578cd270
L
6615 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
6616 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
6617
de662f5f
L
6618 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
6619 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
6620 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
6621
25653439
L
6622 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
6623 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
6624 to ...
6625 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
6626
6bad24a0
L
6627 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
6628 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
6629 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
6630
42bbb1c3
L
6631 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
6632 for x86-64.
6633 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
6634
2d10d547
JM
66352012-05-31 Joseph Myers <joseph@codesourcery.com>
6636
6637 * math/math.h (M_El): Use two more decimal places.
6638 (M_LOG2El): Likewise.
6639 (M_LOG10El): Likewise.
6640 (M_LN2l): Likewise.
6641 (M_LN10l): Likewise.
6642 (M_PIl): Likewise.
6643 (M_PI_2l): Likewise.
6644 (M_PI_4l): Likewise.
6645 (M_1_PIl): Likewise.
6646 (M_2_PIl): Likewise.
6647 (M_2_SQRTPIl): Likewise.
6648 (M_SQRT2l): Likewise.
6649 (M_SQRT1_2l): Likewise.
6650
f230c29b
DM
66512012-05-31 David S. Miller <davem@davemloft.net>
6652
6653 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
6654 values between float registers.
6655 * sysdeps/sparc/sparc64/memset.S: Likewise.
6656 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6657
fed806c3
MF
66582012-05-31 Mike Frysinger <vapier@gentoo.org>
6659
6660 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
6661 -D_FORTIFY_SOURCE=1.
6662 (CPPFLAGS-tst-longjmp_chk.c): Define.
6663 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
6664 (CPPFLAGS-tst-longjmp_chk2.c): Define.
6665 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
6666 CFLAGS-tst-wchar-h.c.
6667
30917259
MP
66682012-05-31 Marek Polacek <polacek@redhat.com>
6669
6670 [BZ #14132]
6671 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
6672 __endmntent_internal): Remove declaration.
6673 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
6674 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
6675 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
6676
1c58d5dc
DM
66772012-05-30 David S. Miller <davem@davemloft.net>
6678
6679 * sysdeps/sparc/sparc32/soft-fp/q_util.c
6680 (___Q_simulate_exceptions): Use real FP ops rather than writing
6681 into the %fsr.
6682 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
6683 Likewise.
6684
7dc00e0d
L
66852012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6686
6687 [BZ #14117]
0bd53985
L
6688 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
6689 * sysdeps/x86/bits/xtitypes.h: This.
6690
3a257e66
L
6691 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
6692 * sysdeps/x86/bits/wordsize.h: This.
6693
62f62904
L
6694 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
6695 * sysdeps/x86/bits/huge_vall.h: This.
6696
404fe9d9
L
6697 * sysdeps/i386/bits/select.h: Removed.
6698 * sysdeps/x86_64/bits/select.h: Renamed to ...
6699 * sysdeps/x86/bits/select.h: This.
6700
d48d0446
L
6701 * sysdeps/i386/bits/setjmp.h: Removed.
6702 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
6703 * sysdeps/x86/bits/setjmp.h: This.
6704
7dc00e0d
L
6705 * sysdeps/i386/bits/mathdef.h: Removed.
6706 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
6707 * sysdeps/x86/bits/mathdef.h: This.
6708
03277f8f
AS
67092012-05-30 Andreas Schwab <schwab@linux-m68k.org>
6710
6711 [BZ #14132]
6712 * include/sys/socket.h (__connect_internal)
6713 (__libc_sa_len_internal): Remove declaration.
6714 (__connect, __libc_sa_len): Declare hidden_proto.
6715 (SA_LEN): Remove use of INTUSE.
6716 * socket/connect.c: Add libc_hidden_def.
6717 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
6718 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
6719 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
6720 alias.
6721 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
6722 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6723 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
6724 of adding _internal alias.
6725
13764867
L
67262012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6727
6728 [BZ #14117]
6bd97696
L
6729 * sysdeps/i386/bits/link.h: Removed.
6730 * sysdeps/i386/bits/linkmap.h: Likewise.
6731 * sysdeps/x86_64/bits/link.h: Renamed to ...
6732 * sysdeps/x86/bits/link.h: This.
6733 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
6734 * sysdeps/x86/bits/linkmap.h: This.
6735
f726f0bb
L
6736 * sysdeps/i386/bits/endian.h: Removed.
6737 * sysdeps/x86_64/bits/endian.h: Renamed to ...
6738 * sysdeps/x86/bits/endian.h: This.
6739
13764867
L
6740 * sysdeps/i386/bits/byteswap.h: Removed.
6741 * sysdeps/i386/bits/byteswap-16.h: Likewise.
6742 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
6743 * sysdeps/x86/bits/byteswap.h: This.
6744 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
6745 * sysdeps/x86/bits/byteswap-16.h: This.
6746 * sysdeps/i386/Implies: Add x86.
6747 * sysdeps/x86_64/Implies: Likewise.
6748
ae251b0b
DM
67492012-05-30 David S. Miller <davem@davemloft.net>
6750
6751 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
6752 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
6753 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
6754 (FP_TRAPPING_EXCEPTIONS): Define.
6755 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
6756 (FP_TRAPPING_EXCEPTIONS): Define.
6757 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
6758 subnormals only when inexact has been signalled or underflow
6759 exceptions are enabled.
6760 (_FP_PACK_CANONICAL): Likewise.
6761
d5c90867
L
67622012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6763
6764 [BZ #14183]
6765 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
6766 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
6767
63f1549e
RH
67682012-05-30 Richard Henderson <rth@twiddle.net>
6769
8d8f2279
RH
6770 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
6771 with #ifndef NOT_IN_libc.
6772
63f1549e
RH
6773 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
6774 marked to avoid plt entry.
6775
0ab0291b
L
67762012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6777
6778 [BZ #14112]
6779 * Makeconfig (default-abi): New macro.
6780 (abi-includes): Likewise.
6781 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
6782 $(abi-$(default-abi)-lib-soname) for soname if defined.
6783 ($(common-objpfx)gnu/lib-names.stmp): Generate from
6784 abi-variants.
6785 * Makefile (installed-stubs): Likewise.
6786 * include/stubs-biarch.h: Removed.
6787 * scripts/lib-names.awk: Only handle one library at a time.
6788 * scripts/soversions.awk: Remove WORDSIZE support.
6789 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
6790 entries.
6791 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
6792 Removed.
6793 (syscall-list-default-condition): Likewise.
6794 (syscall-list-default-condition): Likewise.
6795 (syscall-list-includes): Likewise.
6796 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
6797 syscall-list-* with abi-*. Handle undefined abi-variants.
6798 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
6799 * sysdeps/unix/sysv/linux/i386/Implies: New file.
6800 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
6801 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
6802 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
6803 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
6804 Removed.
6805 (syscall-list-32-options): Likewise.
6806 (syscall-list-32-condition): Likewise.
6807 (syscall-list-64-options): Likewise.
6808 (syscall-list-64-condition): Likewise.
6809 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
6810 macro.
6811 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
6812 Renamed to ...
6813 (abi-*): This.
6814 (abi-64-ld-soname): New macro.
6815 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
6816 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
6817 Renamed to ...
6818 (abi-*): This.
6819 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
6820 * sysdeps/x86_64/x32/shlib-versions: Likewise.
6821
4da0431d
JM
68222012-05-30 Joseph Myers <joseph@codesourcery.com>
6823
3a85279c
JM
6824 * sysdeps/unix/sysv/linux/kernel-features.h
6825 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
6826 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
6827 include <kernel-features.h>.
6828 [!__NR_ftruncate64]: Remove conditional code.
6829 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6830 [__NR_ftruncate64]: Make code unconditional.
6831 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6832 * sysdeps/unix/sysv/linux/truncate64.c: Do not
6833 include <kernel-features.h>.
6834 [!__NR_ftruncate64]: Remove conditional code.
6835 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6836 [__NR_ftruncate64]: Make code unconditional.
6837 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
6839 include <kernel-features.h>.
6840 [!__NR_ftruncate64]: Remove conditional code.
6841 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6842 [__NR_ftruncate64]: Make code unconditional.
6843 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
6845 include <kernel-features.h>.
6846 [!__NR_ftruncate64]: Remove conditional code.
6847 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6848 [__NR_ftruncate64]: Make code unconditional.
6849 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6850
4da0431d
JM
6851 * configure.in (libc_cv_fpie): Weaken to a compile test using
6852 LIBC_TRY_CC_OPTION.
6853 * configure: Regenerated.
6854
11ef492c
AK
68552012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6856
6857 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
6858 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
6859 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
6860 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6861 Refreshed.
6862 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
6863 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
6864 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
6865 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
6866 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
6867 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6868 Refreshed.
6869
d66ef399
DM
68702012-05-27 David S. Miller <davem@davemloft.net>
6871
6872 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
6873 (___Q_zero): New.
6874 (__Q_simulate_exceptions): Return void. Change to simulate
6875 exceptions by writing into the %fsr.
6876 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
6877 (__Qp_handle_exceptions): Likewise.
6878 (numbers): Delete.
6879 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
6880 __Qp_handle_exceptions.
6881 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
6882 __Qp_handle_exceptions.
6883 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
6884 as unused and give dummy FP_RND_NEAREST initializer.
6885 (FP_INHIBIT_RESULTS): Define.
6886 (___Q_simulate_exceptions): Update declaration.
6887 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
6888 formatting.
6889 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
6890 as unused and give dummy FP_RND_NEAREST initializer.
6891 (__Qp_handle_exceptions): Update declaration.
6892 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
6893 formatting.
6894
04fb54b5
TS
68952012-05-27 Thomas Schwinge <thomas@codesourcery.com>
6896
6897 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
6898 the temporary FPU control word.
6899 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6900 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
6901 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
6902 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6903 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
6904 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
6905 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
6906 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6907 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6908 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
6909 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6910
3f99608f
KK
69112012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6912
6913 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
6914 fields.
6915
65a4de4e
CLT
69162012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
6917
6918 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
6919 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
6920 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
6921 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
6922 Likewise.
6923 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
6924 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
6925 Likewise.
6926
15749d40
UD
69272012-05-27 Ulrich Drepper <drepper@gmail.com>
6928
6929 * po/h.po: Update from translation team.
6930
25dbcb27
AS
69312012-05-26 Andreas Schwab <schwab@linux-m68k.org>
6932
3d3f8e55
AS
6933 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
6934
25dbcb27
AS
6935 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
6936 handling of denormals.
6937 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6938 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
6939 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
6940 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
6941 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6942 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
6943 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
6944 Likewise.
6945
7ad47a80 69462012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
6947
6948 [BZ #14152]
6949 * math/libm-test.inc (fma_test): Don't always expect underflow
6950 exception.
6951
9c6ea9fa
SP
69522012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6953
6954 [BZ #12416]
6955 * elf/tst-execstack.c: Include stackinfo.h.
6956 (do_test): Adjust test case to ensure that pthread_getattr_np
6957 behaviour remains the same after marking stack executable.
6958
a8239222
JM
69592012-05-25 Joseph Myers <joseph@codesourcery.com>
6960
6961 * sysdeps/unix/sysv/linux/kernel-features.h
6962 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
6963 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
6964 kernel-features.h.
6965 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
6966 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
6967 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
6968 kernel-features.h.
6969 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
6970 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
6971
918b5606
L
69722012-05-25 H.J. Lu <hongjiu.lu@intel.com>
6973
6974 * configure.in: Define the default includes to being none.
6975 * configure: Regenerated.
6976
3a097cc7
RM
69772012-05-25 Roland McGrath <roland@hack.frob.com>
6978
8422c9a5
RM
6979 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
6980 * sysdeps/x86_64/setjmp.S: Likewise.
6981 * sysdeps/i386/bsd-setjmp.S: Likewise.
6982 * sysdeps/i386/bsd-_setjmp.S: Likewise.
6983 * sysdeps/i386/setjmp.S: Likewise.
6984 * sysdeps/i386/__longjmp.S: Likewise.
6985 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
6986 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
6987
3a097cc7
RM
6988 * include/stap-probe.h: New file.
6989 * configure.in: Handle --enable-systemtap.
6990 * configure: Regenerated.
6991 * config.h.in (USE_STAP_PROBE): New #undef.
6992 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
6993 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
6994 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
6995
21708942
JM
69962012-05-25 Joseph Myers <joseph@codesourcery.com>
6997
6998 [BZ #13717]
6999 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
7000 to 2.4.0 where earlier.
7001 * sysdeps/unix/sysv/linux/configure: Regenerated.
7002 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7003 <kernel-features.h>.
7004 [__ASSUME_32BITUIDS]: Make code unconditional.
7005 [!__ASSUME_32BITUIDS]: Remove conditional code.
7006 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
7007 <kernel-features.h>.
7008 [__ASSUME_32BITUIDS]: Make code unconditional.
7009 [!__ASSUME_32BITUIDS]: Remove conditional code.
7010 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
7011 [__ASSUME_32BITUIDS]: Make code unconditional.
7012 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
7013 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
7014 <kernel-features.h>.
7015 [__ASSUME_32BITUIDS]: Make code unconditional.
7016 [!__ASSUME_32BITUIDS]: Remove conditional code.
7017 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
7018 <kernel-features.h>.
7019 [__ASSUME_32BITUIDS]: Make code unconditional.
7020 [!__ASSUME_32BITUIDS]: Remove conditional code.
7021 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
7022 <kernel-features.h>.
7023 [__ASSUME_32BITUIDS]: Make code unconditional.
7024 [!__ASSUME_32BITUIDS]: Remove conditional code.
7025 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
7026 <kernel-features.h>.
7027 [__ASSUME_32BITUIDS]: Make code unconditional.
7028 [!__ASSUME_32BITUIDS]: Remove conditional code.
7029 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7030 <kernel-features.h>.
7031 [__ASSUME_32BITUIDS]: Make code unconditional.
7032 [!__ASSUME_32BITUIDS]: Remove conditional code.
7033 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7034 <kernel-features.h>.
7035 [__ASSUME_32BITUIDS]: Make code unconditional.
7036 [!__ASSUME_32BITUIDS]: Remove conditional code.
7037 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
7038 <kernel-features.h>.
7039 [__ASSUME_32BITUIDS]: Make code unconditional.
7040 [!__ASSUME_32BITUIDS]: Remove conditional code.
7041 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7042 <kernel-features.h>.
7043 [__ASSUME_32BITUIDS]: Make code unconditional.
7044 [!__ASSUME_32BITUIDS]: Remove conditional code.
7045 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7046 <kernel-features.h>.
7047 [__ASSUME_32BITUIDS]: Make code unconditional.
7048 [!__ASSUME_32BITUIDS]: Remove conditional code.
7049 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
7050 <kernel-features.h>.
7051 [__ASSUME_32BITUIDS]: Make code unconditional.
7052 [!__ASSUME_32BITUIDS]: Remove conditional code.
7053 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
7054 <kernel-features.h>.
7055 [__NR_setresgid] (__setresgid): Do not declare.
7056 [__ASSUME_32BITUIDS]: Make code unconditional.
7057 [!__ASSUME_32BITUIDS]: Remove conditional code.
7058 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
7059 <kernel-features.h>.
7060 [__NR_setresuid] (__setresuid): Do not declare.
7061 [__ASSUME_32BITUIDS]: Make code unconditional.
7062 [!__ASSUME_32BITUIDS]: Remove conditional code.
7063 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
7064 <kernel-features.h>.
7065 [__ASSUME_32BITUIDS]: Make code unconditional.
7066 [!__ASSUME_32BITUIDS]: Remove conditional code.
7067 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
7068 <kernel-features.h>.
7069 [__ASSUME_32BITUIDS]: Make code unconditional.
7070 [!__ASSUME_32BITUIDS]: Remove conditional code.
7071 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
7072 <kernel-features.h>.
7073 [__ASSUME_32BITUIDS]: Make code unconditional.
7074 [!__ASSUME_32BITUIDS]: Remove conditional code.
7075 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
7076 <kernel-features.h>.
7077 [__ASSUME_32BITUIDS]: Make code unconditional.
7078 [!__ASSUME_32BITUIDS]: Remove conditional code.
7079 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
7080 <kernel-features.h>.
7081 [__ASSUME_32BITUIDS]: Make code unconditional.
7082 [!__ASSUME_32BITUIDS]: Remove conditional code.
7083 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
7084 <kernel-features.h>.
7085 [__ASSUME_32BITUIDS]: Make code unconditional.
7086 [!__ASSUME_32BITUIDS]: Remove conditional code.
7087 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
7088 <kernel-features.h>.
7089 [__ASSUME_32BITUIDS]: Make code unconditional.
7090 [!__ASSUME_32BITUIDS]: Remove conditional code.
7091 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
7092 <kernel-features.h>.
7093 [__ASSUME_32BITUIDS]: Make code unconditional.
7094 [!__ASSUME_32BITUIDS]: Remove conditional code.
7095 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
7096 <kernel-features.h>.
7097 [__ASSUME_32BITUIDS]: Make code unconditional.
7098 [!__ASSUME_32BITUIDS]: Remove conditional code.
7099 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7100 <kernel-features.h>.
7101 [__ASSUME_32BITUIDS]: Make code unconditional.
7102 [!__ASSUME_32BITUIDS]: Remove conditional code.
7103 * sysdeps/unix/sysv/linux/kernel-features.h
7104 (__ASSUME_SETRESUID_SYSCALL): Remove.
7105 (__ASSUME_SETRESGID_SYSCALL): Likewise.
7106 (__ASSUME_32BITUIDS): Likewise.
7107 (__ASSUME_LDT_WORKS): Likewise.
7108 (__ASSUME_O_DIRECTORY): Likewise.
7109 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
7110 architecture but not kernel version.
7111 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7112 (__ASSUME_MMAP2_SYSCALL): Likewise.
7113 (__ASSUME_STAT64_SYSCALL): Likewise.
7114 (__ASSUME_IPC64): Likewise.
7115 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
7116 <kernel-features.h>.
7117 [__ASSUME_32BITUIDS]: Make code unconditional.
7118 [!__ASSUME_32BITUIDS]: Remove conditional code.
7119 * sysdeps/unix/sysv/linux/opendir.c: Do not include
7120 <kernel-features.h>.
7121 [__ASSUME_O_DIRECTORY]: Make code unconditional.
7122 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
7123 132096]: Remove conditional code.
7124 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
7125 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7126 <kernel-features.h>.
7127 [__ASSUME_32BITUIDS]: Make code unconditional.
7128 [!__ASSUME_32BITUIDS]: Remove conditional code.
7129 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7130 <kernel-features.h>.
7131 [__ASSUME_32BITUIDS]: Make code unconditional.
7132 [!__ASSUME_32BITUIDS]: Remove conditional code.
7133 * sysdeps/unix/sysv/linux/setegid.c: Do not include
7134 <kernel-features.h>.
7135 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
7136 unconditional.
7137 (__setresgid): Do not declare.
7138 [__ASSUME_32BITUIDS]: Make code unconditional.
7139 [!__ASSUME_32BITUIDS]: Remove conditional code.
7140 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
7141 <kernel-features.h>.
7142 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
7143 unconditional.
7144 (__setresuid): Do not declare.
7145 [__ASSUME_32BITUIDS]: Make code unconditional.
7146 [!__ASSUME_32BITUIDS]: Remove conditional code.
7147 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7148 <kernel-features.h>.
7149 [__ASSUME_32BITUIDS]: Make code unconditional.
7150 [!__ASSUME_32BITUIDS]: Remove conditional code.
7151 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
7152 <kernel-features.h>.
7153 [__ASSUME_32BITUIDS]: Make code unconditional.
7154 [!__ASSUME_32BITUIDS]: Remove conditional code.
7155
a386f1cc
RH
71562012-05-25 Richard Henderson <rth@twiddle.net>
7157
7158 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
7159 dl_hwcap to ifunc resolver.
7160 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
7161 elf_ifunc_invoke.
7162 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
7163 dl_hwcap to ifunc resolver.
7164 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
7165
b6550497
JM
71662012-05-24 Joseph Myers <joseph@codesourcery.com>
7167
7168 [BZ #14153]
7169 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
7170 for |x| <= 2**-26, not 2**-57.
7171 * math/libm-test.inc (acos_test): Do not allow spurious underflow
7172 exception.
7173
b0bc23a1
JL
71742012-05-24 Jeff Law <law@redhat.com>
7175
7176 * stdio-common/Makefile (tests): Add bug25.
7177 * stdio-common/bug25.c: New test.
7178
347c92e9
L
71792012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7180
7181 [BZ #13576]
7182 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
7183 multiple of MALLOC_ALIGNMENT in size.
7184 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
7185
6bcc8b3f
JM
71862012-05-24 Joseph Myers <joseph@codesourcery.com>
7187
7188 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
7189 Require >= 256.
7190 (FILENAME_MAX): Use macro-int-constant.
7191 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
7192 (_IOFBF): Use macro-int-constant.
7193 (_IOLBF): Likewise.
7194 (_IONBF): Likewise.
7195 (SEEK_CUR): Likewise.
7196 (SEEK_END): Likewise.
7197 (SEEK_SET): Likewise.
7198 (TMP_MAX): Likewise.
7199 (EOF): Use macro-int-constant. Require < 0.
7200 (NULL): Use macro-constant. Require == 0.
7201 (stdin): Require type to be FILE *.
7202 (stdout): Likewise.
7203 (stderr): Likewise.
7204 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
7205 macro-int-constant.
7206 (EXIT_SUCCESS): Likewise.
7207 (NULL): Use macro-constant. Require == 0.
7208 (RAND_MAX): Use macro-int-constant.
7209 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
7210 [C99-based standards] (strtof): Require function.
7211 [C99-based standards] (strtold): Likewise.
7212 [C99-based standards] (strtoll): Likewise.
7213 [C99-based standards] (strtoull): Likewise.
7214 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7215 [ISO || ISO99 || ISO11] (limits.h): Likewise.
7216 [ISO || ISO99 || ISO11] (math.h): Likewise.
7217 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
7218 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7219 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7220
d18ea0c5
AS
72212012-05-24 Andreas Schwab <schwab@linux-m68k.org>
7222
7223 [BZ #14132]
56d25bb8
AS
7224 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
7225 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
7226 * intl/dgettext.c (DCGETTEXT): Likewise.
7227 * intl/gettext.c (DCGETTEXT): Likewise.
7228 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
7229 * posix/regex_internal.h (gettext): Likewise.
7230 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
7231 Remove declaration.
7232 * include/argz.h (__argz_count_internal)
7233 (__argz_stringify_internal): Remove declaration.
7234 (__argz_count, __argz_stringify): Declare hidden proto.
7235 * intl/dcgettext.c: Remove use of INTDEF.
7236 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
7237 * string/argz-stringify.c: Likewise.
7238 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7239 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7240 Declare hidden proto.
d18ea0c5
AS
7241 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7242 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7243 Declare hidden proto.
7244 * include/stdio.h (__asprintf_internal): Don't declare.
7245 (__asprintf): Don't define as macro. Declare hidden proto.
7246 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
7247 (__fsetlocking): Declare hidden proto.
7248 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
7249 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
7250 hidden proto.
7251 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
7252 (_IO_setlinebuf): Remove use of INTUSE.
7253 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
7254 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
7255 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
7256 Remove declaration.
7257 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
7258 (_IO_do_flush): Remove use of INTUSE.
7259 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
7260 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
7261 (_IO_adjust_column, _IO_least_wmarker)
7262 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
7263 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
7264 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
7265 (_IO_default_doallocate, _IO_wdefault_doallocate)
7266 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
7267 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
7268 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
7269 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
7270 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
7271 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
7272 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
7273 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
7274 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
7275 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
7276 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
7277 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
7278 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
7279 proto.
7280 (_IO_flush_all_internal, _IO_adjust_column_internal)
7281 (_IO_default_uflow_internal, _IO_default_finish_internal)
7282 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
7283 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
7284 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
7285 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
7286 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
7287 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
7288 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
7289 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
7290 (_IO_file_close_internal, _IO_file_close_it_internal)
7291 (_IO_file_underflow_internal, _IO_file_overflow_internal)
7292 (_IO_file_init_internal, _IO_file_attach_internal)
7293 (_IO_file_fopen_internal, _IO_file_read_internal)
7294 (_IO_file_sync_internal, _IO_file_seek_internal)
7295 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
7296 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
7297 (_IO_str_underflow_internal, _IO_str_overflow_internal)
7298 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
7299 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
7300 (_IO_list_all_internal, _IO_link_in_internal)
7301 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
7302 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
7303 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
7304 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
7305 (_IO_do_write_internal, _IO_padn_internal)
7306 (_IO_getline_info_internal, _IO_getline_internal)
7307 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
7308 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
7309 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
7310 (_IO_vfscanf_internal, _IO_vfprintf_internal)
7311 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
7312 (_IO_init_internal, _IO_un_link_internal): Don't declare.
7313 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
7314 with libc_hidden_ver, remove use of INTUSE.
7315 * libio/genops.c: Likewise.
7316 * libio/freopen.c: Likewise.
7317 * libio/freopen64.c: Likewise.
7318 * libio/iofclose.c: Likewise.
7319 * libio/iofdopen.c: Likewise.
7320 * libio/iofflush.c: Likewise.
7321 * libio/iofflush_u.c: Likewise.
7322 * libio/iofgets.c: Likewise.
7323 * libio/iofgets_u.c: Likewise.
7324 * libio/iofopen.c: Likewise.
7325 * libio/iofopncook.c: Likewise.
7326 * libio/iofread.c: Likewise.
7327 * libio/iofread_u.c: Likewise.
7328 * libio/ioftell.c: Likewise.
7329 * libio/iofwrite.c: Likewise.
7330 * libio/iogetline.c: Likewise.
7331 * libio/iogets.c: Likewise.
7332 * libio/iogetwline.c: Likewise.
7333 * libio/iopadn.c: Likewise.
7334 * libio/iopopen.c: Likewise.
7335 * libio/ioseekoff.c: Likewise.
7336 * libio/ioseekpos.c: Likewise.
7337 * libio/iosetbuffer.c: Likewise.
7338 * libio/iosetvbuf.c: Likewise.
7339 * libio/ioungetc.c: Likewise.
7340 * libio/ioungetwc.c: Likewise.
7341 * libio/iovdprintf.c: Likewise.
7342 * libio/iovsprintf.c: Likewise.
7343 * libio/iovsscanf.c: Likewise.
7344 * libio/memstream.c: Likewise.
7345 * libio/obprintf.c: Likewise.
7346 * libio/oldfileops.c: Likewise.
7347 * libio/oldiofclose.c: Likewise.
7348 * libio/oldiofdopen.c: Likewise.
7349 * libio/oldiofopen.c: Likewise.
7350 * libio/oldiopopen.c: Likewise.
7351 * libio/oldstdfiles.c: Likewise.
7352 * libio/putc.c: Likewise.
7353 * libio/setbuf.c: Likewise.
7354 * libio/setlinebuf.c: Likewise.
7355 * libio/stdfiles.c: Likewise.
7356 * libio/strops.c: Likewise.
7357 * libio/vasprintf.c: Likewise.
7358 * libio/vscanf.c: Likewise.
7359 * libio/vsnprintf.c: Likewise.
7360 * libio/vswprintf.c: Likewise.
7361 * libio/wfiledoalloc.c: Likewise.
7362 * libio/wfileops.c: Likewise.
7363 * libio/wgenops.c: Likewise.
7364 * libio/wmemstream.c: Likewise.
7365 * libio/wstrops.c: Likewise.
7366 * libio/__fpurge.c: Likewise.
7367 * libio/__fsetlocking.c: Likewise.
7368 * assert/assert.c: Likewise.
7369 * debug/fgets_chk.c: Likewise.
7370 * debug/fgets_u_chk.c: Likewise.
7371 * debug/fread_chk.c: Likewise.
7372 * debug/fread_u_chk.c: Likewise.
7373 * debug/gets_chk.c: Likewise.
7374 * debug/obprintf_chk.c: Likewise.
7375 * debug/vasprintf_chk.c: Likewise.
7376 * debug/vdprintf_chk.c: Likewise.
7377 * debug/vsnprintf_chk.c: Likewise.
7378 * debug/vsprintf_chk.c: Likewise.
7379 * malloc/mtrace.c: Likewise.
7380 * misc/error.c: Likewise.
7381 * misc/syslog.c: Likewise.
7382 * stdio-common/asprintf.c: Likewise.
7383 * stdio-common/fxprintf.c: Likewise.
7384 * stdio-common/getw.c: Likewise.
7385 * stdio-common/isoc99_fscanf.c: Likewise.
7386 * stdio-common/isoc99_scanf.c: Likewise.
7387 * stdio-common/isoc99_vfscanf.c: Likewise.
7388 * stdio-common/isoc99_vscanf.c: Likewise.
7389 * stdio-common/isoc99_vsscanf.c: Likewise.
7390 * stdio-common/printf-prs.c: Likewise.
7391 * stdio-common/printf_fp.c: Likewise.
7392 * stdio-common/printf_fphex.c: Likewise.
7393 * stdio-common/printf_size.c: Likewise.
7394 * stdio-common/putw.c: Likewise.
7395 * stdio-common/scanf.c: Likewise.
7396 * stdio-common/sprintf.c: Likewise.
7397 * stdio-common/tmpfile.c: Likewise.
7398 * stdio-common/vfprintf.c: Likewise.
7399 * stdio-common/vfscanf.c: Likewise.
7400 * stdlib/strfmon_l.c: Likewise.
7401 * sunrpc/openchild.c: Likewise.
7402 * sunrpc/xdr_stdio.c: Likewise.
7403 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
7404 * sysdeps/mach/hurd/tmpfile.c: Likewise.
7405
d6c33fda
RM
74062012-05-24 Roland McGrath <roland@hack.frob.com>
7407
c1487492
RM
7408 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7409
7410 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
7411 in the third column, to generate for the shared library an IFUNC
7412 that uses _dl_vdso_vsym.
7413 * Makerules (COMPILE.c, compile-stdin.c): New variables.
7414 * Makeconfig (object-suffixes-noshared): New variable.
7415
7416 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
7417 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
7418 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
7419 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
7420
d6c33fda
RM
7421 [BZ #14132]
7422 * include/sys/time.h (__gettimeofday): Remove macro.
7423 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
7424 * time/gettimeofday.c (__gettimeofday): Remove #undef.
7425 Remove INTDEF.
7426 (__gettimeofday): Add libc_hidden_def.
7427 (gettimeofday): Add libc_hidden_weak.
7428 * sysdeps/mach/gettimeofday.c: Likewise.
7429 * sysdeps/posix/gettimeofday.c: Likewise.
7430 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
7431 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
7432 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
7433 (__gettimeofday_internal): Remove strong_alias.
7434 (__gettimeofday): Add libc_hidden_def.
7435 (gettimeofday): Add libc_hidden_weak.
7436 * sysdeps/unix/syscalls.list (gettimeofday):
7437 Remove __gettimeofday_internal alias.
7438
b5a2bbe6
L
74392012-05-24 Daniel Jacobowitz <drow@false.org>
7440 H.J. Lu <hongjiu.lu@intel.com>
7441
7442 [BZ #12495]
7443 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
7444 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
7445 (largebin_index_32_big): New.
7446 (largebin_index): Use it for 16-byte alignment.
7447 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
7448 correction with front_misalign.
7449
cfba4fda
L
74502012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7451
7f907421
L
7452 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
7453 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7454 Likewise.
7455 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
7456 Likewise.
7457 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7458 Likewise.
7459 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
7460 Likewise.
7461 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
7462 Likewise.
7463 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
7464 Likewise.
7465 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
7466 Likewise.
7467 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7468 Likewise.
7469 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
7470 Likewise.
7471 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
7472 Likewise.
7473 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7474 Likewise.
7475 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
7476 Likewise.
7477
cfba4fda
L
7478 * scripts/data/c++-types-x32-linux-gnu.data: New file.
7479 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
7480
80bad0cc
JM
74812012-05-24 Joseph Myers <joseph@codesourcery.com>
7482
7a25eb06
JM
7483 [BZ #10846]
7484 [BZ #14036]
7485 * math/libm-test.inc (exp_test): Add test from bug 14036.
7486 (pow_test): Add test from bug 10846.
7487
795405f9
JM
7488 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
7489 and other flags.
7490 (special_function): Do not include flags in test name.
7491 (parse_args): Likewise.
7492 * sysdeps/i386/fpu/libm-test-ulps: Update.
7493 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7494 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7495 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7497
80bad0cc
JM
7498 * math/gen-libm-test.pl (%beautify): Add entries for underflow
7499 exceptions.
7500 * math/libm-test.inc ("Philosophy"): Update comment about
7501 exception testing.
7502 (UNDERFLOW_EXCEPTION): New macro.
7503 (UNDERFLOW_EXCEPTION_OK): Likewise.
7504 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
7505 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
7506 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
7507 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
7508 (INVALID_EXCEPTION_OK): Update value.
7509 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7510 (OVERFLOW_EXCEPTION_OK): Likewise.
7511 (IGNORE_ZERO_INF_SIGN): Likewise.
7512 (test_exceptions): Handle underflow exceptions.
7513 (acos_test): Update for underflow exception expectations.
7514 (cexp_test): Likewise.
7515 (clog_test): Likewise.
7516 (clog10_test): Likewise.
7517 (csqrt_test): Likewise.
7518 (ctan_test): Likewise.
7519 (ctanh_test): Likewise.
7520 (exp_test): Likewise.
7521 (exp10_test): Likewise.
7522 (exp2_test): Likewise.
7523 (expm1_test): Likewise.
7524 (fma_test): Likewise.
7525 (j0_test): Likewise.
7526 (jn_test): Likewise.
7527 (nexttoward_test): Likewise.
7528 (pow_test): Likewise.
7529 (scalbn_test): Likewise.
7530 (scalbln_test): Likewise.
7531 (tan_test): Likewise.
7532 (y1_test): Likewise.
7533 * sysdeps/i386/fpu/libm-test-ulps: Update.
7534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7535
9e0e3d0b
DM
75362012-05-23 David S. Miller <davem@davemloft.net>
7537
7538 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
7539 (__libc_sigaction): Remove unused local variables.
7540
ccd0a08f
L
75412012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7542
7543 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
7544
62bdf9a6
PE
75452012-05-23 Paul Eggert <eggert@cs.ucla.edu>
7546
f8591f80
PE
7547 mktime: avoid signed integer overflow
7548 * time/mktime.c (__mktime_internal): Do not mishandle the case
7549 where diff == INT_MIN.
7550
94c7d826
PE
7551 mktime: simplify computation of average
7552 * time/mktime.c (ranged_convert): Use new time_t_avg function
7553 instead of rolling our own (probably-slower) code.
7554
ce73d683
PE
7555 mktime: do not assume signed right shift propagates sign bit
7556 * time/mktime.c (isdst_differ): New static function.
7557 (__mktime_internal): No need to normalize tm_isdst now.
7558 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
7559 tm_isdst values.
7560
72a22e59
PE
7561 mktime: merge another wrapv change from gnulib
7562 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
7563 from some compilers.
7564
68605433
PE
7565 mktime: remove incorrect attempt at unusual arithmetics
7566 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
7567 The code didn't really work on such machines anyway.
7568 (TYPE_MINIMUM): Assume two's complement.
7569 (twos_complement_arithmetic): Verify that long_int and time_t
7570 are two's complement (or unsigned, in the latter case).
7571
03cf7fe3
PE
7572 mktime: check signed shifts on long_int and time_t, too
7573 * time/mktime.c (SHR): Check that shifts work as desired
7574 on the types long_int and time_t too, as SHR is used on
7575 such types.
7576
f04dfbc2
PE
7577 mktime: do not assume 'long' is wide enough
7578 * time/mktime.c (verify): Move decl up.
7579 (long_int): New type.
7580 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
7581 to remove assumption in the code that 'long' is wide enough to
7582 store year values. This assumption is not true on x32 and on
7583 some non-glibc platforms.
7584
62bdf9a6
PE
7585 mktime: merge wrapv change from gnulib
7586 * time/mktime.c (WRAPV): New macro.
7587 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
7588 (guess_time_tm, __mktime_internal): Do not assume that signed
7589 integer overflow wraps around; modern compilers generate code
7590 where this assumption is no longer valid.
7591
5e292e4f
L
75922012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7593
7594 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7595 Replace "jmp L(pseudo_end)" with "ret".
7596 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
7597 Likewise.
7598
8caf8c87
AJ
75992012-05-23 Andreas Jaeger <aj@suse.de>
7600
7601 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
7602 * sysdeps/unix/sysv/linux/poll.c: Remove file.
7603
1a09dc56
AJ
76042012-05-23 Andreas Jaeger <aj@suse.de>
7605 Maximilian Attems <max@stro.at>
7606
7607 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
7608 New macros.
7609
1c87aba0
L
76102012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7611
7612 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
7613 code so that pseudo_end is just ret and the stack pointer is
7614 correct also for static library in error case.
7615
40e45bd5
JM
76162012-05-23 Joseph Myers <joseph@codesourcery.com>
7617
c2670533
JM
7618 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
7619 move to syscalls.list.
7620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
7621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7624
40e45bd5
JM
7625 * manual/install.texi (Running make install): Do not mention Linux
7626 kernel version for which pt_chown is not needed.
7627 (Linux): Do not mention problems with nscd with 2.0 kernels.
7628 * INSTALL: Regenerated.
7629
be08eda5
AJ
76302012-05-23 Andreas Jaeger <aj@suse.de>
7631
7632 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
7633 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
7634 macro.
7635 * sysdeps/unix/sysv/linux/s390/bits/mman.h
7636 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7637 * sysdeps/unix/sysv/linux/sh/bits/mman.h
7638 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7639 * sysdeps/unix/sysv/linux/i386/bits/mman.h
7640 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7641 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
7642 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7643 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
7644 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7645 * sysdeps/unix/sysv/linux/bits/in.h
7646 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
7647
a6a056bb
RM
76482012-05-22 Roland McGrath <roland@hack.frob.com>
7649
7650 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
7651 (PREPARE_VERSION): Just use assert instead, it will be elided
7652 under [NDEBUG] anyway.
7653
c9009328
L
76542012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7655
7656 * sysdeps/unix/sysv/linux/Makefile: Include
7657 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 7658 (sysdep_routines): Remove sysctl.
c9009328
L
7659 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
7660 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
7661 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
7662 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
7663 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
7664
73338355
AJ
76652012-05-22 Andreas Jaeger <aj@suse.de>
7666
7667 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
7668 that pseudo_end is just ret and the stack pointer is correct also
7669 for static library in error case.
7670
d44638b0
PP
76712012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
7672
7673 [BZ #14122]
7674 * nss/nsswitch.c (defconfig_entries): New variable.
7675 (__nss_database_lookup): Don't leak defconfig entries.
7676 (nss_parse_service_list): Don't leak on error paths.
7677 (free_database_entries): New function.
7678 (free_defconfig): New function.
7679 (free_mem): Move common code to free_database_entries.
7680
31a39bd8
L
76812012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7682
da0331a8
L
7683 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
7684 Add arch_prctl.
7685 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
7686
31a39bd8
L
7687 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7688 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
7689 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
7690 New macro.
7691 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
7692 (INTERNAL_SYSCALL_TYPES): Likewise.
7693 (LOAD_ARGS_TYPES_[1-6]): Likewise.
7694 (LOAD_REGS_TYPES_[1-6]): Likewise.
7695 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
7696 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
7697
45470df3
AZ
76982012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7699
7700 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
7701 copysignl for GLIBC_2_0.
7702 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
7703 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
7704 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
7705 logbl for GLIBC_2_0.
7706 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
7707 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
7708
98a61bcb
L
77092012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7710
a4f6e481
L
7711 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
7712 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7713
f63d5db6
L
7714 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7715 Use "neg %eax".
7716
98a61bcb
L
7717 * time/mktime.c: Update copyright years.
7718
95770f14
PE
77192012-05-22 Paul Eggert <eggert@cs.ucla.edu>
7720
6226efbd
PE
7721 mktime: merge comment-quoting-style change from gnulib
7722 * time/mktime.c: Quote 'like this' in comments.
7723 The GNU coding standards suggest that we no longer quote `like this',
7724 as "`" and "'" are typically rendered asymmetrically nowadays.
7725 The typical gnulib style is to quote 'like this' when quoting
7726 code, and "like this" when quoting English.
7727
b99e4f78
PE
7728 * time/mktime.c (compile-command): Add "-I.".
7729
643e01e6
PE
7730 mktime: merge mktime-internal.h change from gnulib
7731 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
7732
2554247d
PE
7733 mktime: merge time_r change from gnulib
7734 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
7735
826dd0ab
PE
7736 mktime: merge DEBUG change from gnulib
7737 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
7738 case system <time.h> has a #define.
7739
bd83aabe
PE
7740 mktime: merge <sys/types.h> change from gnulib
7741 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
7742 since <time.t> is now guaranteed to define time_t.
7743
95770f14
PE
7744 mktime: merge HAVE_CONFIG_H change from gnulib
7745 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
7746
5e1a27a9
L
77472012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7748
0e44a77e
L
7749 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
7750 Use "neg %eax".
7751
5e1a27a9
L
7752 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
7753 __rlim_t cast.
7754 (struct rusage): Use anonymous union to pad each field to
7755 __syscall_slong_t.
7756
46259bec
DM
77572012-05-21 David S. Miller <davem@davemloft.net>
7758
7759 * Makefules (o-iterator): Remove .s cases.
7760 (compile-command.s): Delete.
7761 (COMPILE.s): Delete.
7762 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
7763
59f0c22e
JM
77642012-05-21 Joseph Myers <joseph@codesourcery.com>
7765
7766 * configure.in (libc_cv_predef_stack_protector): Only consider
7767 "foobar" and "__stack_chk_fail" lines in libc_undefs.
7768 * configure: Regenerated.
7769
20c07380
L
77702012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7771
bbb3154b
L
7772 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
7773 New macro. Use R*LP on int and pointer.
7774 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
7775 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
7776 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
7777 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
7778
20c07380
L
7779 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
7780 [__WORDSIZE_TIME64_COMPAT32] instead of
7781 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
7782 (struct utmp): Likewise.
7783 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
7784 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
7785 Renamed to ...
7786 (__WORDSIZE_TIME64_COMPAT32): This.
7787 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
7788 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
7789 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
7790 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
7791 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
7792 (__WORDSIZE_TIME64_COMPAT32): New macro.
7793
d8d1017e
AJ
77942012-05-21 Andreas Jaeger <aj@suse.de>
7795
7796 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
7797 only if [SHARED]. Add prototype for __wcschr_ia32.
7798
6c7fb145
RM
77992012-05-21 Roland McGrath <roland@hack.frob.com>
7800
7801 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
7802 of %rbp unmolested in the jmp_buf while mangling the low bits.
7803 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
7804 unmolested high bits of %rbp while demangling the low bits.
7805 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7806
66274218
AJ
78072012-05-21 Andreas Jaeger <aj@suse.de>
7808
07c58f8f
AJ
7809 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
7810 * sunrpc/svc_simple.c: Use it for registerrpc.
7811 * sunrpc/xcrypt.c: Use it for passwd2des.
7812
66274218
AJ
7813 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
7814
61f65140
L
78152012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7816
7817 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
7818 Don't define if [__SYSCALL_WORDSIZE != 32].
7819 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
7820 New macro.
7821
5fefb436
AJ
78222012-05-21 Bruno Haible <bruno@clisp.org>
7823 Andreas Jaeger <aj@suse.de>
7824
7825 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
7826 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
7827 inptr and inend for must_buffer_ch.
7828 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
7829 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
7830 * stdio-common/Makefile (tests): Remove bug15.
7831 (bug15-ENV): Remove macro.
7832 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
7833 anymore.
7834
d8e272ab
AJ
78352012-05-19 Andreas Jaeger <aj@suse.de>
7836 Roland McGrath <roland@hack.frob.com>
7837
7838 * manual/contrib.texi: Completely rewritten. It contains now an
7839 alphabetical list of contributors and their contributions.
7840
4a56a162
RH
78412012-05-21 Richard Henderson <rth@twiddle.net>
7842
7843 * misc/getauxval.c (__getauxval): Use unsigned long int.
7844 * misc/sys/auxv.h: Include <sys/cdefs.h>.
7845 (getauxval): Use unsigned long int.
7846
d024d23c
L
78472012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7848
7849 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7850
cbc00a03
RM
78512012-05-21 Roland McGrath <roland@hack.frob.com>
7852
7853 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
7854 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
7855 __alignof__ (long double).
7856
478143fa
AZ
78572012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7858
7859 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7860
c7683a6d
RH
78612012-05-20 Richard Henderson <rth@twiddle.net>
7862
7863 * misc/getauxval.c: New file.
7864 * misc/sys/auxv.h: New file.
7865 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
7866 (routines): Add getauxval.
7867 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
7868 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
7869 * elf/dl-sysdep.c (_dl_auxv): Remove.
7870 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
7871 * elf/dl-support.c (_dl_auxv): New variable.
7872 (_dl_aux_init): Initialize it.
7873 * manual/startup.texi (Auxiliary Vector): New node.
7874 * sysdeps/generic/bits/hwcap.h: New file.
7875 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
7876 * sysdeps/powerpc/sysdep.h: ... here. Include it.
7877 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
7878 * sysdeps/sparc/sysdep.h: ... here. Include it.
7879 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
7880 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
7881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7882 Update.
c7683a6d
RH
7883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
7884 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
7885 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
7886 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
7887 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
7888 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
7889 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
7890 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
7891
a6f1845d
AZ
78922012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7893
7894 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7895
cbcbe830
DM
78962012-05-19 David S. Miller <davem@davemloft.net>
7897
7898 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7899
e0b16cc2
JM
79002012-05-19 Joseph Myers <joseph@codesourcery.com>
7901
7902 [BZ #14123]
7903 * math/s_ccosh.c: Include <float.h>
7904 (__ccosh): Avoid internal overflow calculating sinh and cosh
7905 values before multiplying by sin and cos values.
7906 * math/s_ccoshf.c: Likewise.
7907 * math/s_ccoshl.c: Likewise.
7908 * math/s_csin.c: Likewise.
7909 * math/s_csinf.c: Likewise.
7910 * math/s_csinl.c: Likewise.
7911 * math/s_csinh.c: Likewise.
7912 * math/s_csinhf.c: Likewise.
7913 * math/s_csinhl.c: Likewise.
7914 * math/libm-test.inc (ccos_test): Add more tests.
7915 (ccosh_test): Likewise.
7916 (csin_test): Likewise.
7917 (csinh_test): Likewise.
7918 * sysdeps/i386/fpu/libm-test-ulps: Update.
7919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7920
6ad13e08
L
79212012-05-19 H.J. Lu <hongjiu.lu@intel.com>
7922
f66f0ce8
L
7923 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
7924 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
7925
6ad13e08
L
7926 * sysdeps/x86_64/x32/_itoa.h: Add comment.
7927
b1d072a7
JM
79282012-05-19 Joseph Myers <joseph@codesourcery.com>
7929
7930 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
7931 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
7932 * sysdeps/powerpc/soft-fp/Versions: Likewise.
7933 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
7934 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
7935 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
7936 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
7937 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
7938 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
7939 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
7940 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
7941 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
7942 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
7943 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
7944 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
7945 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
7946 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
7947 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
7948 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
7949 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
7950 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
7951 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
7952 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
7953 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
7954 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
7955 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
7956 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
7957 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
7958 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
7959 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
7960 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
7961
9eae47cb
AJ
79622012-05-18 Andreas Jaeger <aj@suse.de>
7963
7964 * csu/.gitignore: Delete.
7965
bb07f69f
L
79662012-05-18 H.J. Lu <hongjiu.lu@intel.com>
7967
7968 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
7969 (timex): Use __syscall_slong_t.
7970
e6bdb741
AJ
79712012-05-18 Andreas Jaeger <aj@suse.de>
7972 Carlos O'Donell <carlos_odonell@mentor.com>
7973
7974 * manual/install.texi (Configuring and compiling): Update
7975 description about files modified in the source directory.
d6c33fda 7976 * INSTALL: Regenerated.
e6bdb741 7977
1b74487e
L
79782012-05-18 H.J. Lu <hongjiu.lu@intel.com>
7979
7980 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
7981 value. Use "or" to set return value to -1.
7982 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
7983 negate return value.
7984
a88b64b9
TMQMF
79852012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7986
7987 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
7988 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
7989 failure if the compiler has Graphite support disabled.
7990 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
7991 Likewise.
7992 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
7993 CFLAGS-memmove.c): Likewise.
7994 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
7995 Likewise.
7996
3707636e
L
79972012-05-18 H.J. Lu <hongjiu.lu@intel.com>
7998
610b8622
L
7999 * sysdeps/x86_64/x32/_itoa.h: New file.
8000
7cd195df
L
8001 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
8002 getdents system call only if kernel and user dirents have the
8003 same d_ino and d_off.
8004
94b07d20
L
8005 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8006 LLONG_MAX != LONG_MAX.
8007 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8008 (_fitoa_word): Likewise.
8009
18298070
L
8010 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
8011 years.
8012 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
8013 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
8014 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
8015
553c7ea4
L
8016 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
8017 include <bits/wordsize.h>. Check __x86_64__ instead of
8018 __WORDSIZE.
8019 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
8020 if __x86_64__ is defined. Use anonymous union on fpstate.
8021
3707636e
L
8022 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
8023 anonymous union.
8024
b53ef01a
AS
80252012-05-18 Andreas Schwab <schwab@linux-m68k.org>
8026
37fb1dc0
AS
8027 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
8028 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
8029 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
8030 Refer to _rtld_local_ro instead of _rtld_global_ro.
8031 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
8032 Likewise.
8033 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
8034 Likewise.
8035 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
8036 Likewise.
8037 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
8038 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
8039 of _rtld_global, and rtld_progname instead of _dl_argv[0].
8040
b53ef01a
AS
8041 * sysdeps/powerpc/powerpc32/dl-machine.c
8042 (__elf_machine_runtime_setup) [PROF]: Don't reference
8043 _dl_prof_resolve.
8044
7a185db2
AJ
80452012-05-18 Andreas Jaeger <aj@suse.de>
8046
8047 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
8048 function only available for GCCs before 3.4 since GCC 3.4
8049 introduced a builtin.
8050 (lrint): Likewise.
8051 (llrintf): Likewise.
8052 (llrint): Likewise.
8053 (fmaxf): Likewise.
8054 (fmax): Likewise.
8055 (fminf): Likewise.
8056 (fmin): Likewise.
8057 (rint): Likewise.
8058 (rintf): Likewise.
8059 (nearbyint): Likewise.
8060 (nearbyintf): Likewise.
8061 (ceil): Likewise.
8062 (ceilf): Likewise.
8063 (floor): Likewise.
8064 (floorf): Likewise.
8065
3e5aef87
L
80662012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8067
428bd707
L
8068 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
8069 on both fields and cast pointer to __syscall_ulong_t.
8070
3e5aef87
L
8071 * bits/types.h (__fsword_t): New type.
8072 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
8073 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
8074 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8075 (__FSWORD_T_TYPE): Likewise.
8076 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8077 (__FSWORD_T_TYPE): Likewise.
8078 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8079 (__FSWORD_T_TYPE): Likewise.
8080 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
8081 (__FSWORD_T_TYPE): Likewise.
8082 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
8083 __SWORD_TYPE with __fsword_t.
8084 (statfs64): Likewise.
8085
1ba7c3dc
DM
80862012-05-17 David S. Miller <davem@davemloft.net>
8087
8088 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
8089
59910343
AJ
80902012-05-17 Andreas Jaeger <aj@suse.de>
8091
8092 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
8093 warning.
8094
2e4c1e9e
L
80952012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8096
8097 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
8098
de7f5ce7
AJ
80992012-05-17 Andreas Jaeger <aj@suse.de>
8100
8101 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
8102 when it is used.
8103
286abc3d
CM
81042012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8105
8106 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
8107
477cc68e
L
81082012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8109
8110 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
8111 * sysdeps/x86_64/tst-mallocalign1.c: New file.
8112
1a0994f5
CD
81132012-05-17 Andreas Jaeger <aj@suse.de>
8114 Carlos O'Donell <carlos_odonell@mentor.com>
8115
8116 [BZ #14059]
8117 * sysdeps/x86_64/multiarch/init-arch.h
8118 (bit_YMM_Usable): Rename to...
8119 (bit_AVX_Usable): ... this.
8120 (bit_FMA4_Usable): New macro.
8121 (bit_XMM_state): New macro.
8122 (bit_YMM_state): New macro.
8123 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
8124 [__ASSEMBLER__] (index_AVX_Usable): ... this.
8125 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
8126 (CPUID_OSXSAVE): New macro.
8127 (CPUID_AVX): New macro.
8128 (CPUID_FMA4): New macro.
8129 (index_YMM_Usable): Rename to...
8130 (index_AVX_Usable): ... this.
8131 (HAS_AVX): Use HAS_ARCH_FEATURE.
8132 (HAS_FMA4): Likewise.
8133 (HAS_YMM_USABLE): Remove.
8134 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8135 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
8136 are present.
8137 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
8138 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
8139 * sysdeps/x86_64/multiarch/Makefile: Likewise.
8140 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
8141 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
8142
0af797de
CM
81432012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8144
8145 * math/libm-test.c: Support platforms without multiple rounding modes.
8146 * math/bug-nextafter.c: Support platforms without FP exceptions.
8147 * math/bug-nexttoward.c: Likewise.
8148 * math/test-fenv.c: Likewise.
8149 * math/test-misc.c: Likewise.
8150 * stdlib/bug-getcontext.c: Likewise.
8151
e39745ff
AJ
81522012-05-17 Andreas Jaeger <aj@suse.de>
8153
8154 * manual/examples/search.c (critter_cmp): Change signature to
8155 avoid warnings.
8156 * manual/string.texi (Collation Functions): Likewise.
8157
48970aba
L
81582012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8159
8160 * bits/types.h: Fold copyright years.
8161 * bits/typesizes.h: Likewise.
8162 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
8163 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8164 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
8165 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
8166 * time/time.h: Likewise.
8167
bedee953
PP
81682012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
8169
8170 [BZ #208]
8171 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
8172 in instead of returning them. Return void.
8173 (__libc_mallinfo): Accumulate over all arenas.
8174 (__malloc_stats): Adjust for change in int_mallinfo interface.
8175
61653dfb
RM
81762012-05-16 Roland McGrath <roland@hack.frob.com>
8177
30b99d79
RM
8178 [BZ #10375]
8179 * configure.in (NM): Add AC_CHECK_TOOL for it.
8180 (libc_extra_cflags): New substituted variable.
8181 Check for -fstack-protector being used implicitly.
8182 * configure: Regenerated.
8183 * config.make.in (config-extra-cflags): New variable,
8184 gets @libc_extra_cflags@.
8185 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
8186
61653dfb
RM
8187 [BZ #10375]
8188 * configure.in: Check for _FORTIFY_SOURCE being predefined.
8189 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
8190 * configure: Regenerated.
8191 * config.make.in (CPPUNDEFS): New substituted variable.
8192 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
8193 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
8194 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
8195
661768bb
L
81962012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8197
8198 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
8199 (mq_attr): Use __syscall_slong_t.
8200
d4261567
L
82012012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8202
8203 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
8204 Check __x86_64__ instead of __WORDSIZE.
8205 (_STAT_VER_LINUX): Likewise.
8206 (stat): Check __x86_64__ instead of __WORDSIZE. Use
8207 __syscall_ulong_t and __syscall_slong_t.
8208 (stat64): Likewise.
8209
cf3ff365
L
82102012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8211
8212 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
8213
76cf3e4d
L
82142012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8215
8216 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
8217
a637753a
L
82182012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8219
8220 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
8221 __syscall_ulong_t.
8222
d5e05119
L
8223 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
8224 include <bits/wordsize.h>. Check __x86_64__ instead of
8225 __WORDSIZE.
8226 (greg_t): Use "__extension__ long long int" if __x86_64__ is
8227 defined.
8228 (mcontext_t): Replace "unsigned long" with "unsigned long long".
8229
f62ee380
L
8230 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
8231 include <bits/wordsize.h>. Check __x86_64__ instead of
8232 __WORDSIZE.
8233 (user_regs_struct): Use "__extension__ unsigned long long"
8234 instead of "unsigned long" if __x86_64__ is defined.
8235 (user): Likewise. Pad after pointer field if __ILP32__ is
8236 defined.
8237
4e124ced
JM
82382012-05-16 Joseph Myers <joseph@codesourcery.com>
8239
6a3951a0
JM
8240 * configure.in (makeinfo): Require version 4.5 or later. Allow
8241 versions 5 to 9.
8242 * configure: Regenerated.
8243 * manual/install.texi (texinfo): Increase version requirement to
8244 4.5 or later.
8245 * INSTALL: Regenerated.
8246
4e124ced
JM
8247 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
8248
953ca31a
L
82492012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8250
8251 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
8252
617aca05
L
8253 * sysdeps/x86_64/x32/ffs.c: New file.
8254
5762f7ae
L
8255 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
8256 __syscall_ulong_t.
8257 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
8258 defined. Use __syscall_ulong_t.
8259 (shminfo): Use __syscall_ulong_t.
8260 (shm_info): Likewise.
8261
a26b6856
L
8262 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
8263 __syscall_ulong_t.
8264
cb2b9ef7
L
8265 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
8266 <bits/wordsize.h>.
8267 (msgqnum_t): Use __syscall_ulong_t.
8268 (msglen_t): Likewise.
8269 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
8270 __syscall_ulong_t.
8271
34683bb0
L
8272 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
8273 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8274
84a68786
L
8275 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
8276
48baa5f1
L
8277 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
8278 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
8279
180be88b
L
8280 * sysvipc/sys/msg.h (msgbuf): Replace long int with
8281 __syscall_slong_t.
8282
5e90c8ad
L
8283 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
8284 include <bits/wordsize.h>. Check __x86_64__ instead of
8285 __WORDSIZE.
8286
23dfb58b
L
8287 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
8288 "unsigned long long int" if __x86_64__ is defined.
8289 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
8290
ce5d54b0
L
8291 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
8292 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8293 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
8294
13dc9eac
L
8295 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
8296 <stdint.h>.
8297 (GET_PC): Cast to uintptr_t first.
8298 (GET_FRAME): Likewise.
8299 (GET_STACK): Likewise.
8300
a7895d15
L
8301 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
8302 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
8303 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
8304 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
8305 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
8306 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
8307 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
8308 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
8309 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
8310 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
8311 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
8312 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
8313 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8314 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
8315 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
8316 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
8317 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
8318 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
8319 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
8320 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
8321 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
8322 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
8323 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
8324 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
8325 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
8326 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
8327 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
8328 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
8329 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
8330
656416c9
AS
83312012-05-16 Andreas Schwab <schwab@linux-m68k.org>
8332
5bd66283
AS
8333 * Makerules (+depfiles): Also collect depfiles from .oS in
8334 $(extra-objs).
8335 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
8336 .oS, $(libnldbl-routines)).
8337
656416c9
AS
8338 * Makerules (native-compile-mkdep-flags): Define.
8339 * sunrpc/Makefile (extra-objs): Add $(addprefix
8340 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
8341 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
8342 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
8343 calling $(make-target-directory).
8344
a46f2169
L
83452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8346
8347 * bits/types.h (__snseconds_t): Removed.
8348 * time/time.h (struct timespec): Replace __snseconds_t with
8349 __syscall_slong_t.
8350 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
8351 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
8352 Likewise.
8353 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8354 (__SNSECONDS_T_TYPE): Likewise.
8355 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8356 (__SNSECONDS_T_TYPE): Likewise.
8357 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8358 (__SNSECONDS_T_TYPE): Likewise.
8359
6af6528b
L
83602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8361
8362 * sysdeps/mach/hurd/bits/typesizes.h
8363 (__SYSCALL_SLONG_TYPE): New macro.
8364 (__SYSCALL_ULONG_TYPE): Likewise.
8365
de986b56
L
83662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8367
8368 * bits/types.h (__syscall_slong_t): New type.
8369 (__syscall_ulong_t): Likewise.
8370
8371 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
8372 (__SYSCALL_ULONG_TYPE): Likewise.
8373 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8374 (__SYSCALL_SLONG_TYPE): Likewise.
8375 (__SYSCALL_ULONG_TYPE): Likewise.
8376 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8377 (__SYSCALL_SLONG_TYPE): Likewise.
8378 (__SYSCALL_ULONG_TYPE): Likewise.
8379 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8380 (__SYSCALL_SLONG_TYPE): Likewise.
8381 (__SYSCALL_ULONG_TYPE): Likewise.
8382
85736dc7
L
83832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8384
8385 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
8386 Add sigaltstack-offsets.sym.
8387 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
8388 <sigaltstack-offsets.h>.
8389 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
8390 longjmp_msg pointer.
8391 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
8392 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
8393 signal stack.
8394 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
8395
cc03b296
JM
83962012-05-15 Joseph Myers <joseph@codesourcery.com>
8397
a9538892
JM
8398 * elf/stackguard-macros.h: Remove file.
8399 * sysdeps/generic/stackguard-macros.h: New file.
8400 * sysdeps/i386/stackguard-macros.h: Likewise.
8401 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
8402 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
8403 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
8404 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
8405 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
8406 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
8407 * sysdeps/x86_64/stackguard-macros.h: Likewise.
8408 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
8409 <elf/stackguard-macros.h>.
8410
cc03b296
JM
8411 [BZ #14109]
8412 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
8413 __aligned__ in attribute.
8414 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
8415 (gregset_t): Likewise.
8416
93171016
L
84172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8418
8419 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
8420 * sysdeps/x86_64/64/Implies-after: Here. New file.
8421 * sysdeps/x86_64/x32/Implies-after: New file.
8422
d86813a0
L
84232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8424
8425 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
8426 and access return value for _dl_profile_fixup. Use R10_LP to
8427 load frame size.
8428
2953ec75
L
84292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8430
8431 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
8432
3b550e9e
L
84332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8434
8435 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
8436 * sysdeps/x86_64/x32/sysdep.h: New file.
8437
eda41706
L
84382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8439
8440 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
8441 * sysdeps/x86_64/setjmp.S: Likewise.
8442
9ea01d93
AZ
84432012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8444
8445 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
8446 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
8447 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
8448 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
8449 remove unused global constant.
8450
02a91938
CM
84512012-05-15 Chris Metcalf <cmetcalf@tilera.com>
8452
8453 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
8454 include of <not-cancel.h>.
8455
6540185f
RM
84562012-05-15 Roland McGrath <roland@hack.frob.com>
8457
8458 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
8459
509072a0
AJ
84602012-05-15 Jeff Law <law@redhat.com>
8461 Andreas Jaeger <aj@suse.de>
8462
8463 [BZ #13594]
8464 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
8465 out from...
8466 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
8467 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
8468 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
8469 code changing __hst_map_handle.map.
8470
ba75122d
RM
84712012-05-15 Roland McGrath <roland@hack.frob.com>
8472
8473 * configure.in (sysnames): Look for Implies-before and Implies-after
8474 files.
8475 * configure: Regenerated.
8476
890d8bd8
L
84772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8478
8479 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
8480 8-byte data alignment with LP_SIZE alignment.
8481
f6ee6623
L
84822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8483
8484 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
8485 into R10_LP.
8486
ea2626f6
L
84872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8488
8489 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
8490
085f715e
L
84912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8492
8493 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
8494 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
8495 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
8496 Likewise.
8497 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8498
be8498fc
L
84992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8500
8501 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
8502 (stackinfo_sub_sp): Likewise.
8503
70bc83b9
L
85042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8505
8506 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
8507 RAX_LP.
8508
9bc0b730
L
85092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8510
8511 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
8512 into R*_LP.
8513
6d2850e7
L
85142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8515
8516 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
8517 sizes into R*_LP.
8518
3cb84561
L
85192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8520
8521 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
8522
54e2ed81
L
85232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8524
8525 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
8526 into R11_LP and load __x86_64_shared_cache_size_half into
8527 R8_LP.
8528
8a17f349
L
85292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8530
8531 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
8532 R8_LP.
8533
777b1eea
AZ
85342012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8535
8536 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
8537 logb for POWER7.
8538 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
8539 logbf for POWER7.
8540 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
8541 logbl for POWER7.
8542 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
8543 powerpc32/power7/fpu/s_logb.c via #include.
8544 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
8545 powerpc32/power7/fpu/s_logbf.c via #include.
8546 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
8547 powerpc32/power7/fpu/s_logbl.c via #include.
8548
d20d4ac2
JM
85492012-05-15 Joseph Myers <joseph@codesourcery.com>
8550
8551 * README.libm: Remove file.
8552
6cdef1ab
L
85532012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8554
8555 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
8556 count for x32. Use R*_LP and omit operand-size suffix.
8557
0b254d8f
L
85582012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8559
8560 * shlib-versions: Move x86_64-.*-linux.* entries to ...
8561 * sysdeps/x86_64/64/shlib-versions: Here. New file.
8562 * sysdeps/x86_64/x32/shlib-versions: New file.
8563
ceb809dc
RM
85642012-05-14 Roland McGrath <roland@hack.frob.com>
8565
8566 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
8567 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
8568 Use _dl_fatal_printf instead.
8569
37f1abd4
JM
85702012-05-14 Joseph Myers <joseph@codesourcery.com>
8571
8572 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
8573 set if not set by the user. Do not allow for being unset.
8574 * sysdeps/unix/sysv/linux/configure: Regenerated.
8575
11de3a33
L
85762012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8577
8578 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
8579 the `q' suffix from lea and replace .quad with ASM_ADDR.
8580
e02f153a
L
85812012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8582
8583 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
8584 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
8585 instead of $17.
8586 (PTR_DEMANGLE): Likewise.
8587
520ae0fd
L
85882012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8589
8590 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
8591 (LP_OP): Likewise.
8592 (ASM_ADDR): Likewise.
8593 (RAX_LP): Likewise.
8594 (RBP_LP): Likewise.
8595 (RBX_LP): Likewise.
8596 (RCX_LP): Likewise.
8597 (RDI_LP): Likewise.
8598 (RSI_LP): Likewise.
8599 (RSP_LP): Likewise.
8600 (R8_LP): Likewise.
8601 (R9_LP): Likewise.
8602 (R10_LP): Likewise.
8603 (R10_LP): Likewise.
8604 (R11_LP): Likewise.
8605 (R12_LP): Likewise.
8606 (R13_LP): Likewise.
8607 (R14_LP): Likewise.
8608 (R15_LP): Likewise.
8609
b985be81
L
86102012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8611
8612 * sysdeps/x86_64/x32/dl-machine.h: New file.
8613
6a4888ff
AJ
86142012-05-14 Andreas Jaeger <aj@suse.de>
8615
8616 * manual/Makefile (subdir): Remove export of subdir.
8617 (all): Remove target.
8618 (.PHONY): Remove all from list.
8619 (mkinstalldirs): Remove.
8620 (.PHONY): Remove installdirs from list.
8621 ($(inst_infodir)/libc.info): Use make-target-directory.
8622 (installdirs): Remove.
8623 (subdir_%): Remove.
8624 (glibc-targets): Remove.
8625 (lib): Remove.
8626 (stubs): Remove.
8627 ($(objpfx)stubs ../po/manual.pot): Remove.
8628 ($(objpfx)stamp%): Remove.
8629 (make-target-directory): Remove.
8630 (subdir_install): Remove.
8631 (routines): Remove.
8632 (aux): Remove.
8633 (sources): Remove.
8634 (objects): Remove.
8635 (headers): Remove.
8636
8637 [BZ #13750]
8638 * manual/.gitignore: Remove, it's not needed anymore.
8639 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
8640 all files in it.
8641 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
8642 directory.
8643 (texis): Renamed to $(objpfx)texis.
8644 (texis-path): New, contains path to generated files.
8645 (chapters.%): Use texis-path for complete path, add extra argument
8646 libc-texinfo.sh.
8647 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
8648 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
8649 (summary,texi, stamp-summary): Use complete path of
8650 files. Generate files in build dir.
8651 (dir-add.texi): Build in build dir.
8652 (libm-err.texi,stamp-libm-err): Likewise.
8653 (version.texi, stamp-version): Likewise.
8654 (.%c.texi): Likewise.
8655 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
8656 (mostlyclean): Remove target.
8657 (realclean): Remove target.
8658 (generated): Add new variable with contents from mostlyclean and
8659 realclean, remove entries duplicated in common-mostlyclean, add
8660 stamp-libm-err and stamp-version.
8661 (generated-dirs): Add libc directory.
8662 ($(inst_infodir)/libc.info): Install files from build dir.
8663
8664 * manual/install.texi (Configuring and compiling): Adjust since
8665 the info files are not part of the tar ball anymore.
8666
7ac77294
AJ
86672012-05-14 Andreas Jaeger <aj@suse.de>
8668
8669 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
8670 variable.
8671
ffb7875d
JM
86722012-05-14 Joseph Myers <joseph@codesourcery.com>
8673
8674 [BZ #13717]
8675 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
8676 to 2.2.0 where earlier.
8677 * sysdeps/unix/sysv/linux/configure: Regenerated.
8678 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
8679 Remove conditional code.
8680 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
8681 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
8682 Remove conditional code.
8683 [!__NR_lchown]: Likewise.
8684 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8685 [__NR_lchown]: Likewise.
8686 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
8687 comment referencing __ASSUME_LCHOWN_SYSCALL.
8688 * sysdeps/unix/sysv/linux/i386/sigaction.c
8689 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8690 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8691 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
8692 Remove conditional code.
8693 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
8694 (__protocol_available): Remove #if 0 code.
8695 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
8696 conditional code.
8697 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
8698 * sysdeps/unix/sysv/linux/kernel-features.h
8699 (__ASSUME_GETCWD_SYSCALL): Don't define.
8700 (__ASSUME_REALTIME_SIGNALS): Likewise.
8701 (__ASSUME_PREAD_SYSCALL): Likewise.
8702 (__ASSUME_PWRITE_SYSCALL): Likewise.
8703 (__ASSUME_POLL_SYSCALL): Likewise.
8704 (__ASSUME_LCHOWN_SYSCALL): Likewise.
8705 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
8706 non-SPARC.
8707 (__ASSUME_SIOCGIFNAME): Don't define.
8708 (__ASSUME_MSG_NOSIGNAL): Likewise.
8709 (__ASSUME_SENDFILE): Define unconditionally.
8710 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
8711 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
8712 conditional code.
8713 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
8714 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
8715 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8716 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8717 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
8718 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8719 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
8721 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8722 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
8724 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8725 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
8727 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8728 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
8730 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8731 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
8733 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8734 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
8736 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8737 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
8739 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8740 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
8742 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8743 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8744 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
8745 Remove conditional code.
8746 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8747 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
8748 Remove conditional code.
8749 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8750 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
8751 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
8752 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
8753 Remove conditional code.
8754 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8755 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
8756 Remove conditional code.
8757 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8758 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
8759 Remove conditional code.
8760 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8761 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
8762 Remove conditional code.
8763 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8764 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
8765 Remove conditional code.
8766 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8767 * sysdeps/unix/sysv/linux/sh/pwrite64.c
8768 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8769 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8770 * sysdeps/unix/sysv/linux/sigaction.c
8771 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8772 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8773 * sysdeps/unix/sysv/linux/sigpending.c
8774 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8775 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8776 * sysdeps/unix/sysv/linux/sigprocmask.c
8777 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8778 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8779 * sysdeps/unix/sysv/linux/sigsuspend.c
8780 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8781 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8782 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8783 (__libc_missing_rt_sigs): Remove.
8784 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
8785 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
8786 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
8787 Remove conditional code.
8788 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
8789 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
8790 return 1.
8791 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
8792 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
8793 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
8794 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
8795
1bfb7291
AJ
87962012-05-14 Andreas Jaeger <aj@suse.de>
8797
caae5a81
AJ
8798 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
8799 it's not used in glibc.
8800 (__coshm1): Likewise.
8801 (__acosh1p): Likewise.
8802 (__sgn): Likewise.
8803
1bfb7291
AJ
8804 * manual/string.texi (Copying and Concatenation): Add missing
8805 variable in concat example.
8806 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
8807
c044d724
L
88082012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8809
144c5467 8810 [BZ #14103]
c044d724
L
8811 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
8812 __builtin_clzl with __builtin_clzll.
8813
2523c62b
L
88142012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8815
8816 [BZ #14104]
8817 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
8818 libc_freeres_ptr.
8819
d7bb4c42
LD
88202012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8821
8822 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
8823 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
8824 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
8825 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
8826
9dc4e1fb
MF
88272012-05-14 Mike Frysinger <vapier@gentoo.org>
8828
8829 * NEWS: Update ia64 info.
8830
c7df0112
AS
88312012-05-12 Andreas Schwab <schwab@linux-m68k.org>
8832
8833 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
8834 used as bcopy.
8835
dc70356c
TS
88362012-05-12 Thomas Schwinge <thomas@codesourcery.com>
8837
8838 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
8839 * sysdeps/unix/syscalls.list (dup3): Likewise.
8840 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
8841 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
8842
9fb1a21f
L
88432012-05-11 H.J. Lu <hongjiu.lu@intel.com>
8844
8845 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
8846 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
8847
4822a2a5
L
88482012-05-11 H.J. Lu <hongjiu.lu@intel.com>
8849
8850 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
8851 thread pointer.
8852 (TLS_IE): Use mov/add instead of movq/addq to load thread
8853 pointer.
8854 (TLS_GD_PREFIX): New.
8855 (TLS_GD): Use it.
8856
842b81d6
DM
88572012-05-11 David S. Miller <davem@davemloft.net>
8858
8859 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
8860 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
8861 (_FPU_SETCW): Likewise.
8862
1cf463cd
L
88632012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8864
8865 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
8866 is 32-byte aligned.
8867
60cc4a18
AS
88682012-05-11 Andreas Schwab <schwab@linux-m68k.org>
8869
8870 [BZ #11837]
8871 * iconvdata/gb18030.c: Update tables.
8872 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
8873 characters specially.
8874 (BODY for TO_LOOP): Add encoding of missing ranges.
8875
febb44a4
TS
88762012-05-11 Thomas Schwinge <thomas@codesourcery.com>
8877
8878 [BZ #13673]
8879 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
8880 * sysdeps/mach/hurd/dup3.c: Likewise.
8881 * sysdeps/mach/hurd/readlinkat.c: Likewise.
8882 * sysdeps/powerpc/memmove.c:: Likewise.
8883
0a10fb9e
L
88842012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8885
8886 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
8887 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
8888
df8a552f
L
88892012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8890
8891 * elf/elf.h (R_X86_64_RELATIVE64): New.
8892 (R_X86_64_NUM): Updated.
8893 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8894 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
8895 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
8896 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
8897 tst-quad1pie tst-quad2pie
8898 (modules-names): Add tst-quadmod1 tst-quadmod2.
8899 ($(objpfx)tst-quad1): New dependency.
8900 ($(objpfx)tst-quad2): Likewise.
8901 ($(objpfx)tst-quad1pie): Likewise.
8902 ($(objpfx)tst-quad2pie): Likewise.
8903 * sysdeps/x86_64/tst-quad1.c: New file.
8904 * sysdeps/x86_64/tst-quad1pie.c: New file.
8905 * sysdeps/x86_64/tst-quad2.c: Likewise.
8906 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
8907 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
8908 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
8909 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
8910 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
8911
f34d6f84
ST
89122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8913
f42d41d1
ST
8914 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
8915 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
8916 * streams/stropts.h (t_scalar_t): Define type.
8917
3c3571fc
ST
8918 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
8919 (_PATH_PRESERVE): Set to "/var/lib".
8920 (_PATH_RWHODIR): Set to "/var/spool/rwho".
8921
61f06bd3
ST
8922 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
8923 instead of int.
8924
918d4d71
ST
8925 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
8926 if __dir_mkfile succeeded.
8927
f34d6f84
ST
8928 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
8929 checking for _hurd_dtablesize. Unlock it right after having
8930 finished _hurd_dtable allocation.
8931
10589b4a
TS
89322012-05-10 Thomas Schwinge <thomas@schwinge.name>
8933
674cdbc7
TS
8934 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
8935 * sysdeps/mach/hurd/configure: Regenerated.
8936 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
8937 special-casing to...
8938 * sysdeps/gnu/configure.in: ... this new file.
8939 * sysdeps/unix/sysv/linux/configure: Regenerated.
8940 * sysdeps/gnu/configure: New generated file.
8941
8e41b99f
TS
8942 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
8943 for Linux: use nsec instead of usec, as well as:
8944 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
8945 members of type struct timespec.
8946 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
8947 New macros.
8948 (struct stat64): Likewise.
8949 (_STATBUF_ST_NSEC): New macro.
8950 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
8951
10589b4a
TS
8952 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
8953 __strtoul_internal rather than strtoul.
8954
63643c85
PT
89552012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8956
8957 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
8958 and reject them.
8959
3faebe6a
ST
89602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8961
8962 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
8963 which preserves existing values.
8964 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
8965
c6474b07
PT
89662012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8967
8968 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
8969 TIMEOUT values. Return EINVAL for NFDS values either negative or
8970 greater than FD_SETSIZE.
8971
1043890b
ST
89722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8973
8974 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
8975 allocated, call __vm_protect to finish enabling the existing space, and
8976 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
8977 allocate the remainder.
8978
37ed8b9b
PT
89792012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8980
8981 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
8982 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
8983
db653660
ST
89842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8985
37ed8b9b
PT
8986 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
8987 sysdeps/mach/hurd/readlink.c.
b29d4053 8988
db653660
ST
8989 * posix/tst-sysconf.c (posix_options): Only use
8990 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
8991 _POSIX_SYNCHRONIZED_IO when they are defined
8992 * sysdeps/mach/hurd/bits/posix_opt.h:
8993 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
8994 (_XOPEN_REALTIME): Undefine macro.
8995 (_XOPEN_REALTIME_THREADS): Undefine macro.
8996 (_XOPEN_SHM): Undefine macro.
8997 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
8998 macro to -1.
8999 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
9000 macro to -1.
9001 (_POSIX_ASYNC_IO): Undefine macro.
9002 (_POSIX_PRIORITIZED_IO): Undefine macro.
9003 (_POSIX_SPIN_LOCKS): Define macro to -1.
9004
ee16e894
ST
9005 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
9006 SA_NODEFER, SA_RESETHAND.
9007 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
9008 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
9009 F_DUPFD_CLOEXEC.
9010
6103ae3b
TS
90112012-05-10 Thomas Schwinge <thomas@schwinge.name>
9012
9013 * elf/Makefile (pldd-modules): Define unconditionally.
9014
80b4e5f3
TS
90152012-05-10 Thomas Schwinge <thomas@schwinge.name>
9016
9017 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
9018
edadcbd6
ST
90192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9020
9021 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
9022 Return ENOENT when name is empty.
9023 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
9024
80694780
TS
90252012-05-10 Thomas Schwinge <thomas@schwinge.name>
9026
1792c087
TS
9027 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
9028
80694780
TS
9029 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
9030
6b645f0d
ST
90312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9032
80694780
TS
9033 Fix mlock in all cases except non-readable pages.
9034 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
9035 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 9036
6b645f0d
ST
9037 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
9038 (__mkdir): When path is `/', just fail with EEXIST.
9039 * sysdeps/mach/hurd/mkdirat.c: Likewise.
9040
e468f8a3
TS
90412012-05-10 Thomas Schwinge <thomas@schwinge.name>
9042
9043 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
9044 <sys/uio.h> (for writev).
9045 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
9046 and <sys/param.h> (for MIN).
9047
a4186cff
PT
90482012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9049
9050 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
9051 REQUESTED_TIME. Properly set the remaining time and return EINTR
9052 if interrupted.
9053
510bbf14
TS
90542012-05-10 Thomas Schwinge <thomas@schwinge.name>
9055
9056 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
9057 Depend on against $(link-rpcuserlibs).
9058
5d5722e8
ST
90592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9060
a4186cff
PT
9061 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
9062 (__libc_stack_end): Do not use attribute_relro.
9063 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
9064 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 9065 to libthread-provided value.
a4186cff
PT
9066 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
9067 attribute_relro.
5d5722e8 9068
37233df9
TS
90692012-05-10 Thomas Schwinge <thomas@schwinge.name>
9070
be971a2b
TS
9071 [BZ #3748]
9072 * bits/libc-lock.h (__libc_once_get): New macro.
9073 * sysdeps/mach/bits/libc-lock.h: Likewise.
9074 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
9075 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
9076 instead of using implementation details.
9077
37233df9
TS
9078 * libio/fileops.c: Unconditionally include <kernel-features.h>.
9079 * libio/freopen.c: Likewise.
9080 * libio/freopen64.c: Likewise.
9081 * misc/syslog.c: Likewise.
9082 * nscd/connections.c: Likewise.
9083 * nscd/netgroupcache.c: Likewise.
9084 * sysdeps/posix/getcwd.c: Likewise.
9085
38de94a5
RM
90862012-05-10 Roland McGrath <roland@hack.frob.com>
9087
9088 * math/w_ilogbf.c: Add #include <limits.h>.
9089
67530489
ST
90902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9091
a4186cff 9092 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
9093 path instead of returning without unlocking.
9094
67530489
ST
9095 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
9096 immediate-write ioctls.
9097 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
9098
5aa3a74a
TS
90992012-05-10 Thomas Schwinge <thomas@schwinge.name>
9100
18bad2ae
TS
9101 * sysdeps/mach/hurd/i386/init-first.c (init): Use
9102 __builtin_frame_address instead of making assumptions about the
9103 location of the return address relative to DATA. Force early load of
9104 the return address.
9105 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
9106 __builtin_frame_address.
9107
5aa3a74a
TS
9108 dup3 for GNU Hurd.
9109 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
9110 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
9111 implement dup3 and do some further code clean-ups.
9112 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
9113 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
9114
ecd0de9a
ST
91152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9116
cd9fa985
ST
9117 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
9118
a4186cff
PT
9119 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
9120 HURD_CRITICAL_END around holding _hurd_dtable_lock.
9121 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
9122 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
9123 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
9124 d->port.lock.
802ca5a5 9125
a4186cff
PT
9126 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
9127 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
9128 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 9129
bcf55240
TS
91302012-05-10 Thomas Schwinge <thomas@schwinge.name>
9131
6960eb42
TS
9132 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
9133 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
9134 definitions.
9135
eb43375f
TS
9136 accept4 for GNU Hurd.
9137 * include/sys/socket.h (__libc_accept4): New prototype.
9138 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
9139 to implement __libc_accept4.
9140 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
9141 __libc_accept4.
9142 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
9143
bcf55240
TS
9144 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
9145 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
9146 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
9147 signal-defines.sym.
9148
6178c55b
ST
91492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9150
a4186cff 9151 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 9152
6f080c2f
TS
91532012-05-10 Thomas Schwinge <thomas@schwinge.name>
9154
9155 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
9156 assertion on O_CLOEXEC flag.
9157 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
9158 * hurd/intern-fd.c: Likewise.
9159 * hurd/port2fd.c: Likewise.
9160
bcfe3a54
ST
91612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9162
9163 [BZ #3906]
9164 * bits/in.h (IPV6_PKTINFO): Define new macro.
9165 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
9166
89c9aa49
AZ
91672012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9168
9169 [BZ #13954]
9170 [BZ #13955]
9171 [BZ #13956]
9172 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
9173 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9174 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
9175 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9176 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9177 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9178 * math/libm-test.inc (logb_test) : Additional logb tests.
9179
021db4be
AJ
91802012-05-09 Andreas Schwab <schwab@linux-m68k.org>
9181 Andreas Jaeger <aj@suse.de>
9182
9183 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
9184 * configure: Regenerated.
9185 * config.h.in (LINK_OBSOLETE_RPC): New macro.
9186 * config.make.in (link-obsolete-rpc): New substituted variable.
9187 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
9188 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
9189 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9190 (shared-only-routines): Don't set it under [link-obsolete-rpc],
9191 so that libc.a contains the symbols.
9192 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9193 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
9194 * sunrpc/auth_none.c: Likewise.
9195 * sunrpc/auth_unix.c: Likewise.
9196 * sunrpc/authdes_prot.c: Likewise.
9197 * sunrpc/authuxprot.c: Likewise.
9198 * sunrpc/clnt_gen.c: Likewise.
9199 * sunrpc/clnt_perr.c: Likewise.
9200 * sunrpc/clnt_raw.c: Likewise.
9201 * sunrpc/clnt_simp.c: Likewise.
9202 * sunrpc/clnt_tcp.c: Likewise.
9203 * sunrpc/clnt_udp.c: Likewise.
9204 * sunrpc/clnt_unix.c: Likewise.
9205 * sunrpc/des_crypt.c: Likewise.
9206 * sunrpc/des_soft.c: Likewise.
9207 * sunrpc/get_myaddr.c: Likewise.
9208 * sunrpc/key_call.c: Likewise.
9209 * sunrpc/key_prot.c: Likewise.
9210 * sunrpc/netname.c: Likewise.
9211 * sunrpc/pm_getmaps.c: Likewise.
9212 * sunrpc/pm_getport.c: Likewise.
9213 * sunrpc/pmap_clnt.c: Likewise.
9214 * sunrpc/pmap_prot.c: Likewise.
9215 * sunrpc/pmap_prot2.c: Likewise.
9216 * sunrpc/pmap_rmt.c: Likewise.
9217 * sunrpc/publickey.c: Likewise.
9218 * sunrpc/rpc_cmsg.c: Likewise.
9219 * sunrpc/rpc_common.c: Likewise.
9220 * sunrpc/rpc_dtable.c: Likewise.
9221 * sunrpc/rpc_prot.c: Likewise.
9222 * sunrpc/rpc_thread.c: Likewise.
9223 * sunrpc/rtime.c: Likewise.
9224 * sunrpc/svc.c: Likewise.
9225 * sunrpc/svc_auth.c: Likewise.
9226 * sunrpc/svc_raw.c: Likewise.
9227 * sunrpc/svc_run.c: Likewise.
9228 * sunrpc/svc_tcp.c: Likewise.
9229 * sunrpc/svc_udp.c: Likewise.
9230 * sunrpc/svc_unix.c: Likewise.
9231 * sunrpc/svcauth_des.c: Likewise.
9232 * sunrpc/xcrypt.c: Likewise.
9233 * sunrpc/xdr.c: Likewise.
9234 * sunrpc/xdr_array.c: Likewise.
9235 * sunrpc/xdr_float.c: Likewise.
9236 * sunrpc/xdr_intXX_t.c: Likewise.
9237 * sunrpc/xdr_mem.c: Likewise.
9238 * sunrpc/xdr_rec.c: Likewise.
9239 * sunrpc/xdr_ref.c: Likewise.
9240 * sunrpc/xdr_sizeof.c: Likewise.
9241 * sunrpc/xdr_stdio.c: Likewise.
9242
b5c086a2
RM
92432012-05-10 Roland McGrath <roland@hack.frob.com>
9244
9245 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
9246 change. Update copyright years.
9247
6d74dd09
JM
92482012-05-10 Joseph Myers <joseph@codesourcery.com>
9249
9250 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
9251
28e72501
MK
92522012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
9253 Joseph Myers <joseph@codesourcery.com>
9254 Paul Pluzhnikov <ppluzhnikov@google.com>
9255
9256 [BZ #14012]
9257 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
9258 requiring rpcgen.
9259 [cross-compiling] (extra-libs): Likewise.
9260 [cross-compiling] (extra-libs-others): Likewise.
9261 [cross-compiling] (librpcsvc-routines): Likewise.
9262 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
9263 [cross-compiling] (omit-deps): Likewise.
9264 (sunrpc-CPPFLAGS): New variable.
9265 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
9266 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
9267 (cross-rpcgen-objs): New variable.
9268 (extra-objs): Append $(cross-rpcgen-objs).
9269 ($(cross-rpcgen-objs)): New rule.
9270 ($(objpfx)cross-rpcgen): Likewise.
9271 (rpcgen-cmd): Define to use $(built-program-file). Expand
9272 comment.
9273 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
9274 ($(objpfx)x%.stmp): Likewise.
9275 * sunrpc/proto.h [IS_IN_build] (_): Define.
9276 [IS_IN_build] (_libc_intl_domainname): Likewise.
9277
c8c59454
L
92782012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9279
9280 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
9281 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
9282 and R_X86_64_TPOFF64.
9283
6f27cd16
JM
92842012-05-10 Joseph Myers <joseph@codesourcery.com>
9285
9286 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
9287 sysdeps/unix/sysv/syscalls.list.
9288 (stime): Likewise.
9289 (utime): Likewise.
9290 * sysdeps/unix/sysv/syscalls.list: Remove file.
9291
02467e1c
PE
92922012-05-10 Paul Eggert <eggert@cs.ucla.edu>
9293
9294 [BZ #3440]
9295 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
9296 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
9297 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
9298 (__LC_IDENTIFICATION): Make these macros useful in #if
9299 expressions, as required by C99.
9300
da392631
AS
93012012-05-10 Andreas Schwab <schwab@linux-m68k.org>
9302
9303 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
9304 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
9305 after this.
9306
8115f29b
L
93072012-05-09 H.J. Lu <hongjiu.lu@intel.com>
9308
9309 * stdlib/longlong.h: Updated from GCC.
9310
bdd74070
AJ
93112012-05-09 Andreas Jaeger <aj@suse.de>
9312
edfe0dbe
AJ
9313 * nscd/nscd.c (run_modes): Make named enum, reorder so that
9314 default is first entry.
9315 (run_mode): Set type.
9316 (main): Remove informal message about syslog.
9317 (options): Fix typo.
9318
bcfe3a54
ST
9319 [BZ #14053]
9320 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 9321 to asm.
bcfe3a54
ST
9322 (lrint): Likewise.
9323 (llrintf): Likewise.
9324 (llrint): Likewise.
9325 (rint): Likewise.
9326 (rintf): Likewise.
9327 (nearbyint): Likewise.
9328 (nearbyintf): Likewise.
bdd74070 9329
91d8d69e
AJ
93302012-05-09 Andreas Jaeger <aj@suse.de>
9331 Pedro Alves <palves@redhat.com>
9332
9333 * nscd/nscd.c (run_mode): Use enum.
9334 (main): Cleanup coding style issue.
9335
bb90b80b
AJ
93362012-05-09 Alexandre Oliva <aoliva@redhat.com>
9337 Andreas Jaeger <aj@suse.de>
9338
bcfe3a54
ST
9339 * nscd/nscd.c (go_background): Replaced with...
9340 (run_mode): ... this.
bb90b80b 9341 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
9342 (options): Add -F --foreground.
9343 (main): Implement it.
9344 (parse_opt): Parse it.
bb90b80b 9345
1a4b75a1
AJ
93462012-05-09 Andreas Jaeger <aj@suse.de>
9347
9348 [BZ #14083]
9349 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
9350 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
9351 -Wconversion warning.
9352 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
9353 Likewise.
9354
b1cc2472
JM
93552012-05-09 Joseph Myers <joseph@codesourcery.com>
9356
9357 * conform/data/locale.h-data (NULL): Use macro-constant. Require
9358 == 0.
9359 (LC_ALL): Use macro-int-constant.
9360 (LC_COLLATE): Likewise.
9361 (LC_CTYPE): Likewise.
9362 (LC_MESSAGES): Likewise.
9363 (LC_MONETARY): Likewise.
9364 (LC_NUMERIC): Likewise.
9365 (LC_TIME): Likewise.
9366 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
9367 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9368 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9369 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
9370 Specify type.
9371 [C99-based standards] (float_t): Expect type.
9372 [C99-based standards] (double_t): Expect type.
9373 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
9374 type.
9375 [C99-based standards] (HUGE_VALL): Likewise.
9376 [C99-based standards] (INFINITY): Likewise.
9377 [C99-based standards] (NAN): Likewise.
9378 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
9379 [C99-based standards] (FP_NAN): Likewise.
9380 [C99-based standards] (FP_NORMAL): Likewise.
9381 [C99-based standards] (FP_SUBNORMAL): Likewise.
9382 [C99-based standards] (FP_ZERO): Likewise.
9383 [C99-based standards] (FP_FAST_FMA): Use
9384 optional-macro-int-constant. Specify type. Require == 1.
9385 [C99-based standards] (FP_FAST_FMAF): Likewise.
9386 [C99-based standards] (FP_FAST_FMAL): Likewise.
9387 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
9388 [C99-based standards] (FP_ILOGBNAN): Likewise.
9389 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
9390 Specify type.
9391 [C99-based standards] (MATH_ERREXCEPT): Likewise.
9392 [C99-based standards] (math_errhandling): Specify type.
9393 [ISO99 || ISO11] (signgam): Do not allow.
9394 [non-C99-based standards] (copysignf): Do not allow.
9395 [non-C99-based standards] (exp2f): Likewise.
9396 [non-C99-based standards] (log2f): Likewise.
9397 [non-C99-based standards] (modff): Allow.
9398 [non-C99-based standards] (erff): Do not allow.
9399 [non-C99-based standards] (erfcf): Likewise.
9400 [non-C99-based standards] (gammaf): Likewise.
9401 [non-C99-based standards] (hypotf): Likewise.
9402 [non-C99-based standards] (j0f): Likewise.
9403 [non-C99-based standards] (j1f): Likewise.
9404 [non-C99-based standards] (jnf): Likewise.
9405 [non-C99-based standards] (lgammaf): Likewise.
9406 [non-C99-based standards] (tgammaf): Likewise.
9407 [non-C99-based standards] (y0f): Likewise.
9408 [non-C99-based standards] (y1f): Likewise.
9409 [non-C99-based standards] (ynf): Likewise.
9410 [non-C99-based standards] (isnanf): Likewise.
9411 [non-C99-based standards] (acoshf): Likewise.
9412 [non-C99-based standards] (asinhf): Likewise.
9413 [non-C99-based standards] (atanhf): Likewise.
9414 [non-C99-based standards] (cbrtf): Likewise.
9415 [non-C99-based standards] (expm1f): Likewise.
9416 [non-C99-based standards] (ilogbf): Likewise.
9417 [non-C99-based standards] (log1pf): Likewise.
9418 [non-C99-based standards] (logbf): Likewise.
9419 [non-C99-based standards] (nextafterf): Likewise.
9420 [non-C99-based standards] (remainderf): Likewise.
9421 [non-C99-based standards] (rintf): Likewise.
9422 [non-C99-based standards] (scalbf): Likewise.
9423 [non-C99-based standards] (copysignl): Likewise.
9424 [non-C99-based standards] (exp2l): Likewise.
9425 [non-C99-based standards] (log2l): Likewise.
9426 [non-C99-based standards] (modfl): Allow.
9427 [non-C99-based standards] (erfl): Do not allow.
9428 [non-C99-based standards] (erfcl): Likewise.
9429 [non-C99-based standards] (gammal): Likewise.
9430 [non-C99-based standards] (hypotl): Likewise.
9431 [non-C99-based standards] (j0l): Likewise.
9432 [non-C99-based standards] (j1l): Likewise.
9433 [non-C99-based standards] (jnl): Likewise.
9434 [non-C99-based standards] (lgammal): Likewise.
9435 [non-C99-based standards] (tgammal): Likewise.
9436 [non-C99-based standards] (y0l): Likewise.
9437 [non-C99-based standards] (y1l): Likewise.
9438 [non-C99-based standards] (ynl): Likewise.
9439 [non-C99-based standards] (isnanl): Likewise.
9440 [non-C99-based standards] (acoshl): Likewise.
9441 [non-C99-based standards] (asinhl): Likewise.
9442 [non-C99-based standards] (atanhl): Likewise.
9443 [non-C99-based standards] (cbrtl): Likewise.
9444 [non-C99-based standards] (expm1l): Likewise.
9445 [non-C99-based standards] (ilogbl): Likewise.
9446 [non-C99-based standards] (log1pl): Likewise.
9447 [non-C99-based standards] (logbl): Likewise.
9448 [non-C99-based standards] (nextafterl): Likewise.
9449 [non-C99-based standards] (remainderl): Likewise.
9450 [non-C99-based standards] (rintl): Likewise.
9451 [non-C99-based standards] (scalbl): Likewise.
9452 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9453 [non-C99-based standards] (FP_*): Do not allow.
9454 [C99-based standards] (FP_*): Change to
9455 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9456 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9457 allow.
9458 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
9459 (SIG_ERR): Likewise.
9460 [X/Open-based standards] (SIG_HOLD): Likewise.
9461 (SIG_IGN): Likewise.
9462 (SIGABRT): Use macro-int-constant. Specify type. Require
9463 positive value.
9464 (SIGFPE): Likewise.
9465 (SIGILL): Likewise.
9466 (SIGINT): Likewise.
9467 (SIGSEGV): Likewise.
9468 (SIGTER): Likewise.
9469 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
9470 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
9471 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
9472 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
9473 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
9474 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
9475 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
9476 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
9477 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
9478 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
9479 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
9480 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
9481 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
9482 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
9483 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
9484 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
9485 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
9486 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
9487 [X/Open-based standards] (SIGTRAP): Likewise.
9488 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
9489 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
9490 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
9491 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
9492 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9493 allow.
9494
b9f1922d
IW
94952012-05-08 Ian Wienand <ianw@vmware.com>
9496
9497 [BZ #14080]
9498 * time/tzset.c (__tzset_parse_tz): Update default rules for
9499 daylight time changes in the Energy Policy Act of 2005.
9500
1db86e88
AJ
95012012-05-09 Andreas Jaeger <aj@suse.de>
9502
9503 [BZ #13983]
9504 * elf/ldconfig.c (parse_conf): Change string to make clear that
9505 ldconfig only issued a warning if ld.so.conf does not exist.
9506
dee4a4e3
DM
95072012-05-08 David S. Miller <davem@davemloft.net>
9508
ee0db190
DM
9509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
9510 movxtod instead of popping the value on the stack.
9511
dee4a4e3
DM
9512 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9513
6a43ec98
CD
95142012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
9515
9516 * config.h.in: Add HAVE_ARM_PCS_VFP.
9517
05c2c961
RMG
95182012-05-08 Roland Mc Grath <roland@hack.frob.com>
9519
bcfe3a54
ST
9520 [BZ #13979]
9521 * include/features.h: Warn if user requests __FORTIFY_SOURCE
9522 checking but the checks are disabled for any reason.
05c2c961 9523
4b30f61a
L
95242012-05-08 H.J. Lu <hongjiu.lu@intel.com>
9525
9526 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
9527 and ELF64_R_TYPE with ELFW(R_TYPE).
9528
eee2bc67
JM
95292012-05-08 Joseph Myers <joseph@codesourcery.com>
9530
7ea5391a
JM
9531 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
9532 (ulimit): Likewise.
9533
eee2bc67
JM
9534 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
9535 (settimeofday): Likewise.
9536
abb66a67
MF
95372012-05-08 Mike Frysinger <vapier@gentoo.org>
9538
9539 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
9540 a struct th_u2 inside the union, and move tu_block/tu_code into
9541 a new th_u3 union of tu_block/tu_code inside of that. Move
9542 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
9543 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
9544 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
9545 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
9546 (th_stuff): Change to th_u1.tu_stuff.
9547 (th_data): Define.
9548 (th_msg): Change to th_u1.th_u2.tu_data.
9549
7f18b530
DM
95502012-05-07 David S. Miller <davem@davemloft.net>
9551
05760585
DM
9552 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9553
7f18b530
DM
9554 [BZ #14074]
9555 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
9556 (SETUP_PIC_REG): Use it.
9557 (SETUP_PIC_REG_LEAF): Use it.
9558
495fd99f
JM
95592012-05-07 Joseph Myers <joseph@codesourcery.com>
9560
9561 [BZ #13885]
9562 [BZ #13923]
9563 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9564 USE_AS_EXPM1L.
9565 (EXPL_FINITE): Likewise.
9566 (FLDLOG): Likewise.
9567 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
9568 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
9569 e_expl.S.
9570 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9571 USE_AS_EXPM1L.
9572 (EXPL_FINITE): Likewise.
9573 (FLDLOG): Likewise.
9574 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
9575 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
9576 e_expl.S.
9577 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
9578 test of -max_value argument for long double.
9579 * sysdeps/i386/fpu/libm-test-ulps: Update.
9580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9581
6693d694
DM
95822012-05-06 David S. Miller <davem@davemloft.net>
9583
9584 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
9585 quad soft-float symbols whose references which are compiler
9586 generated.
9587 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9588
6c23e11c
JM
95892012-05-06 Joseph Myers <joseph@codesourcery.com>
9590
d8b82cad
JM
9591 [BZ #13884]
9592 [BZ #13914]
9593 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9594 USE_AS_EXP10L.
9595 (EXPL_FINITE): Likewise.
9596 (FLDLOG): Likewise.
9597 (c0): Likewise.
9598 (c1): Likewise.
9599 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
9600 Adjust comments for base varying.
9601 (__expl_finite): Change alias to EXPL_FINITE.
9602 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
9603 e_expl.S.
9604 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
9605 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
9606 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9607 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
9608 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9609 USE_AS_EXP10L.
9610 (EXPL_FINITE): Likewise.
9611 (FLDLOG): Likewise.
9612 (c0): Likewise.
9613 (c1): Likewise.
9614 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
9615 Adjust comments for base varying.
9616 (__expl_finite): Change alias to EXPL_FINITE.
9617 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
9618 tests for bugs.
9619 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9620
6c23e11c
JM
9621 [BZ #14064]
9622 * math/libm-test.inc (check_float_internal): Correct ulp
9623 calculation for subnormal expected results.
9624
29ba805c
AJ
96252012-05-06 Andreas Jaeger <aj@suse.de>
9626
9627 * Makeconfig (+math-flags): New, set to -frounding-math.
9628 (+cflags): Add +math-flags so that all of glibc gets compiled with
9629 it.
9630
9631 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
9632
7b17aeda
JM
96332012-05-05 Joseph Myers <joseph@codesourcery.com>
9634
5779f134
JM
9635 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
9636 Disable one test.
9637
41498f4d
JM
9638 [BZ #13787]
9639 [BZ #13922]
9640 [BZ #14036]
9641 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
9642 (__ieee754_expl): Allow for and saturate large arguments.
9643 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
9644 (u_threshold): Likewise.
9645 (__exp): Call __ieee754_exp before checking for overflow and
9646 underflow.
9647 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
9648 (u_threshold): Likewise.
9649 (__expf): Call __ieee754_expf before checking for overflow and
9650 underflow.
9651 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
9652 (u_threshold): Likewise.
9653 (__expl): Call __ieee754_expl before checking for overflow and
9654 underflow.
9655 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
9656 (__ieee754_expl): Allow for and saturate large arguments.
9657 * math/libm-test.inc (exp_test): Add another test. Do not allow
9658 missing overflow exception on overflow.
9659 (expm1_test): Do not allow missing overflow exception on overflow.
9660
6698b8bf
JM
9661 * sysdeps/i386/fpu/e_expl.c: Move to ...
9662 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
9663 rather than using inline asm.
9664 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
9665 * sysdeps/x86_64/fpu/e_expl.S: Copy from
9666 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
9667
7b17aeda
JM
9668 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
9669 (nice): Likewise.
9670 (poll): Likewise.
9671 (signal): Likewise.
9672 (time): Likewise.
9673 (times): Likewise.
9674
f7c85819
JM
96752012-05-04 Joseph Myers <joseph@codesourcery.com>
9676
9677 * sysdeps/unix/syscalls.list (adjtime): Add entry from
9678 sysdeps/unix/common/syscalls.list.
9679 (fchmod): Likewise.
9680 (fchown): Likewise.
9681 (ftruncate): Likewise.
9682 (getrusage): Likewise.
9683 (gettimeofday): Likewise.
9684 (setpgid): Likewise.
9685 (setregid): Likewise.
9686 (setreuid): Likewise.
9687 (sigaction): Likewise.
9688 (truncate): Likewise.
9689 (vhangup): Likewise.
9690 * sysdeps/unix/common/syscalls.list: Remove file.
9691 * sysdeps/unix/bsd/Implies: Don't include unix/common.
9692 * sysdeps/unix/sysv/linux/Implies: Likewise.
9693
336270d0
L
96942012-05-04 H.J. Lu <hongjiu.lu@intel.com>
9695
9696 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
9697 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
9698 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
9699 Moved to ...
9700 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
9701 Here.
9702 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
9703 to ...
9704 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
9705 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
9706 to ...
9707 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
9708 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
9709 to ...
9710 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
9711 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
9712 to ...
9713 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
9714 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
9715 to ...
9716 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
9717 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
9718 to ...
9719 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
9720 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
9721 to ...
9722 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
9723 Here.
9724 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
9725 to ...
9726 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
9727 Here.
9728 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
9729 to ...
9730 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
9731 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
9732 Moved to ...
9733 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
9734 Here.
9735 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
9736 to ...
9737 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
9738
d128e450
JM
97392012-05-04 Joseph Myers <joseph@codesourcery.com>
9740
fa8ee516
JM
9741 * sysdeps/unix/common/bits/dirent.h: Remove file.
9742 * sysdeps/unix/common/bits/fcntl.h: Likewise.
9743
d128e450
JM
9744 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
9745 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
9746 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
9747 * sysdeps/unix/bsd/isatty.c: Likewise.
9748 * sysdeps/unix/bsd/tcdrain.c: Likewise.
9749 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
9750 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
9751
ff8faaf0 97522012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 9753
62881be4 9754 [BZ #13563]
31dc8730
AZ
9755 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
9756 long double comparison inaccuracies.
9757 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9758 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9759
6fef930c
AS
97602012-05-04 Andreas Schwab <schwab@linux-m68k.org>
9761
9762 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
9763 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
9764
8f203e6c
JM
97652012-05-04 Joseph Myers <joseph@codesourcery.com>
9766
9767 [BZ #14049]
9768 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
9769 nonzero digits before rounding a hex value.
9770 * stdlib/tst-strtod.c (tests): Add another test.
9771
5197d9c2
AK
97722012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9773
9774 * sysdeps/s390/fpu/libm-test-ulps: Update.
9775
f0c1dedf
AJ
97762012-05-03 Andreas Jaeger <aj@suse.de>
9777
9778 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
9779 does not get optimized out.
9780 (malloc_opt_barrier): New.
9781
a65ef2ae 97822012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 9783 Roland McGrath <roland@hack.frob.com>
a65ef2ae 9784
2b942cb7 9785 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 9786 intermediate file deletion.
2b942cb7 9787 (generated): Add .symlist files.
a65ef2ae 9788
54b71e02
JM
97892012-05-03 Joseph Myers <joseph@codesourcery.com>
9790
9791 [BZ #13775]
9792 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
9793 Redirect under this condition.
9794 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
9795 [__USE_GNU] (__dprintf_chk): Not under this condition.
9796 [__USE_GNU] (__vdprintf_chk): Likewise.
9797 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
9798 under this condition.
9799 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
9800 [__USE_XOPEN2K8] (dprintf): Define under this condition.
9801 [__USE_XOPEN2K8] (vdprintf): Likewise.
9802 [__USE_GNU] (__dprintf_chk): Not under this condition.
9803 [__USE_GNU] (__vdprintf_chk): Likewise.
9804 [__USE_GNU] (dprintf): Likewise.
9805 [__USE_GNU] (vdprintf): Likewise.
9806
d3dfcc41
RM
98072012-05-03 Roland McGrath <roland@hack.frob.com>
9808
9809 * elf/Makefile (common-generated): Set this instead of generated for
9810 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
9811 $(all-built-dso)-derived lists.
9812
7ac30cc5
AJ
98132012-05-03 Andreas Jaeger <aj@suse.de>
9814
0c51e550
AJ
9815 * sysdeps/i386/fpu/libm-test-ulps: Update.
9816
7ac30cc5
AJ
9817 * FAQ: Removed.
9818 * FAQ.in: Likewise.
9819 * scripts/gen-FAQ.pl: Likewise.
9820 * manual/install.texi (Installation): Point to online location of
9821 FAQ.
9822 * Makefile (files-for-dist): Remove FAQ.
9823 (FAQ): Remove.
9824
d4c2917f
AM
98252012-05-02 Allan McRae <allan@archlinux.org>
9826
9827 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
9828 (LDFLAGS-reldepmod5.so): Likewise.
9829 (LDFLAGS-reldep6mod1.so): Likewise.
9830 (LDFLAGS-reldep6mod4.so): Likewise.
9831 (LDFLAGS-reldep8mod3.so): Likewise.
9832 (LDFLAGS-unload4mod1.so): Likewise.
9833 (LDFLAGS-unload4mod2.so): Likewise.
9834 (LDFLAGS-tst-initorder): Likewise.
9835 (LDFLAGS-tst-initordera2.so): Likewise.
9836 (LDFLAGS-tst-initordera3.so): Likewise.
9837 (LDFLAGS-tst-initordera4.so): Likewise.
9838 (LDFLAGS-tst-initorderb2.so): Likewise.
9839 (LDFLAGS-noload): Likewise.
9840 (LDFLAGS-next): Likewise.
9841 (LDFLAGS-order2mod1.so): Likewise.
9842 (LDFLAGS-order2mod2.so): Likewise.
9843 (LDFLAGS-tst-initorder2): Likewise.
9844 (LDFLAGS-tst-initorder2a.so): Likewise.
9845 (LDFLAGS-tst-initorder2b.so): Likewise.
9846 (LDFLAGS-tst-initorder2c.so): Likewise.
9847 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
9848
d77f993f
DM
98492012-05-02 David S. Miller <davem@davemloft.net>
9850
9851 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9852
171a70b4
PP
98532012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
9854
9855 [BZ #14055]
9856 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
9857
0be196ad
AJ
98582012-05-02 Andreas Jaeger <aj@suse.de>
9859
9860 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
9861 since we manipulate rounding mode.
9862 (CPPFLAGS-test-idouble.c): Likewise.
9863 (CPPFLAGS-test-ifloat.c): Likewise.
9864 (CFLAGS-test-ldouble.c): Likewise.
9865 (CFLAGS-test-double.c): Likewise.
9866 (CFLAGS-test-float.c): Likewise.
9867 (CFLAGS-test-misc.c): Likewise.
9868 (CFLAGS-test-test-fenv.c): Likewise.
9869
4f9d04aa
AZ
98702012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9871
2b942cb7
RM
9872 [BZ #2550]
9873 [BZ #2570]
9874 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
9875 comparisons to determine direction to adjust input.
4f9d04aa 9876
82a79e7d
RM
98772012-05-01 Roland McGrath <roland@hack.frob.com>
9878
f5a01ca9
RM
9879 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
9880 output to the target.
9881
90fe4186
RM
9882 * scripts/localplt.awk: New file.
9883 * elf/Makefile ($(objpfx)check-localplt): Target removed.
9884 (check-localplt-CFLAGS): Variable removed.
9885 ($(all-built-dso:=.jmprel)): New static pattern rule.
9886 (generated): Add those targets.
9887 (localplt-built-dso): New variable.
9888 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
9889
9890 * elf/check-localplt.c: File removed.
9891
82397ed6
RM
9892 * scripts/check-execstack.awk: New file.
9893 * elf/Makefile ($(objpfx)check-execstack): Target removed.
9894 (check-execstack-CFLAGS): Variable removed.
9895 ($(objpfx)check-execstack.h): Target removed.
9896 ($(objpfx)execstack-default): New target.
9897 (generated): Add that instead of check-execstack.h.
9898 ($(all-built-dso:=.phdr)): New static pattern rule.
9899 (generated): Add those targets.
9900 * elf/check-execstack.c: File removed.
9901
82a79e7d
RM
9902 * scripts/check-textrel.awk: New file.
9903 * elf/Makefile ($(objpfx)check-textrel): Target removed.
9904 (check-textrel-CFLAGS): Variable removed.
9905 (all-built-dso): Use := to define.o
9906 ($(all-built-dso:=.dyn)): New static pattern rule.
9907 (generated): Add those targets.
9908 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
9909 * config.make.in (READELF): New substituted variable.
9910 * elf/check-textrel.c: File removed.
9911
62fde54f 99122012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 9913
615605c9
JM
9914 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9915 allow.
9916 * conform/data/ctype.h-data [C99-based standards] (isblank):
9917 Expect function.
9918 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
9919 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
9920 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9921 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
9922 Specify type. Require positive value.
9923 (EILSEQ): Likewise.
9924 (ERANGE): Likewise.
9925 [ISO || POSIX] (EILSEQ): Do not expect.
9926 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
9927 Specify type. Require positive value.
9928 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
9929 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
9930 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
9931 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
9932 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
9933 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
9934 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
9935 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
9936 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
9937 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
9938 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
9939 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
9940 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
9941 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
9942 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
9943 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
9944 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
9945 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
9946 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
9947 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
9948 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
9949 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
9950 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
9951 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
9952 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
9953 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
9954 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
9955 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
9956 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
9957 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
9958 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
9959 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
9960 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
9961 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
9962 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
9963 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
9964 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
9965 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
9966 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
9967 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
9968 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
9969 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
9970 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
9971 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
9972 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
9973 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
9974 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
9975 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
9976 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
9977 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
9978 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
9979 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
9980 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
9981 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
9982 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
9983 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
9984 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
9985 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
9986 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
9987 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
9988 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
9989 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
9990 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
9991 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
9992 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
9993 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
9994 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
9995 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
9996 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
9997 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
9998 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
9999 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
10000 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
10001 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
10002 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
10003 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
10004 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
10005 Require >= 2.
10006 (FLT_ROUNDS): Expect as macro, not constant.
10007 (FLT_MANT_DIG): Use macro-int-constant.
10008 (DBL_MANT_DIG): Likewise.
10009 (LDBL_MANT_DIG): Likewise.
10010 (FLT_DIG): Likewise.
10011 (DBL_DIG): Likewise.
10012 (LDBL_DIG): Likewise.
10013 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
10014 (DBL_MIN_EXP): Likewise.
10015 (LDBL_MIN_EXP): Likewise.
10016 (FLT_MAX_EXP): Use macro-int-constant.
10017 (DBL_MAX_EXP): Likewise.
10018 (LDBL_MAX_EXP): Likewise.
10019 (FLT_MAX_10_EXP): Likewise.
10020 (DBL_MAX_10_EXP): Likewise.
10021 (LDBL_MAX_10_EXP): Likewise.
10022 (FLT_MAX): Use macro-constant.
10023 (DBL_MAX): Likewise.
10024 (LDBL_MAX): Likewise.
10025 (FLT_EPSILON): Use macro-constant. Give upper bound.
10026 (DBL_EPSILON): Likewise.
10027 (LDBL_EPSILON): Likewise.
10028 (FLT_MIN): Likewise.
10029 (DBL_MIN): Likewise.
10030 (LDBL_MIN): Likewise.
10031 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
10032 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
10033 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
10034 [ISO11] (FLT_HAS_SUBNORM): Likewise.
10035 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
10036 [ISO11] (DBL_DECIMAL_DIG): Likewise.
10037 [ISO11] (FLT_DECIMAL_DIG): Likewise.
10038 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
10039 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
10040 [ISO11] (FLT_TRUE_MIN): Likewise.
10041 [ISO11] (LDBL_TRUE_MIN): Likewise.
10042 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10043 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
10044 (SCHAR_MIN): Use macro-int-constant. Specify type.
10045 (SCHAR_MAX): Likewise.
10046 (UCHAR_MAX): Likewise.
10047 (CHAR_MIN): Likewise.
10048 (CHAR_MAX): Likewise.
10049 (MB_LEN_MAX): Use macro-int-constant.
10050 (SHRT_MIN): Use macro-int-constant. Specify type.
10051 (SHRT_MAX): Likewise.
10052 (USHRT_MAX): Likewise.
10053 (INT_MAX): Likewise.
10054 (INT_MIN): Use macro-int-constant. Specify type. Make upper
10055 bound negative.
10056 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
10057 bound with "U".
10058 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10059 bound with "L".
10060 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
10061 bound negative. Suffix upper bound with "L".
10062 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10063 bound with "UL".
10064 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
10065 Specify type.
10066 [C99-based standards] (LLONG_MAX): Likewise.
10067 [C99-based standards] (ULLONG_MAX): Likewise.
10068 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
10069 == 0.
10070 [ISO11] (max_align_t): Require type.
10071 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10072
c9140a62
JM
10073 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
10074 from $CFLAGS, without defining away __attribute__ calls.
10075 (checknamespace): Use $CFLAGS_namespace.
10076
9af0bf29
JM
10077 * conform/conformtest.pl (@keywords): Only include C99 keywords
10078 for standards based on C99 or C11.
10079
343222a2
JM
10080 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
10081 Disable tests.
10082 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
10083 UNIX98]: Likewise.
10084
661f8cf0
JM
10085 * conform/conformtest.pl: Handle "macro-int-constant" and test for
10086 usability of symbols in #if.
10087
ee74b9cb
JM
10088 * conform/conformtest.pl: If macro or constant types start
10089 "promoted:", expect the symbol to be of the following type
10090 promoted by the integer promotions.
62fde54f 10091
aafc49b3
JM
10092 * conform/conformtest.pl: Parse all "constant" and "macro" lines
10093 in one place. Also handle "macro-constant".
10094
fefdf574
JM
10095 * conform/conformtest.pl: Only accept expected macro values with
10096 "==". Parse all "macro" lines in one place.
10097 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
10098
f2d922fe
JM
10099 * conform/conformtest.pl: Handle braced types on "constant" lines
10100 instead of handling "typed-constant".
10101 * conform/data/signal.h-data: Use "constant" instead of
10102 "typed-constant".
10103
d22956c9
JM
10104 * conform/conformtest.pl: Handle "optional-" at start of lines in
10105 one place rather than duplicating several cases. Handle each
10106 format of "macro" line with initial "optional-".
10107
028e2e38
JM
10108 * conform/conformtest.pl: Only accept expected constant or
10109 optional-constant values with "==". Parse all "constant" lines in
10110 one place. Parse all "optional-constant" lines in one place.
10111 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
10112 * conform/data/fmtmsg.h-data: Likewise.
10113 * conform/data/netinet/in.h-data: Likewise.
10114 * conform/data/tar.h-data: Likewise.
10115 * conform/data/limits.h-data: Use "==" form on "constant" and
10116 "optional-constant" lines.
10117
1b8f2850
JM
10118 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
10119 Use -std=c99 for XOPEN2K.
10120 (@knownproblems): Remove.
10121 (newtoken): Don't check %isknown.
10122
a05a144b
JM
10123 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
10124 Do not expect macro.
10125 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
10126 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
10127 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
10128 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
10129 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
10130 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
10131 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
10132 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
10133 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
10134 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
10135 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
10136 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
10137 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
10138 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
10139 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
10140 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
10141 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
10142 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
10143 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
10144 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
10145 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
10146 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
10147 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
10148 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
10149 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
10150 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
10151 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
10152 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
10153 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
10154 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
10155 [XPG3] (acosh): Likewise.
10156 [XPG3] (asinh): Likewise.
10157 [XPG3] (atanh): Likewise.
10158 [XPG3] (cbrt): Likewise.
10159 [XPG3] (expm1): Likewise.
10160 [XPG3] (ilogb): Likewise.
10161 [XPG3] (log1p): Likewise.
10162 [XPG3] (logb): Likewise.
10163 [XPG3] (nextafter): Likewise.
10164 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
10165 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
10166 [XPG3] (remainder): Likewise.
10167 [XPG3] (rint): Likewise.
10168 [XPG3 || XPG4 || UNIX98] (round): Likewise.
10169 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
10170 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
10171 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
10172 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
10173 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
10174 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
10175 [UNIX98 || XOPEN2K] (scalb): Expect.
10176 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
10177 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
10178 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
10179 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
10180 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
10181 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
10182 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
10183 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
10184 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
10185 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
10186 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
10187 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
10188 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
10189 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
10190 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
10191 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
10192 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
10193 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
10194 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
10195 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
10196 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
10197 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
10198 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
10199 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
10200 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
10201 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
10202 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
10203 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
10204 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
10205 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
10206 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
10207 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
10208 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
10209 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
10210 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
10211 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
10212 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
10213 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
10214 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
10215 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
10216 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
10217 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
10218 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
10219 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
10220 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
10221 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
10222 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
10223 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
10224 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
10225 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
10226 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
10227 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
10228 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
10229 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
10230 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
10231 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
10232 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
10233 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
10234 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
10235 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
10236 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
10237 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
10238 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
10239 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
10240 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
10241 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
10242 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
10243 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
10244 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
10245 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
10246 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
10247 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
10248 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
10249 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
10250 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
10251 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
10252 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
10253 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
10254 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
10255 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
10256 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
10257 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
10258 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
10259 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
10260 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
10261 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
10262 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
10263 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
10264 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
10265 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
10266 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
10267 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
10268 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
10269 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
10270 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
10271 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
10272 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
10273 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
10274 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
10275 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
10276 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
10277 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
10278 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
10279 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
10280 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
10281 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
10282 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
10283 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
10284 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
10285 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
10286 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
10287 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
10288 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
10289 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
10290 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
10291 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
10292 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
10293 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
10294 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
10295 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
10296 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
10297 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
10298 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
10299 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
10300 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
10301 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
10302 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
10303 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
10304 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
10305 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
10306 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
10307 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
10308 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
10309 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
10310 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
10311 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
10312 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
10313
73c5ebe3
JM
10314 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
10315 _XOPEN_SOURCE_EXTENDED for XPG4.
10316
39c33b6c
JM
10317 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
10318
62fde54f
JM
10319 * Makeconfig (localtime): Remove variable.
10320 (inst_localtime-file): Likewise.
10321
0741d64c
AS
103222012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10323
10324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10325 Update.
10326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10327 Update.
10328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10329 Update.
10330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10331 Update.
10332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10333 Update.
10334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
10335 Update.
10336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10337 Update.
10338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
10339 Update.
10340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10341 Update.
10342
7cb029ee
JM
103432012-05-01 Joseph Myers <joseph@codesourcery.com>
10344
10345 [BZ #2550]
10346 [BZ #2570]
10347 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
10348 comparisons to determine direction to adjust input.
10349 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10350 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
10351 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
10352 Likewise.
10353 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
10354 Likewise.
10355 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10356 Likewise.
10357 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
10358 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10359 Likewise.
10360 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10361 Likewise.
10362 * math/libm-test.inc (nexttoward_test): Add more tests.
10363
412bd966
AS
103642012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10365
10366 [BZ #14040]
10367 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
10368 in version GLIBC_2.1, not GLIBC_2.0.
10369 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
10370 Likewise.
10371
9568c0c2
JM
103722012-04-30 Joseph Myers <joseph@codesourcery.com>
10373
adfbc8ac
JM
10374 [BZ #13942]
10375 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
10376 (1 - x) * (1 + x).
10377 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10378 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
10379 * math/libm-test.inc (acos_test): Add more tests.
10380 (asin_test): Likewise.
10381 * sysdeps/i386/fpu/libm-test-ulps: Update.
10382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10383
5ba3cc69
JM
10384 [BZ #14034]
10385 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
10386 of square root.
10387 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
10388 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10389 * math/libm-test.inc (acos_test_tonearest): New function.
10390 (acos_test_towardzero): Likewise.
10391 (acos_test_downward): Likewise.
10392 (acos_test_upward): Likewise.
10393 (asin_test_tonearest): Likewise.
10394 (asin_test_towardzero): Likewise.
10395 (asin_test_downward): Likewise.
10396 (asin_test_upward): Likewise.
10397 (main): Call the new functions.
10398 * sysdeps/i386/fpu/libm-test-ulps: Update.
10399 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10400
9568c0c2
JM
10401 [BZ #13884]
10402 [BZ #13924]
10403 * math/e_exp10.c: Include <float.h>.
10404 (__ieee754_exp10): Handle underflow here rather than multiplying
10405 large negative argument by M_LN10.
10406 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
10407 of __ieee754_expf.
10408 * math/e_exp10l.c: Include <float.h>.
10409 (__ieee754_exp10l): Handle underflow here rather than multiplying
10410 large negative argument by M_LN10l.
10411 * math/libm-test.inc (exp10_test): Add another test. Do not allow
10412 spurious overflow exception on underflow.
10413
5ac3ea17
MP
104142012-04-29 Marek Polacek <polacek@redhat.com>
10415
10416 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
10417 (__fortify_function): New macro.
10418 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
10419 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
10420 __extern_always_inline.
10421 * libio/bits/stdio2.h: Likewise.
10422 * libio/bits/stdio.h: Likewise.
10423 * string/string.h: Likewise.
10424 * string/bits/string3.h: Likewise.
10425 * include/stdio.h: Likewise.
10426 * stdlib/bits/stdlib.h: Likewise.
10427 * stdlib/stdlib.h: Likewise.
10428 * rt/bits/mqueue2.h: Likewise.
10429 * rt/mqueue.h: Likewise.
10430 * posix/bits/unistd.h: Likewise.
10431 * posix/unistd.h: Likewise.
10432 * io/bits/poll2.h: Likewise.
10433 * io/bits/fcntl2.h: Likewise.
10434 * io/fcntl.h: Likewise.
10435 * io/sys/poll.h: Likewise.
10436 * misc/bits/syslog.h: Likewise.
10437 * misc/bits/syslog-ldbl.h: Likewise.
10438 * misc/sys/syslog.h: Likewise.
10439 * socket/bits/socket2.h: Likewise.
10440 * socket/sys/socket.h: Likewise.
10441 * debug/tst-chk1.c: Likewise.
10442 * wcsmbs/bits/wchar2.h: Likewise.
10443 * wcsmbs/bits/wchar-ldbl.h: Likewise.
10444 * wcsmbs/wchar.h: Likewise.
10445
ecf0ebfb
AJ
104462012-04-29 Andreas Jaeger <aj@suse.de>
10447
10448 * Makerules (tests): Remove enable-check-abi protection.
10449 (check-abi-warn): Remove.
10450 (check-abi-%): Remove check-abi-warn usage.
10451
10452 * configure.in: Remove check-abi configure option.
10453 * configure: Regenerated.
10454 * config.make.in (enable-check-abi): Remove.
10455
6d5c57fa
AS
104562012-04-28 Andreas Schwab <schwab@linux-m68k.org>
10457
24c5d07e 10458 [BZ #14033]
ded5180a
AS
10459 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
10460 double functions to double *_finite functions.
10461
7e0d315d
AS
10462 [BZ #13941]
10463 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
10464 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
10465 LDBL_MIN_EXP.
10466 * stdio-common/Makefile (tests): Add tst-sprintf3.
10467 * stdio-common/tst-sprintf3.c: New file.
10468
6d5c57fa
AS
10469 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
10470 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
10471
0749ff8b
JM
104722012-04-28 Joseph Myers <joseph@codesourcery.com>
10473
10474 * conform/conformtest.pl: Remove duplicate typed-constant
10475 handling.
10476
8dbd5d7b
DM
104772012-04-28 David S. Miller <davem@davemloft.net>
10478
10479 * Makerules (%.abilist): Add vpath on sysdep_dirs.
10480 (check-abi-%): Remove AWK script prerequisite and explicit
10481 abilist directory.
10482 (check-abi): Rewrite to just diff the symlist with the abilist.
10483 (config-tls, config-abi-config): Delete, no longer used.
10484 (update-abi-%): Remove AWK script and explicit abilist directory.
10485 (update-abi): Rewrite to simply compare and conditionally copy the
10486 symlist and the sysdep abilist file. Remove update-abi-config
10487 checks.
10488 * abilist/ld.abilist: Remove.
10489 * abilist/libBrokenLocale.abilist: Remove.
10490 * abilist/libanl.abilist: Remove.
10491 * abilist/libcrypt.abilist: Remove.
10492 * abilist/libdl.abilist: Remove.
10493 * abilist/librt.abilist: Remove.
10494 * abilist/libthread_db.abilist: Remove.
10495 * abilist/libutil.abilist: Remove.
10496 * scripts/extract-abilist.awk: Remove.
10497 * scripts/merge-abilist.awk: Remove.
10498 * sysdeps/generic/libcidn.abilist: New file.
10499 * sysdeps/generic/libnss_compat.abilist: New file.
10500 * sysdeps/generic/libnss_db.abilist: New file.
10501 * sysdeps/generic/libnss_dns.abilist: New file.
10502 * sysdeps/generic/libnss_files.abilist: New file.
10503 * sysdeps/generic/libnss_hesiod.abilist: New file.
10504 * sysdeps/generic/libnss_nis.abilist: New file.
10505 * sysdeps/generic/libnss_nisplus.abilist: New file.
10506 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
10507 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
10508 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
10509 file.
10510 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
10511 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
10512 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
10513 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
10514 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
10515 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
10516 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
10517 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
10518 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
10519 file.
10520 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
10521 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
10522 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
10523 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
10524 file.
10525 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
10526 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
10527 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
10528 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
10529 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
10530 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
10531 file.
10532 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
10533 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
10534 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
10535 file.
10536 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
10537 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
10538 New file.
10539 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
10540 New file.
10541 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
10542 New file.
10543 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
10544 New file.
10545 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
10546 New file.
10547 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
10548 New file.
10549 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
10550 New file.
10551 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
10552 New file.
10553 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
10554 New file.
10555 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
10556 New file.
10557 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
10558 New file.
10559 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
10560 New file.
10561 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
10562 New file.
10563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
10564 file.
10565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
10566 New file.
10567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
10568 New file.
10569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
10570 file.
10571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
10572 New file.
10573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
10574 New file.
10575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
10576 file.
10577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
10578 New file.
10579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10580 New file.
10581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
10582 New file.
10583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
10584 New file.
10585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
10586 New file.
10587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
10588 New file.
10589 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
10590 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
10591 file.
10592 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
10593 New file.
10594 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
10595 file.
10596 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
10597 file.
10598 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
10599 file.
10600 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
10601 file.
10602 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
10603 file.
10604 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10605 New file.
10606 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
10607 file.
10608 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
10609 file.
10610 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
10611 New file.
10612 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
10613 file.
10614 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
10615 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
10616 file.
10617 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
10618 New file.
10619 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
10620 file.
10621 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
10622 file.
10623 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
10624 file.
10625 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
10626 file.
10627 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
10628 file.
10629 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10630 New file.
10631 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
10632 file.
10633 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
10634 file.
10635 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
10636 New file.
10637 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
10638 file.
10639 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
10640 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
10641 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
10642 file.
10643 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
10644 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
10645 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
10646 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
10647 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
10648 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
10649 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
10650 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
10651 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
10652 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
10653 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
10654 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
10655 file.
10656 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10657 New file.
10658 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
10659 file.
10660 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
10661 file.
10662 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
10663 file.
10664 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
10665 file.
10666 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
10667 file.
10668 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10669 New file.
10670 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10671 New file.
10672 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
10673 file.
10674 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10675 New file.
10676 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
10677 file.
10678 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
10679 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
10680 file.
10681 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10682 New file.
10683 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
10684 file.
10685 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
10686 file.
10687 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
10688 file.
10689 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
10690 file.
10691 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
10692 file.
10693 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10694 New file.
10695 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10696 New file.
10697 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
10698 file.
10699 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10700 New file.
10701 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
10702 file.
10703
41d73a1b
JM
107042012-04-28 Joseph Myers <joseph@codesourcery.com>
10705
10706 * conform/conformtest.pl: Fix typo in handling typed-constant from
10707 allow-header.
10708
28aeeda4
JM
107092012-04-27 Joseph Myers <joseph@codesourcery.com>
10710
adae8f5e
JM
10711 * README: Cut down references to pre-2.6 Linux kernels and
10712 Linuxthreads. Update lists of configurations in libc and ports
10713 and sort alphabetically. Say "or newer" with Linux kernel version
10714 requirements.
10715
28aeeda4
JM
10716 * config.h.in [IS_IN_build]: Allow compiling without optimization.
10717
a462cb63
RA
107182012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10719
10720 [BZ #887]
10721 * math/libm-test.inc (logb_test_downward): New test to expose
10722 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
10723 rounding mode.
10724
6ad3493e
JM
107252012-04-27 Joseph Myers <joseph@codesourcery.com>
10726
10727 [BZ #14027]
10728 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
10729 to be done.
10730 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
10731 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
10732
2ce4f015
JM
107332012-04-26 Joseph Myers <joseph@codesourcery.com>
10734
5aeb141a
JM
10735 * sysdeps/unix/i386/brk.S: Remove file.
10736 * sysdeps/unix/i386/dl-brk.S: Likewise.
10737 * sysdeps/unix/i386/pipe.S: Likewise.
10738 * sysdeps/unix/i386/sigreturn.S: Likewise.
10739 * sysdeps/unix/i386/syscall.S: Likewise.
10740 * sysdeps/unix/i386/vfork.S: Likewise.
10741 * sysdeps/unix/i386/wait.S: Likewise.
10742
7143acae
JM
10743 * sysdeps/unix/common/tcsendbrk.c: Move to ...
10744 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
10745
2ce4f015
JM
10746 * configure.in (arm*-none*): Do not allow without
10747 --enable-hacker-mode.
10748 (netbsd*): Remove case setting base_os.
10749 (386bsd*): Likewise.
10750 (freebsd*): Likewise.
10751 (bsdi*): Likewise.
10752 (osf*): Likewise.
10753 (sunos*): Likewise.
10754 (ultrix*): Likewise.
10755 (newsos*): Likewise.
10756 (dynix*): Likewise.
10757 (*bsd*): Likewise.
10758 (sysv*): Likewise.
10759 (isc*): Likewise.
10760 (esix*): Likewise.
10761 (sco*): Likewise.
10762 (minix*): Likewise.
10763 (irix4*): Likewise.
10764 (irix6*): Likewise.
10765 (solaris[2-9]*): Likewise.
10766 (none): Likewise.
10767 * configure: Regenerated.
10768
0ac229c8
AZ
107692012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10770
10771 [BZ #11521]
10772 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
10773 overflow or cancellation in calculating denominator.
10774 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
10775 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
10776 down expression to avoid unexpected rounding in newer GCCs.
10777 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
10778
33f244f4
DM
107792012-04-26 David S. Miller <davem@davemloft.net>
10780
10781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
10782 long-double compat symbols.
10783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
10787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
10788 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
10789 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
10790 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
10791 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
10792 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
10793 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
10794 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
10795 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10796
cfa1f3e8
DM
107972012-04-25 David S. Miller <davem@davemloft.net>
10798
10799 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
10800 HWCAP_* values only after the memory barriers have been defined.
10801 (atomic_full_barrier): Define.
10802 (atomic_read_barrier): Define.
10803 (atomic_write_barrier): Define.
10804
6e236b92
SP
108052012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10806
10807 * shlib-versions: Add libgcc_s version information.
10808 * sysdeps/generic/libgcc_s.h: Remove.
10809 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
10810 libgcc_s.h.
10811 * sysdeps/gnu/unwind-resume.c: Likewise.
10812 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
10813
aab39a09
DM
108142012-04-25 David S. Miller <davem@davemloft.net>
10815
10816 * sysdeps/unix/sparc/brk.S: Delete.
10817 * sysdeps/unix/sparc/dl-brk.S: Delete.
10818 * sysdeps/unix/sparc/pipe.S: Delete.
10819 * sysdeps/unix/sparc/sysdep.S: Delete.
10820 * sysdeps/unix/sparc/sysdep.h: Delete.
10821 * sysdeps/unix/sparc/vfork.S: Delete.
10822 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
10823 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
10824 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
10825 ret_ERRVAL, r0, r1, MOVE): Define.
10826 (JUMPTARGET): Remove.
10827 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
10828 sysdeps/unix/sparc/sysdep.h
10829 (ENTRY, END): Remove.
10830 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10831
a3cc4f48
JM
108322012-04-25 Joseph Myers <joseph@codesourcery.com>
10833
2ed8cda2
JM
10834 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
10835 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
10836 -DIS_IN_build.
10837
35d76d59
JM
10838 * timezone/README: Update upstream location and email address for
10839 tzcode and tzdata.
10840 * timezone/zdump.c: Update from tzcode 2012b.
10841 * timezone/zic.c: Likewise.
10842
a3cc4f48
JM
10843 * configure.in (libc_cv_as_needed): Remove test.
10844 * configure: Regenerated.
10845 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
10846 conditional definition.
10847 [$(have-as-needed) != yes] (no-as-needed): Likewise.
10848 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
10849 * config.make.in (have-as-needed): Remove variable.
10850
ceab42c3
SP
108512012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10852 Paul Pluzhnikov <ppluzhnikov@google.com>
10853
10854 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
10855 strings correctly.
10856
3ce2865f
CLT
108572012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
10858
10859 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
10860 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
10861 * sysdeps/sh/strlen.S: Likewise.
10862
f37e0d68
JM
108632012-04-24 Joseph Myers <joseph@codesourcery.com>
10864
ae186e9a
JM
10865 * sysdeps/unix/fork.S: Remove file.
10866 * sysdeps/unix/i386/fork.S: Likewise.
10867 * sysdeps/unix/sparc/fork.S: Likewise.
10868
b96914af
JM
10869 * sysdeps/unix/system.c: Remove file.
10870 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
10871
f37e0d68
JM
10872 * sysdeps/unix/getegid.S: Remove file.
10873 * sysdeps/unix/geteuid.S: Likewise.
10874
87ef29ca
RM
108752012-04-24 Roland McGrath <roland@hack.frob.com>
10876
83bcd236
RM
10877 * scripts/check-localplt.awk: New file.
10878 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
10879 of diff.
10880 * scripts/data/localplt-generic.data: Add a comment.
10881
87ef29ca
RM
10882 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
10883 NODE when __dir_mkfile failed.
10884 * sysdeps/mach/hurd/symlinkat.c: Likewise.
10885 Reported by Ludovic Courtès <ludo@gnu.org>.
10886
e5a6e567
AJ
108872012-04-24 Andreas Jaeger <aj@suse.de>
10888
10889 * Makerules (common-clean): Also remove gen-as-const-headers
10890 files.
10891
c1820385
JM
108922012-04-24 Joseph Myers <joseph@codesourcery.com>
10893
10894 * Makerules (native-compile): Do not change working directory for
10895 build. Use $(OUTPUT_OPTION) in command.
10896 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
10897
94e02fc4
AZ
108982012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10899
10900 [BZ #13886]
10901 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
10902 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
10903 * math/libm-test.inc (floor_test): Add more tests.
10904 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
10905
3a533ca3
JM
109062012-04-24 Joseph Myers <joseph@codesourcery.com>
10907
940ab4b3
JM
10908 * sysdeps/unix/getdents.c: Remove file.
10909 * sysdeps/unix/sysv/getdents.c: Likewise.
10910 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
10911
90e037bd
JM
10912 * sysdeps/unix/syscalls.list (madvise): Add syscall from
10913 sysdeps/unix/mman/syscalls.list.
10914 (mmap): Likewise.
10915 (mprotect): Likewise.
10916 (msync): Likewise.
10917 (munmap): Likewise.
10918 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
10919 * sysdeps/unix/mman/syscalls.list: Remove.
10920 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
10921
3a533ca3
JM
10922 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
10923 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
10924 * configure: Regenerated.
10925 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
10926 $(libgcc_s_suffix).
10927 * config.make.in (libgcc_s_suffix): Remove variable.
10928
1ad743de
JM
109292012-04-23 Joseph Myers <joseph@codesourcery.com>
10930
4ad451e2
JM
10931 * sysdeps/unix/sysv/gethostname.c: Move to ...
10932 * sysdeps/posix/gethostname.c: ... here.
10933
5e37ce39
JM
10934 * sysdeps/unix/execve.S: Remove file.
10935
1ad743de
JM
10936 * sysdeps/unix/_exit.S: Remove file.
10937
4e681b5b
AJ
109382012-04-23 Andreas Jaeger <aj@suse.de>
10939
10940 [BZ #13739]
10941 * manual/Makefile: Remove make dist support, there's no
10942 need for a stand-alone documentation tar ball.
10943 (TEXI2DVI): Define always, it's not in Makeconfig.
10944 (dist): Removed.
10945 (tar-it): Removed.
10946 (edition): Removed.
10947 (glibc-doc-$(edition).tar): Removed
10948 (%.Z): Removed.
10949 (%.gz): Removed.
10950 (%.uu): Removed.
10951 (ETAGS): Remove, it's in Makeconfig.
10952 (move-if-change): Remove, it's in Makeconfig.
10953
c0baea34
PE
109542013-04-23 Paul Eggert <eggert@cs.ucla.edu>
10955
10956 [BZ #13970]
10957 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
10958 (strtod, strtof, strtold, strtol, strtoul, strtoq)
10959 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
10960 (strtod_l, strtof_l, strtold_l): Remove __wur.
10961 It is not necessarily an error to ignore strtol's return value.
10962 One can reliably look at the stored endptr to decide whether
10963 the number had valid syntax.
10964
7c0616fa
AJ
109652012-04-21 Andreas Jaeger <aj@suse.de>
10966
803cb6b7 10967 [BZ #13739]
7c0616fa
AJ
10968 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
10969
b0fe253f
JM
109702012-04-21 Joseph Myers <joseph@codesourcery.com>
10971
10972 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
10973 * sysdeps/unix/sysv/Versions: Remove file.
10974
8280f22d
MT
109752012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
10976
10977 [BZ #13927]
10978 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10979
75ce411f 109802012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
10981
10982 [BZ #7064]
10983 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
10984 version from __vm86.
10985
097d59fa
JM
109862012-04-20 Joseph Myers <joseph@codesourcery.com>
10987
a90f3bcb
JM
10988 * sysdeps/unix/common/lxstat.c: Remove file.
10989 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
10990
edc7ea78
JM
10991 * sysdeps/unix/sysv/Makefile: Remove file.
10992
cb78c221
JM
10993 * sysdeps/unix/sysv/direct.h: Remove file.
10994
efa6a45f
JM
10995 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
10996 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
10997 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
10998 * sysdeps/unix/sysv/bits/signum.h: Likewise.
10999 * sysdeps/unix/sysv/bits/stat.h: Likewise.
11000 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
11001 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
11002
9c9f2d0c
JM
11003 * sysdeps/unix/sysv/setrlimit.c: Remove file.
11004
4541c83b
JM
11005 * sysdeps/unix/xmknod.c: Remove file.
11006 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
11007
f5d153a0
JM
11008 * sysdeps/unix/sysv/settimeofday.c: Remove file.
11009
aa746595
JM
11010 * sysdeps/unix/sysv/i386/time.S: Remove file.
11011
cce5905e
JM
11012 * sysdeps/unix/fxstat.c: Remove file.
11013 * sysdeps/unix/xstat.c: Likewise.
11014 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
11015
37fa3841
JM
11016 * sysdeps/unix/sysv/sigaction.c: Remove file.
11017
ff1962a3
JM
11018 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
11019 (sysdep_headers): Remove variable.
11020 [termio.h not in sysdep_headers] (generated): Likewise.
11021 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
11022 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
11023 * sysdeps/unix/sysv/tcdrain.c: Likewise.
11024 * sysdeps/unix/sysv/tcflow.c: Likewise.
11025 * sysdeps/unix/sysv/tcflush.c: Likewise.
11026 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
11027 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
11028 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
11029 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
11030 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
11031
e7740d31
JM
11032 * sysdeps/unix/siglist.c: Remove file.
11033
ee06f18b
JM
11034 * sysdeps/unix/getppid.S: Remove file.
11035
097d59fa
JM
11036 * sysdeps/unix/mkdir.c: Remove file.
11037 * sysdeps/unix/rmdir.c: Likewise.
11038
ff3d51ec
AS
110392012-04-19 Andreas Schwab <schwab@linux-m68k.org>
11040
11041 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
11042 ERR_MAX value.
11043 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
11044 errlist-compat value.
11045
50f81fd7
DM
110462012-04-18 David S. Miller <davem@davemloft.net>
11047
11048 * sysdeps/generic/memcopy.h (reg_char): Delete.
11049 * debug/strcat_chk.c: Use char, not reg_char.
11050 * debug/strcpy_chk.c: Likewise.
11051 * debug/strncat_chk.c: Likewise.
11052 * debug/strncpy_chk.c: Likewise.
11053 * string/memchr.c: Likewise.
11054 * string/memrchr.c: Likewise.
11055 * string/rawmemchr.c: Likewise.
11056 * string/strcat.c: Likewise.
11057 * string/strchr.c: Likewise.
11058 * string/strchrnul.c: Likewise.
11059 * string/strcmp.c: Likewise.
11060 * string/strcpy.c: Likewise.
11061 * string/strncat.c: Likewise.
11062 * string/strncmp.c: Likewise.
11063 * string/strncpy.c: Likewise.
11064
8ff41c46
WS
110652012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11066
11067 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
11068 __builtin_memcopy is called when src and dest ranges are known to not
11069 overlap.
11070
6b652f46
WS
110712012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11072
11073 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
11074 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
11075 fwd_align_merge macro call.
11076 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
11077 bwd_align_merge macro call.
11078 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11079
b282631e
WS
110802012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11081
11082 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
11083 bwd_align_merge macros.
11084 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
11085 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
11086 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11087
95aa737c
DM
110882012-04-18 David S. Miller <davem@davemloft.net>
11089
11090 * sysdeps/sparc/sparc64/memcopy.h: Delete.
11091
7a99a614
AJ
110922012-04-18 Andreas Jaeger <aj@suse.de>
11093
11094 [BZ# 6794]
11095 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
11096 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
11097 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11098
11099 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
11100 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
11101 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11102
11103 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
11104 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
11105 Adjust for changed ldbl-128 files.
11106
11107 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
11108 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
11109 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11110
e5270c23
DM
111112012-04-17 David S. Miller <davem@davemloft.net>
11112
11113 * sysdeps/sparc/sparc32/memcopy.h: Delete.
11114
fb5e92c9
AS
111152012-04-17 Andreas Schwab <schwab@linux-m68k.org>
11116
11117 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
11118 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
11119 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
11120 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
11121 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11122 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
11123
76da7265
AZ
111242012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11125
11126 [BZ #6794]
11127 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
11128 * math/libm-test.inc: Add ilogb errno and exception tests.
11129 * math/w_ilogb.c: New file: ilogb wrapper.
11130 * math/w_ilogbf.c: New file: ilogbf wrapper.
11131 * math/w_ilogbl.c: New file: ilogbl wrapper.
11132 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
11133 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
11134 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
11135 exception being thrown with 0.0 as argument.
11136 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
11137 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
11138 exception being thrown with 0.0 as argument.
11139 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
11140 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11141 exception being thrown with 0.0 as argument.
11142 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
11143 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11144 exception being thrown with 0.0 as argument.
11145 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
11146 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 11147 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
11148 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
11149 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
11150 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
11151 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
11152 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
11153 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
11154
0396e69d
PB
111552012-04-17 Petr Baudis <pasky@ucw.cz>
11156
11157 * include/sys/uio.h: Change __vector to __iovec to avoid clash
11158 with altivec.
11159
750b5926
MP
111602012-04-16 Marek Polacek <polacek@redhat.com>
11161
11162 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
11163
751728a1
MP
111642012-04-16 Marek Polacek <polacek@redhat.com>
11165
11166 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
11167 operands of fdivp instruction.
11168
34a27407
L
111692012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11170
11171 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
11172 * elf/tst-auditmod3b.c: Likewise.
11173 * elf/tst-auditmod4b.c: Likewise.
11174 * elf/tst-auditmod5b.c: Likewise.
11175 * elf/tst-auditmod6b.c: Likewise.
11176 * elf/tst-auditmod6c.c: Likewise.
11177 * elf/tst-auditmod7b.c: Likewise.
11178 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
11179 * sysdeps/x86_64/preconfigure.in: Likewise.
11180 * sysdeps/x86_64/preconfigure: Regenerated.
11181
7e73e17d
L
111822012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11183
11184 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
11185 __ILP32__.
11186
c7a6ab72
AB
111872012-04-13 Antoine Balestrat <merkil33@gmail.com>
11188
11189 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11190 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
11191
a9e8e0e0
CL
111922012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
11193
11194 [BZ #13973]
11195 * locale/iso-639.def: Fix gl language name. Spotted by
11196 Yaron Shahrabani.
11197
ec98af7d
RM
111982012-04-12 Roland McGrath <roland@hack.frob.com>
11199
11200 [BZ #2074]
11201 * libio/libio.h (__io_write_fn): Update comment.
11202
247c3ede
PB
112032012-04-12 Petr Baudis <pasky@ucw.cz>
11204
11205 [BZ #2074]
11206 * stdio.texi (Hook Functions): The user provided writer function
11207 is not allowed to return -1.
11208
55939d6d
DM
112092012-04-11 David S. Miller <davem@davemloft.net>
11210
11211 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11212
90020f5a
MF
112132012-04-11 Mike Frysinger <vapier@gentoo.org>
11214
11215 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
11216 Add a leading slash to rtkaio.
11217
288f9098
JM
112182012-04-11 Jim Meyering <meyering@redhat.com>
11219
90020f5a
MF
11220 [BZ #11959]
11221 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
11222 It is not necessarily an error to ignore fwrite's return
11223 value. One can reliably use ferror to test for errors after
11224 the fact.
288f9098 11225
4be2b570
L
112262012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11227
11228 * bits/types.h (__snseconds_t): New type.
11229 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
11230
11231 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
11232 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11233 (__SNSECONDS_T_TYPE): Likewise.
11234 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11235 (__SNSECONDS_T_TYPE): Likewise.
11236 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11237 (__SNSECONDS_T_TYPE): Likewise.
11238
288f9098 112392012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
11240
11241 [BZ #2636]
11242 * manual/time.texi (Processor Time): Return type of times is
11243 elapsed real time since an arbitrary point in the past.
11244 (CPU Time): Move CLK_TCK from here...
11245 (Processor Time): ...to here. Correct description.
11246 * manual/conf.texi (Constants for Sysconf): Correct description of
11247 _SC_CLK_TCK.
11248
d7dd4413
DM
112492012-04-10 David S. Miller <davem@davemloft.net>
11250
11251 [BZ #13967]
11252 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
11253 where the is a gap between DT_REL(A) and DT_JMPREL.
11254
b46068fc
L
112552012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11256
11257 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
11258 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11259 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11260
73d65cc3
SP
112612012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11262
11263 * elf/dl-support.c (_dl_inhibit_cache): New variable.
11264 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
11265 (dl_main): Handle --inhibit-cache.
11266 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
11267 _dl_inhibit_cache.
11268 * elf/dl-load.c (_dl_map_object): Use it.
11269 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
11270
bcc8d661
JM
112712012-04-09 Joseph Myers <joseph@codesourcery.com>
11272
8f9a2fae
JM
11273 [BZ #13872]
11274 * sysdeps/i386/fpu/e_powl.S (p78): New object.
11275 (__ieee754_powl): Saturate large exponents rather than testing for
11276 overflow of y*log2(x).
11277 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11278 * math/libm-test.inc (pow_test): Do not permit spurious overflow
11279 exceptions.
11280
bcc8d661
JM
11281 [BZ #11521]
11282 * math/s_ctan.c: Include <float.h>.
11283 (__ctan): Avoid internal overflow or cancellation in calculating
11284 denominator.
11285 * math/s_ctanf.c: Likewise.
11286 * math/s_ctanl.c: Likewise.
11287 * math/s_ctanh.c: Likewise.
11288 * math/s_ctanhf.c: Likewise.
11289 * math/s_ctanhl.c: Likewise.
11290 * math/libm-test.inc (ctan_test): Add more tests.
11291 (ctanh_test): Likewise.
11292 * sysdeps/i386/fpu/libm-test-ulps: Update.
11293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11294
823fbbb4
AJ
112952012-04-09 Andreas Jaeger <aj@suse.de>
11296
03879793
AJ
11297 [BZ #6894]
11298 * manual/filesys.texi (Directory Entries): Mention that d_namlen
11299 is an optional BSD extension.
11300
823fbbb4
AJ
11301 [BZ #10254]
11302 * manual/stdio.texi (Opening Streams): Document additional fopen
11303 parameters.
11304
8de131cb
RM
113052012-04-09 Roland McGrath <roland@hack.frob.com>
11306
11307 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
11308 %eax without telling the compiler.
11309
c0ed9d7d
CD
113102012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
11311
11312 [BZ # 13963]
11313 * manual/install.texi: Use sourceware.org.
11314
c483f6b4
JM
113152012-04-09 Joseph Myers <joseph@codesourcery.com>
11316
d7dd9453
JM
11317 [BZ #13873]
11318 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
11319 (__ieee754_pow): Generate overflow and underflow using huge*huge
11320 and tiny*tiny rather than just returning constant infinity or zero
11321 for large exponents.
11322 * math/libm-test.inc (pow_test): Require overflow exceptions for
11323 applicable cases of large exponents.
11324
c483f6b4
JM
11325 [BZ #706]
11326 * sysdeps/i386/fpu/e_pow.S (p10): New object.
11327 (__ieee754_pow): Use iterative multiplication algorithm only for
11328 integer exponents with absolute value below 1024. Check for odd
11329 integer exponents when using algorithm for real exponents.
11330 * math/libm-test.inc (pow_test): Add more tests.
11331 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11332
d2de7579
JM
113332012-04-08 Joseph Myers <joseph@codesourcery.com>
11334
11335 [BZ #13705]
11336 * math/libm-test.inc (exp_test): Do not allow overflow exception
11337 on underflow test.
11338
f77f1232
AJ
113392012-04-08 Aurelien Jarno <aurelien@aurel32.net>
11340
11341 [BZ #13705]
11342 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
11343 instead of __kernel_standard_f.
11344
3884932b
MF
113452012-04-08 Mike Frysinger <vapier@gentoo.org>
11346
11347 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
11348 * sysdeps/x86_64/memset_chk.S: Likewise.
11349
54472e9c
AJ
113502012-04-08 Andreas Jaeger <aj@suse.de>
11351
6ab0fbfc
AJ
11352 [BZ #10153]
11353 * manual/startup.texi (Environment Access): Describe return value
11354 for putenv and setenv.
11355
61efba8c
AJ
11356 [BZ #6895]
11357 * manual/filesys.texi (Directory Entries): Add description for
11358 DT_LNK.
11359
95c3f29a
AJ
11360 [BZ #6890]
11361 * manual/filesys.texi (Directory Entries): Clarify that it's file
11362 system not operating system in the description of DT_UNKNOWN.
11363
54472e9c
AJ
11364 [BZ #6578]
11365 * manual/syslog.texi (closelog): Fix reference, it's openlog.
11366
624254b1
SC
113672012-04-08 Stephen Compall <s11@member.fsf.org>
11368
11369 [BZ #6649]
11370 * manual/llio.texi (Opening and Closing Files): Add cross
11371 reference to explain mode argument.
11372
1e4920e0
MF
113732012-04-07 Mike Frysinger <vapier@gentoo.org>
11374
11375 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
11376 * sysdeps/x86_64/memset_chk.S: Likewise.
11377
5ed848f3
DM
113782012-04-07 David S. Miller <davem@davemloft.net>
11379
11380 * elf/elf.h (R_SPARC_WDISP10): Define.
11381 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
11382 R_SPARC_SIZE32.
11383 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
11384 R_SPARC_SIZE64 and R_SPARC_H34.
11385
96154cd8
CD
113862012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
11387
11388 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
11389 conditions and remove no longer applicable assertion.
11390
9904dc47
L
113912012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11392
11393 * bits/byteswap.h: Include <features.h>.
11394 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11395 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11396
f8887d0a
L
113972012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11398
11399 * bits/byteswap.h (__bswap_16): Removed.
11400 Include <bits/byteswap-16.h> to get __bswap_16.
11401 * sysdeps/i386/bits/byteswap.h: Likewise.
11402 * sysdeps/s390/bits/byteswap.h: Likewise.
11403 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11404 * bits/byteswap-16.h: New file.
11405 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11406 * sysdeps/s390/bits/byteswap-16.h: Likewise.
11407 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
11408 * string/Makefile (headers): Add bits/byteswap-16.h.
11409
62470f60
PP
114102012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11411
11412 [BZ #13895]
11413 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
11414 extra indirection.
11415 * nss/Makefile (tests-static, tests): Add tst-nss-static.
11416 * nss/tst-nss-static.c: New.
11417
4dad7bab
RM
114182012-04-06 Robert Millan <rmh@gnu.org>
11419
11420 [BZ #6486]
11421 * manual/llio.texi (File Position Primitive): lseek
11422 refers to WHENCE when it really means OFFSET.
11423
e9142a17
AJ
114242012-04-06 Andreas Jaeger <aj@suse.de>
11425
2c040eff
AJ
11426 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
11427 strncmp declarations.
11428
e9142a17
AJ
11429 * abilist/libc.abilist: Add __poll and __ppoll.
11430
ff9f1c5f
DM
114312012-04-05 David S. Miller <davem@davemloft.net>
11432
dcd2ae90
DM
11433 * scripts/check-local-headers.sh: Accept a host triplet in the
11434 path matched by the exclude regexp.
11435
993eb054
DM
11436 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
11437 definition.
11438 * sysdeps/powerpc/powerpc32/dl-machine.h
11439 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
11440 * sysdeps/s390/s390-32/dl-machine.h
11441 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11442 * sysdeps/sparc/sparc32/dl-machine.h
11443 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11444 * sysdeps/sparc/sparc64/dl-machine.h
11445 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11446
ff9f1c5f
DM
11447 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
11448 lazy binding.
48e2e132 11449 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
11450 undefined symbol errors.
11451
48e2e132 11452 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
11453 DT_NEEDED entries.
11454
e80d6f94
MM
114552012-04-05 Michael Matz <matz@suse.de>
11456
11457 [BZ #13592]
11458 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
11459
349fa79f
AJ
114602012-04-05 Andreas Jaeger <aj@suse.de>
11461
11462 [BZ #13908]
11463 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
11464 comment.
11465
f402708f
KK
114662012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11467
11468 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
11469 which ROUND is no valid rounding mode.
11470
2ecccfc9
KK
114712012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11472
11473 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
11474 read again.
11475 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
11476
8a53f50f
KK
114772012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11478
11479 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
11480 an exception using FPU order intentionally.
11481
114822012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11483
11484 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
11485 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
11486 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
11487 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
11488
d653abb7
SJ
114892012-04-05 Simon Josefsson <simon@josefsson.org>
11490
11491 [BZ #12340]
11492 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
11493 EINVAL when BUFLEN is too smal.
11494
c3b1bf7d
TS
114952012-04-05 Thomas Schwinge <thomas@codesourcery.com>
11496
11497 [BZ #13553]
11498 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
11499 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
11500
b1aa60f3
AJ
115012012-04-03 Andreas Jaeger <aj@suse.de>
11502
c3b1bf7d 11503 [BZ #13938]
67f60a26
AJ
11504 * manual/setjmp.texi (System V contexts): Fix sentence.
11505
b1aa60f3
AJ
11506 [BZ #13926]
11507 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
11508 New macro for this case.
11509 [!__GNUC__] (__bswap_64): New inline function for this case.
11510 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11511 * bits/byteswap.h: Likewise.
11512 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
11513 ull, guard with __GLIBC_HAVE_LONG_LONG.
11514
11515 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
11516 __GLIBC_HAVE_LONG_LONG.
11517
11518 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
11519 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
11520
39c59c35
TMQMF
115212012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11522
11523 [BZ #13691]
11524 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
11525 inptr and inend, rather than using last_ch.
11526
135ffda8
DM
115272012-04-02 David S. Miller <davem@davemloft.net>
11528
11529 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
11530 * stdio-common/printf-parse.h (read_int): Change return type to
11531 'int', return -1 on INT_MAX overflow.
11532 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
11533 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
11534 overflows INT_MAX. Check for overflow of in-format-string precision
11535 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
11536 SIZE_MAX not INT_MAX for integer overflow test.
11537 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
11538 skip the construct in the format string but do not record anything.
11539 * stdio-common/bug22.c: Adjust to test both width/prevision
11540 INT_MAX overflow as well as total length INT_MAX overflow. Check
11541 explicitly for proper errno values.
11542
228c019e
TS
115432012-04-02 Thomas Schwinge <thomas@codesourcery.com>
11544
302cadd3
TS
11545 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
11546 CHAR_MAX.
11547 * string/test-strcmp.c [! WIDE]: Likewise.
11548 * time/tst-mktime2.c: Likewise for INT_MAX.
11549 * string/test-string.h: #include <sys/param.h> for MIN.
11550
228c019e
TS
11551 * csu/init-first.c (__libc_init_first): Call __ctype_init.
11552 * sysdeps/i386/init-first.c (init): Likewise.
11553 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
11554 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
11555 * sysdeps/sh/init-first.c (init): Likewise.
11556
cfa633f5
UD
115572012-04-01 Ulrich Drepper <drepper@gmail.com>
11558
11559 * po/ru.po: Update from translation team.
d1635ef8 11560 * po/vi.po: Likewise.
cfa633f5 11561
6cd0a5ea
SP
115622012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11563
11564 * resolv/nss_dns/dns-host.c: Merge copyright years.
11565
4b43400f
LD
115662012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11567
11568 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
11569 Optimize memcpy with prefetch if
11570 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
11571 src, dst pointers have unequal 16 byte alignments.
11572
48c41d04
SP
115732012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11574
11575 [BZ #13928]
11576 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
11577 from a CNAME entry and return the minimum ttl for the query.
11578 (gaih_getanswer_slice): Likewise.
11579
b8dc394d
JL
115802012-03-30 Jeff Law <law@redhat.com>
11581
11582 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
11583 due to long keys.
11584 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
11585 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11586
2f5a5ed0
JL
11587 * resolv/nss_dns/dns-host.c: Update copyright year.
11588
1d39e359
UD
115892012-03-30 Ulrich Drepper <drepper@gmail.com>
11590
c030f70c 11591 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 11592 requests to save a system call. Fix check that all bytes are sent.
c030f70c 11593
1d39e359
UD
11594 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
11595 comments for sendmmsg.
11596
115972012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
11598
11599 [BZ #13691]
11600 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
11601 with only 1 character between 0x0041 and 0x01b0.
11602 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
11603 * wcsmbs/tst-mbsnrtowcs.c: New file.
11604
20fde227
DM
116052012-03-29 David S. Miller <davem@davemloft.net>
11606
11607 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
11608 small copies by hand.
11609
984a4237
JL
116102012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11611
11612 [BZ #13761]
11613 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
11614 _nss_compat_initgroups_dyn): Fall back to malloc/free
11615 for large group memberships.
11616
18c9d62b
DM
116172012-03-28 David S. Miller <davem@davemloft.net>
11618
88d85d4f
DM
11619 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
11620 that branches into memcpy.
11621 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
11622 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
11623 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11624 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
11625 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
11626 bits.
11627 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
11628 implementation too.
11629 * sysdeps/sparc/mempcpy.S: New file.
11630
e5aa83e1
DM
11631 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
11632 the IFUNC routine in the libc case.
11633 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11634
88570753
DM
11635 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
11636 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
11637 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
11638 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
11639 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
11640 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
11641 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
11642 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
11643
249d7567
DM
11644 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
11645 loop to 256 bytes instead of 64 bytes and fix test signedness.
11646
18c9d62b
DM
11647 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
11648 * sysdeps/sparc/sparc32/Makefile: rather than here...
11649 * sysdeps/sparc/sparc64/Makefile: and here.
11650
05f3d1f6
UD
116512012-03-28 Ulrich Drepper <drepper@gmail.com>
11652
11653 * malloc/mallocbug.c: Avoid warnings about unused variables.
11654
86ae07a8
JL
116552012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11656
11657 [BZ #13760]
11658 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
11659 in the right place. Discard and retry query if response is
11660 larger than input buffer size.
11661
41bf21a1
JM
116622012-03-28 Joseph Myers <joseph@codesourcery.com>
11663
d6270972
JM
11664 [BZ #369]
11665 [BZ #2678]
11666 [BZ #3866]
11667 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
11668 x for large integer exponent.
11669 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11670 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
11671 sign of result as needed afterwards.
11672 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11673 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
11674 result for underflowing pow the same as for overflow.
11675 (__kernel_standard_l): Handle powl overflow and underflow here
11676 rather than calling __kernel_standard.
11677 * math/libm-test.inc (pow_test): Add more tests.
11678
414fca03 11679 [BZ #3868]
41bf21a1
JM
11680 [BZ #13879]
11681 [BZ #13910]
11682 [BZ #13911]
11683 [BZ #13912]
11684 [BZ #13913]
11685 [BZ #13915]
11686 [BZ #13916]
11687 [BZ #13917]
11688 [BZ #13918]
11689 [BZ #13919]
11690 [BZ #13920]
11691 [BZ #13921]
11692 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
11693 * sysdeps/ieee754/k_standard.c: Include <float.h>.
11694 (__kernel_standard_l): New function.
11695 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
11696 __kernel_standard.
11697 * math/w_acosl.c (__acosl): Likewise.
11698 * math/w_asinl.c (__asinl): Likewise.
11699 * math/w_atan2l.c (__atan2l): Likewise.
11700 * math/w_atanhl.c (__atanhl): Likewise.
11701 * math/w_coshl.c (__coshl): Likewise.
11702 * math/w_exp10l.c (__exp10l): Likewise.
11703 * math/w_exp2l.c (__exp2l): Likewise.
11704 * math/w_fmodl.c (__fmodl): Likewise.
11705 * math/w_hypotl.c (__hypotl): Likewise.
11706 * math/w_j0l.c (__j0l, __y0l): Likewise.
11707 * math/w_j1l.c (__j1l, __y1l): Likewise.
11708 * math/w_jnl.c (__jnl, __ynl): Likewise.
11709 * math/w_lgammal.c (__lgammal): Likewise.
11710 * math/w_log10l.c (__log10l): Likewise.
11711 * math/w_log2l.c (__log2l): Likewise.
11712 * math/w_logl.c (__logl): Likewise.
11713 * math/w_powl.c (__powl): Likewise.
11714 * math/w_remainderl.c (__remainderl): Likewise.
11715 * math/w_scalbl.c (sysv_scalbl): Likewise.
11716 * math/w_sinhl.c (__sinhl): Likewise.
11717 * math/w_sqrtl.c (__sqrtl): Likewise.
11718 * math/w_tgammal.c (__tgammal): Likewise.
11719 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
11720 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
11721 * math/libm-test.inc (acos_test): Add more tests.
11722 (acosh_test): Likewise.
11723 (asin_test): Likewise.
11724 (atanh_test): Likewise.
11725 (exp_test): Likewise.
11726 (exp10_test): Likewise.
11727 (exp2_test): Likewise.
11728 (expm1_test): Likewise.
11729 (lgamma_test): Likewise.
11730 (log_test): Likewise.
11731 (log10_test): Likewise.
11732 (log1p_test): Likewise.
11733 (log2_test): Likewise.
11734 (pow_test): Do not allow some spurious overflow exceptions.
11735 (sqrt_test): Add more tests.
11736 (tgamma_test): Likewise.
11737 (y0_test): Likewise.
11738 (y1_test): Likewise.
11739 (yn_test): Likewise.
11740
dd62fda6
AB
117412012-03-27 Anton Blanchard <anton@samba.org>
11742
11743 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
11744 MAP_HUGETLB.
11745 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11746 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11747 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11748
1e3cdfda
AJ
117492012-03-27 David S. Miller <davem@davemloft.net>
11750
b855ab85
DM
11751 * conform/Makefile: Run run-conformtest.sh using $(BASH).
11752
1e3cdfda
AJ
11753 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
11754 have-as-vis3 check.
11755
117562012-03-27 Andreas Jaeger <aj@suse.de>
11757
11758 * sysdeps/x86_64/elf/configure.in: Moved to ...
11759 * sysdeps/x86_64/configure.in: ... here.
11760 * sysdeps/x86_64/elf/start.S: Moved to ...
11761 * sysdeps/x86_64/start.S: ... here.
11762 * sysdeps/x86_64/elf/configure: Delete.
11763
11764 * sysdeps/x86_64/configure.in: Merge contents from
11765 sysdeps/i386/configure.in (without i686 check).
11766
11767 * sysdeps/i386/elf/Versions: Merge into ...
11768 * sysdeps/i386/Versions: ... this.
11769 * sysdeps/i386/elf/Versions: Delete file.
11770 * sysdeps/i386/elf/start.S: Moved to ...
11771 * sysdeps/i386/start.S: ...here.
11772 * sysdeps/i386/elf/configure.in: Merge into...
11773 * sysdeps/i386/configure.in: ...here.
11774 * sysdeps/i386/elf/configure.in: Delete file.
11775 * sysdeps/i386/elf/configure: Delete file.
11776
11777 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
11778 * debug/backtracesyms.c: ... here.
11779 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
11780 * debug/backtracesymsfd.c: ... here.
11781 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
11782 * sysdeps/generic/ifunc-sel.h: ... here.
11783
11784 * sysdeps/unix/i386/start.c: Delete file.
11785 * sysdeps/unix/sparc/start.c: Delete file.
11786 * sysdeps/unix/start.c: Delete file.
11787
11788 * sysdeps/sh/elf/configure.in: Moved to ...
11789 * sysdeps/sh/configure.in: ... here.
11790 * sysdeps/sh/elf/start.S: Moved to ...
11791 * sysdeps/sh/start.S: ... here.
11792 * sysdeps/sh/elf/configure: Delete file.
11793
11794 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
11795 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
11796 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
11797 * sysdeps/powerpc/powerpc64/entry.h: ... here.
11798 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
11799 * sysdeps/powerpc/powerpc64/start.S: here.
11800 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
11801 * sysdeps/powerpc/powerpc64/Makefile: ... this.
11802 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
11803 * sysdeps/powerpc/powerpc64/configure.in: ... this.
11804 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
11805
11806 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
11807 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
11808 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
11809 * sysdeps/powerpc/powerpc32/start.S: ... here.
11810 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
11811 * sysdeps/powerpc/powerpc32/configure.in: ... this.
11812 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
11813
11814 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
11815 * sysdeps/powerpc/ifunc-sel.h: ... here.
11816 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
11817 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
11818
11819 * sysdeps/sparc/elf/configure.in: Moved to ...
11820 * sysdeps/sparc/configure.in: ... here.
11821 * sysdeps/sparc/elf/configure: Delete file.
11822 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
11823 * sysdeps/sparc/sparc32/start.S: ... here.
11824 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
11825 * sysdeps/sparc/sparc64/start.S: ... here.
11826 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
11827 * sysdeps/sparc/sparc32/Makefile: ... this.
11828 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
11829 * sysdeps/sparc/sparc64/Makefile: ... this.
11830
11831 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
11832 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
11833 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
11834 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
11835 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
11836 * sysdeps/s390/s390-32/setjmp.S: ... here.
11837 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
11838 * sysdeps/s390/s390-32/configure.in: ... here.
11839 * sysdeps/s390/s390-32/elf/configure: Delete file.
11840 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
11841 * sysdeps/s390/s390-32/start.S: ... here.
11842
11843 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
11844 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
11845 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
11846 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
11847 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
11848 * sysdeps/s390/s390-64/setjmp.S: ... here.
11849 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
11850 * sysdeps/s390/s390-64/configure.in: ... here
11851 * sysdeps/s390/s390-64/elf/configure: Delete file.
11852 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
11853 * sysdeps/s390/s390-64/start.S: ... here.
11854 * sysdeps/s390/s390-64/elf/configure: Delete.
11855
11856 * configure.in: Remove support for elf directories in sysdeps.
11857
11858 * configure: Regenerated.
11859 * sysdeps/i386/configure: Regenerated.
11860 * sysdeps/powerpc/powerpc32/configure: Regenerated.
11861 * sysdeps/powerpc/powerpc64/configure: Regenerated.
11862 * sysdeps/s390/s390-32/configure: Regenerated.
11863 * sysdeps/s390/s390-64/configure: Regenerated.
11864 * sysdeps/sh/configure: Regenerated.
11865 * sysdeps/sparc/configure: Regenerated.
11866 * sysdeps/x86_64/configure: Regenerated.
11867
a3f61311
AS
118682012-03-26 Andreas Schwab <schwab@linux-m68k.org>
11869
c876e002
AS
11870 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11871
a3f61311
AS
11872 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
11873 denormal result into account.
11874
ac4c54f0
RM
118752012-03-25 Roland McGrath <roland@hack.frob.com>
11876
11877 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
11878 Reported by Allan McRae <allan@archlinux.org>.
11879
6a9b9c02
JL
118802012-03-23 Jeff Law <law@redhat.com>
11881
11882 * nss/getnssent.c (__nss_getent): Fix typo.
11883
4c42a0c1
DM
118842012-03-23 David S. Miller <davem@davemloft.net>
11885
11886 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11887
1532c7ac
L
118882012-03-23 H.J. Lu <hongjiu.lu@intel.com>
11889
11890 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
11891 to pad to uint64_t for each field.
11892 (dl_tls_index): Replace unsigned long with uint64_t.
11893
3ff42526
PP
118942012-03-23 Daniel Jacobowitz <dmj@google.com>
11895 Paul Pluzhnikov <ppluzhnikov@google.com>
11896
11897 [BZ #6528]
11898 * grp/Makefile (otherlibs): Don't set it.
11899 * inet/Makefile (otherlibs): Likewise.
11900 * login/Makefile (otherlibs): Likewise.
11901 * nscd/Makefile (otherlibs): Likewise.
11902 * posix/Makefile (otherlibs): Likewise.
11903 * pwd/Makefile (otherlibs): Likewise.
11904 * rt/Makefile (otherlibs): Likewise.
11905 * sunrpc/Makefile (otherlibs): Likewise.
11906 * nss/Makefile (otherlibs): Likewise.
11907 Add libnss_files to routines and static-only-routines.
11908 ($(objpfx)getent): Remove rule.
11909 * resolv/Makefile: Add libnss_dns and libresolv to routines and
11910 static-only-routines.
11911
7c69cd14
JM
119122012-03-22 Joseph Myers <joseph@codesourcery.com>
11913
11914 [BZ #13892]
11915 * math/s_cexp.c: Include <float.h>.
11916 (__cexp): Handle exp result overflowing not necessarily
11917 overflowing both real and imaginary parts of result.
11918 * math/s_cexpf.c: Likewise.
11919 * math/s_cexpl.c: Likewise.
11920 * math/libm-test.inc (cexp_test): Add more tests.
11921 * sysdeps/i386/fpu/libm-test-ulps: Update.
11922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11923
81b035fe
L
119242012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11925
11926 * include/link.h (ELFW): New macro.
11927 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
11928 Replace ELF64_R_TYPE with ELFW(R_TYPE).
11929
1da7940c
L
119302012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11931
11932 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
11933 with uint64_t.
11934
b749dbb9
L
119352012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11936
11937 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
11938 declaration.
11939 (struct La_x32_retval): Likewise.
11940
2ff87f3f
L
119412012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11942
11943 * sysdeps/x86_64/preconfigure.in: New file.
11944 * sysdeps/x86_64/preconfigure: New generated file.
11945
c0df8e69
JM
119462012-03-22 Joseph Myers <joseph@codesourcery.com>
11947
48e44791
JM
11948 [BZ #13824]
11949 * math/e_exp2l.c: Include <float.h>.
11950 (__ieee754_exp2l): Handle overflow and underflow cases
11951 separately. Only pass fractional part of argument to
11952 __ieee754_expl.
11953 * math/libm-test.inc (exp2_test): Add more tests.
11954
c0df8e69
JM
11955 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
11956 negating x to take absolute value.
11957 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
11958 Likewise.
11959 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11960 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
11961 Likewise.
11962 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
11963 computing low part if x was negated.
11964 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11965
c8e43ba7
L
119662012-03-21 H.J. Lu <hongjiu.lu@intel.com>
11967
11968 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
11969 la_x32_gnu_pltexit.
11970 (pltexit): Cast int_retval to ptrdiff_t.
11971 * elf/tst-auditmod3b.c: Likewise.
11972 * elf/tst-auditmod4b.c: Likewise.
11973 * elf/tst-auditmod5b.c: Likewise.
11974 * elf/tst-auditmod6b.c: Likewise.
11975 * elf/tst-auditmod6c.c: Likewise.
11976 * elf/tst-auditmod7b.c: Likewise.
11977
11978 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
11979 and x32_gnu_pltexit.
11980
11981 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
11982 __ELF_NATIVE_CLASS.
11983 (La_x32_regs): New macro.
11984 (La_x32_retval): Likewise.
11985 (la_x32_gnu_pltenter): New function prototype.
11986 (la_x32_gnu_pltexit): Likewise.
11987
7998fa78
AS
119882012-03-21 Andreas Schwab <schwab@linux-m68k.org>
11989
dcb33988
AS
11990 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
11991 exponent.
11992
233fc563
AS
11993 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11994
7998fa78
AS
11995 * configure.in (libc_cv_cc_nofma): Check for option to disable
11996 generation of FMA instructions.
11997 * configure: Regenerate.
11998 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
11999 * sysdeps/ieee754/dbl-64/Makefile: New file.
12000 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
12001 Remove brandred-fma4.
12002 (CFLAGS-brandred-fma4.c): Remove.
12003 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
12004 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
12005 define.
12006 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
12007 define.
12008
8e95c99a
L
120092012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12010
12011 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12012 LLONG_MAX != LONG_MAX.
12013 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12014 (_fitoa_word): Likewise.
12015 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
12016 LLONG_MAX != LONG_MAX.
12017 * stdio-common/_itowa.h: Include <_itoa.h>.
12018 (_itowa_word): Use _ITOA_WORD_TYPE on value.
12019 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
12020 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
12021 only if not defined.
12022 (_ITOA_WORD_TYPE): Likewise.
12023 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12024 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
12025
6f4db457
DM
120262012-03-21 David S. Miller <davem@davemloft.net>
12027
12028 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12029
7785fe5a
L
120302012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12031
12032 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
12033 of x86_64 when setting libc_cv_slibdir, libdir and
12034 libc_cv_localedir.
12035 * sysdeps/unix/sysv/linux/configure: Regenerated.
12036
4535cd55
JM
120372012-03-21 Joseph Myers <joseph@codesourcery.com>
12038
12039 * manual/lang.texi (Old Varargs): Remove section.
12040 (How Variadic): Update menu.
12041 (va_start): Do not mention varargs.h.
12042
17228132
TS
120432012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12044 Joseph Myers <joseph@codesourcery.com>
12045
12046 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
12047 link test.
12048 * configure: Regenerated.
12049
8149f976
TS
120502012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12051
05f3d1f6
UD
12052 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
12053 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
12054 conformtest.pl
8149f976 12055
1a4ac776
JM
120562012-03-21 Joseph Myers <joseph@codesourcery.com>
12057
be22ce65
JM
12058 * NOTES: Remove.
12059 * Makefile (files-for-dist): Remove NOTES.
12060 (NOTES): Remove rule.
12061 * README: Don't refer to NOTES.
12062 * manual/creature.texi: Don't include macros.texi.
12063 * manual/intro.texi (creature.texi): Remove comment referring to
12064 NOTES.
12065
40b601fb
JM
12066 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
12067 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
12068 * configure: Regenerated.
12069 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
12070 LIBC_TRY_CC_OPTION.
12071 (libc_cv_as_i686): Likewise.
12072 (libc_cv_cc_avx): Likewise.
12073 (libc_cv_cc_sse2avx): Likewise.
12074 (libc_cv_cc_fma4): Likewise.
12075 (libc_cv_cc_novzeroupper): Likewise.
12076 * sysdeps/i386/configure: Regenerated.
12077
1a4ac776
JM
12078 [BZ #13883]
12079 * sysdeps/i386/fpu/s_cexp.S: Remove.
12080 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12081 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12082 * math/libm-test.inc (cexp_test): Add more tests.
12083 * sysdeps/i386/fpu/libm-test-ulps: Update.
12084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12085
a458e7fe
AM
120862012-03-21 Allan McRae <allan@archlinux.org>
12087
12088 * timezone/Makefile: Do not install iso3166.tab and zone.tab
12089
0cb7efc5
JM
120902012-03-21 Joseph Myers <joseph@codesourcery.com>
12091
12092 [BZ #13871]
12093 * math/w_exp2.c: Do not include <float.h>.
12094 (o_threshold, u_threshold): Remove.
12095 (__exp2): Calculate result before checking finiteness and calling
12096 __kernel_standard.
12097 * math/w_exp2f.c: Likewise.
12098 * math/w_exp2l.c: Likewise.
12099 * math/libm-test.inc (exp2_test): Require overflow exception for
12100 1e6 input.
2460d3aa
JM
12101
12102 [BZ #3866]
12103 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
12104 range of signed 64-bit integers before using fistpll. Remove
12105 checks for whether integers fit in mantissa bits.
12106 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
12107 the range of signed 32-bit integers before using fistpl. Remove
12108 checks for whether integers fit in mantissa bits.
12109 * sysdeps/i386/fpu/e_powl.S (p64): New object.
12110 (__ieee754_powl): Test for y outside the range of signed 64-bit
12111 integers before using fistpll. Reduce 64-bit values to 63-bit
12112 ones as needed.
12113 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
12114 divide-by-zero is raised for zero to large negative powers.
12115 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
12116 (__ieee754_powl): Test for y outside the range of signed 64-bit
12117 integers before using fistpll. Reduce 64-bit values to 63-bit
12118 ones as needed.
12119 * math/libm-test.inc (pow_test): Add more tests.
12120
eb96ffb0
L
121212012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12122
12123 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
12124 <stdio-common/_itoa.h>.
12125 * debug/segfault.c: Likewise.
12126 * elf/dl-cache.c: Likewise.
12127 * elf/dl-minimal.c: Likewise.
12128 * elf/dl-misc.c: Likewise.
12129 * elf/dl-sysdep.c: Likewise.
12130 * elf/dl-version.c: Likewise.
12131 * elf/rtld.c: Likewise.
12132 * hurd/hurdsock.c: Likewise.
12133 * hurd/lookup-retry.c: Likewise.
12134 * malloc/malloc.c: Likewise.
12135 * malloc/mtrace.c: Likewise.
12136 * nscd/nscd_getgr_r.c: Likewise.
12137 * nscd/nscd_getpw_r.c: Likewise.
12138 * nscd/nscd_getserv_r.c: Likewise.
12139 * posix/getopt_init.c: Likewise.
12140 * posix/wordexp.c: Likewise.
12141 * stdio-common/_itoa.c: Likewise.
12142 * stdio-common/printf_fphex.c: Likewise.
12143 * stdio-common/vfprintf.c: Likewise.
12144 * string/_strerror.c: Likewise.
12145 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
12146 * sysdeps/i386/i686/hp-timing.h: Likewise.
12147 * sysdeps/mach/_strerror.c: Likewise.
12148 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
12149 * sysdeps/mach/hurd/sethostid.c: Likewise.
12150 * sysdeps/mach/hurd/xmknodat.c: Likewise.
12151 * sysdeps/mach/xpg-strerror.c: Likewise.
12152 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12153 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12154 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
12155 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
12156 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12157 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
12158 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
12159 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
12160 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
12161 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
12162 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
12163 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12164 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
12165 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12166 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12167 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
12168 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
12169 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
12170 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
12171 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12172 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
12173
12174 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
12175
12176 * stdio-common/_itoa.h: Moved to ...
12177 * sysdeps/generic/_itoa.h: Here.
12178
12179 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
12180
12181 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
12182 instead of "_itoa.h" and "_itowa.h".
12183 * stdio-common/vfprintf.: Likewise.
12184
d1af992d
L
121852012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12186
12187 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
12188 <bits/wordsize.h>.
12189 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
12190 (__signbit): Likwise.
12191 (llrintf): Likwise.
12192 (llrint): Likwise.
12193
114883e0
L
121942012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12195
12196 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
12197 __WORDSIZE != 64.
12198
c135cc1b
JM
121992012-03-20 Joseph Myers <joseph@codesourcery.com>
12200
12201 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
12202 OVERFLOW_EXCEPTION_OK.
12203 * math/libm-test.inc ("Philosophy"): Update comment about
12204 exception testing.
12205 (OVERFLOW_EXCEPTION): Define.
12206 (OVERFLOW_EXCEPTION_OK): Likewise.
12207 (INVALID_EXCEPTION_OK): Renumber.
12208 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12209 (IGNORE_ZERO_INF_SIGN): Likewise.
12210 (test_exceptions): Handle FE_OVERFLOW.
12211 (exp10_test): Expect overflow exceptions.
12212 (exp2_test): Likewise.
12213 (expm1_test): Likewise.
12214 (nextafter_test): Likewise.
12215 (pow_test): Likewise.
12216 (scalbn_test): Likewise.
12217 (scalbln_test): Likewise.
12218
95443d88
L
122192012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12220
12221 * sysdeps/x86_64/bits/atomic.h
12222 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
12223 64bit integer.
12224 (atomic_exchange_acq): Likewise.
12225 (__arch_exchange_and_add_body): Likewise.
12226 (__arch_add_body): Likewise.
12227 (atomic_add_negative): Likewise.
12228 (atomic_add_zero): Likewise.
12229
490df6c4
L
122302012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12231
c2722551 12232 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
12233 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
12234
5e52b189
L
122352012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12236
12237 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
12238 Check __x86_64__ instead of __WORDSIZE.
12239
a9879d4c
L
122402012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12241
12242 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
12243
5df98260
DM
122442012-03-19 David S. Miller <davem@davemloft.net>
12245
e1497744
DM
12246 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12247
5df98260
DM
12248 * sysdeps/sparc/fpu/fenv_private.h: New file.
12249 * sysdeps/sparc/fpu/math_private.h: Use it.
12250 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
12251 Remove.
12252 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
12253 (libc_feholdexcept_setroundl): Remove.
12254 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
12255 Remove.
12256 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
12257 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
12258
b4c35121
L
122592012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12260
12261 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
12262 int64_t instead of long int.
12263 (INSERT_WORDS64): Likwise.
12264
56965fd7
L
122652012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12266
12267 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
12268 _Unwind_GetCFA return to _Unwind_Ptr first.
12269
83d1aec8
JM
122702012-03-19 Joseph Myers <joseph@codesourcery.com>
12271
1897ad44
JM
12272 [BZ #13629]
12273 * math/s_clog.c: Include <float.h>.
12274 (__clog): Scale large or subnormal inputs.
12275 * math/s_clogf.c: Likewise.
12276 * math/s_clogl.c: Likewise.
12277 * math/s_clog10.c: Include <float.h>.
12278 (M_LOG10_2): Define.
12279 (__clog10): Scale large or subnormal inputs.
12280 * math/s_clog10f.c: Likewise.
12281 * math/s_clog10l.c: Likewise.
12282 * math/libm-test.inc (clog_test): Add more tests.
12283 (clog10_test): Likewise.
12284 * sysdeps/i386/fpu/libm-test-ulps: Update.
12285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12286
7726d6a9
JM
12287 [BZ #11451]
12288 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
12289 x and y.
12290 * math/libm-test.inc (atan2_test): Add another test.
12291
83d1aec8
JM
12292 * Makerules (common-objdir-compile): Remove.
12293 * sysdeps/unix/Makefile (config-generated): Do not add
12294 $(unix-generated) to variable.
12295 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
12296 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
12297 Remove rule.
12298 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
12299 Likewise.
12300 [generic bits/local_lim.h] (before-compile): Do not append to
12301 variable.
12302 [generic bits/local_lim.h] (common-generated): Likewise.
12303 [generic sys/param.h] (before-compile): Do not append to variable.
12304 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
12305 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
12306 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
12307 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
12308 include.
12309 [generic sys/param.h] (sys/param.h-includes): Remove variable.
12310 [generic sys/param.h] (sys/param.h-includes): Remove rule.
12311 [generic sys/param.h] ($(addprefix
12312 $(common-objpfx),$(sys/param.h-includes))): Likewise.
12313 [generic sys/param.h] (common-generated): Do not append to
12314 variable.
12315 [generic sys/param.h] (sysdep_headers): Likewise.
12316 [generic bits/errno.h] (before-compile): Do not append to
12317 variable.
12318 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
12319 rule.
12320 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
12321 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
12322 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
12323 [generic bits/errno.h] (common-generated): Do not append to
12324 variable.
12325 [generic bits/ioctls.h] (before-compile): Do not append to
12326 variable.
12327 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
12328 rule.
12329 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
12330 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
12331 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
12332 rule.
12333 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
12334 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
12335 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
12336 [generic bits/ioctls.h] (common-generated): Do not append to
12337 variable.
12338 [generic sys/syscall.h] (syscall.h): Remove variable.
12339 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
12340 rule.
12341 [generic sys/syscall.h] (before-compile): Do not append to
12342 variable.
12343 [generic sys/syscall.h] (common-generated): Likewise.
12344 * sysdeps/unix/errnos-tmpl.c: Remove file.
12345 * sysdeps/unix/errnos.awk: Likewise.
12346 * sysdeps/unix/ioctls-tmpl.c: Likewise.
12347 * sysdeps/unix/ioctls.awk: Likewise.
12348 * sysdeps/unix/mk-local_lim.c: Likewise.
12349 * sysdeps/unix/snarf-ioctls: Likewise.
12350
4851a949
RH
123512012-03-19 Richard Henderson <rth@twiddle.net>
12352
bd37f2ee
RH
12353 * sysdeps/i386/fpu/fenv_private.h: New file.
12354 * sysdeps/i386/fpu/math_private.h: Use it.
12355 (math_opt_barrier, math_force_eval): Remove.
12356 (libc_feholdexcept_setround_53bit): Remove.
12357 (libc_feupdateenv_53bit): Remove.
12358 * sysdeps/x86_64/fpu/math_private.h: Likewise.
12359 (math_opt_barrier, math_force_eval): Remove.
12360 (libc_feholdexcept): Remove.
12361 (libc_feholdexcept_setround): Remove.
12362 (libc_fetestexcept, libc_fesetenv): Remove.
12363 (libc_feupdateenv_test): Remove.
12364 (libc_feupdateenv, libc_feholdsetround): Remove.
12365 (libc_feresetround): Remove.
12366
d0adc922
RH
12367 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
12368 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
12369
0fe0f1f8
RH
12370 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
12371 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
12372 (libc_feupdateenv_testl): New.
12373 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
12374 (libc_feupdateenv_testf): New.
12375 (libc_feupdateenv): Use libc_feupdateenv_test.
12376 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
12377 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
12378
eb92c487
RH
12379 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
12380 (libc_feholdsetroundf, libc_feholdsetroundl): New.
12381 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
12382 (libc_feresetround_noex): New.
12383 (libc_feresetround_noexf): New.
12384 (libc_feresetround_noexl): New.
12385 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
12386 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
12387 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
12388 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
12389 SET_RESTORE_ROUND.
12390 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12391 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
12392 (__cos): Likewise.
12393 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
12394 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
12395 SET_RESTORE_ROUND_NOEX.
12396 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
12397 SET_RESTORE_ROUND_NOEXF.
12398 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
12399 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
12400 (libc_feholdsetroundf): New.
12401 (libc_feresetround, libc_feresetroundf): New.
12402
7d2e8012
RH
12403 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
12404 (libc_feholdexcept_setround_53bit): Convert from macro to function.
12405 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
12406
b4dabbb4
RH
12407 * sysdeps/generic/math_private.h: Include <fenv.h>.
12408 (default_libc_feholdexcept): New.
12409 (default_libc_feholdexcept_setround): New.
12410 (default_libc_fesetenv, default_libc_feupdateenv): New.
12411 (libc_feholdexcept): Only define if undefined.
12412 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
12413 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
12414 (libc_feholdexcept_setroundl): Likewise.
12415 (libc_feholdexcept_setround_53bit): Likewise.
12416 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
12417 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
12418 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
12419 (libc_feupdateenv_53bit): Likewise.
12420 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
12421 (libc_feholdexcept): Convert from macro to inline function.
12422 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
12423 (libc_fesetenv, libc_feupdateenv): Likewise.
12424
4851a949
RH
12425 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
12426 not previously defined.
12427 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
12428 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
12429 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
12430 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
12431 * sysdeps/ieee754/flt-32/math_private.h: New file.
12432 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
12433 math_private.h below SET_FLOAT_WORD.
12434 (__isnan, __isinf_ns, __finite): Remove.
12435 (__isnanf, __isinf_nsf, __finitef): Remove.
12436
e79d442e
AS
124372012-03-18 Andreas Schwab <schwab@linux-m68k.org>
12438
12439 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12440
90b80344
DM
124412012-03-17 David S. Miller <davem@davemloft.net>
12442
12443 [BZ #6471]
12444 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
12445 for 2.16.
12446
edc21804
DM
124472012-03-16 David S. Miller <davem@davemloft.net>
12448
77e927af
DM
12449 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
12450 warnings.
12451
374976dd
DM
12452 [BZ #6471]
12453 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
12454 properly.
12455 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
12456 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
12457 sysdep_routines when subdir is sysvipc.
12458 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
12459 __getshmlba helper.
12460
edc21804
DM
12461 * sysdeps/sparc/fpu/libm-test/ulps: Update.
12462
473c3ef3
L
124632012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12464
12465 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
12466 [__LP64__].
12467
eb0f39b6
L
124682012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12469
12470 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
12471 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
12472 (__lround): Renamed to ...
12473 (__llround): This. Replace long int with long long int.
12474 Define lround functions as aliases of llround functions.
12475 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
12476
6b6cd74b
L
124772012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12478
12479 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
12480 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
12481 adresses to uintptr_t. Replace "long int" and "unsigned long
12482 int" with "greg_t" on va_arg.
12483
f1a77b01
L
124842012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12485
12486 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
12487 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
12488
12489 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
12490 Move e_machine check before EI_CLASS check. Handle x32
12491 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
12492 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
12493 SKIP_EM_IA_64 and include
12494 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
12495
12496 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
12497 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
12498 (add_system_dir): New macro.
12499
12500 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
12501 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
12502
11b90b9f
JM
125032012-03-16 Joseph Myers <joseph@codesourcery.com>
12504
c36e1d23
JM
12505 [BZ #2551]
12506 [BZ #2552]
12507 [BZ #2553]
12508 [BZ #2554]
12509 [BZ #2562]
12510 [BZ #2563]
12511 [BZ #2565]
12512 [BZ #2566]
12513 [BZ #2576]
12514 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
12515 (y0): Likewise.
12516 * math/w_j0f.c (j0f): Likewise.
12517 (y0f): Likewise.
12518 * math/w_j0l.c (__j0l): Likewise.
12519 (__y0l): Likewise.
12520 * math/w_j1.c (j1): Likewise.
12521 (y1): Likewise.
12522 * math/w_j1f.c (j1f): Likewise.
12523 (y1f): Likewise.
12524 * math/w_j1l.c (__j1l): Likewise.
12525 (__y1l): Likewise.
12526 * math/w_jn.c (jn): Likewise.
12527 (yn): Likewise.
12528 * math/w_jnf.c (jnf): Likewise.
12529 (ynf): Likewise.
12530 * math/w_jnl.c (__jnl): Likewise.
12531 (__ynl): Likewise.
12532 * math/libm-test.inc (j0_test): Add more tests.
12533 (j1_test): Likewise.
12534 (jn_test): Likewise. Add trailing semicolon to existing test.
12535 (y0_test): Likewise.
12536 (y1_test): Likewise.
12537 * sysdeps/i386/fpu/libm-test-ulps: Update.
12538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12539
11b90b9f
JM
12540 [BZ #13851]
12541 [BZ #13854]
12542 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
12543 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
12544 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
12545 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
12546 (__tanl): Set errno for infinite argument.
12547 * sysdeps/i386/fpu/mptan.c: Remove.
12548 * sysdeps/i386/fpu/s_tan.S: Likewise.
12549 * sysdeps/i386/fpu/s_tanl.S: Likewise.
12550 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
12551 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
12552 * math/libm-test.inc (tan_test): Add more tests and enable more
12553 tests for double and long double.
12554 * sysdeps/i386/fpu/libm-test-ulps: Update.
12555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12556
6a1bd2a1
JK
125572012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12558
12559 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
12560 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
12561
10a803e0
RM
125622012-03-16 Roland McGrath <roland@hack.frob.com>
12563
12564 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
12565 * configure.in: Use it for both main tree and add-ons.
12566 * configure: Regenerated.
12567
f196c7f7
L
125682012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12569
12570 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
12571
8848d99d
JM
125722012-03-16 Joseph Myers <joseph@codesourcery.com>
12573
96cbe7f4
JM
12574 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
12575 in comment.
12576
8848d99d
JM
12577 [BZ #13851]
12578 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
12579 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
12580 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
12581 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
12582 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
12583 infinite argument.
12584 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
12585 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
12586 != 0 for prec == 2.
12587 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
12588 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
12589 * sysdeps/i386/fpu/s_cosl.S: Likewise.
12590 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
12591 * sysdeps/i386/fpu/s_sinl.S: Likewise.
12592 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
12593 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
12594 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
12595 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
12596 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
12597 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
12598 * math/libm-test.inc (cos_test): Add more tests and enable more
12599 tests for long double.
12600 (sin_test): Likewise.
12601 (sincos_test): Likewise.
12602 * sysdeps/i386/fpu/libm-test-ulps: Update.
12603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12604
dd7f4703
DM
126052012-03-16 David S. Miller <davem@davemloft.net>
12606
12607 * sysdeps/sparc/fpu/math_private.h: New file.
12608
006f1daa
DM
126092012-03-15 David S. Miller <davem@davemloft.net>
12610
c0c83bc8
DM
12611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
12612 file.
e6a62e18 12613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
12614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
12615 file.
e6a62e18
DM
12616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
12617 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
12618 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
12619 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
12620 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
12621 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
12622 sysdep routines.
12623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
12624
88cb87d9
DM
12625 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
12626 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
12627
006f1daa 12628 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
12629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
12630 sparc-ifunc.h
006f1daa 12631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
12632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
12633 Likewise.
12634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
12635 Likewise.
006f1daa
DM
12636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
12637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
12638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
12639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
12640 Likewise.
006f1daa
DM
12641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
12642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
12643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
12644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
12645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
12646 Likewise.
12647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
12648 Likewise.
006f1daa
DM
12649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
12650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
12651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
12652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
12653 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12654 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12655 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
12656 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
12657 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12658 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12659 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
12660 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
12661 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
12662 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
12663 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
12664 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
12665 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
12666 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
12667 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
12668 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
12669 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
12670 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
12671 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
12672 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
12673
11e0098e
AS
126742012-03-15 Andreas Schwab <schwab@linux-m68k.org>
12675
12676 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
12677 scaling.
12678 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12679
e85b09d0
AJ
126802012-03-15 Andreas Jaeger <aj@suse.de>
12681
12682 [BZ #13852]
12683 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
12684 ieee754/flt-32 implementation for sin, cos and sincos.
12685 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
12686 * sysdeps/i386/fpu/s_cosf.S: Likewise.
12687 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
12688 * sysdeps/i386/fpu/s_sinf.S: Likewise.
12689 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
12690 ieee754/flt-32 implementation for tan.
12691
12692 * math/libm-test.inc (cos_test): Enable some large input tests for
12693 float as well
12694 (sin_test): Likewise.
12695 (sincos_test): Likewise.
12696 (tan_test): Add tests for large input.
12697
12698 * sysdeps/i386/fpu/libm-test-ulps: Update.
12699
81c64153
AJ
127002012-03-15 Andreas Jaeger <aj@suse.de>
12701
12702 [BZ #13658]
12703 * math/libm-test.inc (cos_test): Add more test cases.
12704 (sin_test): Likewise.
12705 (sincos_test): Likewise.
12706
7bbfa5c6
AJ
127072012-03-15 Andreas Jaeger <aj@suse.de>
12708
12709 [BZ #13837]
12710 * math/libm-test.inc (cos_test): Add a test case for large input
12711 value.
12712 (sin_test): Likewise.
12713 (sincos_test): Likewise.
12714
127152012-03-15 Andreas Jaeger <aj@suse.de>,
12716 Joseph Myers <joseph@codesourcery.com>
12717
12718 [BZ #13658]
0671f479 12719 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
12720 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
12721 * sysdeps/i386/fpu/branred.c: Likewise.
12722 * sysdeps/i386/fpu/dosincos.c: Likewise.
12723 * sysdeps/i386/fpu/mpa.c: Likewise.
12724 * sysdeps/i386/fpu/s_cos.S: Likewise.
12725 * sysdeps/i386/fpu/s_sin.S: Likewise.
12726 * sysdeps/i386/fpu/s_sincos.S: Likewise.
12727 * sysdeps/i386/fpu/sincos32.c: Likewise.
12728
12729 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
12730 Define.
12731 (libc_feupdateenv_53bit): Define.
12732 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
12733 Define.
12734 (libc_feupdateenv_53bit): Define.
12735
12736 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
12737 53 bit (without extend i386 double precision).
12738
12739 * math/libm-test.inc (sincos_test): Add tests for large input.
12740 (sin): Likewise.
12741 (cos): Likewise.
12742
12743 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12744
9cad04ea
AS
127452012-03-15 Andreas Schwab <schwab@linux-m68k.org>
12746
12747 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12748
f7062b9a
DM
127492012-03-15 David S. Miller <davem@davemloft.net>
12750
12751 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
12752 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
12753 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
12754 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
12755 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
12756 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
12757 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
12758 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
12759 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
12760 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
12761 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
12762 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
12763 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
12764 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
12765 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
12766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
12767 file.
f7062b9a 12768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
12769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
12770 file.
f7062b9a 12771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
12772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
12773 file.
f7062b9a 12774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
12775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
12776 file.
f7062b9a
DM
12777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
12778 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
12779 fmin/fmax sysdep routines.
12780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
12781
7bd951ff
DM
127822012-03-14 David S. Miller <davem@davemloft.net>
12783
559398ab
DM
12784 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
12785 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
12786 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
12787 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
12788 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
12789 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
12790 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
12791 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
12792 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
12793 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
12794 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
12795 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
12796 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
12797 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
12798 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
12799 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
12800 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
12801 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
12802 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
12803 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
12804 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
12805 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
12806 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
12807 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
12808 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
12809 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
12810 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
12811 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
12812 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
12813 routines.
12814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
12815 file.
559398ab 12816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
12817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
12818 file.
559398ab 12819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
12820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
12821 file.
559398ab 12822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
12823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
12824 file.
559398ab 12825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
12826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
12827 file.
559398ab 12828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
12829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
12830 file.
12831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
12832 file.
12833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
12834 file.
12835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
12836 file.
12837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
12838 New file.
12839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
12840 file.
12841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
12842 file.
559398ab 12843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
12844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
12845 file.
559398ab 12846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
12847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
12848 file.
559398ab 12849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
12850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
12851 file.
559398ab 12852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
12853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
12854 VIS3 routines.
559398ab
DM
12855
12856 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
12857 New file.
12858
5a1c1e32
DM
12859 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12860
eae47a36
DM
12861 * sysdeps/sparc/configure.in: New file.
12862 * sysdeps/sparc/configure: Generate.
12863 * configure.in (libc_cv_sparc_as_vis3): Substitute.
12864 * configure: Regenerate.
12865 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
12866 * config.make.in (have-as-vis3): New.
12867 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
12868 available use -Av9d instead of -Av9a.
12869 * sysdeps/sparc/sparc64/Makefile: Likewise.
12870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
12871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
12872 New file.
12873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
12874 file.
12875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
12876 New file.
12877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
12878 file.
eae47a36
DM
12879 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
12880 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
12881 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
12882 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
12883 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
12884
c0c83bc8
DM
12885 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
12886 fzeros/fnegs to load 0x80000000 into a float register instead of
12887 using the stack.
7bd951ff
DM
12888 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
12889
bd951ccb
JM
128902012-03-14 Joseph Myers <joseph@codesourcery.com>
12891
12892 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12893 bits/syscall.h.
12894 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
12895 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
12896 ($(inst_includedir)/bits/syscall.h): Remove rule.
12897 ($(objpfx)bits/syscall.d): Include instead of
12898 $(objpfx)syscall-list.d.
12899 (generated): Change syscall-list.h and syscall-list.d to
12900 bits/syscall.h and bits/syscall.d.
12901
bb4e6db2
RM
129022012-03-14 Roland McGrath <roland@hack.frob.com>
12903
12904 [BZ #13846]
12905 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
12906
aa4a2ae1
JM
129072012-03-14 Joseph Myers <joseph@codesourcery.com>
12908
e456826d
JM
12909 [BZ #13841]
12910 * math/s_csqrt.c: Include <float.h>.
12911 (__csqrt): Scale large or subnormal inputs.
12912 * math/s_csqrtf.c: Likewise.
12913 * math/s_csqrtl.c: Likewise.
12914 * math/libm-test.inc (csqrt_test): Add more tests.
12915 * sysdeps/i386/fpu/libm-test-ulps: Update.
12916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12917
aa4a2ae1
JM
12918 [BZ #13840]
12919 * math/libm-test.inc (hypot_test): Add more tests.
12920
7c10fd35
DM
129212012-03-13 David S. Miller <davem@davemloft.net>
12922
12923 [BZ #13840]
12924 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
12925 double-precision for the calculation instead of scaling.
12926
f453b98b
JM
129272012-03-13 Joseph Myers <joseph@codesourcery.com>
12928
12929 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
12930 manipulate bits before adding and subtracting TWO52[sx].
12931 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
12932 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
12933 Likewise.
12934 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
12935
09a3453f
DM
129362012-03-13 David S. Miller <davem@davemloft.net>
12937
8e59da90
DM
12938 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
12939 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
12940 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
12941 rtld-global-offsets.h
12942 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12943
2a8ab7f2
DM
12944 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
12945 large parameters.
12946
10f62770
DM
12947 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
12948
5f0bdb18
DM
12949 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
12950 'err' in the ifdef scope in which it is actually used.
12951
09a3453f
DM
12952 * nss/nss_db/db-init.c: Include string.h
12953
b4b2eb5e
DM
129542012-03-12 David S. Miller <davem@davemloft.net>
12955
98bb2f1c
DM
12956 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
12957 masking out of the most significant byte of random value used.
12958 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12959 Fix coding style in previous change.
12960
b4b2eb5e
DM
12961 * sysdeps/unix/sysv/linux/kernel-features.h
12962 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
12963 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
12964 expression.
12965 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
12966 later.
12967
6e226b09
DM
129682012-03-11 David S. Miller <davem@davemloft.net>
12969
a1bcbd40
DM
12970 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
12971 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
12972 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
12973 for 'resultvar' otherwise things get truncated on 64-bit.
12974
cb9d6174
DM
12975 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12976 Fix masking out of the most significant byte of random value used.
12977
6e226b09
DM
12978 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12979
058c132d
AS
129802012-03-10 Andreas Schwab <schwab@linux-m68k.org>
12981
12982 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12983
2d2cd515
DM
129842012-03-09 David S. Miller <davem@davemloft.net>
12985
12986 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
12987 variables with appropriate CPP guards.
12988 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
12989 frame pointer, not the stack pointer. Correct layout comments. Fix test
12990 on resulting framesize and the management of the outregs buffer for pltexit.
12991 Preserve floating point return values across _dl_call_pltexit call.
12992 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
12993 framesize and the management of the outregs buffer for pltexit.
12994 Preserve floating point return values across _dl_call_pltexit
12995 call.
12996 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
12997 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
12998 (print_exit): Fix format string for return register value.
12999
9a07f9d0
JM
130002012-03-10 Joseph Myers <joseph@codesourcery.com>
13001
13002 * sunrpc/Makefile (others): Add rpcgen.
13003 ($(objpfx)rpcgen): Remove special build rule and dependency on
13004 libc.
13005 * sunrpc/rpcgen.c: New file.
13006
547b5e30
PE
130072012-03-09 Paul Eggert <eggert@cs.ucla.edu>
13008
c524201a
PE
13009 [BZ #13673]
13010 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
13011 * stdio-common/bug-vfprintf-nargs.c: Likewise.
13012 * sysdeps/i386/crti.S: Likewise.
13013 * sysdeps/i386/crtn.S: Likewise.
13014 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
13015 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
13016 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
13017 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
13018 * sysdeps/sh/crti.S: Likewise.
13019 * sysdeps/sh/crtn.S: Likewise.
13020 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13021
7b6235f2
PE
13022 [BZ #13673]
13023 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
13024 with URL.
13025 * locale/programs/locfile-kw.gperf: Likewise.
13026 * locale/programs/charmap-kw.h: Regenerated.
13027 * locale/programs/locfile-kw.h: Likewise.
13028
547b5e30
PE
13029 [BZ #13673]
13030 * intl/plural.y: Replace FSF snail mail address with URL.
13031 * intl/plural.c: Regenerated.
13032
5f0a5dae
RH
130332012-03-09 Richard Henderson <rth@twiddle.net>
13034
13035 * include/math_private.h: Remove file.
13036 * math/math_private.h: Move file ...
13037 * sysdeps/generic/math_private.h: ... here.
13038
b8c03620
RH
13039 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
13040 * sysdeps/powerpc/fpu/math_private.h: Likewise.
13041 * sysdeps/x86_64/fpu/math_private.h: Likewise.
13042
4e234f5d 13043 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
13044 and <math_private.h>.
13045 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13046 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13047 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13048 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13049 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13050 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
13051 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13052 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13053 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13054 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13055 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13056 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13057 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13058 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13059 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13060 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13061 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13062 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13063 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13064 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13065 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13066 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13067 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13068 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13069 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13070 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13071 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13072 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13073 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13074 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13075 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13076 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13077 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13078 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13079 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13080 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13081 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13082 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13083 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13084 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13085 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
13086 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13087 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13088 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13089 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13090 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13091 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13092 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13093 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13094 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13095 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13096 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13097 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13098 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13099 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13100 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13101 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13102 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13103 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13104 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
13105 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13106 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13107 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13108 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13109 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
13110 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13111 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13112 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13113 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
13114 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
13115 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13116 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13117 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13118 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13119 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
13120 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
13121 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
13122 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13123 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
13124 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13125 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13126 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13127 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13128 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13129 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13130 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
13131 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
13132 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
13133 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13134 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13135 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13136 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13137 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13138 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13139 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13140 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13141 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13142 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13143 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13144 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13145 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13146 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13147 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13148 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13149 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13150 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13151 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13152 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13153 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13154 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13155 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13156 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13157 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13158 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13159 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
13160 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13161 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13162 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13163 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13164 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13165 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13166 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13167 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13168 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
13169 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13170 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13171 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13172 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
13173 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13174 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13175 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13176 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13177 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13178 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13179 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13180 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13181 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13182 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13183 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
13184 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13185 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13186 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13187 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13188 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
13189 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
13190 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13191 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13192 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13193 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
13194 * sysdeps/ieee754/k_standard.c: Likewise.
13195 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13196 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13197 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13198 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13199 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13200 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13201 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13202 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13203 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13204 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13205 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13206 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13207 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13208 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13209 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13210 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13211 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13212 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13213 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13214 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
13215 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13216 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13217 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13218 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13219 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13220 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13221 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13222 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13223 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13224 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13225 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13226 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13227 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13228 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13229 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13230 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13231 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13232 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
13233 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
13234 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13235 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13236 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13237 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13238 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13239 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13240 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13241 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13242 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13243 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13244 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13245 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13246 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13247 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13248 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
13249 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13250 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13251 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
13252 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
13253 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13254 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13255 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13256 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13257 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13258 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13259 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13260 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13261 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13262 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13263 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13264 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13265 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13266 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13267 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13268 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13269 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13270 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13271 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
13272 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13273 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13274 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13275 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13276 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13277 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13278 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13279 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
13280 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13281 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13282 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
13283 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13284 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13285 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
13286 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13287 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
13288 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13289 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13290 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13291 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
13292 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
13293 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
13294 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
13295 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13296 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13297 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13298 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13299 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
13300 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13301 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13302 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
13303 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
13304 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13305 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13306 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13307 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13308 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13309 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13310 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13311 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13312 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13313 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13314 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13315 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13316 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13317 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13318 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13319 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13320 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
13321 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13322 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13323 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13324 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13325 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13326 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13327 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13328 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13329 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13330 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13331 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
13332 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13333 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13334 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13335 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13336 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13337 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13338 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13339 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13340 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13341 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13342 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13343 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13344 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
13345 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13346 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13347 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13348 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13349 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
13350 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
13351 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13352 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13353 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13354 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13355 * sysdeps/ieee754/s_lib_version.c: Likewise.
13356 * sysdeps/ieee754/s_matherr.c: Likewise.
13357 * sysdeps/ieee754/s_signgam.c: Likewise.
13358 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13359 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13360 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
13361 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
13362 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
13363 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13364 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
13365 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
13366 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
13367 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
13368 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13369 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
13370 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13371 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13372 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
13373 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13374 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13375 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13376 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13377 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13378 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 13379
1991fa03
JM
133802012-03-09 Joseph Myers <joseph@codesourcery.com>
13381
13382 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
13383 * sunrpc/rpc_main.c: Likewise.
13384 * sunrpc/rpc_svcout.c: Likewise.
13385
60d6f5a6
DM
133862012-03-09 David S. Miller <davem@davemloft.net>
13387
13388 * include/math_private.h: New file.
13389
4962050e
JM
133902012-03-09 Joseph Myers <joseph@codesourcery.com>
13391
02a6f887
JM
13392 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
13393 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
13394 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
13395 from <bits/socket_type.h>.
13396 (enum __socket_type): Don't define here.
13397 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
13398 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13399 bits/socket_type.h.
13400
c6e013c1
JM
13401 [BZ #13566]
13402 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
13403 checking __USE_GNU.
13404
4962050e
JM
13405 * Makerules ($(inst_includedir)/%.h): New rule.
13406 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
13407 (install-others): Remove variable setting.
13408 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
13409
38842f45
RH
134102012-03-08 Richard Henderson <rth@twiddle.net>
13411
67bb6da6
RH
13412 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
13413 from macro to inline function; merge with the
13414 !__LIBC_INTERNAL_MATH_INLINES version.
13415 (__ieee754_sqrtf): Likewise.
13416
15194b4b
RH
13417 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
13418 to inline function.
13419 (__rintf, __floor, __floorf): Likewise.
13420
64e21ede
RH
13421 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
13422 macro to inline function.
13423 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
13424
38842f45
RH
13425 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
13426 not <math/math_private.h>.
13427
c64bf5fe
DM
134282012-03-08 David S. Miller <davem@davemloft.net>
13429
13430 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
13431 copyright year.
13432 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
13433
82d86f28
TS
134342012-03-08 Thomas Schwinge <thomas@codesourcery.com>
13435
13436 * resolv/gai_misc.c (handle_requests): Fix struct timespec
13437 normalization.
13438 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
13439 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
13440
aea5d727
UD
134412012-03-08 Ulrich Drepper <drepper@gmail.com>
13442
13443 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
13444 be defined individually, they must be defined as a block. Define
13445 S for printing a string instead of hidint the different by using a
13446 macro for adding the 'l'.
13447 * stdio-common/tst-fphex-wide.c: Adjust.
13448
70bca0a3
MP
134492012-03-07 Marek Polacek <polacek@redhat.com>
13450
13451 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
13452
65b81130
MP
134532012-03-08 Marek Polacek <polacek@redhat.com>
13454
13455 [BZ #13806]
13456 * stdio-common/Makefile (tests): Add tst-fphex-wide.
13457 * stdio-common/tst-fphex.c: Define a few macros to make the
13458 test reusable. Use them.
13459 * stdio-common/tst-fphex-wide.c: New file.
13460
07037eeb
JM
134612012-03-08 Joseph Myers <joseph@codesourcery.com>
13462
a7a93d50
JM
13463 [BZ #6911]
13464 * manual/macros.texi (gnusystems): New macro.
13465 (nongnusystems): Likewise.
13466 (gnulinuxhurdsystems): Likewise.
13467 (gnuhurdsystems): Likewise..
13468 (gnulinuxsystems): Likewise.
13469 * manual/charset.texi: Use new macros or @theglibc{} to refer to
13470 variants of the GNU system, not "GNU system".
13471 * manual/conf.texi: Likewise.
13472 * manual/errno.texi: Likewise. Update example of errno macro
13473 expansion.
13474 * manual/filesys.texi: Likewise.
13475 (getumask): Document as specific to GNU/Hurd.
13476 * manual/install.texi: Likewise. Reword some references to
13477 GNU/Linux.
13478 * manual/intro.texi: Likewise.
13479 * manual/io.texi: Likewise.
13480 (File Name Portability): Detail which constraints are inapplicable
13481 to all GNU systems and which are only inapplicable to GNU/Hurd.
13482 * manual/job.texi: Likewise.
13483 * manual/llio.texi: Likewise.
13484 (O_NOCTTY): Document as present on GNU/Linux.
13485 * manual/maint.texi: Likewise.
13486 * manual/memory.texi: Likewise.
13487 * manual/pattern.texi: Likewise.
13488 * manual/pipe.texi: Likewise.
13489 * manual/process.texi: Likewise.
13490 * manual/resource.texi: Likewise.
13491 (RUSAGE_CHILDREN): Remove statement about specifying a particular
13492 child on GNU/Hurd.
13493 * manual/setjmp.texi: Likewise.
13494 * manual/signal.texi: Likewise.
13495 * manual/startup.texi: Likewise.
13496 * manual/stdio.texi: Likewise.
13497 * manual/terminal.texi: Likewise.
13498 (ONLCR): Document as POSIX.
13499 (OXTABS): Document availability on GNU/Linux as XTABS.
13500 (ONOEOT): Document availability separately from other bits.
13501 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
13502 * manual/time.texi: Likewise.
13503 * manual/users.texi: Likewise.
13504 * INSTALL: Regenerated.
13505 * sysdeps/gnu/errlist.c: Regenerated.
13506
07037eeb
JM
13507 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
13508 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
13509 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
13510 puts.
13511 * configure: Regenerated.
13512
d1d3431a
JM
135132012-03-07 Joseph Myers <joseph@codesourcery.com>
13514
af6a1e37
JM
13515 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
13516 default includes instead of AC_HEADER_CHECK.
13517 * sysdeps/i386/configure: Regenerated.
13518
d1d3431a
JM
13519 [BZ #10716]
13520 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
13521 * math/s_cacoshf.c (__cacoshf): Likewise.
13522 * math/s_cacoshl.c (__cacoshl): Likewise.
13523 * math/s_casinh.c (__casinh): Set signs of result from argument.
13524 * math/s_casinhf.c (__casinhf): Likewise.
13525 * math/s_casinhl.c (__casinhl): Likewise.
13526 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
13527 (casinh_test): Add more tests.
13528 * sysdeps/i386/fpu/libm-test-ulps: Update.
13529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13530
482ff4da
UD
135312012-03-07 Ulrich Drepper <drepper@gmail.com>
13532
872fda05
UD
13533 * po/zh_TW.po: Update from translation team.
13534
a4300c7a
UD
13535 * login/Makefile (distribute): Remove variable.
13536 * catgets/Makefile: Likewise.
13537 * mach/Makefile: Likewise.
13538 * malloc/Makefile: Likewise.
13539 * misc/Makefile: Likewise.
13540 * iconv/Makefile: Likewise.
13541 * nscd/Makefile: Likewise.
13542 * hurd/Makefile: Likewise.
13543 * manual/Makefile: Likewise.
13544 * locale/Makefile: Likewise.
13545 * intl/Makefile: Likewise.
13546 * conform/Makefile: Likewise.
13547 * nss/Makefile: Likewise.
13548 * time/Makefile: Likewise.
13549 * soft-fp/Makefile: Likewise.
13550 * dirent/Makefile: Likewise.
13551 * gmon/Makefile: Likewise.
13552 * po/Makefile: Likewise.
13553 * rt/Makefile: Likewise.
13554 * socket/Makefile: Likewise.
13555 * math/Makefile: Likewise.
13556 * signal/Makefile: Likewise.
13557 * debug/Makefile: Likewise.
13558 * elf/Makefile: Likewise.
13559 * timezone/Makefile: Likewise.
13560 * stdlib/Makefile: Likewise.
13561 * iconvdata/Makefile: Likewise.
13562 * sunrpc/Makefile: Likewise.
13563 * io/Makefile: Likewise.
13564 * argp/Makefile: Likewise.
13565 * inet/Makefile: Likewise.
13566 * hesiod/Makefile: Likewise.
13567 * grp/Makefile: Likewise.
13568 * csu/Makefile: Likewise.
13569 * wctype/Makefile: Likewise.
13570 * crypt/Makefile: Likewise.
13571 * libio/Makefile: Likewise.
13572 * string/Makefile: Likewise.
13573 * nis/Makefile: Likewise.
13574 * resolv/Makefile: Likewise.
13575 * stdio-common/Makefile: Likewise.
13576 * wcsmbs/Makefile: Likewise.
13577 * dlfcn/Makefile: Likewise.
13578 * posix/Makefile: Likewise.
13579
3b7c4e74 13580 [BZ #6959]
482ff4da
UD
13581 * timezone/Makefile: Don't install timezone files, just the programs
13582 and scripts.
13583
f72ed77d
UD
135842012-03-06 Ulrich Drepper <drepper@gmail.com>
13585
a000466f
UD
13586 * nss/databases.def: Add missing gshadow entry.
13587
f72ed77d
UD
13588 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
13589
a53b7a4e
MP
135902012-03-06 Marek Polacek <polacek@redhat.com>
13591
13592 [BZ #13726]
13593 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
13594 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13595 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
13596 * stdio-common/tst-long-dbl-fphex.c: New file.
13597
e9258400
DM
135982012-03-06 David S. Miller <davem@davemloft.net>
13599
13600 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13601 (set_obp_int): New function.
13602 (get_obp_int): New function.
13603 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
13604 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
13605 Avoid unused variable warnings on 'val' and use builtin_expect.
13606 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
13607 __builtin_expect.
e9258400
DM
13608 (INLINE_CLONE_SYSCALL): Likewise.
13609
3bd2c723
DM
136102012-03-05 David S. Miller <davem@davemloft.net>
13611
13612 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13613
bbb78d03
AS
136142012-03-05 Andreas Schwab <schwab@linux-m68k.org>
13615
884c5db4
AS
13616 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13617
bbb78d03
AS
13618 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
13619 only for |x| >= 40.
13620 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13621
1c9f702a 136222012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
13623
13624 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
13625 Replace gettimeofday with __vdso_gettimeofday.
13626
7be16f82
RM
13627 * sysdeps/unix/sysv/linux/x86_64/init-first.c
13628 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
13629 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
13630
13631 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
13632 time with __vdso_time.
13633
ed58a00f
JM
136342012-03-05 Joseph Myers <joseph@codesourcery.com>
13635
13636 * manual/lang.texi (size_t): Note types to which size_t may be
13637 equivalent with the GNU C Library, but do not describe when
13638 differences between them are significant.
13639
30ee4ced
AJ
136402012-03-05 Andreas Jaeger <aj@suse.de>
13641
13642 * sysdeps/i386/fpu/libm-test-ulps: Update.
13643
b7cd39e8
JM
136442012-03-05 Joseph Myers <joseph@codesourcery.com>
13645
13646 [BZ #3976]
13647 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
13648 (__ieee754_pow): Save and restore rounding mode and use
13649 round-to-nearest for main computations.
13650 * math/libm-test.inc (pow_test_tonearest): New function.
13651 (pow_test_towardzero): Likewise.
13652 (pow_test_downward): Likewise.
13653 (pow_test_upward): Likewise.
13654 (main): Call the new functions.
13655 * sysdeps/i386/fpu/libm-test-ulps: Update.
13656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
13657
13658 [BZ #3976]
13659 * math/libm-test.inc (cosh_test_tonearest): New function.
13660 (cosh_test_towardzero): Likewise.
13661 (cosh_test_downward): Likewise.
13662 (cosh_test_upward): Likewise.
13663 (sinh_test_tonearest): Likewise.
13664 (sinh_test_towardzero): Likewise.
13665 (sinh_test_downward): Likewise.
13666 (sinh_test_upward): Likewise.
13667 (main): Call the new functions.
13668 * sysdeps/i386/fpu/libm-test-ulps: Update.
13669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13670
6c6a98c9
TV
136712012-03-05 Tom de Vries <tom@codesourcery.com>
13672
13673 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
13674 default stack guard is set in last bytes.
13675 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
13676
21bb2d2e 136772012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 13678
21bb2d2e 13679 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 13680
21bb2d2e
AJ
13681 [BZ #13656]
13682 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
13683 possibly allocate from heap instead of stack.
13684 * stdio-common/bug-vfprintf-nargs.c: New file.
13685 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 13686
c6922934
AS
136872012-03-03 Andreas Schwab <schwab@linux-m68k.org>
13688
13689 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13690
bc957d53
MP
136912012-03-03 Marek Polacek <polacek@redhat.com>
13692
13693 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
13694 * math/math_private.h: Likewise.
13695 * stdlib/tst-strtod.c: Likewise.
13696 * sysdeps/i386/i486/bits/atomic.h: Likewise.
13697 * sysdeps/x86_64/bits/atomic.h: Likewise.
13698
6358490d
DM
136992012-03-02 David S. Miller <davem@davemloft.net>
13700
13701 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
13702 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
13703 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
13704 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
13705 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
13706 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
13707 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
13708 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
13709
01ae168d
RM
137102012-03-02 Roland McGrath <roland@hack.frob.com>
13711
d9a17c07
RM
13712 [BZ #13792]
13713 * manual/examples/README: New file, says the example source files
13714 can be used under GPL>=2.
13715 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
13716 line containing just "*/".
13717 * manual/examples/add.c: Add copyright header (GPL>=2).
13718 * manual/examples/argp-ex1.c: Likewise.
13719 * manual/examples/argp-ex2.c: Likewise.
13720 * manual/examples/argp-ex3.c: Likewise.
13721 * manual/examples/argp-ex4.c: Likewise.
13722 * manual/examples/atexit.c: Likewise.
13723 * manual/examples/db.c: Likewise.
13724 * manual/examples/dir.c: Likewise.
13725 * manual/examples/dir2.c: Likewise.
13726 * manual/examples/execinfo.c: Likewise.
13727 * manual/examples/filecli.c: Likewise.
13728 * manual/examples/filesrv.c: Likewise.
13729 * manual/examples/fmtmsgexpl.c: Likewise.
13730 * manual/examples/genpass.c: Likewise.
13731 * manual/examples/inetcli.c: Likewise.
13732 * manual/examples/inetsrv.c: Likewise.
13733 * manual/examples/isockad.c: Likewise.
13734 * manual/examples/longopt.c: Likewise.
13735 * manual/examples/memopen.c: Likewise.
13736 * manual/examples/memstrm.c: Likewise.
13737 * manual/examples/mkfsock.c: Likewise.
13738 * manual/examples/mkisock.c: Likewise.
13739 * manual/examples/mygetpass.c: Likewise.
13740 * manual/examples/pipe.c: Likewise.
13741 * manual/examples/popen.c: Likewise.
13742 * manual/examples/rprintf.c: Likewise.
13743 * manual/examples/search.c: Likewise.
13744 * manual/examples/select.c: Likewise.
13745 * manual/examples/setjmp.c: Likewise.
13746 * manual/examples/sigh1.c: Likewise.
13747 * manual/examples/sigusr.c: Likewise.
13748 * manual/examples/stpcpy.c: Likewise.
13749 * manual/examples/strdupa.c: Likewise.
13750 * manual/examples/strftim.c: Likewise.
13751 * manual/examples/strncat.c: Likewise.
13752 * manual/examples/subopt.c: Likewise.
13753 * manual/examples/swapcontext.c: Likewise.
13754 * manual/examples/termios.c: Likewise.
13755 * manual/examples/testopt.c: Likewise.
13756 * manual/examples/testpass.c: Likewise.
13757 * manual/examples/timeval_subtract.c: Likewise.
13758
01ae168d
RM
13759 [BZ #13792]
13760 * manual/time.texi (Elapsed Time): Move timeval_subtract example
13761 function to ...
13762 * manual/timeval_subtract.c.texi: ... here, new file.
13763
49efa33d
DM
137642012-03-02 David S. Miller <davem@davemloft.net>
13765
13766 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
13767
28afd92d
JM
137682012-03-02 Joseph Myers <joseph@codesourcery.com>
13769
804360ed
JM
13770 [BZ #3976]
13771 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
13772 (__sin): Save and restore rounding mode and use round-to-nearest
13773 for all computations.
13774 (__cos): Save and restore rounding mode and use round-to-nearest
13775 for all computations.
13776 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
13777 <fenv.h>.
13778 (tan): Save and restore rounding mode and use round-to-nearest for
13779 all computations.
13780 * math/libm-test.inc (cos_test_tonearest): New function.
13781 (cos_test_towardzero): Likewise.
13782 (cos_test_downward): Likewise.
13783 (cos_test_upward): Likewise.
13784 (sin_test_tonearest): Likewise.
13785 (sin_test_towardzero): Likewise.
13786 (sin_test_downward): Likewise.
13787 (sin_test_upward): Likewise.
13788 (tan_test_tonearest): Likewise.
13789 (tan_test_towardzero): Likewise.
13790 (tan_test_downward): Likewise.
13791 (tan_test_upward): Likewise.
13792 (main): Call the new functions.
13793 * sysdeps/i386/fpu/libm-test-ulps: Update.
13794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13795
a6d06d7b
JM
13796 [BZ #10135]
13797 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
13798 small n, then large n, before computing and testing k+n.
13799 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
13800 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
13801 Likewise.
13802 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
13803 Likewise.
13804 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
13805 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
13806 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
13807 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
13808 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13809 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13810 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
13811 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
13812 * math/libm-test.inc (scalbn_test): Add more tests.
13813 (scalbln_test): Likewise.
13814
07e12bb3
JM
13815 * manual/filesys.texi (mode_t): Describe constraints on size and
13816 signedness, not exact equivalence to a particular type.
13817 (ino_t): Likewise.
13818 (ino64_t): Likewise.
13819 (dev_t): Likewise.
13820 (nlink_t): Likewise.
13821 (blkcnt_t): Likewise.
13822 (blkcnt64_t): Likewise.
13823 * manual/llio.texi (off_t): Likewise.
13824
28afd92d
JM
13825 [BZ #3976]
13826 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
13827 (__ieee754_exp): Save and restore rounding mode and use
13828 round-to-nearest for all computations.
13829 * math/libm-test.inc (exp_test_tonearest): New function.
13830 (exp_test_towardzero): Likewise.
13831 (exp_test_downward): Likewise.
13832 (exp_test_upward): Likewise.
13833 (main): Call the new functions.
13834 * sysdeps/i386/fpu/libm-test-ulps: Update.
13835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13836
b1eeb65d
CD
138372012-03-01 Chris Demetriou <cgd@google.com>
13838
13839 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
13840 have predictable order.
13841
53362a4b
DM
138422012-03-01 David S. Miller <davem@davemloft.net>
13843
3c969083
DM
13844 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
13845
759707de
DM
13846 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
13847 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
13848 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
13849 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
13850
dfdb8ff2
DM
13851 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
13852 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
13853 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
13854 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
13855 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
13856 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
13857 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
13858 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
13859 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
13860
ead89f96
DM
13861 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13862
7f66bd07
DM
13863 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
13864 * sysdeps/sparc/fpu/libm-test-ulps: to here.
13865 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
13866
53362a4b
DM
13867 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
13868 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13869 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
13870 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
13871 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
13872 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
13873 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
13874 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13875 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
13876 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
13877 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
13878 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
13879 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13880 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
13881 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13882 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13883 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
13884 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
13885 * sysdeps/sparc/elf/configure: Regenerated.
13886
7b1902cb
JM
138872012-03-01 Joseph Myers <joseph@codesourcery.com>
13888
bec039bc
JM
13889 * configure.in (AS, LD): Require binutils 2.20 or later.
13890 * configure: Regenerated.
13891 * manual/install.texi (Tools for Compilation): Give binutils 2.20
13892 as required minimum version.
13893 * INSTALL: Regenerated.
13894
7b1902cb
JM
13895 [BZ #2541]
13896 [BZ #4108]
13897 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
13898 before squaring exponent.
13899 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
13900 bottom long double and 27 bits of top long double before squaring
13901 exponent.
13902 * math/libm-test.inc (erfc_test): Add more tests.
13903 * sysdeps/i386/fpu/libm-test-ulps: Update.
13904 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13906
f775c276
KT
139072012-03-01 Kai Tietz <ktietz@redhat.com>
13908
13909 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
13910 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
13911 containing bit-fields.
13912 * soft-fp/extended.h (_FP_UNION_E): Likewise.
13913 * soft-fp/single.h (_FP_UNION_S): Likewise.
13914 * soft-fp/double.h (_FP_UNION_D): Likewise.
13915
5b8a4d4a
JM
139162012-02-29 Joseph Myers <joseph@codesourcery.com>
13917
0bab47b6
JM
13918 [BZ #13786]
13919 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
13920 not include ../strcmp.S.
13921 [USE_AS_STRNCASECMP_L]: Likewise.
13922 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
13923 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
13924 * sysdeps/i386/i686/multiarch/strncase_l-c.c
13925 (__strncasecmp_l_ia32): Define as alias to
13926 __strncasecmp_l_nonascii.
13927
0fcad3e2
JM
13928 [BZ #5794]
13929 * math/libm-test.inc (expm1_test): Add test for bug 5794.
13930 * sysdeps/i386/fpu/libm-test-ulps: Update.
13931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13932
5b8a4d4a
JM
13933 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
13934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13935
8fdceb2e
JL
139362012-02-29 Jeff Law <law@redhat.com>
13937
13938 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
13939 out of bounds read.
13940
1f393a11
MP
139412012-02-29 Marek Polacek <polacek@redhat.com>
13942
13943 [BZ #13706]
13944 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
13945 * elf/Makefile: Add rules to run tst-unused-dep.out.
13946
8847f037
DM
139472012-02-28 David S. Miller <davem@davemloft.net>
13948
13949 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
13950 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
13951 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
13952 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
13953 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
13954 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
13955
169d7f11
JM
139562012-02-29 Joseph Myers <joseph@codesourcery.com>
13957
13958 * math/libm-test.inc (llround_test): Move one test from
13959 lround_test. Use TEST_f_L in moved test.
13960 (lround_test): Move misplaced test to llround_test. Add testcase
13961 from bug 2561.
13962
39adf059
UD
139632012-02-28 Ulrich Drepper <drepper@gmail.com>
13964
13965 * sysdeps/x86_64/fpu/e_expf.S: New file.
13966 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
13967
71b5d1c5
SB
139682012-02-28 Stanislav Brabec <sbrabec@suse.cz>
13969
13970 [BZ #13637]
13971 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
13972 of remain_len that may cause incomplete multi-byte character and
13973 false match.
13974 * posix/bug-regex33.c: New file.
13975 * posix/Makefile (tests): Add bug-regex33.
13976
1f77f049
JM
139772012-02-28 Joseph Myers <joseph@codesourcery.com>
13978
13979 * manual/macros.texi: New file.
13980 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
13981 * manual/libc.texinfo: Include macros.texi.
13982 * manual/creatute.texi: Likewise.
13983 * manual/install.texi: Likewise.
13984 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
13985 @glibcadj{} in references to the GNU C Library.
13986 * manual/charset.texi: Likewise.
13987 * manual/conf.texi: Likewise.
13988 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
13989 when not using those macros.
13990 * manual/creature.texi: Likewise.
13991 * manual/crypt.texi: Likewise.
13992 * manual/errno.texi: Likewise.
13993 * manual/filesys.texi: Likewise.
13994 * manual/header.texi: Likewise.
13995 * manual/install.texi: Likewise.
13996 * manual/intro.texi: Likewise.
13997 * manual/io.texi: Likewise.
13998 * manual/job.texi: Likewise.
13999 * manual/lang.texi: Likewise.
14000 * manual/libc.texiinfo: Likewise.
14001 * manual/llio.texi: Likewise.
14002 * manual/locale.texi: Likewise.
14003 * manual/maint.texi: Likewise.
14004 * manual/math.texi: Likewise.
14005 * manual/memory.texi: Likewise.
14006 * manual/message.texi: Likewise.
14007 * manual/nss.texi: Likewise.
14008 * manual/pattern.texi: Likewise.
14009 * manual/process.texi: Likewise.
14010 * manual/resource.texi: Likewise.
14011 * manual/search.texi: Likewise.
14012 * manual/setjmp.texi: Likewise.
14013 * manual/signal.texi: Likewise.
14014 * manual/socket.texi: Likewise.
14015 * manual/startup.texi: Likewise.
14016 * manual/stdio.texi: Likewise.
14017 * manual/string.texi: Likewise.
14018 * manual/sysinfo.texi: Likewise.
14019 * manual/syslog.texi: Likewise.
14020 * manual/terminal.texi: Likewise.
14021 * manual/time.texi: Likewise.
14022 * manual/users.texi: Likewise.
14023 * INSTALL: Regenerated.
14024 * NOTES: Regenerated.
d40c5d54 14025 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 14026
450bf206
AS
140272012-02-28 Andreas Schwab <schwab@linux-m68k.org>
14028
14029 * include/dirent.h: Include <dirstream.h> before
14030 <dirent/dirent.h>.
14031
741a235b
DM
140322012-02-28 David S. Miller <davem@davemloft.net>
14033
14034 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
14035 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
14036 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
14037 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
14038
d6b5aa58
DM
140392012-02-27 David S. Miller <davem@davemloft.net>
14040
1aff59a3
DM
14041 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
14042 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
14043 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
14044 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
14045
d6b5aa58
DM
14046 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
14047 frame pointer instead of stack pointer relative arg slot.
14048 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14049 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14050 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14051
433f48bf
CD
140522012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
14053
14054 [BZ #3992]
14055 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
14056
d674b76d
DM
140572012-02-27 David S. Miller <davem@davemloft.net>
14058
14059 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
14060 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14061 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14062 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
14063 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14064 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14065 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
14066 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
14067
0e7727f7
JM
140682012-02-27 Joseph Myers <joseph@codesourcery.com>
14069
14070 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
14071 later. Allow versions 5-9.
43be4ca2 14072 * configure: Regenerated.
0e7727f7
JM
14073 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
14074 required minimum version and 4.6 as recommended version. Do not
14075 mention bugs in GCC 2.7 and 2.8.
43be4ca2 14076 * INSTALL: Regenerated.
0e7727f7 14077
a78bc654
DM
140782012-02-27 David S. Miller <davem@davemloft.net>
14079
428d5830
DM
14080 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
14081 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
14082 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
14083 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
14084 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
14085 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
14086 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
14087 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
14088
a78bc654
DM
14089 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
14090 manipulate bits before adding and subtracting TWO112[sx].
14091 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14092
4579f81c
RM
140932012-02-27 Roland McGrath <roland@hack.frob.com>
14094
36c8acb4
RM
14095 [BZ #13775]
14096 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
14097 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
14098 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
14099 being in POSIX, because they are in 1003.1-2008.
14100
84ad622b
RM
14101 * rt/tst-aio.c: Include <fcntl.h>.
14102 * rt/tst-aio7.c: Likewise.
14103 * rt/tst-aio64.c: Likewise.
14104
4579f81c
RM
14105 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
14106
abd923db
JM
141072012-02-27 Joseph Myers <joseph@codesourcery.com>
14108
14109 * manual/install.texi (--with-headers): Describe headers as
14110 interface headers, not private headers.
14111 (Specific advice for GNU/Linux systems): Describe use of headers
14112 from "make headers_install", not private headers from older
14113 kernels.
43be4ca2 14114 * INSTALL: Regenerated.
abd923db
JM
14115 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
14116 Change to 2.6.19.
14117 * sysdeps/unix/sysv/linux/configure: Regenerated.
14118
6664049b
JM
14119 * manual/llio.texi (fclean): Remove documentation.
14120
bb8b6697
JM
14121 * manual/Makefile (libc-texi-generated): New variable. Include
14122 version.texi.
14123 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
14124 $(libc-texi-generated), not duplicated list of files.
14125 (version.texi, stamp-version): New rules.
14126 (realclean): Remove $(libc-texi-generated), not individual files
14127 from that list. Do not remove dir-add.texinfo.
14128 * manual/libc.texinfo: Comment out uses of edition numbers and
14129 references to printed manual. Remove last-updated dates.
14130 (EDITION): Comment out.
14131 (ISBN): Likewise.
14132 (VERSION, UPDATED): Remove.
14133 (version.texi): Include.
14134
12e5c3b9
AS
141352012-02-27 Andreas Schwab <schwab@linux-m68k.org>
14136
14137 * sysdeps/posix/spawni.c: Include <signal.h>.
14138 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
14139 * sysdeps/pthread/aio_fsync.c: Likewise.
14140
4efeffc1 141412012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 14142
ba63ba08
UD
14143 * conform/Makefile (tests): Run only when not cross-compiling and
14144 when fast-check is not defined.
14145
d94a4670
UD
14146 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
14147 * conform/data/limits.h-data: Fixes for POSIX2008.
14148 * conform/run-conformtest.sh: Run all tests.
14149 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
14150 headers.
14151 * include/bits/dlfcn.h: Likewise.
14152 * include/langinfo.h: Likewise.
14153 * include/monetary.h: Likewise.
14154 * include/sys/poll.h: Likewise.
14155
14156 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
14157 for __USE_GNU.
14158 * posix/spawn.h: Define __need_sigset_t.
14159 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
14160 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
14161 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
14162 to get sigevent_t only.
14163 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
14164 only for __USE_GNU.
14165 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14166 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14167 process_vm_writev only for __USE_GNU.
14168 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
14169
14170 * conform/Makefile: For now ignore errors from run-conformtest.
14171 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
14172 POSIX to avoid namespace pollution. Don't prepend headers.
14173 * conform/data/aio.h-data: Fixes for POSIX testing.
14174 * conform/data/fcntl.h-data: Likewise.
14175 * conform/data/glob.h-data: Likewise.
14176 * conform/data/grp.h-data: Likewise.
14177 * conform/data/pthread.h-data: Likewise.
14178 * conform/data/pwd.h-data: Likewise.
14179 * conform/data/signal.h-data: Likewise.
14180 * conform/data/spawn.h-data: Likewise.
14181 * conform/data/stdio.h-data: Likewise.
14182 * conform/data/stdlib.h-data: Likewise.
14183 * conform/data/stropts.h-data: Likewise.
14184 * conform/data/sys/mman.h-data: Likewise.
14185 * conform/data/sys/stat.h-data: Likewise.
14186 * conform/data/sys/types.h-data: Likewise.
14187 * conform/data/sys/wait.h-data: Likewise.
14188 * conform/data/time.h-data: Likewise.
14189 * conform/data/unistd.h-data: Likewise.
14190 * conform/data/utime.h-data: Likewise.
14191
14192 * io/sys/stat.h: fchmod was always in POSIX.
14193 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
14194 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
14195 * rt/aio.h: Define __need_timespec before including <time.h>.
14196 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
14197 struct. Add forward declaration of pthread_attr_t and use it in
14198 sigevent.
14199 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14200 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14201 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
14202 always remove CLK_TCK definition.
14203
c20105c3
AS
142042012-02-26 Andreas Schwab <schwab@linux-m68k.org>
14205
14206 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
14207
7a270350
UD
142082012-02-25 Ulrich Drepper <drepper@gmail.com>
14209
31341567
UD
14210 * conform/run-conformtest.sh: New file.
14211 * conform/Makefile: Run run-conformtest for tests.
14212 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
14213 support.
14214
14215 * conform/data/uchar.h-data: New file.
14216 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
14217 * conform/data/arpa/inet.h-data: Likewise.
14218 * conform/data/assert.h-data: Likewise.
14219 * conform/data/complex.h-data: Likewise.
14220 * conform/data/cpio.h-data: Likewise.
14221 * conform/data/ctype.h-data: Likewise.
14222 * conform/data/dirent.h-data: Likewise.
14223 * conform/data/dlfcn.h-data: Likewise.
14224 * conform/data/errno.h-data: Likewise.
14225 * conform/data/fcntl.h-data: Likewise.
14226 * conform/data/float.h-data: Likewise.
14227 * conform/data/fmtmsg.h-data: Likewise.
14228 * conform/data/fnmatch.h-data: Likewise.
14229 * conform/data/ftw.h-data: Likewise.
14230 * conform/data/glob.h-data: Likewise.
14231 * conform/data/grp.h-data: Likewise.
14232 * conform/data/iconv.h-data: Likewise.
14233 * conform/data/inttypes.h-data: Likewise.
14234 * conform/data/langinfo.h-data: Likewise.
14235 * conform/data/libgen.h-data: Likewise.
14236 * conform/data/limits.h-data: Likewise.
14237 * conform/data/locale.h-data: Likewise.
14238 * conform/data/math.h-data: Likewise.
14239 * conform/data/monetary.h-data: Likewise.
14240 * conform/data/mqueue.h-data: Likewise.
14241 * conform/data/ndbm.h-data: Likewise.
14242 * conform/data/net/if.h-data: Likewise.
14243 * conform/data/netdb.h-data: Likewise.
14244 * conform/data/netinet/in.h-data: Likewise.
14245 * conform/data/nl_types.h-data: Likewise.
14246 * conform/data/poll.h-data: Likewise.
14247 * conform/data/pthread.h-data: Likewise.
14248 * conform/data/pwd.h-data: Likewise.
14249 * conform/data/regex.h-data: Likewise.
14250 * conform/data/sched.h-data: Likewise.
14251 * conform/data/search.h-data: Likewise.
14252 * conform/data/semaphore.h-data: Likewise.
14253 * conform/data/setjmp.h-data: Likewise.
14254 * conform/data/signal.h-data: Likewise.
14255 * conform/data/spawn.h-data: Likewise.
14256 * conform/data/stdarg.h-data: Likewise.
14257 * conform/data/stdio.h-data: Likewise.
14258 * conform/data/stdlib.h-data: Likewise.
14259 * conform/data/string.h-data: Likewise.
14260 * conform/data/strings.h-data: Likewise.
14261 * conform/data/stropts.h-data: Likewise.
14262 * conform/data/sys/ipc.h-data: Likewise.
14263 * conform/data/sys/mman.h-data: Likewise.
14264 * conform/data/sys/msg.h-data: Likewise.
14265 * conform/data/sys/resource.h-data: Likewise.
14266 * conform/data/sys/select.h-data: Likewise.
14267 * conform/data/sys/sem.h-data: Likewise.
14268 * conform/data/sys/shm.h-data: Likewise.
14269 * conform/data/sys/socket.h-data: Likewise.
14270 * conform/data/sys/stat.h-data: Likewise.
14271 * conform/data/sys/statvfs.h-data: Likewise.
14272 * conform/data/sys/time.h-data: Likewise.
14273 * conform/data/sys/timeb.h-data: Likewise.
14274 * conform/data/sys/times.h-data: Likewise.
14275 * conform/data/sys/types.h-data: Likewise.
14276 * conform/data/sys/uio.h-data: Likewise.
14277 * conform/data/sys/un.h-data: Likewise.
14278 * conform/data/sys/utsname.h-data: Likewise.
14279 * conform/data/sys/wait.h-data: Likewise.
14280 * conform/data/syslog.h-data: Likewise.
14281 * conform/data/tar.h-data: Likewise.
14282 * conform/data/termios.h-data: Likewise.
14283 * conform/data/utime.h-data: Likewise.
14284 * conform/data/utmpx.h-data: Likewise.
14285 * conform/data/varargs.h-data: Likewise.
14286 * conform/data/wchar.h-data: Likewise.
14287 * conform/data/wctype.h-data: Likewise.
14288 * conform/data/wordexp.h-data: Likewise.
14289
14290 * include/stropts.h: New file.
14291 * include/uchar.h: New file.
14292 * include/aio.h: Changes to allow conformtest.pl to use the headers.
14293 * include/assert.h: Likewise.
14294 * include/ctype.h: Likewise.
14295 * include/dirent.h: Likewise.
14296 * include/dlfcn.h: Likewise.
14297 * include/fcntl.h: Likewise.
14298 * include/fnmatch.h: Likewise.
14299 * include/glob.h: Likewise.
14300 * include/grp.h: Likewise.
14301 * include/libio.h: Likewise.
14302 * include/locale.h: Likewise.
14303 * include/math.h: Likewise.
14304 * include/net/if.h: Likewise.
14305 * include/netdb.h: Likewise.
14306 * include/netinet/in.h: Likewise.
14307 * include/pthread.h: Likewise.
14308 * include/pwd.h: Likewise.
14309 * include/regex.h: Likewise.
14310 * include/sched.h: Likewise.
14311 * include/search.h: Likewise.
14312 * include/setjmp.h: Likewise.
14313 * include/signal.h: Likewise.
14314 * include/stdio.h: Likewise.
14315 * include/stdlib.h: Likewise.
14316 * include/string.h: Likewise.
14317 * include/sys/cdefs.h: Likewise.
14318 * include/sys/mman.h: Likewise.
14319 * include/sys/msg.h: Likewise.
14320 * include/sys/resource.h: Likewise.
14321 * include/sys/select.h: Likewise.
14322 * include/sys/socket.h: Likewise.
14323 * include/sys/stat.h: Likewise.
14324 * include/sys/statvfs.h: Likewise.
14325 * include/sys/time.h: Likewise.
14326 * include/sys/times.h: Likewise.
14327 * include/sys/uio.h: Likewise.
14328 * include/sys/utsname.h: Likewise.
14329 * include/sys/wait.h: Likewise.
14330 * include/termios.h: Likewise.
14331 * include/time.h: Likewise.
14332 * include/ulimit.h: Likewise.
14333 * include/unistd.h: Likewise.
14334 * include/utime.h: Likewise.
14335 * include/wchar.h: Likewise.
14336 * include/wctype.h: Likewise.
14337 * include/wordexp.h: Likewise.
14338
14339 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
14340
7a270350
UD
14341 * time/time.h: TIME_UTC must be a macro.
14342 Make timespec_get available for ISO C11 only as well.
14343
7724defc
UD
143442012-02-24 Ulrich Drepper <drepper@gmail.com>
14345
14346 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
14347 Reported by Peng Haitao <penght@cn.fujitsu.com>.
14348
6b1d1d46
JM
143492012-02-24 Joseph Myers <joseph@codesourcery.com>
14350
14351 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 14352
0f8bbd69
JM
143532012-02-24 Joseph Myers <joseph@codesourcery.com>
14354
14355 * manual/texinfo.tex: Update to version 2012-01-19.16.
14356
66ab80bc
JM
143572012-02-24 Joseph Myers <joseph@codesourcery.com>
14358
14359 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
14360
74981cc5
RM
143612012-02-24 Roland McGrath <roland@hack.frob.com>
14362
ee968201
RM
14363 [BZ #13738]
14364 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
14365 * manual/fdl-1.3.texi: New file.
14366 * manual/fdl-1.1.texi: File removed.
14367
74981cc5
RM
14368 [BZ #13738]
14369 * manual/libc.texinfo (FDL_VERSION): New @set.
14370 Use it for mention of FDL in cover text.
14371 (Documentation License): Use it in @include file name.
14372
7bb764bc
JM
143732012-02-22 Joseph Myers <joseph@codesourcery.com>
14374 Roland McGrath <roland@hack.frob.com>
14375
14376 [BZ #5461]
14377 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
14378 not LONG_LONG_MAX and LONG_LONG_MIN.
14379 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
14380 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
14381 name.
14382 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
14383
6cbeae47
JM
143842012-02-22 Joseph Myers <joseph@codesourcery.com>
14385
14386 [BZ #2547]
14387 [BZ #11365]
14388 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
14389 manipulate bits before adding and subtracting TWO23[sx].
14390 * math/libm-test.inc (nearbyint_test): Add more tests.
14391
fe45ce09
JM
143922012-02-22 Joseph Myers <joseph@codesourcery.com>
14393
14394 [BZ #2548]
14395 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
14396 bits before adding and subtracting TWO23[sx].
14397 * math/libm-test.inc (rint_test): Add more tests.
14398 (rint_test_tonearest): Likewise.
14399 (rint_test_towardzero): Likewise.
14400 (rint_test_downward): Likewise.
14401 (rint_test_upward: Likewise.
14402
ff3b3d82
JM
144032012-02-22 Joseph Myers <joseph@codesourcery.com>
14404
14405 [BZ #10110]
14406 * include/stdc-predef.h: New file. Extracted from features.h.
14407 * include/features.h: Include stdc-predef.h.
14408 * Makefile (headers): Add stdc-predef.h.
14409 * CONFORMANCE (Compiler limitations): Update.
14410
ef0aab35
JM
144112012-02-22 Joseph Myers <joseph@codesourcery.com>
14412
14413 * manual/libc.texinfo (VERSION, UPDATED): Revert.
14414
58639409
DM
144152012-02-21 David S. Miller <davem@davemloft.net>
14416
14417 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
14418 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14419
c0e70b25
DM
144202012-02-20 David S. Miller <davem@davemloft.net>
14421
14422 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
14423 using a normal save/restore sequence, rather than allocating a
14424 dummy stack frame just to store a frame pointer and restore.
14425 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14426
fb06851d
JM
144272012-02-21 Joseph Myers <joseph@codesourcery.com>
14428
14429 * manual/install.texi: Fix stray word in line-wrapped comment.
14430
7a8b71c3
DM
144312012-02-20 David S. Miller <davem@davemloft.net>
14432
d510c123
DM
14433 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
14434 both binutils and gcc support GOTDATA.
14435
0722d7c2
DM
14436 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
14437 "rd %pc" in the PIC register setup sequences.
14438
3d2b3019
DM
14439 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
14440 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
14441 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14442 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
14443 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14444 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
14445 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14446 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14447 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
14448 (SYSCALL_ERROR_HANDLER): Likewise.
14449 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14450 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14451 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
14452 (SYSCALL_ERROR_HANDLER): Likewise.
14453
c80098a9
DM
14454 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
14455 (HAVE_GCC_GOTDATA): New.
14456 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
14457 relocation support in both binutils and gcc.
14458 * sysdeps/sparc/elf/configure: Regenerate.
14459
3a2545a0
DM
14460 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
14461 * sysdeps/sparc/sparc32/elf/configure: Delete.
14462 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
14463 * sysdeps/sparc/sparc64/elf/configure: Delete.
14464 * sysdeps/sparc/elf/configure.in: New file.
14465 * sysdeps/sparc/elf/configure: Generate.
14466
7a8b71c3
DM
14467 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
14468 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
14469 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14470 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
14471 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
14472
f1e86fca
JM
144732012-02-21 Joseph Myers <joseph@codesourcery.com>
14474
14475 * manual/install.texi: Do not mention specific glibc version
14476 numbers.
14477 * manual/libc.texinfo (VERSION, UPDATED): Update.
14478 (@copying): Use @copyright{} and range of years.
14479
0e7dfaef
JM
144802012-02-21 Joseph Myers <joseph@codesourcery.com>
14481
14482 [BZ #13695]
14483 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
14484 [crti.S not in sysdirs] (generated): Do not append.
14485 [crti.S not in sysdirs] (omit-deps): Likewise.
14486 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
14487 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
14488 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
14489 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
14490 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
14491 Likewise.
14492 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
14493 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
14494 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
14495 * csu/defs.awk: Remove file.
14496 * sysdeps/generic/initfini.c: Likewise.
14497 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
14498 variable.
14499 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
14500 Likewise.
14501
599af3ca
JM
145022012-02-20 Joseph Myers <joseph@codesourcery.com>
14503
14504 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
14505 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
14506 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
14507 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
14508 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14509 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
14510 <bits/epoll.h>.
14511 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
14512 (__EPOLL_PACKED): Define to empty if not defined by
14513 <bits/epoll.h>.
14514 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
14515 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14516 bits/epoll.h.
14517
0e499750
JM
145182012-02-20 Joseph Myers <joseph@codesourcery.com>
14519
14520 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
14521 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
14522 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
14523 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
14524 <bits/timerfd.h>.
14525 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
14526 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14527 bits/timerfd.h.
14528
5ad91f6e
JM
145292012-02-20 Joseph Myers <joseph@codesourcery.com>
14530
14531 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
14532 in C locale.
14533 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14534 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14535 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
14536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14537
06b99b02
AJ
145382012-02-20 Aurelien Jarno <aurelien@aurel32.net>
14539
14540 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14541 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14542
7638c0fd
AS
145432012-02-19 Andreas Schwab <schwab@linux-m68k.org>
14544
14545 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
14546 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
14547 defined.
14548 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
14549 Likewise.
14550 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
14551 entry for 2.16.
14552
92221550
AJ
145532012-02-19 Aurelien Jarno <aurelien@aurel32.net>
14554
14555 * math/w_acos.c: Use non-signaling floating-point comparisons.
14556 * math/w_acosf.c: Likewise.
14557 * math/w_acosh.c: Likewise.
14558 * math/w_acoshf.c: Likewise.
14559 * math/w_acoshl.c: Likewise.
14560 * math/w_acosl.c: Likewise.
14561 * math/w_asin.c: Likewise.
14562 * math/w_asinf.c: Likewise.
14563 * math/w_asinl.c: Likewise.
14564 * math/w_atanh.c: Likewise.
14565 * math/w_atanhf.c: Likewise.
14566 * math/w_atanhl.c: Likewise.
14567 * math/w_exp2.c: Likewise.
14568 * math/w_exp2f.c: Likewise.
14569 * math/w_exp2l.c: Likewise.
14570 * math/w_j0.c: Likewise.
14571 * math/w_j0f.c: Likewise.
14572 * math/w_j0l.c: Likewise.
14573 * math/w_j1.c: Likewise.
14574 * math/w_j1f.c: Likewise.
14575 * math/w_j1l.c: Likewise.
14576 * math/w_jn.c: Likewise.
14577 * math/w_jnf.c: Likewise.
14578 * math/w_log.c: Likewise.
14579 * math/w_log10.c: Likewise.
14580 * math/w_log10f.c: Likewise.
14581 * math/w_log10l.c: Likewise.
14582 * math/w_log2.c: Likewise.
14583 * math/w_log2f.c: Likewise.
14584 * math/w_log2l.c: Likewise.
14585 * math/w_logf.c: Likewise.
14586 * math/w_logl.c: Likewise.
14587 * math/w_sqrt.c: Likewise.
14588 * math/w_sqrtf.c: Likewise.
14589 * math/w_sqrtl.c: Likewise.
14590 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14591 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
14592 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14593 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14594 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14595
ebaf36eb
JM
145962012-02-19 Joseph Myers <joseph@codesourcery.com>
14597
14598 [BZ #9739]
14599 * manual/string.texi (strnlen): Use correct parameter name in
14600 equivalent expression.
14601
71c254a6
JM
146022012-02-19 Joseph Myers <joseph@codesourcery.com>
14603
14604 [BZ #11174]
14605 * manual/users.texi (seteuid): Consistently use neweuid for
14606 argument name.
14607
16d2c631
JM
146082012-02-19 Joseph Myers <joseph@codesourcery.com>
14609
14610 [BZ #13704]
14611 * manual/nss.texi (Services in the NSS configuration): Correct
14612 list of services in example configuration file.
14613
cd837b09
NB
146142012-02-19 Nick Bowler <nbowler@draconx.ca>
14615
14616 [BZ #11322]
14617 * manual/arith.texi: Remove statements about negative zero
14618 behaving identically to zero.
14619
02c4bbad
JM
146202012-02-18 Joseph Myers <joseph@codesourcery.com>
14621
14622 [BZ #5993]
14623 * manual/install.texi: Do not document upgrading from libc5.
14624
366842e7
JM
146252012-02-18 Joseph Myers <joseph@codesourcery.com>
14626
14627 [BZ #4596]
14628 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
14629
dd54084d
DM
146302012-02-18 David S. Miller <davem@davemloft.net>
14631
14632 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
14633 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
14634 %o7 across the call.
14635 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
14636 instead.
14637 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
14638 SETUP_PIC_REG_LEAF.
14639 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14640 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
14641 * sysdeps/sparc/crtn.S: Likewise.
14642
2bcc53a3
UD
146432012-02-17 Ulrich Drepper <drepper@gmail.com>
14644
14645 * aout/Makefile: Remove.
14646
09c093b5
RK
146472012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
14648
14649 [BZ #13058]
14650 * manual/examples/argp-ex1.c (main): Format definition in GNU
14651 style.
14652 * manual/examples/argp-ex2.c (main): Likewise.
14653 * manual/examples/argp-ex3.c (main): Likewise.
14654 * manual/examples/argp-ex4.c (main): Likewise.
14655 * manual/examples/longopt.c (main): Use new-style prototype
14656 definition.
14657 * manual/examples/strncat.c (main): Specify return type and use
14658 (void) for arguments.
14659 * manual/examples/subopt.c (main): Use char **argv argument.
14660
2ee633a2
JM
146612012-02-17 Joseph Myers <joseph@codesourcery.com>
14662
14663 [BZ #5077]
14664 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
14665 rounding modes.
14666
0520adde
FB
146672012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
14668
14669 [BZ #6907]
14670 * manual/string.texi (strchr): Change when strchrnul is
14671 recommended.
14672
3f4081cd
DGM
146732012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
14674
14675 [BZ #174]
14676 * manual/locale.texi (setlocale): Document LOCPATH.
14677
d1b10e78
JM
146782012-02-17 Joseph Myers <joseph@codesourcery.com>
14679
14680 [BZ #10210]
14681 * manual/process.texi (execle): Move @dots{} before last argument.
14682
79c6869c
PB
146832012-02-17 Paul Bolle <pebolle@tiscali.nl>
14684
14685 [BZ #12047]
14686 * manual/charset.texi (Generic Charset Conversion): Fix typo
14687 (LC_TYPE -> LC_CTYPE).
14688
cc6e48bc
NB
146892012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
14690
14691 [BZ #5805]
14692 * manual/arith.texi (scalbn): Use @var{} on parameter names.
14693 (scalbnf): Likewise.
14694 (scalbnl): Likewise.
14695 (scalbln): Likewise.
14696 (scalblnf): Likewise.
14697 (scalblnl): Likewise.
14698 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
14699 (vwarnx): Likewise.
14700 (verr): Likewise.
14701 (verrx): Likewise.
14702 * manual/filesys.texi (telldir): Use braces around return type.
14703 * manual/llio.texi (mmap): Add space after comma.
14704 (mmap64): Likewise.
14705 * manual/math.texi (jn): Use @var{} on parameter names.
14706 (jnf): Likewise.
14707 (jnl): Likewise.
14708 (yn): Likewise.
14709 (ynf): Likewise.
14710 (ynl): Likewise.
14711 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
14712 line.
14713 * manual/resource.texi (ulimit): Use @dots{} instead of literal
14714 "...".
14715 (sched_get_priority_min): Remove semicolon on @deftypefun line.
14716 (sched_get_priority_max): Likewise.
14717 * manual/signal.texi (sigvec): Add space after comma.
14718 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
14719 names.
14720 (if_indextoname): Likewise.
14721 (if_freenameindex): Likewise.
14722 (sendto): Use ',' instead of '.' in prototype.
14723 * manual/startup.texi (syscall): Use @dots{} instead of literal
14724 "...".
14725 * manual/stdio.texi (__fpending): Separate initial words of
14726 paragraph from @deftypefun line.
14727 * manual/syslog.texi (syslog): Use @dots{} instead of literal
14728 "...".
14729 (vsyslog): Use @var{} on parameter names.
14730 * manual/terminal.texi (stty): Use @var{} on parameter names.
14731 * manual/users.texi (getutmp): Use @var{} on parameter names.
14732 (getutmpx): Likewise.
14733
5b23062f
JM
147342012-02-17 Joseph Myers <joseph@codesourcery.com>
14735
14736 [BZ #6884]
14737 * manual/stdio.texi (fopen): Fix typos in description of
14738 ",ccs=STRING".
14739
8dee4833
AJ
147402012-02-17 Aurelien Jarno <aurelien@aurel32.net>
14741
14742 [BZ #4026]
14743 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
14744 get clock_id definition.
14745
9078ce93
TS
147462012-02-17 Thomas Schwinge <thomas@schwinge.name>
14747
14748 [BZ #4822]
14749 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
14750 (madvise): Cast every argument to void on its own.
14751
3835c55f
JM
147522012-02-17 Joseph Myers <joseph@codesourcery.com>
14753
14754 [BZ #9902]
14755 * manual/startup.texi (Exit Status): Fix typo.
14756
35c47e37
JM
147572012-02-17 Joseph Myers <joseph@codesourcery.com>
14758
14759 [BZ #10140]
14760 * manual/examples/argp-ex1.c: Include <stdlib.h>.
14761 * manual/examples/argp-ex2.c: Likewise.
14762 * manual/examples/argp-ex3.c: Likewise.
14763
e3b69ca7
RH
147642012-02-16 Richard Henderson <rth@redhat.com>
14765
14766 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
14767 * sysdeps/s390/s390-32/initfini.c: Remove.
14768 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
14769 * sysdeps/s390/s390-64/initfini.c: Remove.
14770
df83af67
KK
147712012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14772
14773 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
14774 compiler output for sysdeps/generic/initfini.c.
14775 * sysdeps/sh/elf/initfini.c: Remove file.
14776
f63f3380
DM
147772012-02-16 David S. Miller <davem@davemloft.net>
14778
fb59b3a4
DM
14779 [BZ #11494]
14780 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
14781
f63f3380
DM
14782 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
14783 * sysdeps/sparc/crti.S: New file.
14784 * sysdeps/sparc/crtn.S: New file.
14785 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
14786 * sysdeps/sparc/sparc64/Makefile: Likewise.
14787
df6a4a4a
MF
147882012-02-15 Mike Frysinger <vapier@gentoo.org>
14789
6dd8f3dc 14790 [BZ #3335]
df6a4a4a
MF
14791 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
14792
1cac7236
RM
147932012-02-15 Roland McGrath <roland@hack.frob.com>
14794
d2c736f8
RM
14795 [BZ #4822]
14796 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
14797
1cac7236
RM
14798 * mach/devstream.c (cookie_io_functions_t): Macro removed.
14799 (write, read, close): Likewise.
14800 Patch by Aurelien Jarno <aurelien@aurel32.net>.
14801
8e475601
JM
148022012-02-15 Joseph Myers <joseph@codesourcery.com>
14803
14804 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
14805 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
14806 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
14807 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
14808 <bits/signalfd.h>.
14809 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
14810 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14811 bits/signalfd.h.
14812
ed656b40
MP
148132012-02-14 Marek Polacek <polacek@redhat.com>
14814
14815 * sysdeps/x86_64/crti.S: New file.
14816 * sysdeps/x86_64/crtn.S: New file.
14817 * sysdeps/x86_64/elf/initfini.c: Remove file.
14818
2a979d3a
JM
148192012-02-13 Joseph Myers <joseph@codesourcery.com>
14820
14821 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
14822 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
14823 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
14824 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
14825 <bits/inotify.h>.
14826 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
14827 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14828 bits/inotify.h.
14829
2a418ac3
JM
148302012-02-13 Joseph Myers <joseph@codesourcery.com>
14831
14832 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
14833 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
14834 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
14835 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
14836 <bits/eventfd.h>.
14837 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
14838 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14839 bits/eventfd.h.
14840
fb779be7
TS
148412012-02-10 Thomas Schwinge <thomas@codesourcery.com>
14842
e19e83c5
RM
14843 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
14844 __feraiseexcept instead of feraiseexcept.
7c35ffed 14845
fb779be7
TS
14846 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
14847 nanosleep invocations.
14848 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
14849 strings, and add error checking for a nanosleep invocations.
14850
59ba27a6
PE
148512012-02-09 Paul Eggert <eggert@cs.ucla.edu>
14852
14853 Replace FSF snail mail address with URLs, as per GNU coding standards.
14854 Most of the snail mail addresses were wrong anyway, and omitting
14855 them makes the source code easier to maintain. Almost all of the
14856 changes are to license notices and to locale LC_IDENTIFICATION
14857 addresses, except for this one:
14858 * manual/libc.texinfo: In "Published by", give the FSF's URL,
14859 not its snail mail address.
14860
57b957eb
RH
148612012-02-09 Richard Henderson <rth@twiddle.net>
14862
af850b1c
RH
14863 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
14864 of kernel-features.h.
14865
57b957eb
RH
14866 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
14867
6b73181a
MP
148682012-02-08 Marek Polacek <polacek@redhat.com>
14869
14870 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
14871 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
14872 * sysdeps/gnu/_G_config.h: Likewise.
14873 * sysdeps/generic/_G_config.h: Likewise.
14874
26ecc33a
AS
148752012-02-08 Andreas Schwab <schwab@linux-m68k.org>
14876
6c6dbc63
AS
14877 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
14878 tests.
14879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14880
e216c012
AS
14881 * sysdeps/powerpc/powerpc32/crti.S: New file.
14882 * sysdeps/powerpc/powerpc32/crtn.S: New file.
14883 * sysdeps/powerpc/powerpc64/crti.S: New file.
14884 * sysdeps/powerpc/powerpc64/crtn.S: New file.
14885
26ecc33a
AS
14886 * Makeconfig (have-initfini): Don't set.
14887 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
14888 * configure.in (nopic_initfini): Don't substitute.
14889 * config.h.in (HAVE_INITFINI): Don't #undef.
14890 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
14891 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
14892
3add8e13
JM
148932012-02-08 Joseph Myers <joseph@codesourcery.com>
14894
14895 Support crti.S and crtn.S provided directly by architectures.
14896 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
14897 [crti.S in sysdirs] (omit-deps): Likewise.
14898 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
14899 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
14900 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
14901 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
14902 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
14903 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
14904 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
14905 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
14906 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
14907 compiler output for sysdeps/generic/initfini.c.
14908 * sysdeps/i386/elf/Makefile: Remove file.
14909 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
14910
a22f12b4
MP
149112012-02-07 Marek Polacek <polacek@redhat.com>
14912
14913 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
14914 * sysdeps/gnu/_G_config.h: Likewise.
14915 * sysdeps/mach/hurd/_G_config.h: Likewise.
14916
148cf100
MP
149172012-02-07 Marek Polacek <polacek@redhat.com>
14918
14919 * math/Makefile (tests): Add tst-CMPLX2.
14920 * math/tst-CMPLX2.c: New file.
14921
cfdc0dd7
AS
149222012-02-07 Andreas Schwab <schwab@linux-m68k.org>
14923
84ba42c4
AS
14924 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14925
cfdc0dd7
AS
14926 * math/libm-test.inc (jn_test): Add missing L suffix.
14927
622c86f4
MP
149282012-02-06 Marek Polacek <polacek@redhat.com>
14929
14930 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
14931 * sysdeps/i386/fpu/e_powf.S: Likewise.
14932 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14933 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
14934 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14935 * sysdeps/i386/fpu/e_pow.S: Likewise.
14936 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
14937 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14938 * sysdeps/i386/fpu/s_expm1.S: Likewise.
14939 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
14940 * sysdeps/i386/fpu/e_log2.S: Likewise.
14941 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14942 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14943 * sysdeps/i386/fpu/e_powl.S: Likewise.
14944 * sysdeps/i386/fpu/s_log1p.S: Likewise.
14945 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14946 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
14947 * sysdeps/i386/fpu/e_logl.S: Likewise.
14948 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
14949 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
14950 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
14951 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
14952 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14953 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14954 * sysdeps/i386/fpu/e_log.S: Likewise.
14955 * sysdeps/i386/fpu/s_cexp.S: Likewise.
14956 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14957 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
14958 * sysdeps/i386/fpu/e_logf.S: Likewise.
14959 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14960 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14961 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
14962 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
14963 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
14964 * sysdeps/i386/fpu/e_log10.S: Likewise.
14965 * sysdeps/i386/fpu/s_frexp.S: Likewise.
14966 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14967 * sysdeps/i386/fpu/s_asinh.S: Likewise.
14968 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
14969 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14970 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
14971 * sysdeps/i386/asm-syntax.h: Likewise.
14972 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14973 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14974 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14975 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
14976 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
14977 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14978 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
14979 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
14980 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14981 * sysdeps/powerpc/sysdep.h: Likewise.
14982 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
14983 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14984
d4a54ac6
JM
149852012-02-06 Joseph Myers <joseph@codesourcery.com>
14986
14987 [BZ #411]
14988 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
14989
314054ea
JM
149902012-02-06 Joseph Myers <joseph@codesourcery.com>
14991
14992 * sysdeps/i386/sysdep.h: Include <features.h>.
14993 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
14994 version.
14995
d8e0ca50
JM
149962012-02-05 Joseph Myers <joseph@codesourcery.com>
14997
14998 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
14999 Define.
15000 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
15001 LOAD_PIC_REG_STR.
15002
b1da7dd9
JM
150032012-02-03 Joseph Myers <joseph@codesourcery.com>
15004
15005 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
15006 (SETUP_PIC_REG): Use GET_PC_THUNK.
15007 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
15008 macro.
15009
9a1d9254
JM
150102012-02-03 Joseph Myers <joseph@codesourcery.com>
15011
15012 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
15013 for non-PIC compilation.
15014 (SETUP_PIC_REG): Add .p2align directive.
15015 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
15016 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
15017 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15018 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15019 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15020 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15021 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
15022 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15023 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15024 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15025 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15026 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15027 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15028 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15029 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15030 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15031 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15032 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15033 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15034 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15035 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15036 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15037 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15038 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15039 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15040 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15041 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15042 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15043 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15044 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15045 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15046 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15047 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15048 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15049 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15050 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15051 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15052 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15053 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15054 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15055 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15056
65dc3b75
JM
150572012-02-03 Joseph Myers <joseph@codesourcery.com>
15058
15059 * math/tst-CMPLX.c: Include <stdio.h>.
15060
d55bf177
JM
150612012-01-31 Joseph Myers <joseph@codesourcery.com>
15062
15063 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
15064 float.
15065 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15066 * sysdeps/sparc/bits/mathdef.h: Likewise.
15067
69db4f8f
MP
150682012-01-31 Marek Polacek <polacek@redhat.com>
15069
15070 * libio/libio.h: Don't define _PARAMS.
15071 * locale/programs/config.h: Don't define PARAMS.
15072 * stdlib/strtol_l.c: Likewise.
15073 (__strtol_l): Remove PARAMS from the prototype.
15074
41b81892
UD
150752012-01-31 Ulrich Drepper <drepper@gmail.com>
15076
3b49edc0
UD
15077 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
15078 names. Just use the correct names. Remove unnecessary wrapper
15079 functions.
15080 * malloc/arena.c: Likewise.
15081 * malloc/hooks.c: Likewise.
15082
41b81892
UD
15083 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
15084 ARENA_TEST says not to. Simplify test for creation of a new arena.
15085 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
15086
27a25b6e
UD
150872012-01-30 Ulrich Drepper <drepper@gmail.com>
15088
15089 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
15090 into tail calls.
15091 (update_get_addr): New function.
15092 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
15093 GET_ADDR_MODULE parameter.
15094
c8a89e7d
JM
150952012-01-30 Joseph Myers <joseph@codesourcery.com>
15096
15097 * crypt/cert.c: Remove __STDC__ conditionals.
15098 * crypt/crypt-entry.c: Likewise.
15099 * crypt/crypt_util.c: Likewise.
15100 * libio/filedoalloc.c: Likewise.
15101 * libio/fileops.c: Likewise.
15102 * libio/genops.c: Likewise.
15103 * libio/iofclose.c: Likewise.
15104 * libio/iofdopen.c: Likewise.
15105 * libio/iofopen.c: Likewise.
15106 * libio/iofopen64.c: Likewise.
15107 * libio/iogetdelim.c: Likewise.
15108 * libio/iopopen.c: Likewise.
15109 * libio/obprintf.c: Likewise.
15110 * libio/oldfileops.c: Likewise.
15111 * libio/oldiofclose.c: Likewise.
15112 * libio/oldiofdopen.c: Likewise.
15113 * libio/oldiofopen.c: Likewise.
15114 * libio/oldiopopen.c: Likewise.
15115 * libio/wfiledoalloc.c: Likewise.
15116 * libio/wgenops.c: Likewise.
15117 * locale/programs/xmalloc.c: Likewise.
15118 * misc/syslog.c: Likewise.
15119 * stdio-common/xbug.c: Likewise.
15120 * string/memchr.c: Likewise.
15121 * string/memcmp.c: Likewise.
15122 * string/memrchr.c: Likewise.
15123 * string/rawmemchr.c: Likewise.
15124 * sysdeps/posix/getcwd.c: Likewise.
15125 * time/strftime_l.c: Likewise.
15126
3b100462
JM
151272012-01-30 Joseph Myers <joseph@codesourcery.com>
15128
15129 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
15130 * config.make.in (config-cflags-sse2avx): Define.
15131 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
15132 Fix typo.
15133
607998af
CM
151342012-01-29 Chris Metcalf <cmetcalf@tilera.com>
15135
15136 * scripts/config.guess: Update from upstream config git repository.
15137 * scripts/config.sub: Likewise.
15138
3601428f
CM
151392012-01-28 Chris Metcalf <cmetcalf@tilera.com>
15140
3ac8b282
CM
15141 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
15142 (EM_NUM): Update.
15143 (R_TILEPRO_*, R_TILEGX_*): New macros.
15144
e034841e
CM
15145 * scripts/firstversions.awk: Fix bug in version range handling.
15146
540d7568
CM
15147 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
15148
3601428f
CM
15149 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
15150
463de862
CM
15151 * include/sys/epoll.h: New file.
15152 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
15153 libc_hidden_def.
15154
73139a76
UD
151552012-01-28 Ulrich Drepper <drepper@gmail.com>
15156
96bc5b45
UD
15157 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
15158 Avoid unnecessary __WORDSIZE == 64 test.
15159 (fmaxf): Use VEX format if possible.
15160 (fmax): Likewise.
15161 (fminf): Likewise.
15162 (fmin): Likewise.
15163
56f6f6a2
UD
15164 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
15165 * math/math_private.h: Remove libc_fegetround* and
15166 libc_fesetround*.
15167 * sysdeps/i386/configure.in: Check for -msse2avx.
15168 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
15169 also if SSE2AVX is defined.
15170 Remove libc_fegetround* and libc_fesetround*.
15171 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
15172 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
15173 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
15174 of HAS_YMM_USABLE.
15175 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15176 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15177 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15178 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15179 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15180
73139a76
UD
15181 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
15182
d73f93a4
AZ
151832012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15184
15185 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
15186 size is not set.
15187 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15188
6ee65ed6
UD
151892012-01-27 Ulrich Drepper <drepper@gmail.com>
15190
15191 [BZ #13618]
15192 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
15193 relocation.
15194 * Makeconfig (libm): Define.
15195 * elf/Makefile: Add rules to build and run tst-relsort1.
15196 * elf/tst-relsort1.c: New file.
15197 * elf/tst-relsort1mod1.c: New file.
15198 * elf/tst-relsort1mod2.c: New file.
15199
8db21882
JM
152002012-01-27 Joseph Myers <joseph@codesourcery.com>
15201
15202 * math/s_ldexp.c: Remove __STDC__ conditionals.
15203 * math/s_ldexpf.c: Likewise.
15204 * math/s_ldexpl.c: Likewise.
15205 * math/s_nextafter.c: Likewise.
15206 * math/s_nexttowardf.c: Likewise.
15207 * math/s_significand.c: Likewise.
15208 * math/s_significandf.c: Likewise.
15209 * math/s_significandl.c: Likewise.
15210 * math/w_jnl.c: Likewise.
15211 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
15212 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15213 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15214 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15215 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15216 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15217 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
15218 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15219 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15220 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15221 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15222 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15223 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15224 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15225 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15226 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15227 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15228 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15229 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15230 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15231 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15232 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15233 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15234 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15235 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15236 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15237 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15238 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15239 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
15240 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15241 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15242 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
15243 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15244 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
15245 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
15246 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15247 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15248 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
15249 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
15250 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15251 * sysdeps/ieee754/k_standard.c: Likewise.
15252 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15253 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15254 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15255 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15256 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15257 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15258 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15259 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15260 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15261 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15262 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15263 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
15264 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15265 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15266 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15267 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15268 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15269 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15270 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15271 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15272 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15273 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15274 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15275 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15276 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15277 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15278 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15279 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15280 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15281 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15282 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15283 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
15284 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15285 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
15286 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15287 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
15288 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
15289 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15290 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
15291 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
15292 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
15293 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
15294 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
15295 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
15296 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15297 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15298 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15299 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15300 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15301 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
15302 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
15303 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15304 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15305 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
15306 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15307 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
15308 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
15309 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15310 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15311 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15312 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15313 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15314 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15315 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15316 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15317 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15318 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15319 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15320 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15321 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15322 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15323 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15324 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15325 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15326 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15327 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15328 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15329 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15330 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15331 * sysdeps/ieee754/s_matherr.c: Likewise.
15332 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15333 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15334 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15335 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15336
965a54a4
JM
153372012-01-26 Joseph Myers <joseph@codesourcery.com>
15338
15339 * crypt/md5.h: Remove __STDC__ conditionals.
15340 * libio/libioP.h: Likewise.
15341 * locale/programs/config.h: Likewise.
15342 * sysdeps/generic/sysdep.h: Likewise.
15343 * sysdeps/i386/asm-syntax.h: Likewise.
15344 * sysdeps/s390/asm-syntax.h: Likewise.
15345 * sysdeps/unix/sysdep.h: Likewise.
15346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15348
7071ad79
JM
153492012-01-26 Joseph Myers <joseph@codesourcery.com>
15350
15351 * libio/libio.h: Remove __STDC__ conditionals.
15352 * malloc/obstack.h: Likewise.
15353 * math/complex.h: Likewise.
15354 * math/math.h: Likewise.
15355 * sysdeps/generic/_G_config.h: Likewise.
15356 * sysdeps/gnu/_G_config.h: Likewise.
15357 * sysdeps/mach/hurd/_G_config.h: Likewise.
15358 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15359 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15360 * sysdeps/sparc/bits/mathdef.h: Likewise.
15361
afc5ed09
UD
153622012-01-26 Ulrich Drepper <drepper@gmail.com>
15363
15364 [BZ #13583]
15365 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 15366 Clean up HAS_* macros.
afc5ed09 15367 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
15368 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
15369 possible.
15370 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
15371 HAS_AVX.
15372 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15373 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15374 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15375 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15376 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 15377
bdb6de1d
JM
153782012-01-25 Joseph Myers <joseph@codesourcery.com>
15379
15380 * elf/tst-unique3.cc (gets): Remove declaration.
15381 * elf/tst-unique3lib.cc (gets): Likewise.
15382 * elf/tst-unique3lib2.cc (gets): Likewise.
15383 * elf/tst-unique4.cc (gets): Likewise.
15384
b15549e6
UD
153852012-01-24 Ulrich Drepper <drepper@gmail.com>
15386
15387 * include/stdio.h: Add C++ protection. Add gets declarations and
15388 definitions.
15389 * debug/tst-chk1.c: Don't declare gets here.
15390 * stdio-common/tst-gets.c: Likewise.
15391
a037381f
JM
153922012-01-24 Joseph Myers <joseph@codesourcery.com>
15393
15394 * posix/glob: Remove directory.
15395
f1d4aa75
JM
153962012-01-24 Joseph Myers <joseph@codesourcery.com>
15397
15398 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
15399
81c0c964
PT
154002012-01-22 Pino Toscano <toscano.pino@tiscali.it>
15401
15402 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
15403 of the non-standard EPFNOSUPPORT.
15404
0ea698ae
ST
154052011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
15406
15407 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
15408 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
15409 ANYWHERE set to 1 only on KERN_NO_SPACE error.
15410
d220b117
UD
154112012-01-21 Ulrich Drepper <drepper@gmail.com>
15412
15413 * wcsmbs/uchar.h: Test __STDC_VERSION__.
15414
3e1aa84e
UD
154152012-01-20 Ulrich Drepper <drepper@gmail.com>
15416
15417 * nscd/aicache.c (addhstaiX): Do not cache negative results of
15418 transient errors.
15419 * nscd/grpcache.c (cache_addgr): Likewise.
15420 * nscd/hstcache.c (cache_addhst): Likewise.
15421 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15422 * nscd/pwdcache.c (cache_addpw): Likewise.
15423 * nscd/servicescache.c (cache_addserv): Likewise.
15424
400aa020
UD
154252012-01-16 Ulrich Drepper <drepper@gmail.com>
15426
d77e7869
UD
15427 * malloc/malloc.c: Various cleanups.
15428 * malloc/hooks.c: Likewise.
15429
400aa020
UD
15430 * stdlib/Makefile (tests): Add bug-fmtmsg1.
15431 * stdlib/bug-fmtmsg1.c: New file.
15432
15433 * stdlib/fmtmsg.c (init): Add missing unlock.
15434 Patch by Peng Haitao <penght@cn.fujitsu.com>.
15435
e0a309cf
MP
154362012-01-12 Marek Polacek <polacek@redhat.com>
15437
15438 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
15439 and _GNU_SOURCE.
15440
929d11c7
WS
154412012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15442
15443 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
15444 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
15445 macro to ensure uniqueness of label name.
15446 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
15447 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
15448
41d0e869
UD
154492012-01-11 Ulrich Drepper <drepper@gmail.com>
15450
0cc5ed3b
UD
15451 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
15452
41d0e869
UD
15453 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
15454 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
15455 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15456 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
15457
a47a831a
UD
154582012-01-10 Ulrich Drepper <drepper@gmail.com>
15459
daa891c0
UD
15460 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
15461
15462 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
15463 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
15464 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
15465
e58ef0f2
UD
15466 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
15467
a47a831a 15468 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
15469 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
15470 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 15471 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
15472
15473 * math/bits/math-finite.h: Add ldexp support.
15474
a0bfc9c7
MP
154752012-01-10 Marek Polacek <polacek@redhat.com>
15476
15477 * locale/programs/localedef.h (show_archive_content): Add noreturn
15478 attribute.
15479
d6e97a1d
UD
154802012-01-09 Ulrich Drepper <drepper@gmail.com>
15481
15482 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
15483
d5835c26
UD
154842012-01-08 Ulrich Drepper <drepper@gmail.com>
15485
e5f484c6
UD
15486 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
15487
d5835c26
UD
15488 * io/Makefile (headers): Add bits/poll2.h.
15489
d1f741e9
WS
154902011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
15491
15492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
15493 typo #include statement.
15494
ec09c1c4
UD
154952012-01-08 Ulrich Drepper <drepper@gmail.com>
15496
15497 * include/sys/cdefs.h: Define __attribute_alloc_size.
15498 * catgets/gencat.c: Add alloc_size attribute and apply consistently
15499 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
15500 * elf/pldd.c: Likewise.
15501 * iconv/iconv_charmap.c: Likewise.
15502 * iconv/iconvconfig.c: Likewise.
15503 * iconv/strtab.c: Likewise.
15504 * locale/programs/locale.c: Likewise.
15505 * locale/programs/localedef.h: Likewise.
15506 * locale/programs/simple-hash.c: Likewise.
15507 * nscd/nscd.h: Likewise.
15508 * nss/makedb.c: Likewise.
15509 * sysdeps/generic/ldconfig.h: Likewise.
15510 * locale/programs/localedef.c: Remove xmalloc prototype.
15511 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
15512
20b38e03
PP
155132012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15514
15515 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
15516 appropriate.
15517
a0da5fe1
UD
155182012-01-08 Ulrich Drepper <drepper@gmail.com>
15519
1d5a644a 15520 * math/Makefile (tests): Add tst-CMPLX.
669704fd 15521 * math/tst-CMPLX.c: New file.
1d5a644a 15522
8784a6db
UD
15523 * math/complex.h (CMPLXL): Fix typo.
15524
d9a216c0
UD
15525 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
15526 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
15527 GLIBC_2.16.
15528 * debug/tst-chk1.c: Add poll and ppoll tests.
15529 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
15530 * include/sys/poll.h: Add hidden proto for ppoll.
15531 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
15532 * sysdeps/mach/hurd/ppoll.c: Likewise.
15533 * io/ppoll.c: Likewise.
15534 * debug/poll_chk.c: New file.
15535 * debug/ppoll_chk.c: New file.
15536 * include/bits/poll2.h: New file.
15537 * io/bits/poll2.h: New file.
15538
ac097f5c
UD
15539 [BZ #1350]
15540 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
15541
2119dcfa
UD
15542 * configure.in: static is always set to yes. Remove.
15543 * config.make.in: Don't set build-static.
15544 * Makeconfig: Remove use of build-static.
15545 * dlfcn/Makefile: Likewise.
15546 * elf/Makefile: Likewise.
15547 * math/Makefile: Likewise.
15548 * misc/Makefile: Likewise.
15549 * nptl/Makefile: Likewise.
15550 * sysdeps/mach/hurd/Makefile: Likewise.
15551
121766a9
UD
15552 * configure.in: PWD_P is not used anymore.
15553 * config.make.in: Remove PWD_P entry.
15554
51a1d39c 15555 * configure.in: Remove last remnants of RANLIB.
8720d066 15556 No need to check for signed size_t anymore.
215f4bdc
UD
15557 Don't set libc_commonpagesize and libc_relro_required here for Alpha
15558 and IA-64.
3857022a 15559 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
15560 * aclocal.m4: Likewise.
15561
d3ed7225
UD
15562 * wcsmbs/mbrtoc16.c: Implement using towc function.
15563 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
15564 * wcsmbs/wcsmbsload.c: Likewise.
15565 * iconv/gconv_simple.c: Likewise.
15566 * iconv/gconv_int.h: Likewise.
15567 * iconv/gconv_builtin.h: Likewise.
15568 * iconv/iconv_prog.c: Remove CHAR16 handling.
15569
15570 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
15571
15572 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
15573
a0da5fe1
UD
15574 * configure.in: Remove --with-elf and --enable-bounded options.
15575 Dont set base_machine for ia64. More non-ELF conditions removed.
15576 Remove testing and setting of leading underscore information.
15577 * config.make.in (build-bounded): Set to no.
15578 * config.h.in: Remove NO_UNDERSCORES entry.
15579 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
15580 them.
15581 * csu/start.c: Remove !NO_UNDERSCORE code.
15582 * locale/localeinfo.h: Likewise.
15583 * sysdeps/generic/machine-gmon.h: Likewise.
15584 * sysdeps/generic/sysdep.h: Likewise.
15585 * sysdeps/i386/sysdep.h: Likewise.
15586 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
15587 * sysdeps/mach/sysdep.h: Likewise.
15588 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15589 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15590 * sysdeps/sh/sysdep.h: Likewise.
15591 * sysdeps/sparc/sparc32/alloca.S: Likewise.
15592 * sysdeps/unix/i386/sysdep.S: Likewise.
15593 * sysdeps/unix/sparc/start.c: Likewise.
15594 * sysdeps/unix/sparc/sysdep.S: Likewise.
15595 * sysdeps/unix/sparc/sysdep.h: Likewise.
15596 * sysdeps/unix/start.c: Likewise.
15597 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15598 * sysdeps/x86_64/sysdep.h: Likewise.
15599
df78418a
UD
156002012-01-07 Ulrich Drepper <drepper@gmail.com>
15601
a784e502
UD
15602 [BZ #13553]
15603 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
15604 for non-gcc.
15605 * argp/argp-fmtstream.h: Use const instead __const.
15606 * argp/argp.h: Likewise.
15607 * assert/assert.h: Likewise.
15608 * bits/fenv.h: Likewise.
15609 * bits/sched.h: Likewise.
15610 * bits/sigset.h: Likewise.
15611 * bits/sigthread.h: Likewise.
15612 * catgets/nl_types.h: Likewise.
15613 * conform/data/pthread.h-data: Likewise.
15614 * crypt/crypt-private.h: Likewise.
15615 * crypt/crypt.h: Likewise.
15616 * crypt/crypt_util.c: Likewise.
15617 * ctype/ctype.h: Likewise.
15618 * debug/execinfo.h: Likewise.
15619 * debug/mbsnrtowcs_chk.c: Likewise.
15620 * debug/mbsrtowcs_chk.c: Likewise.
15621 * debug/wcsnrtombs_chk.c: Likewise.
15622 * debug/wcsrtombs_chk.c: Likewise.
15623 * debug/wcstombs_chk.c: Likewise.
15624 * dirent/dirent.h: Likewise.
15625 * dlfcn/dlfcn.h: Likewise.
15626 * elf/neededtest4.c: Likewise.
15627 * grp/grp.h: Likewise.
15628 * gshadow/gshadow.h: Likewise.
15629 * iconv/gconv.h: Likewise.
15630 * iconv/gconv_int.h: Likewise.
15631 * iconv/gconv_simple.c: Likewise.
15632 * iconv/iconv.h: Likewise.
15633 * iconv/loop.c: Likewise.
15634 * iconv/skeleton.c: Likewise.
15635 * include/aio.h: Likewise.
15636 * include/aliases.h: Likewise.
15637 * include/argz.h: Likewise.
15638 * include/arpa/inet.h: Likewise.
15639 * include/assert.h: Likewise.
15640 * include/dirent.h: Likewise.
15641 * include/dlfcn.h: Likewise.
15642 * include/execinfo.h: Likewise.
15643 * include/fcntl.h: Likewise.
15644 * include/fenv.h: Likewise.
15645 * include/glob.h: Likewise.
15646 * include/grp.h: Likewise.
15647 * include/libintl.h: Likewise.
15648 * include/mntent.h: Likewise.
15649 * include/netdb.h: Likewise.
15650 * include/pwd.h: Likewise.
15651 * include/rpc/netdb.h: Likewise.
15652 * include/sched.h: Likewise.
15653 * include/search.h: Likewise.
15654 * include/shadow.h: Likewise.
15655 * include/signal.h: Likewise.
15656 * include/stdio.h: Likewise.
15657 * include/stdlib.h: Likewise.
15658 * include/string.h: Likewise.
15659 * include/sys/socket.h: Likewise.
15660 * include/sys/stat.h: Likewise.
15661 * include/sys/statfs.h: Likewise.
15662 * include/sys/statvfs.h: Likewise.
15663 * include/sys/syslog.h: Likewise.
15664 * include/sys/time.h: Likewise.
15665 * include/sys/uio.h: Likewise.
15666 * include/time.h: Likewise.
15667 * include/unistd.h: Likewise.
15668 * include/utmp.h: Likewise.
15669 * include/wchar.h: Likewise.
15670 * include/wctype.h: Likewise.
15671 * inet/aliases.h: Likewise.
15672 * inet/arpa/inet.h: Likewise.
15673 * inet/netinet/ether.h: Likewise.
15674 * inet/netinet/in.h: Likewise.
15675 * intl/libintl.h: Likewise.
15676 * io/bits/fcntl2.h: Likewise.
15677 * io/fcntl.h: Likewise.
15678 * io/ftw.h: Likewise.
15679 * io/sys/poll.h: Likewise.
15680 * io/sys/stat.h: Likewise.
15681 * io/sys/statfs.h: Likewise.
15682 * io/sys/statvfs.h: Likewise.
15683 * io/utime.h: Likewise.
15684 * libio/bits/stdio.h: Likewise.
15685 * libio/bits/stdio2.h: Likewise.
15686 * libio/libio.h: Likewise.
15687 * libio/libioP.h: Likewise.
15688 * libio/stdio.h: Likewise.
15689 * locale/lc-ctype.c: Likewise.
15690 * locale/locale.h: Likewise.
15691 * login/utmp.h: Likewise.
15692 * malloc/arena.c: Likewise.
15693 * malloc/malloc.c: Likewise.
15694 * malloc/malloc.h: Likewise.
15695 * malloc/mcheck.c: Likewise.
15696 * malloc/mtrace.c: Likewise.
15697 * math/bits/mathcalls.h: Likewise.
15698 * math/fenv.h: Likewise.
15699 * math/math_private.h: Likewise.
15700 * misc/bits/error.h: Likewise.
15701 * misc/bits/syslog.h: Likewise.
15702 * misc/err.h: Likewise.
15703 * misc/error.h: Likewise.
15704 * misc/fstab.h: Likewise.
15705 * misc/mntent.h: Likewise.
15706 * misc/regexp.h: Likewise.
15707 * misc/search.h: Likewise.
15708 * misc/sgtty.h: Likewise.
15709 * misc/sys/mman.h: Likewise.
15710 * misc/sys/syslog.h: Likewise.
15711 * misc/sys/uio.h: Likewise.
15712 * misc/sys/xattr.h: Likewise.
15713 * misc/ttyent.h: Likewise.
15714 * nis/rpcsvc/ypclnt.h: Likewise.
15715 * nss/nss.h: Likewise.
15716 * posix/bits/unistd.h: Likewise.
15717 * posix/fnmatch.h: Likewise.
15718 * posix/glob.h: Likewise.
15719 * posix/sched.h: Likewise.
15720 * posix/spawn.h: Likewise.
15721 * posix/sys/wait.h: Likewise.
15722 * posix/unistd.h: Likewise.
15723 * posix/wordexp.h: Likewise.
15724 * pwd/pwd.h: Likewise.
15725 * resolv/netdb.h: Likewise.
15726 * resource/sys/resource.h: Likewise.
15727 * rt/aio.h: Likewise.
15728 * rt/bits/mqueue2.h: Likewise.
15729 * rt/mqueue.h: Likewise.
15730 * shadow/shadow.h: Likewise.
15731 * signal/signal.h: Likewise.
15732 * socket/send.c: Likewise.
15733 * socket/sendto.c: Likewise.
15734 * socket/sys/socket.h: Likewise.
15735 * stdio-common/printf.h: Likewise.
15736 * stdlib/bits/stdlib.h: Likewise.
15737 * stdlib/fmtmsg.h: Likewise.
15738 * stdlib/monetary.h: Likewise.
15739 * stdlib/stdlib.h: Likewise.
15740 * stdlib/ucontext.h: Likewise.
15741 * streams/stropts.h: Likewise.
15742 * string/argz.h: Likewise.
15743 * string/bits/string2.h: Likewise.
15744 * string/string.h: Likewise.
15745 * string/strings.h: Likewise.
15746 * sunrpc/rpc/auth.h: Likewise.
15747 * sunrpc/rpc/auth_des.h: Likewise.
15748 * sunrpc/rpc/clnt.h: Likewise.
15749 * sunrpc/rpc/netdb.h: Likewise.
15750 * sunrpc/rpc/pmap_clnt.h: Likewise.
15751 * sunrpc/rpc/xdr.h: Likewise.
15752 * sysdeps/generic/inttypes.h: Likewise.
15753 * sysdeps/generic/net/if.h: Likewise.
15754 * sysdeps/generic/sys/swap.h: Likewise.
15755 * sysdeps/gnu/net/if.h: Likewise.
15756 * sysdeps/gnu/utmpx.h: Likewise.
15757 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
15758 * sysdeps/i386/i486/bits/string.h: Likewise.
15759 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
15760 * sysdeps/s390/bits/string.h: Likewise.
15761 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
15762 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
15763 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
15764 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
15765 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
15766 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
15767 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
15768 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
15769 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
15770 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
15771 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
15772 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15773 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
15774 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15775 * sysdeps/unix/sysv/linux/readv.c: Likewise.
15776 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
15777 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
15778 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15779 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15780 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15781 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
15782 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
15783 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
15784 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
15785 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
15786 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
15787 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
15788 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15789 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
15790 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
15791 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
15792 * sysvipc/sys/ipc.h: Likewise.
15793 * sysvipc/sys/msg.h: Likewise.
15794 * sysvipc/sys/sem.h: Likewise.
15795 * sysvipc/sys/shm.h: Likewise.
15796 * termios/termios.h: Likewise.
15797 * time/sys/time.h: Likewise.
15798 * time/time.h: Likewise.
15799 * wcsmbs/bits/wchar2.h: Likewise.
15800 * wcsmbs/uchar.h: Likewise.
15801 * wcsmbs/wchar.h: Likewise.
15802 * wctype/wctype.h: Likewise.
15803
0269750c
UD
15804 [BZ #13551]
15805 * Makeconfig: Remove all but ELF support including AIX support.
15806 * Makerules: Likewise.
15807 * config.h.in: Likewise.
15808 * config.make.in: Likewise.
15809 * configure: Likewise.
15810 * configure.in: Likewise.
15811 * csu/Makefile: Likewise.
15812 * csu/version.c: Likewise.
15813 * debug/Makefile: Likewise.
15814 * dlfcn/Makefile: Likewise.
15815 * elf/Makefile: Likewise.
15816 * extra-lib.mk: Likewise.
15817 * iconv/Makefile: Likewise.
15818 * include/libc-symbols.h: Likewise.
15819 * include/shlib-compat.h: Likewise.
15820 * resolv/Makefile: Likewise.
15821 * resolv/res_libc.c: Likewise.
15822 * rt/Makefile: Likewise.
15823 * sysdeps/i386/asm-syntax.h: Likewise.
15824 * sysdeps/i386/sysdep.h: Likewise.
15825 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
15826 * sysdeps/mach/sysdep.h: Likewise.
15827 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
15828 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
15829 * sysdeps/s390/asm-syntax.h: Likewise.
15830 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15831 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15832 * sysdeps/sh/sysdep.h: Likewise.
15833 * sysdeps/unix/sparc/sysdep.h: Likewise.
15834 * sysdeps/wordsize-32/divdi3.c: Likewise.
15835 * sysdeps/x86_64/sysdep.h: Likewise.
15836
00bbd29b
UD
15837 * argp/Versions: Remove _argp_unlock_xxx.
15838
15839 [BZ #13559]
15840 * abilist/ld.abilist: Update. Adjust for removal of tls option.
15841 * abilist/libBrokenLocale.abilist: Likewise.
15842 * abilist/libanl.abilist: Likewise.
15843 * abilist/libc.abilist: Likewise.
15844 * abilist/libcrypt.abilist: Likewise.
15845 * abilist/libdl.abilist: Likewise.
15846 * abilist/libm.abilist: Likewise.
15847 * abilist/libnsl.abilist: Likewise.
15848 * abilist/libpthread.abilist: Likewise.
15849 * abilist/libresolv.abilist: Likewise.
15850 * abilist/librt.abilist: Likewise.
15851 * abilist/libthread_db.abilist: Likewise.
15852 * abilist/libutil.abilist: Likewise.
15853 * abilist/libnss_db.abilist: New file.
15854
15855 * scripts/abilist.awk: Add support for indirect functions.
15856
a2693a0e
UD
15857 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
15858
3f05895f
UD
15859 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
15860
ecb6fb48
UD
15861 * shlib-versions: Remove entries for ports architectures.
15862
664f8cb9
UD
15863 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
15864 files in ports.
15865 * elf/stackguard-macros.h: Remove support for IA-64.
15866 * elf/tst-auditmod1.c: Likewise.
15867 * sysdeps/generic/ldsodefs.h: Likewise.
15868
7ae81d88
UD
15869 * sysdeps/unix/sysv/linux/configure.in: Ports should define
15870 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
15871 configure files.
15872
bdeba135
UD
15873 [BZ #13552]
15874 * configure.in: Remove --enable-omitfp support.
15875 * FAQ.in: Adjust.
15876 * config.make.in: Likewise.
15877 * Makeconfig: Likewise.
15878 * manual/install.texi: Likewise.
15879
d75a0a62
UD
15880 In case anyone cares, the IA-64 architecture could move to ports.
15881 * sysdeps/ia64/*: Removed.
15882 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 15883 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 15884
dcc9756b
UD
15885 [BZ #13555]
15886 * configure.in: Remove entries for unsupported architectures.
15887
d3761ebc 15888 [BZ #13533]
9954432e
UD
15889 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
15890 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
15891 routines.
15892 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
15893 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
15894 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
15895 fall back to using wcrtomb.
15896 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
15897 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
15898 renaming.
15899 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
15900 * wcsmbs/tst-c16c32-1.c: New file.
15901
15902 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
15903 local variable.
15904
c3a87236
UD
15905 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
15906
28926a1b
UD
15907 * elf/tst-unique3.cc: Add explicit declaration of gets.
15908 * elf/tst-unique3lib.cc: Likewise.
15909 * elf/tst-unique3lib2.cc: Likewise.
15910 * elf/tst-unique4.cc: Likewise.
15911
df78418a
UD
15912 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
15913
8ecd6b2a
JM
159142012-01-06 Joseph Myers <joseph@codesourcery.com>
15915
15916 [BZ #13566]
15917 * assert/assert.h (static_assert): Don't define for C++.
15918 * libio/stdio.h (gets): Do declare for C++ <= C++11.
15919 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
15920
9f115170
UD
159212012-01-03 Ulrich Drepper <drepper@gmail.com>
15922
5e0d0300
UD
15923 * iconv/loop.c (single loop): Fix assertion in storing of
15924 remaining bytes.
15925
9f115170
UD
15926 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
15927
81fb02b0
UD
159282012-01-01 Ulrich Drepper <drepper@gmail.com>
15929
15930 * posix/getconf.c: Update copyright year.
15931 * nss/getent.c: Likewise.
a316c1f6 15932 * nss/makedb.c: Likewise.
81fb02b0
UD
15933 * iconv/iconvconfig.c: Likewise.
15934 * iconv/iconv_prog.c: Likewise.
15935 * elf/ldconfig.c: Likewise.
a316c1f6
UD
15936 * elf/pldd.c: Likewise.
15937 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
15938 * catgets/gencat.c: Likewise.
15939 * csu/version.c: Likewise.
15940 * elf/ldd.bash.in: Likewise.
15941 * elf/sprof.c (print_version): Likewise.
15942 * locale/programs/locale.c: Likewise.
15943 * locale/programs/localedef.c: Likewise.
a316c1f6 15944 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
15945 * nscd/nscd.c (print_version): Likewise.
15946 * debug/xtrace.sh: Likewise.
15947 * malloc/memusage.sh: Likewise.
15948 * malloc/mtrace.pl: Likewise.
15949 * debug/catchsegv.sh: Likewise.
15950
2ba92745
JJ
159512011-12-30 Jakub Jelinek <jakub@redhat.com>
15952
15953 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
15954 pure attribute.
15955
dadebdae
UD
159562011-12-24 Ulrich Drepper <drepper@gmail.com>
15957
d3761ebc 15958 [BZ #13533]
db6af3eb
UD
15959 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
15960 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
15961 transformations.
15962 * iconv/gconv_int.h: Likewise.
15963 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
15964 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
15965 from libc for GLIBC_2.16.
15966 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
15967 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
15968 * wcsmbs/uchar.h: Really define mbstate_t.
15969 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
15970 * wcsmbs/c16rtomb.c: New file.
15971 * wcsmbs/mbrtoc16.c: New file.
15972 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
15973 for C/POSIX locale.
15974 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
15975 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
15976
dadebdae
UD
15977 * wcsmbs/wchar.h: Add missing __restrict.
15978
67371b56
UD
159792011-12-23 Ulrich Drepper <drepper@gmail.com>
15980
74033a25
UD
15981 [BZ #13532]
15982 * time/Makefile (routines): Add timespec_get.
15983 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
15984 * time/time.h: Define TIME_UTC and declare timespec_get. Define
15985 timespec for ISO C11.
15986 * time/timespec_get.c: New file.
15987 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
15988 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
15989
380d7e87
UD
15990 [BZ #13531]
15991 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
15992 * stdlib/stdlib.h: Declare aligned_alloc.
15993 * Versions.def: Add GLIBC_2.16 for libc.
15994 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
15995
4e9e7a35
UD
15996 [BZ 13527]
15997 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
15998 ISO C11.
15999
380d7e87 16000 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
16001 code.
16002
03a71829
UD
16003 [BZ #13528]
16004 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
16005
839e283e
UD
16006 [BZ #13529]
16007 * assert/assert.h (static_assert): Define.
16008
ce5294e2 16009 * version.h: Update for 2.16 development version.
90fa7312 16010
8d44e150 16011 [BZ #13526]
d7809905
UD
16012 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
16013 _ISOC11_SOURCE.
16014
c0da14cd
UD
16015 * version.h (RELEASE): Bump for 2.15 release.
16016 * include/features.h (__GLIBC_MINOR__): Bump to 15.
16017
530a3249
MP
16018 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
16019 Patch by Marek Polacek <mpolacek@redhat.com>.
16020
67371b56
UD
16021 * bits/byteswap.h: Protect long long constants with __extension__.
16022 * sysdeps/i386/bits/byteswap.h: Likewise.
16023 * sysdeps/ia64/bits/byteswap.h: Likewise.
16024 * sysdeps/s390/bits/byteswap.h: Likewise.
16025 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16026
15db4de1
LD
160272011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16028
16029 [BZ #13540]
bbe315ea
LD
16030 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
16031 destination buffer.
15db4de1
LD
16032 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
16033
2b2596b1
MP
160342011-12-23 Marek Polacek <polacek@redhat.com>
16035
16036 * elf/dl-addr.c (determine_info): Add inline keyword.
16037 * elf/tst-auditmod4b.c (check_avx): Likewise.
16038 * elf/tst-auditmod6b.c (check_avx): Likewise.
16039 * elf/tst-auditmod6c.c (check_avx): Likewise.
16040 * elf/tst-auditmod7b.c (check_avx): Likewise.
16041
70c6c246
UD
160422011-12-23 Ulrich Drepper <drepper@gmail.com>
16043
16044 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
16045 !__SSE_MATH__.
16046
c044cf14
LD
160472011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16048
15db4de1 16049 [BZ #13540]
c044cf14
LD
16050 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
16051 processing for last bytes.
16052
6b13d9d9
BH
160532011-08-06 Bruno Haible <bruno@clisp.org>
16054
d455f537
BH
16055 [BZ #13061]
16056 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
16057 U+0385, not to U+1FEE.
16058
6b13d9d9
BH
16059 [BZ #13062]
16060 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
16061 entry for U+00A5 U+0301.
16062
db910efd
UD
160632011-12-22 Ulrich Drepper <drepper@gmail.com>
16064
27deeafc
UD
16065 [BZ #13166]
16066 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
16067 buffer for the output is too small.
16068
aed9d171
UD
16069 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
16070 optimization.
16071
db910efd
UD
16072 [BZ #13185]
16073 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
16074 SSE flags if possible.
16075
2bd779ae
LD
160762011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16077
e7f9dac3 16078 [BZ #13540]
2bd779ae
LD
16079 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
16080 processing for last bytes.
16081
154bfc16
JM
160822011-12-22 Joseph Myers <joseph@codesourcery.com>
16083
16084 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
16085 (syscall-list-default-options, syscall-list-default-condition)
16086 (syscall-list-includes): Define.
16087 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
16088 list of ABIs and options and #if conditions for each ABI. Do not
16089 handle common syscalls between ABIs specially.
16090 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
16091 Remove.
16092 (syscall-list-variants, syscall-list-32bit-options)
16093 (syscall-list-32bit-condition, syscall-list-64bit-options)
16094 (syscall-list-64bit-condition): Define.
16095 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
16096 (syscall-list-variants, syscall-list-32bit-options)
16097 (syscall-list-32bit-condition, syscall-list-64bit-options)
16098 (syscall-list-64bit-condition): Define.
16099 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
16100 Remove.
16101 (syscall-list-variants, syscall-list-32bit-options)
16102 (syscall-list-32bit-condition, syscall-list-64bit-options)
16103 (syscall-list-64bit-condition): Define.
16104 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
16105 Remove.
16106 (syscall-list-variants, syscall-list-32bit-options)
16107 (syscall-list-32bit-condition, syscall-list-64bit-options)
16108 (syscall-list-64bit-condition): Define.
16109
21eaf3a5
UD
161102011-12-22 Ulrich Drepper <drepper@gmail.com>
16111
16c6f992
UD
16112 * locale/iso-639.def: Add brx entry.
16113
41043168
UD
16114 [BZ #13328]
16115 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
16116 Proposed by Mariusz_Cukr <marcukr@op.pl>.
16117
21eaf3a5
UD
16118 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
16119 __feraiseexcept_renamed.
16120
e3a851a2
UD
161212011-12-21 Ulrich Drepper <drepper@gmail.com>
16122
4920765e
UD
16123 [BZ #13538]
16124 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
16125 EPOLLET with unsigned values.
16126 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16127 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16128
e3a851a2
UD
16129 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
16130 to large cancellation.
16131 * math/s_cacoshf.c: Likewise.
16132 * math/s_cacoshl.c: Likewise.
16133
b27e24b8
RK
161342011-11-18 Richard B. Kreckel <kreckel@ginac.de>
16135
16136 [BZ #13305]
aebefeee 16137 [BZ #12786]
b27e24b8
RK
16138 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
16139 * math/s_cacoshf.c: Likewise.
16140 * math/s_cacoshl.c: Likewise.
16141
ee190f67
UD
161422011-12-21 Ulrich Drepper <drepper@gmail.com>
16143
16144 [BZ #13439]
16145 * iconv/gconv.h: Define __GCONV_SWAP.
16146 * iconvdata/unicode.c: The swap bit must be stored in __flags.
16147 * iconvdata/utf-16.c: Likewise.
16148 * iconvdata/utf-32.c: Likewise.
16149
707f25df
AS
161502011-12-21 Andreas Schwab <schwab@linux-m68k.org>
16151
16152 [BZ #13524]
16153 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
16154 numerator after shifting it by one limb.
16155
d2daaa1e
RÁE
161562011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
16157
16158 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
16159 under [__USE_EXTERN_INLINES].
16160
a4647e72
UD
161612011-12-17 Ulrich Drepper <drepper@gmail.com>
16162
16163 [BZ #13446]
16164 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
16165
f0b264f1
AZ
161662011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16167
16168 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
16169 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
16170 optimized code.
16171 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
16172 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
16173 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
16174 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
16175 for strncasecmp/strncasecmp_l compilation.
16176 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
16177 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
16178
8ef4f244
MP
161792011-12-08 Marek Polacek <mpolacek@redhat.com>
16180
16181 [BZ #13484]
16182 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
16183 of __asm__.
16184
97ac2654
UD
161852011-12-17 Ulrich Drepper <drepper@gmail.com>
16186
16187 [BZ #13506]
16188 * time/tzfile.c (__tzfile_read): Check values from file header.
16189
91d2a845
WS
161902011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
16191
16192 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
16193 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
16194 * powerpc/powerpc32/dl-start.S: Likewise.
16195 * powerpc/powerpc32/elf/start.S: Likewise.
16196 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16197 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
16198 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
16199 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
16200 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16201 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
16202 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
16203 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16204 * powerpc/powerpc32/fpu/s_round.S: Likewise.
16205 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16206 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16207 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16208 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
16209 * powerpc/powerpc32/memset.S: Likewise.
16210 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16211 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16212 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16213 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16214 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16215 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16216 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16217 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16218 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
16219 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
16220 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
16221 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16222 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16223
a1267ba1
AZ
162242011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16225
16226 * math/libm-test.inc: Added more nearbyint tests.
16227 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
16228 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
16229 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
16230 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
16231
ad8ac1bd
RL
162322011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
16233
16234 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
16235 FD_CLOEXEC.
16236
1d3e4b61
UD
162372011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16238
16239 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
16240 Add wcscpy-ssse3 wcscpy-c.
16241 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
16242 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
16243 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
16244 * sysdeps/x86_64/wcschr.S: New file.
16245 * sysdeps/x86_64/wcsrchr.S: New file.
16246 * string/test-strcmp.c: Remove checking of wcscmp function for
16247 wrong alignments.
16248 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
16249 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
16250 wcsrchr-sse2 wcsrchr-c.
16251 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
16252 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
16253 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
16254 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
16255 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
16256 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
16257 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
16258 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
16259 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
16260 * wcsmbc/wcschr.c (WCSCHR): New macro.
16261
5b330a2d
UD
162622011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16263
16264 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
16265 * wcsmbs/test-wcsrchr.c: New file.
16266 * string/test-strrchr.c: Add wcsrchr support.
16267 (WIDE): New macro.
16268 * wcsmbs/test-wcscpy.c: New file.
16269 * string/test-strcpy.c: Add wcscpy support.
16270 (WIDE): New macro.
26428b7c 16271
f039c043
UD
162722011-12-10 Ulrich Drepper <drepper@gmail.com>
16273
16274 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
16275 the inner loop.
16276
850fb039
AS
162772011-12-06 Andreas Schwab <schwab@linux-m68k.org>
16278
16279 [BZ #13472]
16280 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
16281
4efbd5cb
UD
162822011-12-04 Ulrich Drepper <drepper@gmail.com>
16283
52ff5dd0 16284 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 16285 Minor optimizations.
52ff5dd0 16286
4efbd5cb
UD
16287 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
16288 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
16289 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
16290
8a426e12
UD
162912011-12-03 Ulrich Drepper <drepper@gmail.com>
16292
aff2453d
UD
16293 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
16294 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
16295 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
16296 for gcc to avoid warnings.
16297 * inet/Makefile (tests): Add tst-checks.
16298 * inet/tst-checks.c: New file.
16299
16300 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
16301 warning.
16302
16303 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
16304 __wmemcmp_sse2.
16305
16306 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
16307 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
16308
8a426e12
UD
16309 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
16310
9bea3473
UD
163112011-12-02 Ulrich Drepper <drepper@gmail.com>
16312
3a965496
UD
16313 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
16314 problem.
16315
9bea3473
UD
16316 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
16317
f101631b
UD
163182011-11-29 Joseph Myers <joseph@codesourcery.com>
16319
16320 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
16321 conditional on GCC version.
16322 (__arch_compare_and_exchange_val_8_acq)
16323 (__arch_compare_and_exchange_val_16_acq)
16324 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
16325 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
16326 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
16327
a98275aa
UD
163282011-12-02 Joseph Myers <joseph@codesourcery.com>
16329
16330 * sysdeps/sh/backtrace.c: New file.
16331
d4cc29a2
AS
163322011-12-02 Andreas Schwab <schwab@redhat.com>
16333
16334 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
16335 parenthesis.
16336
6257af2d
AS
163372011-12-01 Andreas Schwab <schwab@redhat.com>
16338
16339 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
16340 falling back to utime.
16341
b5f44c1a
AS
163422011-11-30 Andreas Schwab <schwab@redhat.com>
16343
16344 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
16345 expectations for float.
16346
f3a6cc0a
AS
163472011-11-29 Andreas Schwab <schwab@redhat.com>
16348
16349 * locale/weight.h (findidx): Add parameter len.
16350 * locale/weightwc.h (findidx): Likewise.
16351 * posix/fnmatch_loop.c (FCT): Adjust caller.
16352 * posix/regcomp.c (build_equiv_class): Likewise.
16353 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
16354 * posix/regexec.c (check_node_accept_bytes): Likewise.
16355 * string/strcoll_l.c (STRCOLL): Likewise.
16356 * string/strxfrm_l.c (STRXFRM): Likewise.
16357
9d65ea3a
UD
163582011-11-17 Ulrich Drepper <drepper@gmail.com>
16359
16360 * Makefile.in: Remove CVSOPT handling.
16361 * configure.in: Remove use of AC_REVISION.
16362 * iconvdata/Makefile (distribute): No need to filter out CVS.
16363 * scripts/list-sources.sh: Remove CVS, subversion and monotone
16364 handling.
16365
5583a086
AS
163662011-11-16 Andreas Schwab <schwab@redhat.com>
16367
16368 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
16369 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
16370 [USE_AS_STRNCASECMP_L]: Likewise.
16371 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
16372 NO_TLS_DIRECT_SEG_REFS.
16373 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
16374 Fix argument offsets for non-PIC.
16375 [USE_AS_STRNCASECMP_L]: Likewise.
16376 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
16377 NO_TLS_DIRECT_SEG_REFS.
16378
d62a8200
UD
163792011-11-15 Ulrich Drepper <drepper@gmail.com>
16380
9d65ea3a 16381 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
16382 O_CLOEXEC.
16383 * locale/loadlocale.c (_nl_load_locale): Likewise.
16384
09f93bd3
AS
163852011-11-15 Andreas Schwab <schwab@redhat.com>
16386
446514f9
AS
16387 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
16388 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
16389 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
16390 (SYSCALL_GETTIME): Set errno on error.
16391
09f93bd3
AS
16392 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
16393 count references to noai6ai_cached.
16394
312be3f9
UD
163952011-11-15 Ulrich Drepper <drepper@gmail.com>
16396
16397 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
16398
16399 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
16400 FD_CLOEXEC for /proc/self/maps.
16401
16402 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
16403 FD_CLOEXEC for /proc/meminfo.
16404
16405 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
16406 gai.conf.
16407
16408 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
16409 FD_CLOEXEC for given file.
16410
16411 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
16412
16413 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
16414 FD_CLOEXEC for /etc/hosts.
16415 (_gethtent): Likewise.
16416
16417 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
16418
16419 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
16420 cancellation and set FD_CLOEXEC for /etc/netgroup.
16421
16422 * nss/nss_files/files-key.c (search): Don't allow cancellation when
16423 reading /etc/publickey.
16424
16425 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
16426 allow cancellation when reading /etc/group.
16427
16428 * nss/nss_files/files-alias.c (internal_setent): Don't allow
16429 cancellation.
16430 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
16431
16432 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
16433 when using data file.
16434
16435 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
16436
16437 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
16438 (write_nis_obj): Use "c" and "e" in fopen.
16439
16440 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
16441
16442 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
16443
16444 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
16445
16446 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
16447
16448 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
16449 locale.alias.
16450
16451 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
16452
16453 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
16454
16455 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
16456
16457 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
16458 file parsing and set FD_CLOEXEC.
16459
82af0fa8
UD
164602011-11-14 Ulrich Drepper <drepper@gmail.com>
16461
16462 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
16463
a5fb313c
AS
164642011-11-14 Andreas Schwab <schwab@redhat.com>
16465
16466 * malloc/arena.c (arena_get2): Don't call reused_arena when
16467 _int_new_arena failed.
16468
6abf3465
UD
164692011-11-14 Ulrich Drepper <drepper@gmail.com>
16470
16471 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
16472 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
16473 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
16474 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16475 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16476 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
16477 to compile strcasecmp and strncasecmp.
16478 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
16479 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
16480
16481 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
16482
76e3966e
UD
164832011-11-13 Ulrich Drepper <drepper@gmail.com>
16484
16485 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
16486 locale-defines.sym to gen-as-const-headers.
16487 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
16488 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
16489 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
16490 to compile strcasecmp and strncasecmp.
16491 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
16492 strcasecmp_l and strncasecmp_l.
16493 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
16494 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
16495 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
16496 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
16497 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
16498 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
16499 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
16500 * sysdeps/i386/i686/multiarch/strncase.S: New file.
16501 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
16502 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
16503 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
16504
ab26144e
UD
165052011-11-12 Ulrich Drepper <drepper@gmail.com>
16506
7edb22ef
UD
16507 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
16508 result of SYSDEP_GETTIME_CPU to retval.
16509 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
16510 parameter list to macro. Remove trailing semicolon. Adjust users.
16511
9694fc44
UD
16512 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
16513 variable.
16514
8ad89ef8
UD
16515 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
16516 mantissa words.
16517 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16518
0c822ef9
UD
16519 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
16520 from unused variable.
16521
874e0564
UD
16522 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
16523 DWARF definitions.
16524 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
16525 for assembling.
16526
3a2edc79
UD
16527 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
16528 over namespaces.
16529
f3c2577f
UD
16530 * sunrpc/rpc_prot.c (rejected): Fix case value.
16531
294ce126
UD
16532 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
16533 unsigned long long int to avoid warnings in shift.
16534
5e2b63c6
UD
16535 * posix/regex_internal.c (re_string_reconstruct): Actually use result
16536 of use of trans.
16537 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
16538 variable tmp.
16539
e7f4b08e
UD
16540 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
16541 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
16542 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
16543
ab26144e
UD
16544 * nis/nis_table.c (nis_list): Use variable of correct type for
16545 result of __follow_path call.
16546
8a6d5255
AZ
165472011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16548
16549 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
16550 of math functions ceil, trunc, floor, round, and sqrt, when
16551 avaliable on the platform.
16552 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
16553 name clash.
16554 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16555 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
16556 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
16557
aaddc98c
MP
165582011-10-30 Marek Polacek <mpolacek@redhat.com>
16559
16560 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
16561 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
16562
95b7042b
RM
165632011-11-11 Roland McGrath <roland@hack.frob.com>
16564
16565 * include/unistd.h: Fix __readlink return type.
16566 Reported by Chris Metcalf <cmetcalf@tilera.com>.
16567
57769839
UD
165682011-11-11 Ulrich Drepper <drepper@gmail.com>
16569
16570 * stdlib/ucontext.h: Undo last change for makecontext.
16571
edc5984d
AS
165722011-11-11 Andreas Schwab <schwab@redhat.com>
16573
98591e58
AS
16574 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
16575
edc5984d
AS
16576 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
16577 * setjmp/setjmp.h: Mark functions as non-leaf.
16578 * setjmp/bits/setjmp2.h: Likewise.
16579 * stdlib/ucontext.h: Likewise.
16580
77cdc054
AS
165812011-11-10 Andreas Schwab <schwab@redhat.com>
16582
16583 * malloc/arena.c (_int_new_arena): Don't increment narenas.
16584 (reused_arena): Don't check arena limit.
16585 (arena_get2): Atomically check arena limit.
16586
fe72eebd
UD
165872011-11-08 Ulrich Drepper <drepper@gmail.com>
16588
5f078c32
UD
16589 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
16590 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
16591
fe72eebd
UD
16592 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
16593 instructions.
16594
ae1bc2fa
AS
165952011-11-07 Andreas Schwab <schwab@redhat.com>
16596
7583a88d
AS
16597 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
16598 handler when locking.
16599
ae1bc2fa
AS
16600 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16601 Fix size of allocated buffer.
16602
10fb0bfa
AS
166032011-11-04 Andreas Schwab <schwab@redhat.com>
16604
998832a4
AS
16605 [BZ #10103]
16606 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
16607 declarations for long double functions.
16608 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
16609
10fb0bfa
AS
16610 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
16611
3d7ba52b
AS
166122011-11-03 Andreas Schwab <schwab@redhat.com>
16613
a9ae54a1
AS
16614 * nscd/nscd.c (main): Don't start AVC thread until credentials are
16615 installed.
16616
3d7ba52b
AS
16617 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
16618 is disabled.
16619
bc8db248
ST
166202011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16621
16622 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
16623
45b96dd6
AS
166242011-11-01 Andreas Schwab <schwab@linux-m68k.org>
16625
647776f6
AS
16626 * include/alloca.h (stackinfo_alloca_round): Define.
16627 (extend_alloca): Use it.
16628 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
16629 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
16630 here.
16631
d91a8b93
AS
16632 * scripts/check-local-headers.sh: Ignore libaudit.h.
16633
45b96dd6
AS
16634 * nscd/Makefile (extra-objs): Make recursively expanded.
16635
432d41ce
UD
166362011-11-01 Ulrich Drepper <drepper@gmail.com>
16637
34372fc6
UD
16638 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
16639 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16640
fadb59f8
UD
16641 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
16642 * posix/tst-rfc3484-2.c: Likewise.
16643 * posix/tst-rfc3484-3.c: Likewise.
16644
78239589
UD
16645 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
16646 process_vm_writev.
16647 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
16648 process_vm_writev.
16649 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
16650 process_vm_writev from libc using GLIBC_2.15 version.
16651
432d41ce
UD
16652 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
16653
02f9c6cf
PP
166542011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
16655
16656 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
16657 stack usage.
16658
3a2c0242
UD
166592011-10-31 Ulrich Drepper <drepper@gmail.com>
16660
f4ec4833
UD
16661 [BZ #13367]
16662 * nss/getent.c (initgroups_keys): Show error message in case no group
16663 names are given.
16664
3a2c0242
UD
16665 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
16666 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
16667 __bump_nl_timestamp.
16668 * nscd/connections (nscd_init): When host database is served open
16669 netlink socket and request notification about configuration changes.
16670 (main_loop_poll): Track netlink file descriptor and bump timestamp
16671 in case data becomes available.
16672 (main_loop_epoll): Likewise.
16673 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
16674 (database_pers_head): Add extra_data fileds.
16675 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
16676 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
16677 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
16678 Adjust caller.
16679 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
16680 in6ai data, call __free_in6ai.
16681 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
16682 Add -DHAVE_NETLINK.
16683 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
16684 interface information. Reuse previous data if netlink timestamp
16685 is not changed.
16686 (__bump_nl_timestamp): New function.
16687 (__free_in6ai): New function.
16688
636064eb
UD
166892011-10-30 Ulrich Drepper <drepper@gmail.com>
16690
16691 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
16692 close_not_cancel_no_status here.
16693 (__check_pf): Reorganize code a bit to not call close twice if OOM.
16694
9beb2334
UD
166952011-10-29 Ulrich Drepper <drepper@gmail.com>
16696
6ef76f3b
UD
16697 [BZ #13276]
16698 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
16699 return value.
16700
0ffc4f3e 16701 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
16702 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
16703 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
16704
cb95113e
UD
167052011-07-03 Andreas Jaeger <aj@suse.de>
16706
16707 [BZ #10709]
16708 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
16709 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
16710 * math/libm-test.inc (sin_test): Add test case.
16711
a1b560ff
UD
167122011-10-29 Ulrich Drepper <drepper@gmail.com>
16713
c9aaface
UD
16714 [BZ #13337]
16715 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
16716 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16717
d272e7f1
UD
16718 * elf/chroot_canon.c (chroot_canon): Cleanups.
16719
1bc33071
UD
16720 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
16721
1760874d
TJ
16722 [BZ #13335]
16723 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
16724 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16725
51d91b18
UD
16726 * string/test-strchr.c: Make usable for strchrnul testing.
16727 * string/test-strchrnul.c: New file.
16728 * string/Makefile (strop-tests): Add strchrnul.
16729
a1b560ff 16730 * po/it.po: Update from translation team.
b611fb81 16731 * po/es.po: Likewise.
a1b560ff 16732
a5b81e1f
UD
167332011-10-28 Ulrich Drepper <drepper@gmail.com>
16734
fd52bc6d
UD
16735 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
16736 the three constants needed as parameters. Drop the others.
16737 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
16738 __m128i_strloadu_tolower.
52e4b9eb
UD
16739 Create and initialize variable zero and use it in all the places
16740 where _mm_setzero_si128 was used.
fd52bc6d 16741
a5b81e1f
UD
16742 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
16743 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
16744 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
16745 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
16746 anymore.
16747 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
16748 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
16749 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
16750 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
16751 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
16752 __mpranred, __mptan.
16753 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
16754 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
16755 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
16756 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
16757 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
16758 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
16759 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
16760 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
16761 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
16762
b4343346
AS
167632011-10-28 Andreas Schwab <schwab@redhat.com>
16764
0c92d8a8
AS
16765 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
16766 redefine if SHARED.
16767 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
16768
b4343346
AS
16769 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
16770 wide char related routines to wcsmbs subdir.
16771
3871f58f
AS
167722011-10-27 Andreas Schwab <schwab@redhat.com>
16773
16774 [BZ #13344]
16775 * misc/sys/cdefs.h (__THROWNL): Define.
16776 * posix/unistd.h: Use __THREADNL instead of __THREAD
16777 for memory synchronization functions.
16778
94d44d9f
RM
167792011-10-26 Roland McGrath <roland@hack.frob.com>
16780
21b64b15 16781 [BZ #13349]
94d44d9f
RM
16782 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
16783 doesn't exist.
16784 * manual/stdio.texi (Obstack Streams): Node removed.
16785
f6ce9294
AS
167862011-10-26 Andreas Schwab <schwab@redhat.com>
16787
80479147
AS
16788 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
16789 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16790 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16791
f6ce9294
AS
16792 * math/math_private.h (math_force_eval): Allow non-addressable
16793 arguments.
16794 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
16795
618280a1
UD
167962011-10-25 Ulrich Drepper <drepper@gmail.com>
16797
e0016b11
UD
16798 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
16799 file is not needed.
16800
16801 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
16802 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
16803 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16804 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16805 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16806 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16807 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16808 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
16809 Add AVX variants.
16810 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
16811 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
16812 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
16813 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
16814 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
16815 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
16816 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
16817 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
16818 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
16819 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
16820 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
16821 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
16822 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
16823 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
16824 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
16825 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
16826 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
16827 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
16828 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
16829
16830 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
16831 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
16832
618280a1
UD
16833 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
16834 place. Use VEX encoding when compiling for AVX.
16835
37822576
AS
168362011-10-25 Andreas Schwab <schwab@redhat.com>
16837
1f1e1947
AS
16838 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
16839 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16840
37822576
AS
16841 * string/test-strchr.c (do_test): Don't generate NUL bytes.
16842
31ea014d
UD
168432011-10-25 Ulrich Drepper <drepper@gmail.com>
16844
d7826aa1 16845 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 16846 useless if() expression.
d7826aa1
UD
16847 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16848 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16849 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16850 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16851 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16852 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16853 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16854 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16855 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16856 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16857 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16858 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16859 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16860 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16861 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16862 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16863 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16864 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16865 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
16866
31ea014d
UD
16867 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
16868
16437fec
AS
168692011-10-25 Andreas Schwab <schwab@redhat.com>
16870
16871 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
16872 condition.
16873 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16874
31d3cc00
UD
168752011-10-25 Ulrich Drepper <drepper@gmail.com>
16876
16877 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
16878 .text section. Avoid duplicate constants.
16879 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16880 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16881 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16882 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16883 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16884 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16885 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16886 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16887 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16888 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
16889 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16890 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16891 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
16892 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
16893 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
16894 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
16895 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
16896 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16897 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16898 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16899 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16900 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16901 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16902 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
16903 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
16904 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
16905 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
16906 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
16907 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
16908 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
16909 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
16910 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
16911 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16912 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
16913 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
16914 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
16915 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
16916 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
16917 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
16918 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
16919 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
16920 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
16921 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
16922 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
16923 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
16924
58985aa9
UD
169252011-10-24 Ulrich Drepper <drepper@gmail.com>
16926
202c9deb
UD
16927 * sysdeps/x86_64/dla.h: Move to ...
16928 * sysdeps/x86_64/fpu/dla.h: ...here.
16929 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
16930 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 16931
af968f62
UD
16932 * config.make.in: Add have-mfma4 entry.
16933 * configure.in: Substitute libc_cv_cc_fma4.
16934 * math/Makefile (dbl-only-routines): Add sincostab.
16935 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
16936 Use __sincostab not sincos.
16937 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
16938 name is a macro.
16939 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16940 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16941 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16942 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
16943 using __copysign.
16944 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
16945 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
16946 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
16947 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
16948 and __inv.
16949 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
16950 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
16951 __copysign.
16952 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
16953 define aliases when function name is a macro.
16954 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
16955 sysdeps/ieee754/dbl-64/sincos.tbl.
16956 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
16957 fma4-enabled routines.
16958 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
16959 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
16960 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
16961 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
16962 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
16963 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
16964 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
16965 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
16966 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
16967 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
16968 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
16969 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
16970 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
16971 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
16972 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
16973 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
16974 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
16975 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
16976 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
16977 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
16978 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
16979 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
16980 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
16981 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
16982 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
16983 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
16984 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
16985 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
16986 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
16987 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
16988
58985aa9
UD
16989 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
16990 rename.
16991 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16992 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16993 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16994 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16995 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16996 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16997 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16998 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16999
a201fbcf
AS
170002011-10-24 Andreas Schwab <schwab@redhat.com>
17001
17002 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
17003
fc2ee42a
LD
170042011-10-23 Ulrich Drepper <drepper@gmail.com>
17005
bb3129bd
UD
17006 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
17007
0275fff8
UD
17008 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
17009 prediction.
17010 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
17011
2fa2ae85
UD
17012 * string/strnlen.c: Don't define STRNLEN, reverse logic.
17013 Remove unused variable magic_bits.
17014 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
17015
fc2ee42a
LD
17016 * string/strnlen.c: Define and use STRNLEN macro.
17017 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
17018 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
17019 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
17020 * wcsmbs/wcslen.c: Define and use WCSLEN.
17021 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
17022 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
17023 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
17024 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
17025 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
17026 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
17027 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17028
ce7dd29f
LD
170292011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17030
17031 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17032 strnlen-sse2-no-bsf.
17033 Rename strlen-no-bsf to strlen-sse2-no-bsf.
17034 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
17035 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
17036 Add strnlen support.
17037 (USE_AS_STRNLEN): New macro.
17038 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
17039 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
17040 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
17041 * sysdeps/x86_64/wcslen.S: New file.
17042
979c70a3
MZ
170432011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
17044
17045 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17046 XMM-moves are used for copying on small sizes.
17047
2d09f82f
LD
170482011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17049
17050 * wcsmbs/Makefile (strop-tests): Add wcschr.
17051 * wcsmbs/test-wcschr.c: New file.
17052 * string/test-strchr.c: Update.
17053 Add wcschr support.
17054 (WIDE): New macro.
17055
619fccca
LD
170562011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17057
2d09f82f 17058 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
17059 * wcsmbs/test-wcslen.c: New file.
17060 * string/test-strlen.c: Update.
17061 Add wcslen support.
17062 (WIDE): New macro.
17063
09f699ea
UD
170642011-10-23 Ulrich Drepper <drepper@gmail.com>
17065
17066 * po/it.po: Update from translation team.
17067
95584d3b
LD
170682011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17069
17070 * sysdeps/x86_64/wcscmp.S: Update.
17071 Fix wrong comparison semantics.
17072 wcscmp shall use signed comparison not unsigned.
17073 Don't use substraction to avoid overflow bug.
17074 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
17075 * wcsmbc/wcscmp.c: Likewise.
17076 * string/test-strcmp.c: Likewise.
17077 Add new tests to check cases with negative values.
17078
c8b3296b
UD
170792011-10-23 Ulrich Drepper <drepper@gmail.com>
17080
17081 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
17082 * sysdeps/x86_64/dla.h: ...here. New file.
17083 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
17084 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17085 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17086 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17087 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17088 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17089 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17090 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17091 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17092
246ad57a
AS
170932011-10-23 Andreas Schwab <schwab@linux-m68k.org>
17094
17095 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
17096 __ynl_finite aliases.
17097
a1a87169
UD
170982011-10-22 Ulrich Drepper <drepper@gmail.com>
17099
0d355eb7
UD
17100 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17101
a1a87169
UD
17102 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
17103 define DLA_FMA.
17104 [DLA_FMA] (EMULV): Use DLA_FMA.
17105 [DLA_FMA] (MUL12): Use EMULV.
17106 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
17107 that are not needed.
17108 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17109 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17110 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17111 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17112 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17113 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17114 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17115
ee2aafe0
AS
171162011-10-22 Andreas Schwab <schwab@linux-m68k.org>
17117
17118 * math/s_nan.c: Undef __nan.
17119 * math/s_nanf.c: Undef __nanf.
17120 * math/s_nanl.c: Undef __nanl.
17121 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
17122 "math_private.h".
17123
bc62c2fb
UD
171242011-10-22 Ulrich Drepper <drepper@gmail.com>
17125
77425c63
UD
17126 * math/s_catan.c: Add branch predictions.
17127 * math/s_catanf.c: Likewise.
17128 * math/s_catanh.c: Likewise.
17129 * math/s_catanhf.c: Likewise.
17130 * math/s_catanhl.c: Likewise.
17131 * math/s_catanl.c: Likewise.
17132 * math/s_cexp.c: Likewise.
17133 * math/s_cexpf.c: Likewise.
17134 * math/s_cexpl.c: Likewise.
17135 * math/s_clog.c: Likewise.
17136 * math/s_clog10.c: Likewise.
17137 * math/s_clog10f.c: Likewise.
17138 * math/s_clog10l.c: Likewise.
17139 * math/s_clogf.c: Likewise.
17140 * math/s_clogl.c: Likewise.
17141 * math/s_csqrt.c: Likewise.
17142 * math/s_csqrtf.c: Likewise.
17143 * math/s_csqrtl.c: Likewise.
17144 * math/s_ctanf.c: Likewise.
17145 * math/s_ctanh.c: Likewise.
17146 * math/s_ctanhf.c: Likewise.
17147 * math/s_ctanhl.c: Likewise.
17148 * math/s_ctanl.c: Likewise.
17149
bc62c2fb
UD
17150 * math/math_private.h: Define __nan, __nanf, __nanl.
17151 * math/s_cacosh.c: Include <math_private.h>.
17152 * math/s_cacoshl.c: Likewise.
17153 * math/s_casinh.c: Likewise.
17154 * math/s_casinhf.c: Likewise.
17155 * math/s_casinhl.c: Likewise.
17156 * math/s_ccos.c: Rely entire on ccosh.
17157 * math/s_ccosf.c: Rely entire on ccoshf.
17158 * math/s_ccosl.c: Rely entirely on ccoshl.
17159 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
17160 Remove tests for FE_INVALID.
17161 * math/s_ccoshf.c: Likewise.
17162 * math/s_ccoshl.c: Likewise.
17163 * math/s_csin.c: Likewise.
17164 * math/s_csinf.c: Likewise.
17165 * math/s_csinh.c Likewise.
17166 * math/s_csinhf.c: Likewise.
17167 * math/s_csinhl.c: Likewise.
17168 * math/s_csinl.c: Likewise.
17169 * math/s_ctan.c: Likewise.
17170 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
17171 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
17172 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
17173
8ec250a4
UD
171742011-10-21 Ulrich Drepper <drepper@gmail.com>
17175
c196fed8
UD
17176 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
17177 compilation problems.
17178
8ec250a4
UD
17179 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
17180 __builtin_expect.
17181
8d4f46c6
UD
171822011-10-20 Ulrich Drepper <drepper@gmail.com>
17183
ed72b654
UD
17184 * sysdeps/i386/configure.in: Test for -mfma4 option.
17185 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
17186 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
17187 COMMON_CPUID_INDEX_80000001.
17188 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
17189 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
17190 use it if FMA3 is not supported.
17191 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
17192
8d4f46c6
UD
17193 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
17194 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17195
d45c60c2
AS
171962011-10-20 Andreas Schwab <schwab@redhat.com>
17197
17198 [BZ #12892]
17199 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
17200 it would create a cycle with a link time dependency.
17201
d9a4d2ab
UD
172022011-10-19 Ulrich Drepper <drepper@gmail.com>
17203
855d1560
UD
17204 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
17205 instruction.
17206 * string/Makefile (strop-tests): Add rawmemchr.
17207 * string/test-rawmemchr.c: New file.
17208
d9a4d2ab
UD
17209 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
17210 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
17211 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
17212 when compiling str{,n}casecmp and when AVX is available. Hook up
17213 new optimized code in initializers.
17214
8f3b1ffe
AS
172152011-10-19 Andreas Schwab <schwab@redhat.com>
17216
17217 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
17218 __feraiseexcept instead of feraiseexcept.
17219
d38f1dba
UD
172202011-10-18 Ulrich Drepper <drepper@gmail.com>
17221
d9a8d0ab
UD
17222 * math/math_private.h: Define defaults for libc_fetestexcept and
17223 libc_feupdateenv.
17224 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
17225 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
17226 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17227 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17228 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17229 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17230 libc_fetestexcept and libc_feupdateenv.
17231
4855e3dd
UD
17232 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
17233 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
17234 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
17235 * sysdeps/x86_64/fpu/math_private.h: Define special version of
17236 libc_feholdexcept_setround.
17237
581d30e3
UD
17238 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
17239 Add s_nearbyint-c and s_nearbyintf-c.
17240 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
17241 nearbyintf inlines.
17242 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
17243 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
17244 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
17245 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
17246
d38f1dba
UD
17247 * math/math_private.h: Define defaults for libc_fegetround,
17248 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
17249 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
17250 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
17251 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
17252 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
17253 standard functions.
17254 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17255 Remove comments and hacks for old compiler versions.
17256 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17257 libc_fegetround, libc_fesetround, libc_feholdexcept, and
17258 libc_feholdexceptl.
17259
caa6c9d8
AS
172602011-10-18 Andreas Schwab <schwab@redhat.com>
17261
17262 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
17263 (__feraiseexcept_renamed): Add __NTH.
17264 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
17265 namespace violations.
17266
97c066e6
UD
172672011-10-17 Ulrich Drepper <drepper@gmail.com>
17268
99ce7b04
UD
17269 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
17270
1004d182
UD
17271 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
17272
228a984d
UD
17273 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
17274 recently added interfaces.
17275 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
17276
c8553a6a
UD
17277 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
17278 about macro parameter expansion.
17279
ed22dcf6
UD
17280 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
17281 __NO_MATH_INLINES is defined. Cleanups.
17282
17283 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
17284 and __floorf is target has SSE4.1.
17285 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
17286 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
17287 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
17288 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
17289
b171c137
UD
17290 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
17291 name.
17292 (floorf): Likewise.
17293
97c066e6
UD
17294 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
17295
629f62ef
AS
172962011-10-17 Andreas Schwab <schwab@redhat.com>
17297
49a43d80
AS
17298 * misc/sys/cdefs.h: Fix last change.
17299
629f62ef
AS
17300 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
17301 database lookup.
17302
e453f6cd
UD
173032011-10-16 Ulrich Drepper <drepper@gmail.com>
17304
aa78043a
UD
17305 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
17306
ad0f5cad
UD
17307 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
17308 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17309 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17310 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17311 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17312 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17313 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17314 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17315 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17316 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
17317 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
17318 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
17319 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
17320 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
17321 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
17322 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
17323 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
17324 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
17325 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
17326 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
17327 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
17328 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
17329
17330 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
17331 ceil, ceilf, floor, floorf.
17332
17333 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
17334 Perform IRELATIVE relocations last.
17335
e453f6cd
UD
17336 * elf/do-rel.h: Add another parameter nrelative, replacing the
17337 local variable with the same name. Change name of the function
17338 to end in Rel or Rela (uppercase).
17339 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
17340 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
17341 elf_dynamic_do_##reloc function.
17342
fd5bdc09
UD
173432011-10-15 Ulrich Drepper <drepper@gmail.com>
17344
79b195b5
UD
17345 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
17346 is sufficient, at least on modern CPUs.
17347
d4a28569
UD
17348 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
17349
b61099b5
UD
17350 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
17351 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
17352
bcf01e6d
UD
17353 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
17354 __expl_finite.
17355 * math/bits/math-finite.h: Add entries for exp.
17356 * math/e_expl.c: Add __*_finite alias.
17357 * sysdeps/i386/fpu/e_exp.S: Likewise.
17358 * sysdeps/i386/fpu/e_expf.S: Likewise.
17359 * sysdeps/i386/fpu/e_expl.c: Likewise.
17360 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17361 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17362 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17363 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17364 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
17365 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17366 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17367
ba1a0d59
UD
17368 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
17369 is sufficient, at least on modern CPUs.
17370
fd5bdc09
UD
17371 * ctype/ctype-info.c (__ctype_init): Define.
17372 * include/ctype.h (__ctype_init): Declare.
17373 (__ctype_b_loc): The variable is always initialized.
17374 (__ctype_toupper_loc): Likewise.
17375 (__ctype_tolower_loc): Likewise.
17376 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
17377 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
17378
7872cfb0
AS
173792011-10-15 Andreas Schwab <schwab@linux-m68k.org>
17380
b468825a
AS
17381 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
17382
7872cfb0
AS
17383 * configure.in: Also look in $cxxmachine/include for C++ system
17384 headers.
17385
be13f7bf
LD
173862011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17387
17388 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
17389 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
17390 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
17391 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
17392 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
17393 (USE_AS_WMEMCMP): New macro.
17394 Fixing indents.
17395 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
17396 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
17397 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
17398 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
17399 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17400 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
17401 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
17402 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
17403 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
17404 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
17405 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
17406 (USE_AS_WMEMCMP): New macro.
17407 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
17408 * sysdeps/string/test-memcmp.c: Update.
17409 Fix simple_wmemcmp.
17410 Add new tests.
17411 * wcsmbs/wmemcmp.c: Update.
17412 (WMEMCMP): New macro.
17413 Fix overflow bug.
17414
556a2007
AJ
174152011-10-12 Andreas Jaeger <aj@suse.de>
17416
17417 [BZ #13268]
17418 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
17419
538faaa7
UD
174202011-10-15 Ulrich Drepper <drepper@gmail.com>
17421
ab6737ff
UD
17422 * libio/iofwide.c (do_length): Avoid warning.
17423
538faaa7
UD
17424 * ctype/ctype.h (__isctype_f): Add missing __THROW.
17425
396a21b1
UD
174262011-10-14 Ulrich Drepper <drepper@gmail.com>
17427
cdf2901f
UD
17428 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
17429
38ad40ce
UD
17430 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
17431 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
17432 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
17433 * sysdeps/i386/i686/fpu/e_log.S: New file.
17434 * sysdeps/i386/i686/fpu/e_logf.S: New file.
17435 * sysdeps/i386/i686/fpu/e_logl.S: New file.
17436
396a21b1
UD
17437 * ctype/ctype.h: Add support for inlined isXXX functions when
17438 compiling C++ code.
17439
6b1f68c9
AS
174402011-10-14 Andreas Schwab <schwab@redhat.com>
17441
349290c0
AS
17442 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17443
6b1f68c9
AS
17444 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
17445
f2282d42
RM
174462011-10-13 Roland McGrath <roland@hack.frob.com>
17447
17448 [BZ #13291]
17449 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
17450
5298ffa8
AS
174512011-10-13 Andreas Schwab <schwab@redhat.com>
17452
714fad23
AS
17453 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
17454 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
17455 feraiseexcept.
17456
81dcc7fb
AS
17457 * sysdeps/x86_64/memrchr.S: Check for zero size.
17458
5298ffa8
AS
17459 * string/stratcliff.c: Add memrchr tests.
17460
951fbcec
LD
174612011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17462
17463 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17464 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
17465 rawmemchr-sse2 rawmemchr-sse2-bsf.
17466 * sysdeps/i386/i686/multiarch/memchr.S: New file.
17467 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
17468 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
17469 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
17470 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
17471 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
17472 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
17473 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
17474 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
17475 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
17476 * string/memrchr.c (MEMRCHR): New macro.
17477
0ac5ae23
UD
174782011-10-12 Ulrich Drepper <drepper@gmail.com>
17479
17480 Add integration with gcc's -ffinite-math-only and optimize wrapper
17481 functions in libm.
17482 * Versions.def: Define GLIBC_2.15 version for libm.
17483 * math/Makefile (headers): Add bits/math-finite.h.
17484 * math/bits/math-finite.h: New file.
17485 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
17486 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
17487 * math/e_acoshl.c: Add __*_finite alias.
17488 * math/e_acosl.c: Likewise.
17489 * math/e_asinl.c: Likewise.
17490 * math/e_atan2l.c: Likewise.
17491 * math/e_atanhl.c: Likewise.
17492 * math/e_coshl.c: Likewise.
17493 * math/e_exp10.c: Likewise.
17494 * math/e_exp10f.c: Likewise.
17495 * math/e_exp10l.c: Likewise.
17496 * math/e_exp2l.c: Likewise.
17497 * math/e_fmodl.c: Likewise.
17498 * math/e_gammal_r.c: Likewise.
17499 * math/e_hypotl.c: Likewise.
17500 * math/e_j0l.c: Likewise.
17501 * math/e_j1l.c: Likewise.
17502 * math/e_jnl.c: Likewise.
17503 * math/e_lgammal_r.c: Likewise.
17504 * math/e_log10l.c: Likewise.
17505 * math/e_log2l.c: Likewise.
17506 * math/e_logl.c: Likewise.
17507 * math/e_powl.c: Likewise.
17508 * math/e_sinhl.c: Likewise.
17509 * math/e_sqrtl.c: Likewise.
17510 * math/e_scalb.c: Completely rewritten and optimized.
17511 * math/e_scalbf.c: Likewise.
17512 * math/e_scalbl.c: Likewise.
17513 * math/w_acos.c: Likewise.
17514 * math/w_acosf.c: Likewise.
17515 * math/w_acosl.c: Likewise.
17516 * math/w_acosh.c: Likewise.
17517 * math/w_acoshf.c: Likewise.
17518 * math/w_acoshl.c: Likewise.
17519 * math/w_asin.c: Likewise.
17520 * math/w_asinf.c: Likewise.
17521 * math/w_asinl.c: Likewise.
17522 * math/w_atan2.c: Likewise.
17523 * math/w_atan2f.c: Likewise.
17524 * math/w_atan2l.c: Likewise.
17525 * math/w_atanh.c: Likewise.
17526 * math/w_atanhf.c: Likewise.
17527 * math/w_atanhl.c: Likewise.
17528 * math/w_exp10.c: Likewise.
17529 * math/w_exp10f.c: Likewise.
17530 * math/w_exp10l.c: Likewise.
17531 * math/w_fmod.c: Likewise.
17532 * math/w_fmodf.c: Likewise.
17533 * math/w_fmodl.c: Likewise.
17534 * math/w_j0.c: Likewise.
17535 * math/w_j0f.c: Likewise.
17536 * math/w_j0l.c: Likewise.
17537 * math/w_j1.c: Likewise.
17538 * math/w_j1f.c: Likewise.
17539 * math/w_j1l.c: Likewise.
17540 * math/w_jn.c: Likewise.
17541 * math/w_jnf.c: Likewise.
17542 * math/w_log.c: Likewise.
17543 * math/w_logf.c: Likewise.
17544 * math/w_logl.c: Likewise.
17545 * math/w_log10.c: Likewise.
17546 * math/w_log10f.c: Likewise.
17547 * math/w_log10l.c: Likewise.
17548 * math/w_log2.c: Likewise.
17549 * math/w_log2f.c: Likewise.
17550 * math/w_log2l.c: Likewise.
17551 * math/w_pow.c: Likewise.
17552 * math/w_powf.c: Likewise.
17553 * math/w_powl.c: Likewise.
17554 * math/w_remainder.c: Likewise.
17555 * math/w_remainderf.c: Likewise.
17556 * math/w_remainderl.c: Likewise.
17557 * math/w_scalb.c: Likewise.
17558 * math/w_scalbf.c: Likewise.
17559 * math/w_scalbl.c: Likewise.
17560 * math/w_sqrt.c: Likewise.
17561 * math/w_sqrtf.c: Likewise.
17562 * math/w_sqrtl.c: Likewise.
17563 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
17564 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
17565 used.
17566 * math/math_private.h: Declare __kernel_standard_f.
17567 * math/w_cosh.c: Remove cruft and optimize a bit.
17568 * math/w_coshf.c: Likewise.
17569 * math/w_coshl.c: Likewise.
17570 * math/w_exp2.c: Likewise.
17571 * math/w_exp2f.c: Likewise.
17572 * math/w_exp2l.c: Likewise.
17573 * math/w_hypot.c: Likewise.
17574 * math/w_hypotf.c: Likewise.
17575 * math/w_hypotl.c: Likewise.
17576 * math/w_lgamma.c: Likewise.
17577 * math/w_lgamma_r.c: Likewise.
17578 * math/w_lgammaf.c: Likewise.
17579 * math/w_lgammaf_r.c: Likewise.
17580 * math/w_lgammal.c: Likewise.
17581 * math/w_lgammal_r.c: Likewise.
17582 * math/w_sinh.c: Likewise.
17583 * math/w_sinhf.c: Likewise.
17584 * math/w_sinhl.c: Likewise.
17585 * math/w_tgamma.c: Likewise.
17586 * math/w_tgammaf.c: Likewise.
17587 * math/w_tgammal.c: Likewise.
17588 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17589 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17590 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
17591 Minor optimizations. Pretty printing. Remove cruft.
17592 * sysdeps/i386/fpu/e_acosf.S: Likewise.
17593 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17594 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17595 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17596 * sysdeps/i386/fpu/e_acosl.c: Likewise.
17597 * sysdeps/i386/fpu/e_asin.S: Likewise.
17598 * sysdeps/i386/fpu/e_asinf.S: Likewise.
17599 * sysdeps/i386/fpu/e_atan2.S: Likewise.
17600 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
17601 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
17602 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17603 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17604 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17605 * sysdeps/i386/fpu/e_exp10.S: Likewise.
17606 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
17607 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
17608 * sysdeps/i386/fpu/e_exp2.S: Likewise.
17609 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
17610 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
17611 * sysdeps/i386/fpu/e_fmod.S: Likewise.
17612 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
17613 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
17614 * sysdeps/i386/fpu/e_hypot.S: Likewise.
17615 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
17616 * sysdeps/i386/fpu/e_log.S: Likewise.
17617 * sysdeps/i386/fpu/e_log10.S: Likewise.
17618 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17619 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17620 * sysdeps/i386/fpu/e_log2.S: Likewise.
17621 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17622 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17623 * sysdeps/i386/fpu/e_logf.S: Likewise.
17624 * sysdeps/i386/fpu/e_logl.S: Likewise.
17625 * sysdeps/i386/fpu/e_pow.S: Likewise.
17626 * sysdeps/i386/fpu/e_powf.S: Likewise.
17627 * sysdeps/i386/fpu/e_powl.S: Likewise.
17628 * sysdeps/i386/fpu/e_remainder.S: Likewise.
17629 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
17630 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
17631 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17632 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17633 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17634 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
17635 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
17636 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
17637 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17638 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17639 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17640 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17641 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17642 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17643 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17644 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17645 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17646 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17647 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17648 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17649 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17650 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17651 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17652 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17653 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17654 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17655 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17656 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17657 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17658 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17659 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17660 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17661 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17662 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17663 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17664 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17665 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17666 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17667 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17668 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17669 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17670 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17671 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17672 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17673 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17674 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17675 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17676 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17677 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17678 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17679 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17680 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17681 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17682 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17683 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17684 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17685 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17686 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17687 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17688 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17689 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17690 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17691 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17692 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17693 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17694 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17695 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17696 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17697 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17698 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
17699 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17700 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17701 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
17702 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17703 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
17704 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
17705 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
17706 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17707 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
17708 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
17709 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
17710 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17711 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
17712 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17713 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
17714 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
17715 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17716 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
17717 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17718 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
17719 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
17720 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17721 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17722 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17723 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17724 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
17725 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17726 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17727 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17728 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17729 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17730 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17731 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17732 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17733 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17734 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
17735 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
17736 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
17737 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
17738 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
17739 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
17740 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
17741 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17742 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17743 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17744 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17745 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
17746 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17747 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
17748 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
17749 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
17750 (__isnanf): Likewise.
17751 (__isinf_ns): Likewise.
17752 (__isinf_nsf): Likewise.
17753 (__finite): Likewise.
17754 (__finitef): Likewise.
17755 (__ieee754_sqrt): Define as macro.
17756 (__ieee754_sqrtf): Define as macro.
17757 (__ieee754_sqrtl): Define as macro.
17758 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
17759 inlined copy.
17760 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
17761 __FINITE_MATH_ONLY__ consistent.
17762 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
17763
12cc2fcd
AS
177642011-10-10 Andreas Schwab <schwab@linux-m68k.org>
17765
a843a204
AS
17766 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
17767 of rawmemchr.
17768
12cc2fcd
AS
17769 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
17770
c853acd5
UD
177712011-10-09 Ulrich Drepper <drepper@gmail.com>
17772
17773 * po/ja.po: Update from translation team.
17774
c658d255
RM
177752011-10-08 Roland McGrath <roland@hack.frob.com>
17776
110946e4
RM
17777 * locale/programs/locarchive.c (prepare_address_space): New function.
17778 (create_archive, enlarge_archive, open_archive): Use it.
17779
50604220
RM
17780 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
17781 inside [SHARED], where it is used.
17782
c658d255
RM
17783 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
17784
17785 * nss/getent.c (netgroup_keys): Remove unused variable.
17786 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
17787
6a621eb7
UD
177882011-10-08 Ulrich Drepper <drepper@gmail.com>
17789
7edb55ce
UD
17790 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
17791 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
17792 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
17793 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
17794 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
17795 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
17796 * math/Makefile (libm-calls): Add s_isinf_ns.
17797 * math/divtc3.c: Use __isinf_nsl instead of isinf.
17798 * math/multc3.c: Likewise.
17799 * math/s_casin.c: Likewise.
17800 * math/s_casinf.c: Likewise.
17801 * math/s_casinl.c: Likewise.
17802 * math/s_ccos.c: Likewise.
17803 * math/s_ccosf.c: Likewise.
17804 * math/s_ccosl.c: Likewise.
17805 * math/s_ctan.c: Likewise.
17806 * math/s_ctanf.c: Likewise.
17807 * math/s_ctanh.c: Likewise.
17808 * math/s_ctanhf.c: Likewise.
17809 * math/s_ctanhl.c: Likewise.
17810 * math/s_ctanl.c: Likewise.
17811 * math/w_fmod.c: Likewise.
17812 * math/w_fmodf.c: Likewise.
17813 * math/w_fmodl.c: Likewise.
17814 * math/w_remainder.c: Likewise.
17815 * math/w_remainderf.c: Likewise.
17816 * math/w_remainderl.c: Likewise.
17817 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
17818 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
17819 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
17820 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
17821 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
17822 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
17823 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
17824 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
17825
187da0ae
UD
17826 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
17827 of the number.
17828 * stdio-common/printf_fphex.c: Likewise.
17829 * stdio-common/printf_size.c: Likewise.
17830
9277c064
UD
17831 * math/e_exp10.c: Include math_private.h using <...> not "...".
17832 * math/e_exp10f.c: Likewise.
17833 * math/e_exp10l.c: Likewise.
17834 * math/e_exp2l.c: Likewise.
17835 * math/e_j0l.c: Likewise.
17836 * math/e_j1l.c: Likewise.
17837 * math/e_jnl.c: Likewise.
17838 * math/e_lgammal_r.c: Likewise.
17839 * math/e_rem_pio2l.c: Likewise.
17840 * math/e_scalb.c: Likewise.
17841 * math/e_scalbf.c: Likewise.
17842 * math/e_scalbl.c: Likewise.
17843 * math/k_cosl.c: Likewise.
17844 * math/k_sinl.c: Likewise.
17845 * math/k_tanl.c: Likewise.
17846 * math/s_cacoshf.c: Likewise.
17847 * math/s_catan.c: Likewise.
17848 * math/s_catanf.c: Likewise.
17849 * math/s_catanh.c: Likewise.
17850 * math/s_catanhf.c: Likewise.
17851 * math/s_catanhl.c: Likewise.
17852 * math/s_catanl.c: Likewise.
17853 * math/s_ccosh.c: Likewise.
17854 * math/s_ccoshf.c: Likewise.
17855 * math/s_ccoshl.c: Likewise.
17856 * math/s_cexp.c: Likewise.
17857 * math/s_cexpf.c: Likewise.
17858 * math/s_cexpl.c: Likewise.
17859 * math/s_clog.c: Likewise.
17860 * math/s_clog10.c: Likewise.
17861 * math/s_clog10f.c: Likewise.
17862 * math/s_clog10l.c: Likewise.
17863 * math/s_clogf.c: Likewise.
17864 * math/s_clogl.c: Likewise.
17865 * math/s_csin.c: Likewise.
17866 * math/s_csinf.c: Likewise.
17867 * math/s_csinh.c: Likewise.
17868 * math/s_csinhf.c: Likewise.
17869 * math/s_csinhl.c: Likewise.
17870 * math/s_csinl.c: Likewise.
17871 * math/s_csqrt.c: Likewise.
17872 * math/s_csqrtf.c: Likewise.
17873 * math/s_csqrtl.c: Likewise.
17874 * math/s_ctan.c: Likewise.
17875 * math/s_ctanf.c: Likewise.
17876 * math/s_ctanh.c: Likewise.
17877 * math/s_ctanhf.c: Likewise.
17878 * math/s_ctanhl.c: Likewise.
17879 * math/s_ctanl.c: Likewise.
17880 * math/s_ldexp.c: Likewise.
17881 * math/s_ldexpf.c: Likewise.
17882 * math/s_ldexpl.c: Likewise.
17883 * math/s_significand.c: Likewise.
17884 * math/s_significandf.c: Likewise.
17885 * math/s_significandl.c: Likewise.
17886 * math/w_acos.c: Likewise.
17887 * math/w_acosf.c: Likewise.
17888 * math/w_acosh.c: Likewise.
17889 * math/w_acoshf.c: Likewise.
17890 * math/w_acoshl.c: Likewise.
17891 * math/w_acosl.c: Likewise.
17892 * math/w_asin.c: Likewise.
17893 * math/w_asinf.c: Likewise.
17894 * math/w_asinl.c: Likewise.
17895 * math/w_atan2.c: Likewise.
17896 * math/w_atan2f.c: Likewise.
17897 * math/w_atan2l.c: Likewise.
17898 * math/w_atanh.c: Likewise.
17899 * math/w_atanhf.c: Likewise.
17900 * math/w_atanhl.c: Likewise.
17901 * math/w_cosh.c: Likewise.
17902 * math/w_coshf.c: Likewise.
17903 * math/w_coshl.c: Likewise.
17904 * math/w_dremf.c: Likewise.
17905 * math/w_exp10.c: Likewise.
17906 * math/w_exp10f.c: Likewise.
17907 * math/w_exp10l.c: Likewise.
17908 * math/w_exp2.c: Likewise.
17909 * math/w_exp2f.c: Likewise.
17910 * math/w_fmod.c: Likewise.
17911 * math/w_fmodf.c: Likewise.
17912 * math/w_fmodl.c: Likewise.
17913 * math/w_hypot.c: Likewise.
17914 * math/w_hypotf.c: Likewise.
17915 * math/w_hypotl.c: Likewise.
17916 * math/w_j0.c: Likewise.
17917 * math/w_j0f.c: Likewise.
17918 * math/w_j0l.c: Likewise.
17919 * math/w_j1.c: Likewise.
17920 * math/w_j1f.c: Likewise.
17921 * math/w_j1l.c: Likewise.
17922 * math/w_jn.c: Likewise.
17923 * math/w_jnf.c: Likewise.
17924 * math/w_jnl.c: Likewise.
17925 * math/w_lgamma.c: Likewise.
17926 * math/w_lgamma_r.c: Likewise.
17927 * math/w_lgammaf.c: Likewise.
17928 * math/w_lgammaf_r.c: Likewise.
17929 * math/w_lgammal.c: Likewise.
17930 * math/w_lgammal_r.c: Likewise.
17931 * math/w_log.c: Likewise.
17932 * math/w_log10.c: Likewise.
17933 * math/w_log10f.c: Likewise.
17934 * math/w_log10l.c: Likewise.
17935 * math/w_log2.c: Likewise.
17936 * math/w_log2f.c: Likewise.
17937 * math/w_log2l.c: Likewise.
17938 * math/w_logf.c: Likewise.
17939 * math/w_logl.c: Likewise.
17940 * math/w_pow.c: Likewise.
17941 * math/w_powf.c: Likewise.
17942 * math/w_powl.c: Likewise.
17943 * math/w_remainder.c: Likewise.
17944 * math/w_remainderf.c: Likewise.
17945 * math/w_remainderl.c: Likewise.
17946 * math/w_scalb.c: Likewise.
17947 * math/w_scalbf.c: Likewise.
17948 * math/w_scalbl.c: Likewise.
17949 * math/w_sinh.c: Likewise.
17950 * math/w_sinhf.c: Likewise.
17951 * math/w_sinhl.c: Likewise.
17952 * math/w_sqrt.c: Likewise.
17953 * math/w_sqrtf.c: Likewise.
17954 * math/w_sqrtl.c: Likewise.
17955 * math/w_tgamma.c: Likewise.
17956 * math/w_tgammaf.c: Likewise.
17957 * math/w_tgammal.c: Likewise.
17958
6a621eb7
UD
17959 * po/ja.po: Update from translation team.
17960
bf582445
AJ
179612011-09-29 Andreas Jaeger <aj@suse.de>
17962
f9efbf3a
AJ
17963 [BZ #13179]
17964 * sunrpc/netname.c (netname2host): Fix logic.
17965
bf582445
AJ
17966 [BZ #6779]
17967 [BZ #6783]
17968 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
17969 correctly.
17970 * math/w_remainder.c (__remainder): Likewise.
17971 * math/w_remainderf.c (__remainderf): Likewise.
17972 * math/libm-test.inc (remainder_test): Add test cases.
17973
48693bea
AK
179742011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17975
17976 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
17977 sdiv_qrnnd.
17978
42622229
LD
179792011-10-07 Ulrich Drepper <drepper@gmail.com>
17980
17981 * string/test-memcmp.c: Avoid unncessary #defines.
17982 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17983
093ecf92
LD
179842011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17985
17986 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
17987 Use new sse2 version for core i3 - i7 as it's faster
17988 than sse42 version.
17989 (bit_Prefer_PMINUB_for_stringop): New.
17990 * sysdeps/x86_64/rawmemchr.S: Update.
17991 Replace with faster SSE2 version.
17992 * sysdeps/x86_64/memrchr.S: New file.
17993 * sysdeps/x86_64/memchr.S: Update.
17994 Replace with faster SSE2 version.
17995
fde56e5c
MP
179962011-09-12 Marek Polacek <mpolacek@redhat.com>
17997
17998 * elf/dl-load.c (lose): Add cast to avoid warning.
17999
21fd49a9
UD
180002011-10-07 Ulrich Drepper <drepper@gmail.com>
18001
5a06e643
UD
18002 * po/ca.po: Update from translation team.
18003
684ae515
UD
18004 * inet/getnetgrent_r.c: Hook up nscd.
18005 * nscd/Makefile (routines): Add nscd_netgroup.
18006 (nscd-modules): Add netgroupcache.
18007 (CFLAGS-netgroupcache.c): Define.
18008 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
18009 (cache_search): Add const to second parameter.
18010 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
18011 INNETGR.
18012 (dbs): Add netgrdb entry.
18013 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
18014 (verify_persistent_db): Handle netgrdb.
18015 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
18016 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
18017 GETFDNETGR.
18018 (netgroup_response_header): Define.
18019 (innetgroup_response_header): Define.
18020 (datahead): Add netgroup_response_header and innetgroup_response_header
18021 elements.
18022 * nscd/nscd.conf: Add entries for netgroup cache.
18023 * nscd/nscd.h (dbtype): Add netgrdb.
18024 (_PATH_NSCD_NETGROUP_DB): Define.
18025 (netgroup_iov_disabled): Declare.
18026 (xmalloc, xcalloc, xrealloc): Move declarations here.
18027 (cache_search): Adjust prototype.
18028 Add netgroup-related prototypes.
18029 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
18030 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
18031 (__nscd_innetgr): Declare.
18032 * nscd/selinux.c (perms): Use access_vector_t as element type and
18033 add netgroup-related initializers.
18034 * nscd/netgroupcache.c: New file.
18035 * nscd/nscd_netgroup.c: New file.
18036 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
18037 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
18038 For four parameters use innetgr.
18039 * nss/nss_files/files-init.c: Add definition and callback for netgr.
18040 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
18041 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
18042 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
18043
21fd49a9
UD
18044 * nscd/connections.c (register_traced_file): Don't register file
18045 for disabled databases.
18046
054c0457
UD
180472011-10-06 Ulrich Drepper <drepper@gmail.com>
18048
32b63198
UD
18049 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
18050
054c0457
UD
18051 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
18052 from tree and freeing node.
18053
64031225
JO
180542011-09-25 Jiri Olsa <jolsa@redhat.com>
18055
18056 * nss/nsswitch.c (__nss_database_lookup): Handle
18057 nss_parse_service_list out of memory case.
18058
0490345c
JO
180592011-09-15 Jiri Olsa <jolsa@redhat.com>
18060
18061 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
18062 out of memory case.
18063
3a62d00d
AS
180642011-10-04 Andreas Schwab <schwab@redhat.com>
18065
18066 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
18067 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
18068 pass it down.
18069 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
18070 elf_machine_rela, elf_machine_lazy_rel.
18071 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
18072 (ELF_DYNAMIC_DO_REL): Likewise.
18073 (ELF_DYNAMIC_DO_RELA): Likewise.
18074 (ELF_DYNAMIC_RELOCATE): Likewise.
18075 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
18076 to ELF_DYNAMIC_DO_REL.
18077 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
18078 (dl_main): In trace mode always set __RTLD_NOIFUNC.
18079 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
18080 elf_machine_rela.
18081 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
18082 skip_ifunc, don't call ifunc function if non-zero.
18083 (elf_machine_rela): Likewise.
18084 (elf_machine_lazy_rel): Likewise.
18085 (elf_machine_lazy_rela): Likewise.
18086 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
18087 (elf_machine_lazy_rel): Likewise.
18088 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
18089 Likewise.
18090 (elf_machine_lazy_rel): Likewise.
18091 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18092 Likewise.
18093 (elf_machine_lazy_rel): Likewise.
18094 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
18095 (elf_machine_lazy_rel): Likewise.
18096 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
18097 (elf_machine_lazy_rel): Likewise.
18098 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18099 (elf_machine_lazy_rel): Likewise.
18100 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
18101 (elf_machine_lazy_rel): Likewise.
18102 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
18103 (elf_machine_lazy_rel): Likewise.
18104 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18105 (elf_machine_lazy_rel): Likewise.
18106
68577918
UD
181072011-09-28 Ulrich Drepper <drepper@gmail.com>
18108
18109 * nss/nss_files/files-init.c (_nss_files_init): Use static
18110 initialization for all the *_traced_file variables.
18111
68822d74
AS
181122011-09-28 Andreas Schwab <schwab@redhat.com>
18113
18114 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18115
2056100b
RM
181162011-09-27 Roland McGrath <roland@hack.frob.com>
18117
18118 [BZ #13226]
18119 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
18120
32c76b63
AS
181212011-09-27 Andreas Schwab <schwab@redhat.com>
18122
18123 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18124 Reread the line before reparsing it.
18125
bf972c9d
AS
181262011-09-26 Andreas Schwab <schwab@redhat.com>
18127
18128 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
18129
e057a1b5
JM
181302011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
18131 Maxim Kuvyrkov <maxim@codesourcery.com>
18132 Joseph Myers <joseph@codesourcery.com>
18133
18134 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
18135 if needed for __stack_chk_guard.
18136
bc7e1c36
RM
181372011-09-19 Roland McGrath <roland@hack.frob.com>
18138
ecb1482f
RM
18139 * sysdeps/posix/spawni.c (script_execute): Always define it.
18140 It will be optimized away if unused.
18141 (maybe_script_execute): New function.
18142 (__spawni): Call it.
18143
bc7e1c36
RM
18144 * Makerules: Don't include tls.make.
18145 (config-tls): Always set to thread.
18146 * tls.make.c: File removed.
18147
1c3b002b
MF
181482011-09-19 Mike Frysinger <vapier@gentoo.org>
18149
18150 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
18151 * config.make.in (CPPFLAGS-config): New substituted variable.
18152
2840865d
UD
181532011-09-15 Ulrich Drepper <drepper@gmail.com>
18154
88738eb6
UD
18155 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
18156
cbf645a6 18157 [BZ #13192]
2840865d
UD
18158 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
18159 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
18160
b402e91a
RM
181612011-09-15 Roland McGrath <roland@hack.frob.com>
18162
18163 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
18164 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
18165 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18166 (CALL_FAIL): Likewise.
18167 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
18168 (CALL_FAIL): Macro removed.
18169 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
18170
4c1a1f71
UD
181712011-09-15 Ulrich Drepper <drepper@gmail.com>
18172
18173 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
18174 for __FINITE_MATH_ONLY__ == 1.
18175
edc121be
AS
181762011-09-15 Andreas Schwab <schwab@redhat.com>
18177
18178 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
18179 __ieee754_sqrt instead of sqrt.
18180 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
18181 __ieee754_sqrtf instead of sqrtf.
18182 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
18183 __floorf instead of floorf.
18184 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
18185 __floorf, __truncf instead of floorf, truncf.
18186
cd205654
UD
181872011-09-14 Ulrich Drepper <drepper@gmail.com>
18188
ee4d0315
UD
18189 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
18190
cd205654
UD
18191 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
18192 __extern_always_inline.
18193 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
18194 32-bit.
18195
48b67d71
AS
181962011-09-14 Andreas Schwab <schwab@redhat.com>
18197
18198 * elf/rtld.c (dl_main): Also relocate in dependency order when
18199 doing symbol dependency testing.
18200
1ae12c75
AS
182012011-09-13 Andreas Schwab <schwab@linux-m68k.org>
18202
18203 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18204 Always define `refsym'.
18205
995a80df
AS
182062011-09-13 Andreas Schwab <schwab@redhat.com>
18207
e529793b
AS
18208 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
18209 (__FD_ELT): Renamed from __FDELT.
18210 * misc/bits/select2.h (__FD_ELT): Likewise.
18211 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
18212 __FD_MASK instead of __FDELT, __FDMASK.
18213 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18214 Likewise.
18215 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18216 Likewise.
18217
52d4fef8
AS
18218 * elf/Makefile (gen-ldd): Fix pattern.
18219
995a80df
AS
18220 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
18221 (init_tls): Likewise.
18222
8682f8b0
UD
182232011-09-12 Ulrich Drepper <drepper@gmail.com>
18224
18225 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
18226
de82006d
AS
182272011-09-12 Andreas Schwab <schwab@redhat.com>
18228
a7c8e6a1
AS
18229 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
18230 `struct cmsghdr *' instead of `void *'.
18231 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
18232 Likewise.
18233
0f31fe77
AS
182342011-09-11 Andreas Schwab <schwab@linux-m68k.org>
18235
18236 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
18237 if non-absolute.
18238 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
18239 ldd_rewrite_script.
0f31fe77 18240
32b4c839
UD
182412011-09-11 Ulrich Drepper <drepper@gmail.com>
18242
83cd1420
UD
18243 * configure.in: Remove --with-tls option.
18244 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
18245 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
18246 out in case it is missing.
18247 * sysdeps/ia64/elf/configure.in: Likewise.
18248 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
18249 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
18250 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
18251 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
18252 * sysdeps/sh/elf/configure.in: Likewise.
18253 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
18254 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18255 * sysdeps/x86_64/elf/configure.in: Likewise.
18256 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
18257 * sysdeps/mach/hurd/tls.h: Likewise.
18258
633f745d
UD
18259 [BZ #13067]
18260 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
18261
f318beb8
UD
18262 [BZ #13090]
18263 * configure.in: Fix use of AC_INIT.
18264
32b4c839
UD
18265 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
18266
3ce1f295
UD
182672011-09-10 Ulrich Drepper <drepper@gmail.com>
18268
bb016596
UD
18269 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
18270 __set_errno.
8e58439c
UD
18271 * malloc/hooks.c: Likewise.
18272
aebae053 18273 [BZ #11929]
02d46fc4
UD
18274 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
18275 variables statically.
18276 (narenas): Initialize.
18277 (list_lock): Initialize.
bb016596
UD
18278 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
18279 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
18280 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
18281 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
18282 Add initializers to main_arena and mp_.
18283 (malloc_state): Remove pagesize member. Change all users to use
18284 GLRO(dl_pagesize).
18285
18286 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
18287 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
18288 is always initialized.
18289
22a89187
UD
18290 * malloc/malloc.c: Removed unused configurations and dead code.
18291 * malloc/arena.c: Likewise.
18292 * malloc/hooks.c: Likewise.
02d46fc4 18293 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 18294
d063d164
UD
18295 * include/tls.h: Removed. USE___THREAD must always be defined.
18296 * bits/libc-tsd.h: Don't handle !USE___THREAD.
18297 * elf/dl-libc.c: Likewise.
18298 * elf/dl-tsd.c: Likewise.
18299 * include/errno.h: Likewise.
18300 * include/netdb.h: Likewise.
18301 * include/resolv.h: Likewise.
18302 * inet/herrno-loc.c: Likewise.
18303 * inet/herrno.c: Likewise.
18304 * malloc/arena.c: Likewise.
18305 * malloc/hooks.c: Likewise.
18306 * malloc/malloc.c: Likewise.
18307 * resolv/res-state.c: Likewise.
18308 * resolv/res_libc.c: Likewise.
18309 * sysdeps/i386/dl-machine.h: Likewise.
18310 * sysdeps/ia64/dl-machine.h: Likewise.
18311 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
18312 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18313 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
18314 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18315 * sysdeps/sh/dl-machine.h: Likewise.
18316 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18317 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18318 * sysdeps/unix/i386/sysdep.S: Likewise.
18319 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18320 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
18321 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
18322 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18323 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
18324 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18325 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18326 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18327 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18328 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18329 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18330 * sysdeps/x86_64/dl-machine.h: Likewise.
18331 * tls.make.c: Likewise.
18332
3ce1f295
UD
18333 * configure.in: Remove --with-__thread option. Make tests for
18334 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
18335 tls_model attribute fail if no support is available. Remove
18336 USE_IN_LIBIO.
18337 * Makeconfig: Adjust for dropped configure option. All features are
18338 now mandatory.
18339 * Makerules: Likewise.
18340 * Versions.def: Likewise.
18341 * argp/argp-fmtstream.c: Likewise.
18342 * argp/argp-fmtstream.h: Likewise.
18343 * argp/argp-help.c: Likewise.
18344 * assert/assert.c: Likewise.
18345 * config.h.in: Likewise.
18346 * config.make.in: Likewise.
18347 * configure: Likewise.
18348 * configure.in: Likewise.
18349 * csu/Versions: Likewise.
18350 * csu/init.c: Likewise.
18351 * elf/tst-audit2.c: Likewise.
18352 * elf/tst-tls10.c: Likewise.
18353 * elf/tst-tls10.h: Likewise.
18354 * elf/tst-tls11.c: Likewise.
18355 * elf/tst-tls12.c: Likewise.
18356 * elf/tst-tls14.c: Likewise.
18357 * elf/tst-tlsmod11.c: Likewise.
18358 * elf/tst-tlsmod12.c: Likewise.
18359 * elf/tst-tlsmod13.c: Likewise.
18360 * elf/tst-tlsmod13a.c: Likewise.
18361 * elf/tst-tlsmod14a.c: Likewise.
18362 * elf/tst-tlsmod15b.c: Likewise.
18363 * elf/tst-tlsmod16a.c: Likewise.
18364 * elf/tst-tlsmod16b.c: Likewise.
18365 * elf/tst-tlsmod7.c: Likewise.
18366 * elf/tst-tlsmod8.c: Likewise.
18367 * elf/tst-tlsmod9.c: Likewise.
18368 * gmon/gmon.c: Likewise.
18369 * grp/fgetgrent_r.c: Likewise.
18370 * grp/putgrent.c: Likewise.
18371 * hurd/fopenport.c: Likewise.
18372 * include/libc-symbols.h: Likewise.
18373 * include/tls.h: Likewise.
18374 * intl/gettextP.h: Likewise.
18375 * intl/loadinfo.h: Likewise.
18376 * locale/global-locale.c: Likewise.
18377 * locale/localeinfo.h: Likewise.
18378 * mach/devstream.c: Likewise.
18379 * malloc/arena.c: Likewise.
18380 * malloc/set-freeres.c: Likewise.
18381 * misc/err.c: Likewise.
18382 * misc/getttyent.c: Likewise.
18383 * misc/mntent_r.c: Likewise.
18384 * posix/getopt.c: Likewise.
18385 * posix/wordexp.c: Likewise.
18386 * pwd/fgetpwent_r.c: Likewise.
18387 * resolv/Versions: Likewise.
18388 * resolv/res_hconf.c: Likewise.
18389 * shadow/fgetspent_r.c: Likewise.
18390 * shadow/putspent.c: Likewise.
18391 * stdio-common/printf_fphex.c: Likewise.
18392 * stdio-common/tmpfile.c: Likewise.
18393 * stdlib/abort.c: Likewise.
18394 * stdlib/fmtmsg.c: Likewise.
18395 * sunrpc/auth_unix.c: Likewise.
18396 * sunrpc/clnt_perr.c: Likewise.
18397 * sunrpc/clnt_tcp.c: Likewise.
18398 * sunrpc/clnt_udp.c: Likewise.
18399 * sunrpc/clnt_unix.c: Likewise.
18400 * sunrpc/openchild.c: Likewise.
18401 * sunrpc/svc_simple.c: Likewise.
18402 * sunrpc/svc_tcp.c: Likewise.
18403 * sunrpc/svc_udp.c: Likewise.
18404 * sunrpc/svc_unix.c: Likewise.
18405 * sunrpc/xdr.c: Likewise.
18406 * sunrpc/xdr_array.c: Likewise.
18407 * sunrpc/xdr_rec.c: Likewise.
18408 * sunrpc/xdr_ref.c: Likewise.
18409 * sunrpc/xdr_stdio.c: Likewise.
18410
1248c1c4
PB
184112011-09-09 Ulrich Drepper <drepper@gmail.com>
18412
18413 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18414
184152011-07-03 Andreas Jaeger <aj@suse.de>
18416
18417 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
18418 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
18419 regenerate with gen-libm-tests.pl.
18420
184212010-05-12 Petr Baudis <pasky@suse.cz>
18422
18423 [BZ #11589]
18424 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
18425 around j0() zero points by switching to j1().
18426 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18427 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18428 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18429 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18430
f22e1074
UD
184312011-09-09 Ulrich Drepper <drepper@gmail.com>
18432
f19009c1
UD
18433 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
18434 instead of 0.
18435 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
18436 instead of 0. .
18437 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18438 Patch in part by Pavel Roskin <proski@gnu.org>.
18439
3f8cc204
UD
18440 [BZ #13138]
18441 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
18442 realloc.
18443 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
18444 Free memory block if necessary.
18445
f22e1074
UD
18446 [BZ #12847]
18447 * libio/genops.c (INTDEF): For string streams the _lock pointer can
18448 be NULL. Don't lock in this case.
18449
0a2349f9
RM
184502011-09-09 Roland McGrath <roland@hack.frob.com>
18451
18452 * elf/elf.h (ELFOSABI_GNU): New macro.
18453 (ELFOSABI_LINUX): Define to that.
18454
f3cdd467
DZ
184552011-07-29 Denis Zaitceff <zaitceff@gmail.com>
18456
18457 * string/strncat.c (strncat): Undef the symbol in case it has been
18458 defined in bits/string.h.
18459
74718d13
UD
184602011-09-09 Ulrich Drepper <drepper@gmail.com>
18461
633e9e0f
UD
18462 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
18463
0a2349f9 18464 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
18465 link map.
18466
f9924780
AJ
184672011-08-17 Andreas Jaeger <aj@suse.de>
18468
18469 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
18470
7f5517aa
PP
184712011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
18472 Ian Lance Taylor <iant@google.com>
18473
18474 * math/libm-test.inc (lround_test): New testcase.
18475 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
18476
762011fe
UD
184772011-09-08 Ulrich Drepper <drepper@gmail.com>
18478
92963737
UD
18479 * Makefile: Remove support for automatic cvs check-ins.
18480 * Makerules: Likewise.
18481 * config.make.in: Likewise.
18482 * configure.in: Likewise.
18483 * intl/Makefile: Likewise.
18484 * locale/Makefile: Likewise.
18485 * po/Makefile: Likewise.
18486 * posix/Makefile: Likewise.
18487 * sysdeps/gnu/Makefile: Likewise.
18488 * sysdeps/mach/hurd/Makefile: Likewise.
18489 * sysdeps/sparc/sparc32/Makefile: Likewise.
18490
b0727fd8
JS
18491 [BZ #13118]
18492 * posix/Makefile (bug-regex32-ENV): Define.
18493 Patch by John Stanley <jpsinthemix@verizon.net>.
18494
a0f33f99
UD
18495 * misc/Makefile (headers): Add bits/select2.h.
18496 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
18497 * misc/bits/select2.h: New file.
18498 * include/bits/select2.h: New file.
18499 * debug/Makefile (routines): Add fdelt_chk.
18500 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
18501 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
18502 FD_ISSET.
18503 * debug/fdelt_chk.c: New file.
18504
762011fe
UD
18505 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
18506 * wcsmbs/test-wmemcmp.c: Likewise.
18507 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 18508 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
18509
185102011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18511
18512 * string/Makefile (strop-tests): Add memcmp.
18513 * string/test-wmemcmp.c: New file.
18514 * string/test-memcmp.c: Add wmemcmp support.
18515
7f513ec8
RM
185162011-09-08 Roland McGrath <roland@hack.frob.com>
18517
0442afb4
RM
18518 [BZ #13153]
18519 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
18520 2011-07-19 change.
18521
7f513ec8
RM
18522 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
18523 garbage value in a __mach_port_mod_refs call in the cases of the
18524 task-self and thread-self ports.
18525
a12b2239
ST
185262011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18527
18528 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
18529
610f9ab4
AS
185302011-09-08 Andreas Schwab <schwab@redhat.com>
18531
7f513ec8 18532 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 18533
48882a1a
LD
185342011-09-07 Ulrich Drepper <drepper@gmail.com>
18535
b49865be
UD
18536 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
18537
fdc86bc9
UD
18538 * elf/dl-libc.c (dlerror_run): Pass back error code from
18539 dl_catch_error.
18540
c966526a
UD
18541 [BZ #13123]
18542 * elf/dl-load.c (lose): Free l_origin if it is valid.
18543
48882a1a
LD
18544 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
18545 names.
18546 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
18547 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18548 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18549 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18550 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
18551 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
18552
77a2a8b4
AZ
185532011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18554
18555 * sysdeps/powerpc/fpu/e_hypot.c: New file.
18556 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
18557 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
18558 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
18559 * sysdeps/powerpc/fpu/k_cosf.c: New file.
18560 * sysdeps/powerpc/fpu/k_sinf.c: New file.
18561 * sysdeps/powerpc/fpu/s_cosf.c: New file.
18562 * sysdeps/powerpc/fpu/s_sinf.c: New file.
18563 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
18564 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
18565
24f579d8
AM
185662011-08-15 Alan Modra <amodra@gmail.com>
18567
18568 [BZ #13092]
18569 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
18570 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
18571 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
18572 ppc_mcount to static-only-routines.
18573 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
18574 __mcount_internal.
18575 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
18576 __mcount_internal with usual JUMPTARGET. Remove useless nop.
18577
3d4837df
UD
185782011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
18579
18580 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
18581 for finite and infinity parameters.
18582
22700377
WS
185832011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
18584
18585 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
18586 and add nop instructions for throughput optimization.
18587 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18588
5025581e
WS
185892011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
18590
18591 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
18592 aligned copy for power7 with vector-scalar instructions.
18593 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18594
08a300c9
L
185952011-07-24 H.J. Lu <hongjiu.lu@intel.com>
18596
18597 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
18598 AVX check.
18599
59178ef9
AS
186002011-09-07 Andreas Schwab <schwab@redhat.com>
18601
18602 [BZ #13144]
18603 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
18604 last change.
18605
e38ba7ab
UD
186062011-09-07 Ulrich Drepper <drepper@gmail.com>
18607
18608 * sysdeps/unix/sysv/linux/x86_64/init-first.c
18609 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
18610 syscall wrapper around clock_gettime in __vdso_clock_gettime.
18611 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
18612 clock_gettime.
18613
d53a73ac
UD
186142011-09-06 Ulrich Drepper <drepper@gmail.com>
18615
fc8bffcc
UD
18616 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
18617 Forgot to demangle the pointer.
18618
ceaa0c5d
UD
18619 * sysdeps/i386/sysdep.h: Define atom_text_section.
18620 * sysdeps/x86_64/sysdep.h: Likewise.
18621 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
18622 section with atom_text_section.
18623 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18624 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18625 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
18626 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
18627 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
18628
a77d3c17
UD
18629 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
18630 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
18631 already be defined. Change to take two parameters and don't assign
18632 result to variable. Adjust all users.
18633 Define INTERNAL_GETTIME if not already defined.
18634 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
18635 call.
18636 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
18637 HAVE_CLOCK_GETTIME_VSYSCALL.
18638 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
18639
d53a73ac
UD
18640 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
18641 gettimeofday vsyscall, just use time.
18642
a8f84144
AS
186432011-09-06 Andreas Schwab <schwab@redhat.com>
18644
18645 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
18646 <errno.h>.
18647
ef606249
UD
186482011-09-06 Ulrich Drepper <drepper@gmail.com>
18649
18650 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
18651 syscall on x86-64.
18652 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
18653 syscall.
18654 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
18655 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
18656 syscall if possible.
18657
6585cb60
UD
186582011-09-05 Ulrich Drepper <drepper@gmail.com>
18659
18660 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
18661 e_ident. Don't pass to find_mapsXX.
18662 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
18663
a5f524e4
LD
186642011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18665
18666 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18667 strchr-sse2-no-bsf strrchr-sse2-no-bsf
18668 * sysdeps/x86_64/multiarch/strchr.S: Update.
18669 Check bit_slow_BSF bit.
18670 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18671 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
18672 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
18673
554881ef
UD
186742011-09-05 Ulrich Drepper <drepper@gmail.com>
18675
d96de963
UD
18676 [BZ #13134]
18677 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
18678 before glibc 2.15.
18679 (tryshell): Define.
18680 (__spawni): Change last parameter to be flag. Test
18681 SPAWN_XFLAGS_USE_PATH flag to use path or not.
18682 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
18683 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
18684 * posix/spawni.c: Likewise.
18685 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
18686 * posix/spawnp.c: Likewise. Change normal version to use
18687 SPAWN_XFLAGS_USE_PATH.
18688 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
18689 SPAWN_XFLAGS_TRY_SHELL.
18690
d48e5868
UD
18691 [BZ #13150]
18692 * posix/glob.h: Remove gcc 1.x support.
18693
554881ef
UD
18694 [BZ #13068]
18695 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
18696
693fb948
LD
186972011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18698
18699 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18700 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
18701 strrchr-sse2-bsf
18702 * sysdeps/i386/i686/multiarch/strchr.S: New file.
18703 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
18704 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
18705 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
18706 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
18707 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
18708
1b48c537
UD
187092011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18710
49d42c37
UD
18711 * sysdeps/x86_64/wcscmp.S: New file.
18712
1b48c537
UD
18713 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
18714 wcscmp-c wcscmp-sse2
18715 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
18716 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
18717 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
18718 * wcsmbs/wcscmp.c: Allow renaming.
18719
15c95c5d
DM
187202011-09-05 David S. Miller <davem@davemloft.net>
18721
18722 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
18723 stack slot, rather than the struct return pointer slot.
18724 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
18725 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
18726 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
18727 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
18728
2f0ad8f3
UD
187292011-09-05 Ulrich Drepper <drepper@gmail.com>
18730
d88ae418
UD
18731 * po/ja.po: Update from translation team.
18732
2f0ad8f3
UD
18733 [BZ #13144]
18734 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
18735 kernel in 64-bit binaries.
18736
5f4318d1
DM
187372011-09-01 David S. Miller <davem@davemloft.net>
18738
18739 * elf/elf.h (HWCAP_SPARC_*): Move to..
18740 * sysdeps/sparc/sysdep.h: this new file and add new values.
18741 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
18742 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
18743 _DL_HWCAP_COUNT to 24.
18744 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
18745 entries.
18746 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
18747 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
18748 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
18749 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
18750 instead of magic constants.
18751 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18752
3ba57516
DM
187532011-08-31 David S. Miller <davem@davemloft.net>
18754
18755 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
18756 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
18757 Reimplement to do errno handling inline.
18758 (SYSCALL_ERROR_HANDLER): New macro.
18759 (__SYSCALL_STRING): Do not do errno handling in asm.
18760 (__CLONE_SYSCALL_STRING): Delete.
18761 (__INTERNAL_SYSCALL_STRING): Delete.
18762 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
18763 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
18764 (PSEUDO): Reimplement to do errno handling inline.
18765 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
18766 (SYSCALL_ERROR_HANDLER): New macro.
18767 (__SYSCALL_STRING): Do not do errno handling in asm.
18768 (__CLONE_SYSCALL_STRING): Delete.
18769 (__INTERNAL_SYSCALL_STRING): Delete.
18770 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
18771 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
18772 i386.
18773 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
18774 (inline_syscall*): Add 'err' argument.
18775 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
18776 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
18777 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
18778 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
18779
18780 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
18781 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18782
2bc17433
AS
187832011-08-30 Andreas Schwab <schwab@redhat.com>
18784
18785 * elf/rtld.c (dl_main): Relocate objects in dependency order.
18786
fbeb5f4d
JO
187872011-08-29 Jiri Olsa <jolsa@redhat.com>
18788
18789 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
18790 directive.
18791
ad69cc26
DM
187922011-08-24 David S. Miller <davem@davemloft.net>
18793
18794 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
18795
39dd69df
AS
187962011-08-24 Andreas Schwab <schwab@redhat.com>
18797
18798 * elf/Makefile: Add rules to build and run unload8 test.
18799 * elf/unload8.c: New file.
18800 * elf/unload8mod1.c: New file.
18801 * elf/unload8mod1x.c: New file.
18802 * elf/unload8mod2.c: New file.
18803 * elf/unload8mod3.c: New file.
18804
18805 * elf/dl-close.c (_dl_close_worker): Reset private search list if
18806 it wasn't used.
18807
2c0b250a
DM
188082011-08-23 David S. Miller <davem@davemloft.net>
18809
18810 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
18811 subtract stack bias.
18812 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
18813 %sp not %fp in calculations.
18814 (_JMPBUF_UNWINDS_ADJ): Likewise.
18815
22044b48
DM
18816 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
18817 (aio_suspend): Call it to force an exception region around the
18818 AIO_MISC_WAIT() invocation.
18819
2cae4995
AS
188202011-08-23 Andreas Schwab <schwab@redhat.com>
18821
18822 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
18823 backslash.
18824
873a772e
AJ
188252011-07-04 Aurelien Jarno <aurelien@aurel32.net>
18826
18827 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
18828 protection macro.
18829 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
18830 and <dl-machine.h>.
18831 (Elf64_FuncDesc): Remove.
18832
25ad0df1
DM
188332011-08-22 David S. Miller <davem@davemloft.net>
18834
18835 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
18836 sigaltstack check, add missing cfi directives.
18837 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
18838 missing cfi directives, and sigaltstack handling.
18839
e888bcbe
AS
188402011-08-16 Andreas Schwab <schwab@redhat.com>
18841
18842 [BZ #11724]
18843 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
18844 object is seen twice.
18845 * elf/dl-fini.c (_dl_sort_fini): Likewise.
18846
18847 * elf/Makefile (distribute): Add tst-initorder2.c.
18848 (tests): Add tst-initorder2.
18849 (modules-names): Add tst-initorder2a tst-initorder2b
18850 tst-initorder2c tst-initorder2d. Add rules to build them.
18851 ($(objpfx)tst-initorder2.out): New rule.
18852 * elf/tst-initorder2.c: New file.
18853 * elf/tst-initorder2.exp: New file.
18854
87162f46
AS
188552011-08-22 Andreas Schwab <schwab@redhat.com>
18856
70538b7f
AS
18857 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
18858
f55ffe58
AS
18859 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
18860 dependencies back to end of function.
18861
87162f46
AS
18862 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18863 $(elfobjdir)/ld.so.
18864
91b392a4
UD
188652011-08-21 Ulrich Drepper <drepper@gmail.com>
18866
18867 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
18868 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
18869 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
18870 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
18871 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
18872 of __vdso_gettimeofday.
18873 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
18874 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
18875 attribute_hidden.
18876 (_libc_vdso_platform_setup): Remove initialization of
18877 __vdso_gettimeofday and __vdso_time.
18878
5c43483f
UD
188792011-08-20 Ulrich Drepper <drepper@gmail.com>
18880
775a77e7
UD
18881 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
18882 and fgetc_unlocked.
18883 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
18884 getc_unlocked.
89f447ed 18885
49c74ba9
UD
18886 * elf/dl-open.c (add_to_global): Report additions to the global scope
18887 for LD_DEBUG=scopes.
18888 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 18889 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 18890
5c43483f
UD
18891 [BZ #13114]
18892 * stdio-common/Makefile (tests): Add bug24.
18893 * stdio-common/bug24.c: New file.
18894
a101b025
AJ
188952011-08-19 Andreas Jaeger <aj@suse.de>
18896
18897 [BZ #13114]
18898 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
18899 non-existant file when using close-on-exec mode.
18900
c88f1766
UD
189012011-08-20 Ulrich Drepper <drepper@gmail.com>
18902
0276a718
UD
18903 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
18904 the very first instruction.
18905
c88f1766
UD
18906 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
18907 the CFI state in the end.
18908 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
18909 inclusion of dl-trampoline.h.
18910 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
18911
51ccffa0
AS
189122011-08-19 Andreas Schwab <schwab@redhat.com>
18913
94d7165f
AS
18914 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
18915 expectations for long double.
18916
51ccffa0
AS
18917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
18918 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
18919
fd708658 189202011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
18921
18922 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
18923 artificual limit depends upon the system page size.
18924
44f0a71e
UD
189252011-08-17 Ulrich Drepper <drepper@gmail.com>
18926
18927 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
18928 * resolv/Makefile: Define CFLAGS-libresolv.
18929
8de79a24
AS
189302011-08-17 Andreas Schwab <schwab@redhat.com>
18931
18932 * nss/makedb.c (compute_tables): Make variables used in nested
18933 function static.
18934
27724598
UD
189352011-08-17 Ulrich Drepper <drepper@gmail.com>
18936
c5305d88
UD
18937 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
18938 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
18939 if buffer was too small.
18940
27724598
UD
18941 * elf/pldd.c (main): Attach to all threads in the process.
18942 Rewrite /proc handling to use *at functions.
18943
076fe015
UD
189442011-08-16 Ulrich Drepper <drepper@gmail.com>
18945
174baab3
UD
18946 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
18947 specifies first scope to show.
18948 (dl_open_worker): Update callers. Move printing scope of new
18949 object to before the relocation.
44f0a71e 18950 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
18951 * sysdeps/generic/ldsodefs.h: Update declaration.
18952
076fe015
UD
18953 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
18954 string for the scope number.
18955
a60df2c3
UD
189562011-08-14 Ulrich Drepper <drepper@gmail.com>
18957
18958 * nscd/servicescache.c (cache_addserv): Make sure written is always
18959 initialized.
18960
5e4287d1
RM
189612011-08-14 Roland McGrath <roland@hack.frob.com>
18962
85ae0589
RM
18963 * sysdeps/i386/i486/bits/atomic.h
18964 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
18965 statement expression, so as to suppress "set but not used" warning.
18966 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
18967
69f63097
RM
18968 * string/strncat.c (STRNCAT): Use prototype definition.
18969
675456ef
RM
18970 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
18971 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
18972 -Iprograms here.
18973 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
18974 (localedef-modules): Add localedef.
18975 (locale-modules): Add locale.
18976
5e4287d1
RM
18977 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
18978 * elf/rtld.c (dl_main): Invert order of assignment in last change,
18979 to avoid a warning.
18980
9c96ff23
DM
189812011-08-14 David S. Miller <davem@davemloft.net>
18982
18983 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
18984 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
18985
f9ddf089
UD
189862011-08-13 Ulrich Drepper <drepper@gmail.com>
18987
44f0a71e 18988 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
18989 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
18990 * elf/rtld.c (dl_main): Set l_name of vDSO.
18991 Call _dl_show_scope when DL_DEBUG_SCOPES.
18992 (process_dl_debug): Recognize scopes flag and also set it for all.
18993 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
18994 Declare _dl_show_scope.
18995
1dc27704
UD
18996 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
18997 (do_dlopen): Pass caller_dlopen to dl_open.
18998 (__libc_dlopen_mode): Initialize caller_dlopen.
18999
f9ddf089
UD
19000 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
19001 of libc. Make tolower call locale-independent. Optimize a bit by
19002 using isdigit instead of isalnum.
19003 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
19004
9ac533d3
UD
190052011-08-12 Ulrich Drepper <drepper@gmail.com>
19006
19007 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
19008 was a dependency or dynamically loaded.
19009
89edf2e9
UD
190102011-08-11 Ulrich Drepper <drepper@gmail.com>
19011
8e999d29
UD
19012 * intl/l10nflist.c: Allow architecture-specific pop function.
19013 * sysdeps/x86_64/l10nflist.c: New file.
19014
89edf2e9
UD
19015 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
19016 classification.
19017
14d96785
AS
190182011-08-10 Andreas Schwab <schwab@redhat.com>
19019
19020 * include/dirent.h: Add libc_hidden_proto for scandirat and
19021 scandirat64. Don't declare __scandirat64.
19022 * dirent/scandirat.c: Add libc_hidden_def.
19023 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
19024 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
19025
6761ac04
DM
190262011-08-10 David S. Miller <davem@davemloft.net>
19027
19028 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
19029 enum.
19030 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19031 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19032 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19033
c55fbd1e
UD
190342011-08-09 Ulrich Drepper <drepper@gmail.com>
19035
19036 * Versions.def [libc]: Add GLIBC_2.15.
19037 * dirent/Makefile (routines): Add scandirat and scandirat64.
19038 * dirent/Versions [libc]: Export scandirat and scandirat64 for
19039 GLIBC_2.15.
19040 * dirent/dirent.h: Declare scandirat and scandirat64.
19041 * dirent/scandirat.c: New file.
19042 * dirent/scandirat64.c: New file.
19043 * sysdeps/wordsize-64/scandirat.c: New file.
19044 * sysdeps/wordsize-64/scandirat64.c: New file.
19045 * dirent/opendir.c: Define opendirat.
19046 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
19047 using scandirat.
19048 * dirent/scandir64.c: Adjust for scandir.c change.
19049 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
19050 __scandirat64, and __scandir_cancel_handler.
19051 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
19052 additional parameter and use openat instead of open (outside of ld.so).
19053 Add new __opendir as wrapper around __opendirat.
19054 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
19055 here without requiring old scandirat implementation.
19056
879165f2
UD
190572011-08-08 Ulrich Drepper <drepper@gmail.com>
19058
19059 * dirent/scandir.c (cancel_handler): Renamed to
19060 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
19061 defined. Adjust users.
19062 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
19063 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
19064
cb7e923b
UD
190652011-08-04 Ulrich Drepper <drepper@gmail.com>
19066
16292edd
UD
19067 * string/test-string.h (IMPL): Use __STRING to expand name and then
19068 stringify it.
19069
cb7e923b
UD
19070 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
19071 of cleanups.
19072
cff82933
LD
190732011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19074
19075 * string/Makefile: Update.
19076 (strop-tests): Append strncat.
19077 * string/test-wcscmp.c: New file.
19078 New comprehensive test for wcscmp.
19079 * string/test-strcmp.c: Update.
19080 (WIDE): New define.
19081
9be9bfcc
AS
190822011-07-22 Andreas Schwab <schwab@redhat.com>
19083
19084 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
19085 line.
19086
2e96f1c7
AS
190872011-07-26 Andreas Schwab <schwab@redhat.com>
19088
19089 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19090 encoding to ACE if AI_IDN.
19091
85188888
JJ
190922011-08-01 Jakub Jelinek <jakub@redhat.com>
19093
19094 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
19095 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
19096
5fa16e9b
LD
190972011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19098
19099 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
19100 Fix overflow bug in strncat.
19101 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
19102
19103 * string/test-strncat.c: Update.
19104 Add new tests for checking overflow bugs.
19105
191062011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19107
19108 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19109 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
19110 * sysdeps/i386/i686/multiarch/strcat.S: New file.
19111 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
19112 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
19113 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
19114 * sysdeps/i386/i686/multiarch/strncat.S: New file.
19115 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
19116 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
19117
19118 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
19119 (USE_AS_STRCAT): Define.
19120 Add strcat and strncat support.
19121 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19122
8c1a459f
AS
191232011-07-25 Andreas Schwab <schwab@redhat.com>
19124
19125 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
19126 __n bigger than INT_MAX+1.
19127 (__strncmp_g): Likewise.
19128
bba33c28
UD
191292011-07-23 Ulrich Drepper <drepper@gmail.com>
19130
798be72d
UD
19131 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
19132 * libio/stido.h: Likewise.
19133
8accd4dc
UD
19134 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
19135 (AF_NFC): Define.
19136 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
19137 (AF_NFC): Define.
19138
cbff0d96
UD
19139 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
19140 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19141 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19142 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19143 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19144
9191c04a
UD
19145 [BZ #13021]
19146 * scripts/test-installation.pl: Don't expect libnss_test1 to be
19147 installed.
19148
bba33c28
UD
19149 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
19150 typo.
19151 (_dl_x86_64_save_sse): Likewise.
19152
90f139dd
UD
191532011-07-22 Ulrich Drepper <drepper@gmail.com>
19154
1aae088a
UD
19155 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
19156 OSXSAVE.
19157 (_dl_x86_64_save_sse): Likewise.
19158
8e2045f5
UD
19159 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
19160
90f139dd
UD
19161 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
19162
1d002f25
AS
191632011-07-21 Andreas Schwab <schwab@redhat.com>
19164
19165 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
19166 change.
19167 (_dl_x86_64_save_sse): Use correct AVX check.
19168
21137f89
UD
191692011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19170
19171 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
19172 bug in strncpy/strncat.
19173 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
19174
a65c0b7a
UD
191752011-07-21 Ulrich Drepper <drepper@gmail.com>
19176
19177 * string/tester.c (test_strcat): Add tests for different alignments
19178 of source and destination.
19179 (test_strncat): Likewise.
19180
6986b98a
UD
191812011-07-20 Ulrich Drepper <drepper@gmail.com>
19182
90bb2039
UD
19183 [BZ #12852]
19184 * posix/glob.c (glob): Check passed in values before using them in
19185 expressions to avoid some overflows.
19186 (glob_in_dir): Likewise.
19187
5644ef54
UD
19188 [BZ #13007]
19189 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
19190 check for AVX enablement so that we don't crash with old kernels and
19191 new hardware.
19192 * elf/tst-audit4.c: Add same checks here.
19193 * elf/tst-audit6.c: Likewise.
19194
19195 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 19196
bfc9dc9b
AS
191972011-07-09 Andreas Schwab <schwab@linux-m68k.org>
19198
19199 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
19200
702e64bb
UD
192012011-07-20 Ulrich Drepper <drepper@gmail.com>
19202
19203 * po/cs.po: Update from translation team.
19204 * po/bg.po: Likewise.
19205
295e904f
MP
192062011-07-12 Marek Polacek <mpolacek@redhat.com>
19207
19208 * misc/sys/cdefs.h: Add support for const attribute.
19209 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
19210 to gnu_dev_{major,minor,makedev} functions.
19211
3ff94596
MP
192122011-07-20 Marek Polacek <mpolacek@redhat.com>
19213
19214 * intl/dcigettext.c (get_output_charset): Add missing bracket.
19215
28b59fca
AS
192162011-07-20 Andreas Schwab <schwab@redhat.com>
19217
19218 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
19219 strlen results.
19220
19df733e
AK
192212011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19222
19223 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
19224 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
19225 register in order to avoid conflicts with the soft frame pointer
19226 being held in r11 when necessary.
19227 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19228 (INTERNAL_VSYSCALL_NCS): Likewise.
19229
c8835729
MP
192302011-07-14 Marek Polacek <mpolacek@redhat.com>
19231
19232 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
19233 * elf/dl-fini.c (_dl_fini): Adjust caller.
19234 * elf/dl-close.c (_dl_close_worker): Likewise.
19235 * sysdeps/generic/ldsodefs.h: Adjust declaration.
19236
b902330c
MP
192372011-07-15 Marek Polacek <mpolacek@redhat.com>
19238
8991e135
MP
19239 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
19240 "aux_cache->nlibs < 0".
19241
b902330c
MP
19242 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
19243 in the reload-count case.
19244
99710781
LD
192452011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19246
19247 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19248 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
19249 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
19250 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
19251 * sysdeps/x86_64/multiarch/strcat.S: New file.
19252 * sysdeps/x86_64/multiarch/strncat.S: New file.
19253 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
19254 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
19255 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
19256 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
19257 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
19258 (USE_AS_STRCAT): Define.
19259 Add strcat and strncat support.
19260 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19261 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19262 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
19263 * string/strncat.c: Update.
19264 (USE_AS_STRNCAT): Define.
19265 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19266 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
19267 and i7.
19268 * sysdeps/x86_64/multiarch/init-arch.h
19269 (bit_Prefer_PMINUB_for_stringop): New.
19270 (index_Prefer_PMINUB_for_stringop): Likewise.
19271 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
19272 bit_Prefer_PMINUB_for_stringop.
19273
7dc6bd90
UD
192742011-07-19 Ulrich Drepper <drepper@gmail.com>
19275
19276 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
19277 buffer64.
19278 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
19279 of casting of buffer.
19280 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
19281 buffer32 and buffer64.
19282 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
19283 writes instead of casting of buffer.
19284 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
19285 buffer32.
19286 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
19287 casting of buffer.
19288
e0e72284
AS
192892011-07-19 Andreas Schwab <schwab@redhat.com>
19290
19291 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
19292
feb1eb0b
UD
192932011-07-19 Ulrich Drepper <drepper@gmail.com>
19294
19295 * nscd/nscd.c (termination_handler): Don't do anything for a database
19296 if it has not yet been initialized.
19297
298711ff
UD
192982011-07-18 Ulrich Drepper <drepper@gmail.com>
19299
19300 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19301
193022011-07-15 Marek Polacek <mpolacek@redhat.com>
19303
19304 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19305
f9d68389
UD
193062011-07-18 Ulrich Drepper <drepper@gmail.com>
19307
19308 * po/nl.po: Update from translation team.
19309 * po/sv.po: Likewise.
19310
db290cf5
RM
193112011-07-16 Roland McGrath <roland@hack.frob.com>
19312
19313 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
19314 now disallowed by GCC.
5c550700 19315
fd5e21c7
RM
19316 * configure.in (use-default-link): Default to yes if a test -shared
19317 link meets our qualifications.
19318 * configure: Regenerated.
19319
5c550700
RM
19320 * config.make.in (output-format): New variable.
19321 * configure.in: Check for ld --print-output-format support.
19322 * configure: Regenerated.
19323 * Makerules ($(common-objpfx)format.lds)
19324 [$(output-format) != unknown]: Just use $(output-format),
19325 instead of the linker-script munging.
19326
9fa2c032
RM
193272011-07-14 Roland McGrath <roland@hack.frob.com>
19328
a6928d51
RM
19329 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
19330 of $(common-objpfx)shlib.lds.
19331 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
19332
661607b3
RM
19333 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
19334 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
19335
9fa2c032
RM
19336 * configure.in (-z relro check): Adjust test code to add a large
19337 writable data section after it.
19338 * configure: Regenerated.
19339
defe9061
RM
193402011-07-11 Roland McGrath <roland@hack.frob.com>
19341
19342 * configure.in (-z relro check): Fix test code to make the variable
19343 truly const.
19344 * configure: Regenerated.
19345
319b9ad4
UD
193462011-07-11 Ulrich Drepper <drepper@gmail.com>
19347
19348 * nscd/nscd.h (struct traced_file): Define.
19349 (struct database_dyn): Remove inotify_descr, reset_res, and filename
19350 elements. Add traced_files.
19351 (inotify_fd): Declare.
19352 (register_traced_file): Declare.
19353 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
19354 (inotify_fd): Export.
19355 (resolv_conf_descr): Remove.
19356 (nscd_init): Move inotify descriptor creation to main.
19357 Don't register files for notification here.
19358 (register_traced_file): New function.
19359 (invalidate_cache): Don't use reset_res to determine whether to call
19360 res_init, go through the list of registered files.
19361 (main_loop_poll): The inotify descriptors are now stored in the
19362 structures for the traced files.
19363 (main_loop_epoll): Likewise
19364 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
19365 to __nss_disable_nscd.
19366 * nscd/cache.c (prune_cache): There is no single inotify descriptor
19367 for a database anymore. Check the records for all the registered
19368 files instead.
19369 * nss/Makefile (libnss_files-routines): Add files-init.
19370 (libnss_db-routines): Add db-init.
19371 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
19372 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
19373 * nss/nss_db/db-init.c: New file.
19374 * nss/nss_files/files-init.c: New file.
19375 * nss/nsswitch.c (nss_load_library): New function. Broken out of
19376 __nss_lookup_function.
19377 (__nss_lookup_function): Call nss_load_library.
19378 (nss_load_all_libraries): New function.
19379 (__nss_disable_nscd): Take parameter with callback function for files
19380 to register. Set is_nscd. Load all the DSOs for the NSS modules
19381 used for the cached services.
19382 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
19383 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
19384 options for features to all the files in nscd.
19385
19386 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
19387
23bee3e8
RM
193882011-07-10 Roland McGrath <roland@hack.frob.com>
19389
19390 * csu/elf-init.c (__libc_csu_init): Comment typo.
19391
46a5b7f0
UD
193922011-07-09 Ulrich Drepper <drepper@gmail.com>
19393
19394 * po/pl.po: Update from translation team.
19395 * po/ja.po: Likewise.
19396 * po/ru.po: Likewise.
19397 * po/ko.po: Likewise.
19398 * po/fr.po: Likewise.
19399
d30cf5bb
RM
194002011-07-09 Roland McGrath <roland@hack.frob.com>
19401
113ddea4
RM
19402 * configure.in (.ctors/.dtors header and trailer check):
19403 Use an empirical test on a built program.
19404 * configure: Regenerated.
19405
574920b4
RM
19406 * configure.in (-z relro check): Use an empirical test on a built DSO.
19407 Detect, but do not require, on ia64.
19408 * configure: Regenerated.
19409
d30cf5bb
RM
19410 * configure.in (READELF): Find it with AC_CHECK_TOOL.
19411 Update tests that use readelf to use $READELF instead.
19412 * configure: Regenerated.
19413
8538fdb3
UD
194142011-07-08 Ulrich Drepper <drepper@gmail.com>
19415
19416 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
19417 if the result is not used.
19418
04d08991
AJ
194192011-07-05 Andreas Jaeger <aj@suse.de>
19420
19421 [BZ#9696]
19422 * stdlib/tst-strtod.c: Add testcase.
19423
de283087
AD
194242011-07-07 Ulrich Drepper <drepper@gmail.com>
19425
4e5f31c8 19426 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 19427 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
19428 The latter has a higher limit. Take additional parameter to pass to
19429 the new function.
19430 (__pathconf): Pass file to __statfs_link_max.
19431 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
19432 __statfs_link_max.
19433 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
19434 __statfs_link_max.
19435
de283087
AD
19436 [BZ #12868]
19437 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
19438 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19439 Handle Lustre.
19440 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
19441 (__statfs_filesize_max): Likewise.
19442 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
19443
c75fa153
AJ
194442011-07-05 Andreas Jaeger <aj@suse.de>
19445
19446 * resolv/res_comp.c (dn_skipname): Remove unused variable.
19447
1a544854
UD
194482011-07-06 Marek Polacek <mpolacek@redhat.com>
19449
19450 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
19451 `status' variable.
19452 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
19453 Likewise.
19454
6f0eec67
UD
194552011-07-04 H.J. Lu <hongjiu.lu@intel.com>
19456
19457 * Makefile (strop-tests): Add strncat.
19458 * string/test-strncat.c: New file.
19459
aae30307
UD
194602011-06-30 Marek Polacek <mpolacek@redhat.com>
19461
19462 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
19463
c0cfb5eb
UD
194642011-06-21 Andreas Jaeger <aj@suse.de>
19465
19466 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
19467 Copy rule from iconvdata/Makefile.
19468
01636b21
UD
194692011-07-06 Ulrich Drepper <drepper@gmail.com>
19470
19471 [BZ #12922]
19472 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
19473 but no long options are defined, just return 'W'.
19474
9895c8bc
UD
194752011-06-22 Marek Polacek <mpolacek@redhat.com>
19476
19477 [BZ #9696]
19478 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
19479
5d4cf042
UD
194802011-07-06 Ulrich Drepper <drepper@gmail.com>
19481
19482 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
19483 netgroups to read.
960e5535 19484 (innetgr): Likewise.
5d4cf042 19485
751eb97e
RM
194862011-07-05 Roland McGrath <roland@hack.frob.com>
19487
19488 * config.make.in (install_root): Default to $(DESTDIR).
19489
f15f1e45
UD
194902011-07-05 Ulrich Drepper <drepper@gmail.com>
19491
19492 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
19493
4e34ac6a
RM
194942011-07-02 Roland McGrath <roland@hack.frob.com>
19495
5e9b6af4
RM
19496 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
19497
84f9ea0f
RM
19498 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
19499 containing directory rather than embedding absolute directory names.
19500
ea5ee9f7
RM
19501 * scripts/check-local-headers.sh: Rewritten using awk.
19502 Match by word, not by line. Print error messages for matches.
19503 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
19504
1b74661a
RM
19505 * Makerules [shlib-lds-flags empty]:
19506 ($(common-objpfx)libc_pic.opts): New target.
19507 ($(common-objpfx)libc_pic.os.clean): New target.
19508 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
19509
19510 * config.make.in (OBJCOPY): New variable.
19511 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
19512 * configure: Regenerated.
19513
f781ef40
RM
19514 * config.make.in (use-default-link): New variable.
19515 * configure.in (use_default_link): Grok --with-default-link to set it.
19516 * configure: Regenerated.
19517 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
19518 (shlib-lds, shlib-lds-flags): Define to empty.
19519
2d4fa81e
RM
19520 * Makerules (shlib-lds): New variable.
19521 (shlib-lds-flags): New variable.
19522 (build-shlib, build-moduile, build-module-asneeded): Use it.
19523 ($(common-objpfx)libc.so): Use $(shlib-lds).
19524 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
19525 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
19526
31fffa6b
RM
19527 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
19528 DT_FLAGS/DT_FLAGS_1 with zero flags.
19529
4e34ac6a
RM
19530 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
19531 linker script munging.
19532
fcfc776b
UD
195332011-07-02 Ulrich Drepper <drepper@gmail.com>
19534
19535 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
19536 as 128-bit value.
19537 * crypt/sha512.c (sha512_process_block): Perform total addition using
19538 128-bit if possible.
19539 (__sha512_finish_ctx): Likewise.
19540 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
19541 as 64-bit value.
19542 * crypt/sha256.c (SWAP64): Define.
19543 (sha256_process_block): Perform total addition using 64-bit if
19544 possible.
19545 (__sha256_finish_ctx): Likewise.
19546
99231d9a
UD
195472011-07-01 Ulrich Drepper <drepper@gmail.com>
19548
19549 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
19550 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19551 * nscd/hstcache.c (cache_addhst): Likewise.
19552 * nscd/grpcache.c (cache_addgr): Likewise.
19553 * nscd/aicache.c (addhstaiX): Likewise
19554 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
19555
445b4a53
TK
195562011-07-01 Thorsten Kukuk <kukuk@suse.de>
19557
19558 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
19559 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19560 * nscd/hstcache.c (cache_addhst): Likewise.
19561 * nscd/grpcache.c (cache_addgr): Likewise.
19562 * nscd/aicache.c (addhstaiX): Likewise
19563
6d4d8e8e
AS
195642011-07-01 Andreas Schwab <schwab@redhat.com>
19565
19566 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
19567 domain only when needed.
19568
89f654c5
AS
195692011-06-30 Andreas Schwab <schwab@redhat.com>
19570
19571 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
19572 is always restored.
19573
cf3b23ff
UD
195742011-06-29 Ulrich Drepper <drepper@gmail.com>
19575
19576 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
19577 are re-adding the entry.
19578 * nscd/servicescache.c (cache_addserv): Likewise.
19579
751626f9
AJ
195802011-06-30 Aurelien Jarno <aurelien@aurel32.net>
19581
19582 * sysdeps/generic/dl-irel.h: fix protection against multiple
19583 inclusions.
19584 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
19585
9113ea1f
UD
195862011-06-28 Ulrich Drepper <drepper@gmail.com>
19587
5c0b8d90
UD
19588 [BZ #12935]
19589 * malloc/memusage.sh: Fix quoting in message.
19590 * debug/xtrace.sh: Likewise.
19591
9113ea1f
UD
19592 * configure.in: Remove support for --experimental-malloc option, make
19593 it the default.
19594 * config.make.in: Likewise.
19595 * malloc/Makefile: Likewise.
19596
a4172181
AS
195972011-06-27 Andreas Schwab <schwab@redhat.com>
19598
19599 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
19600 two-byte characters.
19601
78a7eee7
RM
196022011-06-27 Roland McGrath <roland@hack.frob.com>
19603
62bede13
RM
19604 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
19605 AC_CACHE_CHECK invocation.
19606 * configure: Regenerated.
19607
78a7eee7
RM
19608 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
19609
5ce33a62
UD
196102011-06-27 Ulrich Drepper <drepper@gmail.com>
19611
034807a9
UD
19612 [BZ #12350]
19613 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
19614 bit from old_res_options.
19615
4902da17
UD
19616 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
19617
5ce33a62
UD
19618 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
19619 value type for setfct.
19620
c2344f56
L
196212011-06-23 H.J. Lu <hongjiu.lu@intel.com>
19622
19623 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19624 __gettimeofday instead of gettimeofday.
19625
68468076
UD
196262011-06-26 Ulrich Drepper <drepper@gmail.com>
19627
19628 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
19629
acb0d739
L
196302011-06-24 H.J. Lu <hongjiu.lu@intel.com>
19631
19632 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
19633
19634 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
19635 info.
19636
8912479f
L
196372011-06-22 H.J. Lu <hongjiu.lu@intel.com>
19638
19639 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19640 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19641 strcpy-sse2-unaligned strncpy-sse2-unaligned
19642 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
19643 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
19644 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
19645 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
19646 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
19647 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
19648 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
19649 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
19650 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
19651 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
19652 (STRCPY): Support SSE2 and SSSE3 versions.
19653
d5495a11
UD
196542011-06-24 Ulrich Drepper <drepper@gmail.com>
19655
19656 [BZ #12874]
19657 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
19658 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
19659 kernels which artificially limit size of requests.
19660
0b1cbaae
L
196612011-06-22 H.J. Lu <hongjiu.lu@intel.com>
19662
19663 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19664 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19665 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
19666 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
19667 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
19668 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
19669 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
19670 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
19671 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
19672 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
19673 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
19674 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
19675 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
19676 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
19677 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
19678 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19679 Enable unaligned load optimization for Intel Core i3, i5 and i7
19680 processors.
19681 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
19682 Define.
19683 (index_Fast_Unaligned_Load): Define.
19684 (HAS_FAST_UNALIGNED_LOAD): Define.
19685
07f494a0
MP
196862011-06-23 Marek Polacek <mpolacek@redhat.com>
19687
19688 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
19689
fa3fc0fe
UD
196902011-06-22 Ulrich Drepper <drepper@gmail.com>
19691
19692 [BZ #12907]
19693 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
19694 until it is clear that the information is realy needed.
19695 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
19696
e12df166
AS
196972011-06-22 Andreas Schwab <schwab@redhat.com>
19698
19699 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
19700
852eb34d
UD
197012011-06-22 Ulrich Drepper <drepper@gmail.com>
19702
84e2a551
UD
19703 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19704 /sys/devices/system/cpu/online if it is usable.
19705
852eb34d
UD
19706 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
19707 reading the information from the /proc filesystem to once a second.
19708
6e502e19
UD
197092011-06-21 Andreas Jaeger <aj@suse.de>
19710
19711 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
19712 NULL after inclusion of kernel headers.
19713
75d39ff2
UD
197142011-06-21 Ulrich Drepper <drepper@gmail.com>
19715
51f9aa6a
UD
19716 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
19717 calls to internal_setent.
19718
c0244a9d
UD
19719 [BZ #12885]
19720 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
19721 addresses using gethostbyname4_r ignore IPv4 addresses.
19722
c5e3c2ae
UD
19723 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
19724 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
19725
75d39ff2
UD
19726 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
19727
42675c6f
DM
197282011-06-20 David S. Miller <davem@davemloft.net>
19729
19730 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
19731 inclusions.
19732 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
19733
19734 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
19735 (elf_irel): Use it.
19736 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
19737 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
19738 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
19739 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
19740 * sysdeps/x86_64/dl-irel.h: Likewise.
19741
19742 * elf/dl-runtime.c: Use elf_ifunc_invoke.
19743 * elf/dl-sym.c: Likewise.
19744
57912a71
UD
197452011-06-15 Ulrich Drepper <drepper@gmail.com>
19746
19747 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
19748 need to dereference resplen2.
19749
ee22793d
AS
197502011-06-14 Andreas Schwab <schwab@redhat.com>
19751
19752 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
19753
a9e836b0
UD
197542011-06-15 Ulrich Drepper <drepper@gmail.com>
19755
77fb9117
UD
19756 * Makeconfig: Define vardbdir and inst_vardbdir.
19757 * nss/Makefile: Add rules to install db-Makefile.
19758
40c1b22c
UD
19759 * nss/nss_db/db-XXX.c: Cleanup.
19760
9f2da732
UD
19761 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
19762 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
19763 GLIBC_PRIVATE.
19764 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
19765 * nss/makedb.c: Implement -g option to specify that value strings
19766 are generated and should not be added to table iterated over for
19767 get*ent calls.
19768 * nss/nss_db/db-initgroups.c: New file.
19769
82e9a1f7
UD
19770 * nss/getent.c: Add support for initgroups lookups through getgrouplist
19771 interface.
19772
c41af17e
UD
19773 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
19774 (internal_getgrouplist): Adjust to name change.
19775 Update use_initgroups_entry if this is not the first call.
19776 * nss/databases.def: Add initgroups entry.
19777
a9e836b0
UD
19778 * nss/makedb.c (compute_tables): Check result of multiple hash table
19779 sizes to minimize maximum chain length.
19780
2666d441
UD
197812011-06-14 Ulrich Drepper <drepper@gmail.com>
19782
19783 * Versions.def: Add entry for libnss_db.
19784 * shlib-versions: Likewise.
19785 * nss/Makefile: Add rules to build libnss_db.
19786 * nss/Versions: Add libnss_db information. Organize libnss_files
19787 entries better.
19788 * nss/db-Makefile: Add gshadow support. Change rules for the new
19789 makedb progra. Some minor improvements to generate smaller files.
19790 * nss/nss_db/nss_db.h: Move NSS database header data structures to
19791 here from...
19792 * nss/makedb.c: ...here.
19793 Improve database format to be smaller and require less memory at
19794 runtime.
19795 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
19796 db anymore.
19797 * nss/nss_db/db-netgrp.c: Likewise.
19798 * nss/nss_db/db-open.c: Likewise.
19799 * nss/nss_files/flies-XXX.x: Adjust comments.
19800 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
19801 * nss/nss_files/files-grp.c: Likewise.
19802 * nss/nss_files/files-hosts.c: Likewise.
19803 * nss/nss_files/files-network.c: Likewise.
19804 * nss/nss_files/files-proto.c: Likewise.
19805 * nss/nss_files/files-pwd.c: Likewise.
19806 * nss/nss_files/files-rpc.c: Likewise.
19807 * nss/nss_files/files-service.c: Likewise.
19808 * nss/nss_files/files-sgrp.c: Likewise.
19809 * nss/nss_files/files-spwd.c: Likewise.
19810 * nss/nss_db/db-alias.c: Removed.
19811 * nss/nss_db/dummy-db.h: Removed.
19812
9ee76b5a
UD
198132011-06-02 Ulrich Drepper <drepper@gmail.com>
19814
19815 * nss/makedb.c: Rewritten to not use database library.
19816 * nss/Makefile: Update to build new makedb program.
19817
c71ca1f8
AJ
198182011-06-14 Andreas Jaeger <aj@suse.de>
19819
19820 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
19821 memset declaration.
19822
3154bfb8
UD
198232011-06-10 Andreas Schwab <schwab@redhat.com>
19824
19825 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
19826 tmpbuf.
19827
b350afab
RM
198282011-06-10 Roland McGrath <roland@hack.frob.com>
19829
decd4e50
RM
19830 * Makerules (shlib.lds): Fail if the linker script comes out empty.
19831 * elf/Makefile ($(objpfx)ld.so): Likewise.
19832
5615eaf2
RM
19833 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
19834 Don't list ld.so twice in dependencies.
19835
19836 * posix/bug-regex31.c: Include <stdlib.h>.
19837
19838 * nscd/hstcache.c (cache_addhst): Remove unused variable.
19839
19840 * nis/nss_compat/compat-spwd.c
19841 (getspent_next_nss_netgr): Remove unused variable.
19842 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
19843
19844 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
19845 nonmembers" output to use the right array.
19846
19847 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
19848
19849 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
19850
19851 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
19852 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
19853 * catgets/gencat.c (read_input_file): Likewise.
19854 * locale/programs/locarchive.c (enlarge_archive): Likewise.
19855
19856 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
19857 variable definition inside #if's controlling its use.
19858
19859 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
19860
19861 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
19862
19863 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
19864
19865 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
19866 unreachable code.
19867
19868 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
19869
b68e08db
RM
19870 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
19871 * configure: Regenerated.
19872
b350afab
RM
19873 * Makerules: Revert last change.
19874 * elf/Makefile: Likewise.
19875
28368601
RM
198762011-06-09 Roland McGrath <roland@hack.frob.com>
19877
19878 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
19879 * elf/Makefile ($(objpfx)librtld.os): Likewise.
19880 (reloc-link): Likewise.
19881
11988f8f
UD
198822011-06-09 Ulrich Drepper <drepper@gmail.com>
19883
19884 * elf/Makefile: Add rules to build pldd.
19885 * elf/pldd.c: New file.
19886 * elf/pldd-xx.c: New file.
19887
e80fab37
UD
198882011-06-07 Ulrich Drepper <drepper@gmail.com>
19889
19890 * version.h: Update for 2.15 development version.
19891
9b849836
DM
198922011-06-07 David S. Miller <davem@davemloft.net>
19893
19894 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
19895 ifuncs.
19896 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
19897 elf_machine_lazy_rel): Likewise.
19898 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
19899 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
19900 elf_machine_lazy_rel): Likewise.
19901 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
19902 dl_hwcap via passed in argument.
19903 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
19904 Likewise.
19905
5a31b283
AK
199062011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19907
19908 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
19909
069e52f8
RM
199102011-06-06 Roland McGrath <roland@hack.frob.com>
19911
19912 [BZ #12849]
19913 * manual/fdl-1.1.texi: New file, verbatim from:
19914 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
19915 * manual/lgpl-2.1.texi: New file, verbatim from:
19916 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
19917 * manual/Makefile (licenses): New variable, list those new file names.
19918 (texis): Use it.
19919 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
19920
19921 * manual/fdl.texi: File removed.
19922 * manual/lesser.texi: File removed.
19923 * manual/libc.texinfo (Copying, Documentation License):
19924 Use new @include file names, put @appendix directive before @include.
19925
f16846a5
JJ
199262011-06-04 Jakub Jelinek <jakub@redhat.com>
19927
19928 [BZ #12841]
19929 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
19930 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
19931 (mq_open): Add __NTH.
19932
3d29045b
L
199332011-06-02 H.J. Lu <hongjiu.lu@intel.com>
19934
19935 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19936 Assume Intel Core i3/i5/i7 processor if AVX is available.
19937
8c297311
UD
199382011-05-31 Ulrich Drepper <drepper@gmail.com>
19939
19940 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
19941 typo.
19942
c8fc0c91
UD
199432011-05-31 Andreas Schwab <schwab@redhat.com>
19944
19945 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
19946 memory. Use alloca_account. Fix memory leak when retrying.
19947
5b27a807
UD
199482011-05-31 Ulrich Drepper <drepper@gmail.com>
19949
356f8bc6
UD
19950 * version.h (RELEASE): Bump for 2.14 release.
19951 * include/features.h (__GLIBC_MINOR__): Bump to 14.
19952
5b27a807
UD
19953 * config.make.in (RANLIB): Remove entry.
19954
01f16ab0
UD
199552011-05-30 Ulrich Drepper <drepper@gmail.com>
19956
41fce8bd
UD
19957 * po/Makefile (po-sed-cmd): Add ksh to extensions.
19958 (libc.pot): Work around missing support for .ksh extension in xgettext.
19959
4769ae77
UD
19960 [BZ #12684]
19961 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
19962 if both request failed.
19963 (send_dg): In case of server errors clear resplen or *resplen2.
19964
6b1e7d19
UD
19965 [BZ #12454]
19966 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
19967 when there are multiple maps.
19968 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
19969 (_dl_fini): Remove test here.
19970
01f16ab0
UD
19971 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
19972
b1ebd700
UD
199732011-05-29 Ulrich Drepper <drepper@gmail.com>
19974
7ae22829
UD
19975 [BZ #12350]
19976 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
19977 bit from old_res_options.
19978 (gaih_inet): Likewise.
19979
553149f6 19980 [BZ #11099]
18a84741 19981 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
19982 as signed.
19983
652ffab1
UD
19984 * resolv/res_init.c (res_setoptions): Make the code more compact.
19985
16985fd0
UD
19986 [BZ #11558]
19987 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
19988 set RES_USEVC.
19989
0464f746
UD
19990 [BZ #11634]
19991 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
19992
7d17596c
UD
19993 * malloc/malloc.h: Mark malloc hook variables as deprecated.
19994
cf6bbbd7
UD
19995 [BZ #11781]
19996 * malloc/malloc.h: Declare malloc hook variables as volatile.
19997
13f1ab36
UD
19998 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
19999 in last patch.
20000
b1ebd700
UD
20001 [BZ #11799]
20002 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 20003 raise in the comment.
80e2212d
UD
20004 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20005 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20006 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 20007
ce67228d
UD
200082011-05-28 Ulrich Drepper <drepper@gmail.com>
20009
8887a920
UD
20010 [BZ #12811]
20011 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
20012 grow the buffers more if it already has to be sufficient.
20013 (build_wcs_upper_buffer): Likewise.
20014 * posix/regexec.c (check_matching): Likewise.
20015 (clean_state_log_if_needed): Likewise.
20016 (extend_buffers): Don't enlarge buffers beyond size of the input
20017 buffer.
20018 Patches mostly by Emil Wojak <emil@wojak.eu>.
20019 * posix/bug-regex32.c: New file.
20020 * posix/Makefile (tests): Add bug-regex32.
20021
4f031072
UD
20022 * locale/findlocale.c (_nl_find_locale): Return right away if
20023 _nl_explode_name failed.
20024 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
20025
d0478f0c
UD
20026 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
20027
de81b246
UD
20028 * debug/xtrace.sh: Unify messages.
20029 * malloc/memusage.sh: Likewise.
20030
c738465a
UD
20031 [BZ #12813]
20032 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
20033 time symbol from vDSO. Substitute with vsyscall if not available.
20034 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
20035 __vdso_time.
20036
f1f929d7
UD
20037 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
20038 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
20039 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
20040 Add sendmmsg and internal_sendmmsg.
20041 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
20042 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
20043 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
20044
ce67228d
UD
20045 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
20046 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
20047 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
20048
e57420c6
UD
200492011-05-27 Ulrich Drepper <drepper@gmail.com>
20050
a8509ca5
UD
20051 [BZ #12813]
20052 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
20053 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
20054 available.
20055 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
20056 __vdso_getcpu.
20057
e57420c6
UD
20058 [BZ #12814]
20059 * iconvdata/Makefile (tests): Add bug-iconv9.
20060 * iconvdata/bug-iconv9.c: New file.
20061
4d07db15
AS
200622011-05-27 Andreas Schwab <schwab@redhat.com>
20063
20064 [BZ #12814]
20065 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
20066
ea486f69
JJ
200672011-05-25 Jakub Jelinek <jakub@redhat.com>
20068
20069 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20070 (struct user_regs_struct): Change intcs field back to cs.
20071
6f038433
UD
200722011-05-25 Ulrich Drepper <drepper@gmail.com>
20073
20074 * po/ja.po: Update from translation team.
20075
67f86a25
UD
200762011-05-23 Ulrich Drepper <drepper@gmail.com>
20077
20078 [BZ #12795]
20079 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
20080 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
20081
def7fbd6
AS
200822011-05-20 Andreas Schwab <schwab@redhat.com>
20083
20084 * stdlib/longlong.h: Update from GCC.
20085
f50ef8f1
AS
200862011-05-23 Andreas Schwab <schwab@redhat.com>
20087
20088 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
20089 parameter name.
20090 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
20091 Add parameter name.
20092 (__sysconf): Pass it down.
20093
de7ce8f1
UD
200942011-05-22 Ulrich Drepper <drepper@gmail.com>
20095
f2962a71
UD
20096 [BZ #12671]
20097 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
20098 some situations.
20099 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
20100 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
20101 add in in __libc_use_alloca calls. Adjust callers.
20102 (glob): Use malloc in some situations.
20103
de7ce8f1
UD
20104 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
20105 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
20106 pltexit.
20107
aec84f53
UD
201082011-05-21 Ulrich Drepper <drepper@gmail.com>
20109
05bb4a68
UD
20110 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
20111 and CLOCK_BOOTTIME_ALARM.
20112
7ea72f99
UD
20113 [BZ #12782]
20114 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
20115 is returned.
20116
7e4afad5
UD
20117 * string/_strerror.c (__strerror_r): Print negative errors as signed
20118 numbers.
20119
8e211fec
UD
20120 [BZ #12777]
20121 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
20122 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
20123 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
20124
f7d82dc9
UD
20125 * configure.in: Fix typo in redirection and correct removal of test
20126 files in two cases.
20127
cc9e536d
UD
20128 [BZ #12788]
20129 * locale/setlocale.c (new_composite_name): Fix test to check for
20130 identical name of all categories.
20131
aec84f53
UD
20132 [BZ #12792]
20133 * libio/filedoalloc.c (local_isatty): New function.
20134 (_IO_file_doallocate): Use local_isatty.
20135 * stdio-common/perror.c (perror): In case a new stream is used
20136 forward the stream error.
20137 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
20138 error flag.
20139
78e64fdc
RT
201402011-05-20 Ulrich Drepper <drepper@gmail.com>
20141
34a9094f
UD
20142 [BZ #11869]
20143 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
20144 alloca.
20145 * include/alloca.h (extend_alloca_account): Define.
20146
78e64fdc
RT
20147 [BZ #11857]
20148 * posix/regex.h: Fix comments with documentation of user-accessible
20149 fields after compilation and describe correct free'ing of pattern
20150 after re_compile_pattern.
20151 Patch by Reuben Thomas <rrt@sc3d.org>.
20152
457bddfc
RA
201532011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
20154
20155 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
20156 and -mno-altivec to prevent the compiler from using Altivec and/or
20157 VSX instructions when the corresponding registers are not available.
20158
a4527b51
AS
201592011-05-19 Andreas Schwab <schwab@redhat.com>
20160
20161 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
20162
ed690b2f
UD
201632011-05-19 Ulrich Drepper <drepper@gmail.com>
20164
20165 * libio/freopen.c (freopen): Use __dup2, not dup2.
20166 * libio/freopen64.c (freopen64): Likewise.
20167
8db73634
L
201682011-05-17 H.J. Lu <hongjiu.lu@intel.com>
20169
20170 [BZ #12775]
20171 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
20172 * math/Makefile (tests): Add test-powl.
20173 (CFLAGS-test-powl.c): Define.
20174 * math/test-powl.c: New file.
20175
0a197a9d
L
201762011-05-16 H.J. Lu <hongjiu.lu@intel.com>
20177
20178 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
20179
ee30c380
UD
201802011-05-17 Ulrich Drepper <drepper@gmail.com>
20181
20182 [BZ #11837]
20183 * iconvdata/gb18030.c: Update to GB18020-2005.
20184
6ce75379
UD
201852011-05-16 Ulrich Drepper <drepper@gmail.com>
20186
a4b89fd8
AR
20187 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
20188 RE_SYNTAX_POSIX_AWK): Update to match recent development.
20189 Patch by Aharon Robbins <arnold@skeeve.com>.
20190
ea389b12
UD
20191 [BZ #11892]
20192 * stdlib/putenv.c (putenv): Don't always create copy of the variable
20193 on the stack.
20194
68a3f91f
UD
20195 [BZ #11895]
20196 * misc/pselect.c (__pselect): Handle timeout value errors hidden
20197 through underflows.
20198
15cc7dd1
UD
20199 [BZ #12766]
20200 * misc/error.c (error_at_line): Ensure file_name and old_file_name
20201 point to strings before performing equality test for error_one_per_line
20202 mode.
20203
f3799213
UD
20204 [BZ #11697]
20205 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
20206
d79a9c94
UD
20207 [BZ #11820]
20208 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20209 (struct user_fpregs_struct): Avoid __uint*_t types.
20210
56e5eb46
UD
20211 [BZ #6420]
20212 * malloc/mtrace.c (tr_where): Add additional parameter to point to
20213 symbol info. Use it instead of calling _dl_addr locally.
20214 (lock_and_info): New function.
20215 (tr_freehook): Call lock_and_info and pass symbol info as additional
20216 parameter to tr_where.
20217 (tr_mallochook): Likewise.
20218 (tr_reallochook): Likewise.
20219 (tr_memalignhook): Likewise.
20220
6ce75379
UD
20221 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
20222 used and couldn't be at all thread-safe.
20223
f8a3b5bf
UD
202242011-05-15 Ulrich Drepper <drepper@gmail.com>
20225
94b7cc37
UD
20226 * libio/freopen.c (freopen): Don't close old file descriptor
20227 before the new one is opened. Instead dup the new file descriptor
20228 to the old one after the new stream is created.
20229 * libio/freopen64.c (freopen64): Likewise.
20230 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
20231 * libio/fileops.c (_IO_new_file_close_it): Handle new
20232 _IO_FLAGS2_NOCLOSE flag.
20233 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
20234 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
20235 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
20236 _IO_FLAGS2_NOCLOSE flag.
20237 * include/unistd.h: Add hidden_proto for dup3.
20238 Define __have_dup3.
20239 * io/dup3.c: Define hidden symbol.
20240 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
20241
bd25564e
UD
20242 [BZ #7101]
20243 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
20244 when an incomplete long option is used.
20245 * posix/tst-getopt_long1.c: New file.
20246 * posix/Makefile (tests): Add tst-getopt_long1.
20247
c84cfef4
UD
20248 [BZ #10138]
20249 * scripts/config.guess: Update from autoconf-2.68.
20250 * scripts/config.sub: Likewise.
20251
3b85df27
UD
20252 [BZ #10157]
20253 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
20254 tests into ...
20255 (has_cpuclock): ...this. New function.
20256 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
20257 macro here based on has_cpuclock code.
20258
15a856b1
UD
20259 [BZ #10149]
20260 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20261 First byte (not low byte) is now always NUL.
20262 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
20263
05f399e6
UD
20264 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20265 Use non-cancelable interfaces.
20266
10a52685 20267 [BZ #9809]
94ecc67d
UD
20268 * locale/iso-639.def: Add entry for Sorani.
20269
f8a3b5bf
UD
20270 [BZ #11901]
20271 * include/stdlib.h: Move include protection to the right place.
20272 Define abort_msg_s. Declare __abort_msg with it.
20273 * stdlib/abort.c (__abort_msg): Adjust type.
20274 * assert/assert.c (__assert_fail_base): New function. Majority
20275 of code from __assert_fail. Allocate memory for __abort_msg with
20276 mmap.
20277 (__assert_fail): Now call __assert_fail_base.
20278 * assert/assert-perr.c: Remove bulk of implementation. Use
20279 __assert_fail_base.
20280 * include/assert.hL Declare __assert_fail_base.
20281 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
20282 mmap.
20283 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
20284
1af4e298
UD
202852011-05-14 Ulrich Drepper <drepper@gmail.com>
20286
f8a3b5bf 20287 [BZ #11952]
d26dfc60
MG
20288 [BZ #12453]
20289 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
20290 until all modules are registered in the DTV.
20291 * elf/Makefile: Add rules to build and run tst-tls19.
20292 * elf/tst-tls19.c: New file.
20293 * elf/tst-tls19mod1.c: New file.
20294 * elf/tst-tls19mod2.c: New file.
20295 * elf/tst-tls19mod3.c: New file.
20296 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
20297
2fc54d6f
UD
20298 [BZ #12083]
20299 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
20300 correctly.
20301
98d76b46
UD
20302 [BZ #12601]
20303 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
20304 two-byte sequence errors.
20305 * iconvdata/Makefile (tests): Add bug-iconv8.
20306 * iconvdata/bug-iconv8.c: New file.
20307
da3c19ef
UD
20308 [BZ #12626]
20309 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
20310 buf2 definition.
20311
ca408c15
UD
20312 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
20313
d6f67f7d
UD
20314 [BZ #12432]
20315 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
20316 (dummy_getcfa): New function.
20317 (init): Get _Unwind_GetCFA address, use dummy if not found.
20318 (backtrace_helper): In recursion check, also check whether CFA changes.
20319 (__backtrace): Completely initialize arg.
20320
1af4e298 20321 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
20322 storing incomplete byte sequence in state object. Avoid testing for
20323 guaranteed too small input if we know there is enough data available.
1af4e298 20324
da62f81b
AS
203252011-05-11 Andreas Schwab <schwab@redhat.com>
20326
20327 * Makeconfig (+link-pie): Indent.
20328 * Rules (binaries-pie): Define if $(have-fpie) and
20329 $(build-shared).
20330 (binaries-shared): Also filter out $(binaries-pie).
20331 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
20332 * nscd/Makefile (others-pie): Add nscd.
20333 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
20334 ($(objpfx)nscd): Remove command override.
20335 * login/Makefile (others-pie): Add pt_chown.
20336 ($(objpfx)pt_chown): Remove command override.
20337 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
20338 remove command overrides.
20339
fcabc0f8
UD
203402011-05-13 Ulrich Drepper <drepper@gmail.com>
20341
20030ae6
UD
20342 * libio/tst_putwc.c: Fix error messages.
20343
fcabc0f8
UD
20344 [BZ #12724]
20345 * libio/fileops.c (_IO_new_file_close_it): Always flush when
20346 currently writing and seek to current position when not.
20347 * libio/Makefile (tests): Add bug-fclose1.
20348 * libio/bug-fclose1.c: New file.
20349
320a5dc0
PB
203502011-05-12 Ulrich Drepper <drepper@gmail.com>
20351
20352 [BZ #12511]
20353 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
20354 don't set DF_1_NODELETE here.
20355 (do_lookup_x): When entering new entry test for copy relocation
20356 and if necessary set DF_1_NODELETE flag.
20357 * elf/tst-unique4.cc: New file.
20358 * elf/tst-unique4.h: New file.
20359 * elf/tst-unique4lib.cc: New file.
20360 * elf/Makefile: Add rules to build and run tst-unique4.
20361 Patch by Piotr Bury <pbury@goahead.com>.
20362
22836f52
UD
203632011-05-11 Ulrich Drepper <drepper@gmail.com>
20364
f574184a
UD
20365 [BZ #12052]
20366 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
20367
e1fb097f
UD
20368 [BZ #12625]
20369 * misc/mntent_r.c (addmntent): Flush the stream after the output
20370
22836f52
UD
20371 [BZ #12393]
20372 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
20373 (is_trusted_path_normalize): Skip initial colon. Append slash
20374 to empty buffer. Duplicate is_trusted_path code but allow
20375 constructed patch to be prefix.
20376 (is_dst): Allow $ORIGIN followed by /.
20377 (_dl_dst_substitute): Correct clearing of check_for_trusted.
20378 Correct testing of result of is_trusted_path_normalize
20379 (decompose_rpath): Fix warning.
20380
7b3b0b2a
UD
203812011-05-10 Ulrich Drepper <drepper@gmail.com>
20382
20383 [BZ #11257]
20384 * grp/initgroups.c (internal_getgrouplist): When we found the service
20385 list through the initgroups entry in nsswitch.conf do not always
20386 continue on a successful lookup. Don't always use the
eac80ce2 20387 __nss_group_database value if it is set.
7b3b0b2a
UD
20388 * nss/nsswitch.conf (initgroups): Change action for successful db
20389 lookup to continue for compatibility.
20390
2a81eaa5
UD
203912011-05-09 Ulrich Drepper <drepper@gmail.com>
20392
be97a69e
UD
20393 [BZ #11532]
20394 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
20395 and CP774 modules.
20396 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
20397 and CP774 modules.
20398 * iconvdata/tst-tables.sh: Likewise.
20399 * iconvdata/cp770.c: New file.
20400 * iconvdata/cp771.c: New file.
20401 * iconvdata/cp772.c: New file.
20402 * iconvdata/cp773.c: New file.
20403 * iconvdata/cp774.c: New file.
20404 * iconvdata/testdata/CP770: New file.
20405 * iconvdata/testdata/CP770..UTF8: New file.
20406 * iconvdata/testdata/CP771: New file.
20407 * iconvdata/testdata/CP771..UTF8: New file.
20408 * iconvdata/testdata/CP772: New file.
20409 * iconvdata/testdata/CP772..UTF8: New file.
20410 * iconvdata/testdata/CP773: New file.
20411 * iconvdata/testdata/CP773..UTF8: New file.
20412 * iconvdata/testdata/CP774: New file.
20413 * iconvdata/testdata/CP774..UTF8: New file.
20414
20415 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
20416 END CHARMAP line.
20417 * iconvdata/gen-8bit-gap.sh: Likewise.
20418 * iconvdata/gen-8bit.sh: Likewise.
20419
c1e9e399
UD
20420 * locale/iso-639.def: Add ary entry.
20421
24c55fb3 20422 [BZ #11258]
96b4b1b0
UD
20423 * locale/C-translit.h.in: Add U20A1 transliteration.
20424
bdc2f971
KB
20425 [BZ #12178]
20426 * locale/iso-639.def: Add wae entry.
20427 Patch by Kevin Bortis <bortis@translate-wae.ch>.
20428
2952b117
UD
20429 [BZ #12545]
20430 * locale/programs/localedef.c (construct_output_path): Use ssize_t
20431 for n.
20432
2a81eaa5
UD
20433 [BZ #12711]
20434 * locale/C-translit.h.in: Add entry for U20B9.
20435 Patch by pravin.d.s@gmail.com.
20436
28377d1b
UD
204372011-05-08 Ulrich Drepper <drepper@gmail.com>
20438
7fb90fb8
UD
20439 [BZ #12713]
20440 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
20441 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
20442 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
20443 in rtld. Use *stat64.
7fb90fb8 20444 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 20445 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 20446 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
20447 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
20448 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
20449 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
20450 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
20451 __fstatat64 macros.
7fb90fb8
UD
20452 * include/dirent.h: Add libc_hidden_proto for rewinddir.
20453 * dirent/rewinddir.c: Add libc_hidden_def.
20454 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 20455 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 20456
28377d1b
UD
20457 * include/dirent.h (__alloc_dir): Add flags parameter.
20458 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
20459 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
20460 __alloc_dir.
20461 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
20462 from fdopendir if O_CLOEXEC is already set.
20463
66bdbaa4
AM
204642011-03-15 Alan Modra <amodra@gmail.com>
20465
20466 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
20467 l_tls_firstbyte_offset non-zero. Save padding offset in
20468 l_tls_firstbyte_offset for later use.
20469 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
20470 freeing static tls block.
20471
95721191
JN
204722011-03-05 Jonathan Nieder <jrnieder@gmail.com>
20473
20474 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
20475 where #ifdef was intended. The intent is to prevent ARG_MAX from
20476 being defined by the kernel headers.
20477
f87dfb1f
UD
204782011-05-07 Ulrich Drepper <drepper@gmail.com>
20479
20480 [BZ #12734]
20481 * resolv/resolv.h: Define RES_NOTLDQUERY.
20482 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
20483 no-tld-query and set RES_NOTLDQUERY.
20484 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
20485 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
20486 modern BIND to search name as TLD unless forbidden.
20487
47c3cd7a
UD
204882011-05-07 Petr Baudis <pasky@suse.cz>
20489 Ulrich Drepper <drepper@gmail.com>
20490
20491 [BZ #12393]
20492 * elf/dl-load.c (fillin_rpath): Move trusted path check...
20493 (is_trusted_path): ...to here.
c1e9ea35 20494 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 20495 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 20496 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 20497
8a35c912
PP
204982011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20499
20500 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
20501 __BEGIN/__END_DECLS.
20502
acd41f47
UD
205032011-05-06 Ulrich Drepper <drepper@gmail.com>
20504
20505 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
20506 NSS_STATUS_NOTFOUND if no record was found.
20507
597df647
AS
205082011-05-05 Andreas Schwab <schwab@redhat.com>
20509
20510 * sunrpc/Makefile (headers): Add rpc/netdb.h.
20511 (headers-not-in-tirpc): Remove rpc/netdb.h
20512 * resolv/netdb.h: Revert last change.
20513
b9af1301
PP
205142011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20515
20516 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
20517 circular dependency between libgcc.a and libc.a.
20518
4e34d5f5
AS
205192011-05-05 Andreas Schwab <schwab@redhat.com>
20520
20521 * resolv/netdb.h: Don't include <rpc/netdb.h>.
20522 * nis/Makefile: Don't install rpcsvc/*.
20523 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
20524 instead of <rpc/types.h>.
20525 (MAXHOSTNAMELEN): Define.
20526
00ee369c
AS
205272011-05-03 Andreas Schwab <schwab@redhat.com>
20528
20529 * elf/ldconfig.c (add_dir): Don't crash on empty path.
20530
0b592a30
MB
205312011-04-28 Maciej Babinski <mbabinski@google.com>
20532
20533 [BZ #12714]
20534 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
20535 gethostbyname4_r when IPv6 results are possible.
20536
6e04cbbe
UD
205372011-05-02 Ulrich Drepper <drepper@gmail.com>
20538
20539 [BZ #12723]
20540 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
20541 _PC_PIPE_BUF handling.
20542
e4ecafe0
BH
205432011-04-30 Bruno Haible <bruno@clisp.org>
20544
20545 [BZ #12717]
20546 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
20547 * resolv/netdb.h (getnameinfo): Change type of flags parameter
20548 to 'int'.
20549 * inet/getnameinfo.c (getnameinfo): Likewise.
20550
125ee683
UD
205512011-04-29 Ulrich Drepper <drepper@gmail.com>
20552
20553 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
20554 to groups setting in database lookup.
20555 * nss/nsswitch.conf: Add initgroups entry.
20556
b722481a
EB
205572011-04-22 Ulrich Drepper <drepper@gmail.com>
20558
20559 [BZ #12685]
20560 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
20561 mode string.
20562 Patch by Eric Blake <eblake@redhat.com>.
20563
4df46dbd
L
205642011-04-20 H.J. Lu <hongjiu.lu@intel.com>
20565
20566 * sunrpc/Makefile (need-export-routines): Add svc_run.
20567 (routines): Remove svc_run.
20568 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
20569 * sunrpc/clnt_perr.c (clnt_perrno): Export.
20570 * sunrpc/svc_run.c (svc_run): Likewise.
20571 * sunrpc/svc_udp.c (svcudp_create): Likewise.
20572
e84142d2
UD
205732011-04-21 Ulrich Drepper <drepper@gmail.com>
20574
20575 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
20576 problem in reallocation in last patch.
20577
877175d8
UD
205782011-04-20 Ulrich Drepper <drepper@gmail.com>
20579
20580 * sunrpc/Makefile: Move inclusion of Rules.
20581
ab8eed78
UD
205822011-04-19 Ulrich Drepper <drepper@gmail.com>
20583
20584 * nss/nss_files/files-initgroups.c: New file.
20585 * nss/Makefile (libnss_files-routines): Add files-initgroups.
20586 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
20587 _nss_files_initgroups_dyn.
20588
e3d8f584
RS
205892011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
20590
20591 * elf/elf.h (R_ARM_IRELATIVE): Define.
20592
af190f45
UD
205932011-04-19 Ulrich Drepper <drepper@gmail.com>
20594
20595 * po/ru.po: Update from translation team.
20596
53cf59ef
UD
205972011-04-17 Ulrich Drepper <drepper@gmail.com>
20598
20599 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
20600 dependencies.
20601
4c559bcd
MF
206022011-02-06 Mike Frysinger <vapier@gentoo.org>
20603
20604 [BZ #12653]
20605 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
20606 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
20607 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20608 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20609 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20610
4420675c
AS
206112011-03-28 Andreas Schwab <schwab@linux-m68k.org>
20612
20613 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
20614 differing bytes.
20615 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20616 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20617 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20618
75ea32ab
UD
206192011-04-17 Ulrich Drepper <drepper@gmail.com>
20620
20621 [BZ #12420]
20622 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
20623 storing it.
20624 * stdlib/bug-getcontext.c: New file.
20625 * stdlib/Makefile: Add rules to build and run bug-getcontext.
20626
27390476
AK
206272011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20628
20629 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
20630 instructions into .machine "z9-109".
20631 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
20632 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
20633
10442705
AK
206342011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20635
20636 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
20637 between environment variables and auxiliary vector.
20638
7b57bfe5
UD
206392011-04-16 Ulrich Drepper <drepper@gmail.com>
20640
20641 * Makefile: Add rules to build linkobj/libc.so.
20642 * include/libc-symbols.h: Define libc_hidden_nolink.
20643 * include/rpc/auth.h: Mark functions which are to be hidden.
20644 * include/rpc/auth_des.h: Likewise.
20645 * include/rpc/auth_unix.h: Likewise.
20646 * include/rpc/clnt.h: Likewise.
20647 * include/rpc/des_crypt.h: Likewise.
20648 * include/rpc/key_prot.h: Likewise.
20649 * include/rpc/pmap_clnt.h: Likewise.
20650 * include/rpc/pmap_prot.h: Likewise.
20651 * include/rpc/pmap_rmt.h: Likewise.
20652 * include/rpc/rpc_msg.h: Likewise.
20653 * include/rpc/svc.h: Likewise.
20654 * include/rpc/svc_auth.h: Likewise.
20655 * include/rpc/xdr.h: Likewise.
20656 * nis/Makefile: Link all DSOs against linkobj/libc.so.
20657 * nss/Makefile: Likewise.
20658 * sunrpc/Makefile: Don't install headers. Build library with normal
20659 entry points. Don't build rpcinfo. Link RPC tests appropriately.
20660 * sunrpc/auth_des.c: Hide exported symbols by default, export some
20661 for the compat linking library. Remove use of INTDEF/INTUSE.
20662 * sunrpc/auth_none.c: Likewise.
20663 * sunrpc/auth_unix.c: Likewise.
20664 * sunrpc/authdes_prot.c: Likewise.
20665 * sunrpc/authuxprot.c: Likewise.
20666 * sunrpc/clnt_gen.c: Likewise.
20667 * sunrpc/clnt_perr.c: Likewise.
20668 * sunrpc/clnt_raw.c: Likewise.
20669 * sunrpc/clnt_simp.c: Likewise.
20670 * sunrpc/clnt_tcp.c: Likewise.
20671 * sunrpc/clnt_udp.c: Likewise.
20672 * sunrpc/clnt_unix.c: Likewise.
20673 * sunrpc/des_crypt.c: Likewise.
20674 * sunrpc/des_soft.c: Likewise.
20675 * sunrpc/get_myaddr.c: Likewise.
20676 * sunrpc/key_call.c: Likewise.
20677 * sunrpc/key_prot.c: Likewise.
20678 * sunrpc/netname.c: Likewise.
20679 * sunrpc/pm_getmaps.c: Likewise.
20680 * sunrpc/pm_getport.c: Likewise.
20681 * sunrpc/pmap_clnt.c: Likewise.
20682 * sunrpc/pmap_prot.c: Likewise.
20683 * sunrpc/pmap_prot2.c: Likewise.
20684 * sunrpc/pmap_rmt.c: Likewise.
20685 * sunrpc/publickey.c: Likewise.
20686 * sunrpc/rpc_cmsg.c: Likewise.
20687 * sunrpc/rpc_common.c: Likewise.
20688 * sunrpc/rpc_dtable.c: Likewise.
20689 * sunrpc/rpc_prot.c: Likewise.
20690 * sunrpc/rpc_thread.c: Likewise.
20691 * sunrpc/rtime.c: Likewise.
20692 * sunrpc/svc.c: Likewise.
20693 * sunrpc/svc_auth.c: Likewise.
20694 * sunrpc/svc_authux.c: Likewise.
20695 * sunrpc/svc_raw.c: Likewise.
20696 * sunrpc/svc_run.c: Likewise.
20697 * sunrpc/svc_simple.c: Likewise.
20698 * sunrpc/svc_tcp.c: Likewise.
20699 * sunrpc/svc_udp.c: Likewise.
20700 * sunrpc/svc_unix.c: Likewise.
20701 * sunrpc/svcauth_des.c: Likewise.
20702 * sunrpc/xcrypt.c: Likewise.
20703 * sunrpc/xdr.c: Likewise.
20704 * sunrpc/xdr_array.c: Likewise.
20705 * sunrpc/xdr_float.c: Likewise.
20706 * sunrpc/xdr_intXX_t.c: Likewise.
20707 * sunrpc/xdr_mem.c: Likewise.
20708 * sunrpc/xdr_rec.c: Likewise.
20709 * sunrpc/xdr_ref.c: Likewise.
20710 * sunrpc/xdr_sizeof.c: Likewise.
20711 * sunrpc/xdr_stdio.c: Likewise.
20712
e6c61494
UD
207132011-04-10 Ulrich Drepper <drepper@gmail.com>
20714
20715 [BZ #12650]
20716 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
20717 * sysdeps/ia64/dl-tls.h: Likewise.
20718 * sysdeps/powerpc/dl-tls.h: Likewise.
20719 * sysdeps/s390/dl-tls.h: Likewise.
20720 * sysdeps/sh/dl-tls.h: Likewise.
20721 * sysdeps/sparc/dl-tls.h: Likewise.
20722 * sysdeps/x86_64/dl-tls.h: Likewise.
20723 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
20724
34fe483e
AS
207252011-03-14 Andreas Schwab <schwab@redhat.com>
20726
20727 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
20728 rpath element also skip the following colon.
20729 (expand_dynamic_string_token): Add is_path parameter and pass
20730 down to DL_DST_REQUIRED and _dl_dst_substitute.
20731 (decompose_rpath): Call expand_dynamic_string_token with
20732 non-zero is_path. Ignore empty rpaths.
20733 (_dl_map_object_from_fd): Call expand_dynamic_string_token
20734 with zero is_path.
20735
f12a32e6
AS
207362011-04-08 Andreas Schwab <schwab@linux-m68k.org>
20737
20738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
20739 Make cancelable.
20740
38a7d692
UD
207412011-04-09 Ulrich Drepper <drepper@gmail.com>
20742
20743 [BZ #12655]
20744 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
20745 Patch by Filipe David Manana <fdmanana@apache.org>.
20746
e451d22b
AS
207472011-04-07 Andreas Schwab <schwab@redhat.com>
20748
20749 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
20750 Maintain aligned stack.
20751 (CHECK_RSP): Remove unused macro.
20752
dedc7c7b
UD
207532011-04-03 Ulrich Drepper <drepper@gmail.com>
20754
20755 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
20756 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
20757
94521213
UD
207582011-04-02 Ulrich Drepper <drepper@gmail.com>
20759
20760 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
20761
8cb700c0 20762 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 20763
0354e355
L
207642011-03-26 H.J. Lu <hongjiu.lu@intel.com>
20765
20766 [BZ #12518]
20767 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
20768 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
20769 * sysdeps/x86_64/memmove.c: New file.
20770 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
20771 (memcpy): Renamed to ...
20772 (__new_memcpy): This.
20773 (memcpy): Provide GLIBC_2_14 memcpy.
20774 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
20775 (memcpy): Provide GLIBC_2_2_5 memcpy.
20776
8593482f
UD
207772011-04-01 Ulrich Drepper <drepper@gmail.com>
20778
20779 [BZ #12631]
20780 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
20781
81a5726b
AS
207822011-03-30 Andreas Schwab <schwab@redhat.com>
20783
20784 * misc/syncfs.c: New file.
20785 * misc/Makefile (routines): Add syncfs.
20786 * posix/unistd.h: Declare syncfs.
20787 * sysdeps/unix/syscalls.list: Add syncfs.
20788
00e5419f
AS
207892011-04-01 Andreas Schwab <schwab@redhat.com>
20790
20791 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
20792 open_by_handle_at.
20793 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
20794 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20795 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20796 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20797 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20798 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
20799 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20800
748876bf
UD
208012011-04-01 Ulrich Drepper <drepper@gmail.com>
20802
658e451d
UD
20803 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
20804 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20805 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
20806 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20807 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20808 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20809 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20810
748876bf
UD
20811 * io/Makefile: Compile fallocate.c, fallocate64.c, and
20812 sync_file_range.c with -fexceptions.
20813 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
20814 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
20815 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
20816 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
20817 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
20818 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
20819 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
20820 sync_file_range as cancellation point
20821 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
20822 now a wrapper around __call_sync_file_range with cancellation handling.
20823 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
20824 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
20825 function name to __call_sync_file_range.
20826 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
20827 Add call_sync_file_range.
748876bf 20828
6e63d5e1
AS
208292011-04-01 Andreas Schwab <schwab@redhat.com>
20830
20831 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 20832 bits/timex.h.
6e63d5e1 20833
46998f74
UD
208342011-04-01 Ulrich Drepper <drepper@gmail.com>
20835
4c1423ed
UD
20836 * iconv/iconv.h: Fix typo in comment.
20837 * io/fcntl.h: Likewise.
20838 * libio/stdio.h: Likewise.
20839 * posix/spawn.h: Likewise.
20840 * posix/unistd.h: Likewise.
20841 * stdlib/stdlib.h: Likewise.
20842 * time/time.h: Likewise.
20843 * wcsmbs/wchar.h: Likewise.
20844
158648c0
UD
20845 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
20846 open_by_handle): Add.
20847 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
20848 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
20849 Augment a few comments.
20850 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20851 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20852 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20853 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20854 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20855 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
20856 open_by_handle.
20857
46998f74
UD
20858 * io/fcntl.h (AT_EMPTY_PATH): Define.
20859
83fe108b
UD
208602011-03-30 Ulrich Drepper <drepper@gmail.com>
20861
20862 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
20863 * sysdeps/unix/sysv/linux/bits/time.h: New file.
20864 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
20865 to...
20866 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
20867 * Versions.def: Add GLIBC_2.14.
20868 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
20869 Export.
83fe108b 20870
bb242059
UD
208712011-03-22 Ulrich Drepper <drepper@gmail.com>
20872
20873 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
20874 round counter.
20875 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
20876
c97a1282
L
208772011-03-20 H.J. Lu <hongjiu.lu@intel.com>
20878
20879 [BZ #12597]
20880 * string/test-strncmp.c (do_page_test): New function.
20881 (check2): Likewise.
20882 (test_main): Call check2.
20883 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
20884
2a115601
UD
208852011-03-20 Ulrich Drepper <drepper@gmail.com>
20886
20887 [BZ #12587]
20888 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
20889 Handle cache information in CPU leaf 4.
20890 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
20891
8126d904
UD
208922011-03-18 Ulrich Drepper <drepper@gmail.com>
20893
042c49c6 20894 [BZ #12583]
8126d904
UD
20895 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
20896 character representation.
20897 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
20898
ccfe366e
RA
208992011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
20900
20901 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
20902 END(__isnan) to END(__isnanf) to match function entry point/label
20903 EALIGN(__isnanf,...).
20904
c6e13027
JJ
209052011-03-10 Jakub Jelinek <jakub@redhat.com>
20906
20907 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
20908
33f85a3f
UD
209092011-03-10 Ulrich Drepper <drepper@gmail.com>
20910
028478fa
UD
20911 [BZ #12510]
20912 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
20913 copy from the symbol referenced in the relocation to initialize the
20914 used variable.
20915 Patch by Piotr Bury <pbury@goahead.com>.
20916 * elf/Makefile: Add rules to build and tst-unique3.
20917 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
20918 * elf/tst-unique3.cc: New file.
20919 * elf/tst-unique3.h: New file.
20920 * elf/tst-unique3lib.cc: New file.
20921 * elf/tst-unique3lib2.cc: New file.
20922
33f85a3f
UD
20923 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
20924
03592fc7
MF
209252011-03-10 Mike Frysinger <vapier@gentoo.org>
20926
20927 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
20928 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
20929 to _start.
03592fc7 20930
6a5ee102
UD
209312011-03-06 Ulrich Drepper <drepper@gmail.com>
20932
20933 * elf/dl-load.c (_dl_map_object): If we are looking for the first
20934 to-be-loaded object along a path to loader is ld.so.
20935
7e4ba49c
HJ
209362011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
20937 Ulrich Drepper <drepper@gmail.com>
20938
20939 * sysdeps/x86_64/memset.S: After aligning destination, code
20940 branches to different locations depending on the value of
20941 misalignment, when multiarch is enabled. Fix this.
20942
209432011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
20944
20945 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
20946 Set _x86_64_preferred_memory_instruction for AMD processsors.
20947 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20948 Set bit_Prefer_SSE_for_memop for AMD processors.
20949
13a804de
UD
209502011-03-04 Ulrich Drepper <drepper@gmail.com>
20951
20952 * libio/fmemopen.c (fmemopen): Optimize a bit.
20953
9d25c392
AS
209542011-03-03 Andreas Schwab <schwab@redhat.com>
20955
20956 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
20957
a5543c6a
RM
209582011-03-03 Roland McGrath <roland@redhat.com>
20959
20960 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
20961
012d35f7
DM
209622011-02-28 Aurelien Jarno <aurelien@aurel32.net>
20963
7e4ba49c 20964 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
20965 __bzero_ultra1 instead of __memset_ultra1.
20966
4bff6e01
AS
209672011-02-23 Andreas Schwab <schwab@redhat.com>
20968 Ulrich Drepper <drepper@gmail.com>
20969
20970 [BZ #12509]
20971 * include/link.h (struct link_map): Add l_orig_initfini.
20972 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
20973 returning unsuccessfully.
20974 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
20975 close of a file loaded at startup, restore the original l_initfini
20976 list.
20977 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
20978 list, store the pointer.
20979 * elf/Makefile ($(objpfx)noload-mem): New rule.
20980 (noload-ENV): Define.
20981 (tests): Add $(objpfx)noload-mem.
20982 * elf/noload.c: Include <memcheck.h>.
20983 (main): Call mtrace. Close all opened handles.
20984
f2092faf
AS
209852011-02-17 Andreas Schwab <schwab@redhat.com>
20986
20987 [BZ #12454]
20988 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
20989 dependencies are missing.
20990
6c8a2e88
ST
209912011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
20992
f2092faf 20993 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
20994 Hurd needs munmap.
20995 * sysdeps/mach/hurd/ifreq.h: New file.
20996
84a42118
PB
209972011-01-27 Petr Baudis <pasky@suse.cz>
20998 Ulrich Drepper <drepper@gmail.com>
20999
071f805e 21000 [BZ 12445]#
84a42118
PB
21001 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
21002 to extend_alloca().
21003 * stdio-common/bug23.c: New file.
21004 * stdio-common/Makefile (tests): Add bug23.
21005
e23fe25b
AS
210062010-09-28 Andreas Schwab <schwab@redhat.com>
21007 Ulrich Drepper <drepper@gmail.com>
21008
21009 [BZ #12489]
21010 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
21011 before performing relro protection. At old place add assertion
21012 to make sure nothing changed.
21013
d3f02e10
NS
210142011-02-17 Nathan Sidwell <nathan@codesourcery.com>
21015 Glauber de Oliveira Costa <glommer@gmail.com>
21016
21017 * elf/elf.h: Add new ARM TLS relocs.
21018
d55fd7a5
RA
210192011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
21020
21021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21022 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
21023 cast from r3.
21024 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
21025 'tests' variable.
21026 * sysdeps/wordsize-64/tst-writev.c: New file.
21027
2206397e
RA
210282011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
21029
21030 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
21031 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
21032 insns in _dl_start to prevent a TOC reference before relocs are
21033 resolved.
21034
e9433893
UD
210352011-02-15 Ulrich Drepper <drepper@gmail.com>
21036
21037 [BZ #12469]
21038 * Makeconfig: Remove RANLIB definition.
21039 * Makerules: Don't use RANLIB.
21040 * aclocal.m4: Remove ranlib test.
21041 * configure.in: No need to check for ranlib.
21042 * elf/rtld-Rules: Don't use RANLIB.
21043
f75286c6
ST
210442011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
21045
8e31c82d
ST
21046 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
21047 protection macro.
21048 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
21049 inclusion protection macro.
21050
f75286c6
ST
21051 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
21052 SIGRTMIN and SIGRTMAX and print information in that case only when
21053 SIGRTMIN is defined.
21054
c1d0e639
JJ
210552011-02-11 Jakub Jelinek <jakub@redhat.com>
21056
21057 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
21058 arginfo fn returning -1.
21059
21060 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
21061 and thousands string is zero terminated.
21062
edf9294e
AS
210632011-02-03 Andreas Schwab <schwab@redhat.com>
21064
21065 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
21066 sysdeps/unix/sysv/linux/bits/socket.h.
21067
2b7e92df
ST
210682011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
21069
edf9294e
AS
21070 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
21071 (__CPU_COUNT): Remove old macros.
21072 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
21073 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
21074 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
21075 (__sched_cpualloc, __sched_cpufree): Add declarations.
21076
a4c7ea7b
UD
210772011-02-05 Ulrich Drepper <drepper@gmail.com>
21078
21079 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
21080 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
21081 * nscd/aicache.c (addhstaiX): Return timeout of added value.
21082 (readdhstai): Return value of addhstaiX call.
21083 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
21084 (addgrbyX): Return value returned by cache_addgr.
21085 (readdgrbyname): Return value returned by addgrbyX.
21086 (readdgrbygid): Likewise.
21087 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
21088 (addpwbyX): Return value returned by cache_addpw.
21089 (readdpwbyname): Return value returned by addhstbyX.
21090 (readdpwbyuid): Likewise.
21091 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
21092 (addservbyX): Return value returned by cache_addserv.
21093 (readdservbyname): Return value returned by addservbyX:
21094 (readdservbyport): Likewise.
21095 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
21096 (addhstbyX): Return value returned by cache_addhst.
21097 (readdhstbyname): Return value returned by addhstbyX.
21098 (readdhstbyaddr): Likewise.
21099 (readdhstbynamev6): Likewise.
21100 (readdhstbyaddrv6): Likewise.
21101 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
21102 (readdinitgroups): Return value returned by addinitgroupsX.
21103 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
21104 (prune_cache): Keep track of timeout value of re-added entries.
21105 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
21106 * nscd/nscd.h: Adjust prototypes of readd* functions.
21107
a0bf67cc
RM
211082011-02-04 Roland McGrath <roland@redhat.com>
21109
21110 * nis/nis_server.c (nis_servstate): Use the right name for 0.
21111 (nis_stats): Likewise.
21112 * nis/nis_modify.c (nis_modify): Likewise.
21113 * nis/nis_remove.c (nis_remove): Likewise.
21114 * nis/nis_add.c (nis_add): Likewise.
21115
21116 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
21117
21118 * posix/fnmatch_loop.c: Add some consts.
21119
21120 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
21121
435b95eb
L
211222011-02-02 H.J. Lu <hongjiu.lu@intel.com>
21123
21124 [BZ #12460]
21125 * config.make.in (config-cflags-novzeroupper): Define.
21126 * configure.in: Substitute libc_cv_cc_novzeroupper.
21127 * elf/Makefile (AVX-CFLAGS): Define.
21128 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
21129 (CFLAGS-tst-auditmod4a.c): Likewise.
21130 (CFLAGS-tst-auditmod4b.c): Likewise.
21131 (CFLAGS-tst-auditmod6b.c): Likewise.
21132 (CFLAGS-tst-auditmod6c.c): Likewise.
21133 (CFLAGS-tst-auditmod7b.c): Likewise.
21134 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
21135
8517b15e
UD
211362011-02-02 Ulrich Drepper <drepper@gmail.com>
21137
21138 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
21139 function to the callback.
21140 Patch partly by Jiri Olsa <jolsa@redhat.com>.
21141
10a656fe
AS
211422011-02-02 Andreas Schwab <schwab@redhat.com>
21143
21144 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
21145 of errno.
21146
968dad0a
UD
211472011-01-19 Ulrich Drepper <drepper@gmail.com>
21148
9f94d2ea 21149 [BZ #11724]
968dad0a
UD
21150 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
21151 of constructors.
21152 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
21153 of destructors.
21154 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
21155
21156 [BZ #11724]
21157 * elf/Makefile: Add rules to build and run new test.
21158 * elf/tst-initorder.c: New file.
21159 * elf/tst-initorder.exp: New file.
21160 * elf/tst-initordera1.c: New file.
21161 * elf/tst-initordera2.c: New file.
21162 * elf/tst-initordera3.c: New file.
21163 * elf/tst-initordera4.c: New file.
21164 * elf/tst-initorderb1.c: New file.
21165 * elf/tst-initorderb2.c: New file.
21166 * elf/tst-order-a1.c: New file.
21167 * elf/tst-order-a2.c: New file.
21168 * elf/tst-order-a3.c: New file.
21169 * elf/tst-order-a4.c: New file.
21170 * elf/tst-order-b1.c: New file.
21171 * elf/tst-order-b2.c: New file.
21172 * elf/tst-order-main.c: New file.
21173 New test case by George Gensure <werkt0@gmail.com>.
21174
86e92359
UD
211752010-10-01 Andreas Schwab <schwab@redhat.com>
21176
21177 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21178 decoding ACE if AI_CANONIDN.
21179
5d5732b0
UD
211802011-01-18 Ulrich Drepper <drepper@gmail.com>
21181
21182 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
21183
a77e8cbc
UD
211842011-01-17 Ulrich Drepper <drepper@gmail.com>
21185
6392473f
UD
21186 * version.h (RELEASE): Bump for 2.13 release.
21187 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
21188
620a0529
UD
21189 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
21190
18ba70a5
UD
21191 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
21192 MADV_NOHUGEPAGE.
32465c3e
UD
21193 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
21194 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21195 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21196 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21197 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21198 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21199
c0dafcf1
UD
21200 * posix/getconf.c: Update copyright year.
21201 * catgets/gencat.c: Likewise.
21202 * csu/version.c: Likewise.
21203 * debug/catchsegv.sh: Likewise.
21204 * debug/xtrace.sh: Likewise.
21205 * elf/ldconfig.c: Likewise.
21206 * elf/ldd.bash.in: Likewise.
21207 * elf/sprof.c (print_version): Likewise.
21208 * iconv/iconv_prog.c: Likewise.
21209 * iconv/iconvconfig.c: Likewise.
21210 * locale/programs/locale.c: Likewise.
21211 * locale/programs/localedef.c: Likewise.
21212 * malloc/memusage.sh: Likewise.
21213 * malloc/mtrace.pl: Likewise.
21214 * nscd/nscd.c (print_version): Likewise.
21215 * nss/getent.c: Likewise.
21216
a77e8cbc
UD
21217 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
21218 PF_CAIF, and PF_ALG.
21219 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21220
77e8bddf
AS
212212011-01-16 Andreas Schwab <schwab@linux-m68k.org>
21222
1f20b93a
AS
21223 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
21224 (modules-names): Use them.
21225 (ifunc-test-modules, ifunc-pie-tests): Define.
21226 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
21227 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
21228 (test-extras): Likewise.
21229 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
21230 $(compile-command.c).
21231 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
21232 (all-built-dso): Define.
21233 (check-textrel.out, check-execstack.out): Depend on it.
21234
77e8bddf
AS
21235 * configure.in: Don't override --enable-multi-arch.
21236
bc425b33
UD
212372011-01-15 Ulrich Drepper <drepper@gmail.com>
21238
21239 [BZ #6812]
21240 * nscd/hstcache.c (tryagain): Define.
21241 (cache_addhst): Return tryagain not notfound for temporary errors.
21242 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
21243 failed.
21244
794c3ad3
UD
212452011-01-14 Ulrich Drepper <drepper@gmail.com>
21246
70181fdd
UD
21247 [BZ #10563]
21248 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
21249 to make the syscall.
21250 * sysdeps/unix/sysv/linux/setgroups.c: New file.
21251
794c3ad3
UD
21252 [BZ #12378]
21253 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
21254 and fall back to matching as normal character if the string ends before
21255 the matching ']' is found. This is what POSIX requires.
21256 * posix/testfnm.c: Adjust test result.
21257 * posix/globtest.sh: Adjust test result. Add new test.
21258 * posix/tst-fnmatch.input: Likewise.
21259 * posix/tst-fnmatch2.c: Add new test.
21260
68dc9497
AS
212612010-12-28 Andreas Schwab <schwab@linux-m68k.org>
21262
21263 * elf/Makefile (check-execstack): Revert last change. Depend on
21264 check-execstack.h.
21265 (check-execstack.h): New target.
21266 (generated): Add check-execstack.h.
21267 * elf/check-execstack.c: Include "check-execstack.h".
21268 (main): Revert last change.
21269 (handle_file): Return zero if GNU_STACK is absent and
21270 DEFAULT_STACK_PERMS doesn't include PF_X.
21271
451f001b
UD
212722011-01-13 Ulrich Drepper <drepper@gmail.com>
21273
cfa28e56
UD
21274 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
21275 in child fails because the descriptor is already closed.
8cf8ce17
UD
21276 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
21277 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
21278 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 21279
1086d70d
UD
21280 [BZ #12397]
21281 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
21282 syscall.
21283
451f001b
UD
21284 [BZ #10484]
21285 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
21286 temporary buffer used to handle multi lookups locally.
a85b5cb4 21287 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 21288
08769175
UD
212892011-01-12 Ulrich Drepper <drepper@gmail.com>
21290
21291 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
21292 loader is ld.so.
21293
5e49c52e
UD
212942011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
21295
21296 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
21297 alignment for SSE2.
21298
60522a5f
UD
212992011-01-12 Ulrich Drepper <drepper@gmail.com>
21300
21301 [BZ #12394]
21302 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
21303 characters. When rounding increased number of integer digits recompute
21304 number of groups.
21305 * stdio-common/tst-grouping.c: New file.
21306 * stdio-common/Makefile: Add rules to build and run tst-grouping.
21307
f257bbd7
UD
213082011-01-09 Ulrich Drepper <drepper@gmail.com>
21309
21310 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
21311 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
21312
21313 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
21314 void.
21315 * bits/select.h: Likewise.
21316
fa9c15cb
UD
213172011-01-08 Ulrich Drepper <drepper@gmail.com>
21318
21319 * po/ja.po: Update from translation team.
21320
16c2895f
DM
213212011-01-04 David S. Miller <davem@sunset.davemloft.net>
21322
21323 [BZ #11155]
21324 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
21325 implementation just like for lxstat, fxstatat, et al.
21326
2543fef2
JM
213272010-12-27 Jim Meyering <meyering@redhat.com>
21328
21329 [BZ #12348]
21330 * posix/regexec.c (build_trtable): Return failure indication upon
21331 calloc failure. Otherwise, re_search_internal could infloop on OOM.
21332
98727dbe
UD
213332010-12-25 Ulrich Drepper <drepper@gmail.com>
21334
5bd6dc5c
UD
21335 [BZ #12201]
21336 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
21337 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
21338 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
21339 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
21340
97983464
UD
21341 [BZ #12207]
21342 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
21343
98727dbe
UD
21344 [BZ #12204]
21345 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
21346 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
21347
4a531bb0
L
213482010-12-15 H.J. Lu <hongjiu.lu@intel.com>
21349
21350 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
21351 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
21352 script has SORT_BY_INIT_PRIORITY.
21353 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
21354 NO_CTORS_DTORS_SECTIONS is defined.
21355 * elf/soinit.c: Likewise.
21356 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
21357 NO_CTORS_DTORS_SECTIONS is defined.
21358 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
21359 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
21360 * sysdeps/sh/init-first.c: Likewise.
21361 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
21362
07eb4b71
UD
213632010-12-24 Ulrich Drepper <drepper@gmail.com>
21364
21365 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
21366 always use the slow path.
21367
30950a5f
RA
213682010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
21369
21370 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
21371 similar rule which adds the sysdep directories to the header search in
21372 order to pick up the correct platform stackinfo.h.
21373 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
21374 perform test if it is, otherwise return successfully without testing.
21375 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
21376 DEFAULT_STACK_PERMS define in stackinfo.h.
21377 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
21378 defined in stackinfo.h.
21379 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
21380 DEFAULT_STACK_PERMS defined in stackinfo.h.
21381 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
21382 * sysdeps/ia64/stackinfo.h: Likewise.
21383 * sysdeps/s390/stackinfo.h: Likewise.
21384 * sysdeps/sh/stackinfo.h: Likewise.
21385 * sysdeps/sparc/stackinfo.h: Likewise.
21386 * sysdeps/x86_64/stackinfo.h: Likewise.
21387 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
21388 PF_X for powerpc64. Retain PF_X for powerpc32.
21389
db753e2c
UD
213902010-12-19 Ulrich Drepper <drepper@gmail.com>
21391
14b697f7
UD
21392 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
21393 accurately.
db753e2c
UD
21394 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
21395 GETDENTS_64BIT_ALIGNED.
21396
28300719
UD
213972010-12-14 Ulrich Drepper <dreper@gmail.com>
21398
14b697f7 21399 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 21400
4f197237
AS
214012010-12-10 Andreas Schwab <schwab@redhat.com>
21402
dbb0472f
AS
21403 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
21404 _GNU_SOURCE.
21405
4f197237
AS
21406 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
21407 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
21408 Remove __restrict.
21409 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
21410 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
21411
fb88ac72
UD
214122010-12-09 Ulrich Drepper <drepper@gmail.com>
21413
21414 [BZ #11655]
21415 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
21416 are initialized.
21417
42acbb92
JJ
214182010-12-09 Jakub Jelinek <jakub@redhat.com>
21419
21420 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
21421
c038d98d
UD
214222010-12-03 Ulrich Drepper <drepper@gmail.com>
21423
21424 * po/it.po: Update from translation team.
21425
3a4a2499
L
214262010-12-01 H.J. Lu <hongjiu.lu@intel.com>
21427
21428 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
21429 unused codes.
21430
1e24cf6e
UD
214312010-11-30 Ulrich Drepper <drepper@gmail.com>
21432
21433 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
21434
a7690819
AS
214352010-11-24 Andreas Schwab <schwab@redhat.com>
21436
21437 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
21438 specially.
21439 (gaih_getanswer_slice): Likewise.
21440
3bf8d1b1
JJ
214412010-10-20 Jakub Jelinek <jakub@redhat.com>
21442
21443 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
21444
6db52fbb
PB
214452010-05-31 Petr Baudis <pasky@suse.cz>
21446
21447 [BZ #11149]
21448 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
21449 silently even in the chroot mode.
21450
eaca7569
UD
214512010-11-22 Ulrich Drepper <drepper@gmail.com>
21452
21453 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
21454 last patch a bit. Pretty printing
21455
3056dcdb
UD
214562010-05-31 Petr Baudis <pasky@suse.cz>
21457
21458 [BZ #10085]
21459 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
21460 initialization of skip_initgroups_dyn.
21461
cf7c9078
UD
214622010-11-19 Ulrich Drepper <drepper@gmail.com>
21463
21464 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
21465 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21466
a1fb5e3e
UD
214672010-11-16 Ulrich Drepper <drepper@gmail.com>
21468
21469 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
21470
3540d66b
AS
214712010-11-11 Andreas Schwab <schwab@redhat.com>
21472
21473 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
21474 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
21475 (tst-fnmatch-ENV): Set MALLOC_TRACE.
21476 ($(objpfx)tst-fnmatch-mem): New rule.
21477 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
21478 * posix/tst-fnmatch.c (main): Call mtrace.
21479
13b69574
L
214802010-11-11 H.J. Lu <hongjiu.lu@intel.com>
21481
21482 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21483 Support Intel processor model 6 and model 0x2c.
21484
da93d214
LM
214852010-11-10 Luis Machado <luisgpm@br.ibm.com>
21486
21487 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
21488 signed comparison.
21489
8ca52c6e
L
214902010-11-09 H.J. Lu <hongjiu.lu@intel.com>
21491
21492 [BZ #12205]
21493 * string/test-strncasecmp.c (check_result): New function.
21494 (do_one_test): Use it.
21495 (check1): New function.
21496 (test_main): Use it.
21497 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
21498 Support strcasecmp and strncasecmp.
21499
69da074d
UD
215002010-11-08 Ulrich Drepper <drepper@gmail.com>
21501
21502 [BZ #12194]
21503 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
21504 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21505
ff02d528
L
215062010-11-07 H.J. Lu <hongjiu.lu@intel.com>
21507
21508 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
21509 IFUNC support.
21510 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21511 memset-x86-64.
21512 * sysdeps/x86_64/multiarch/bzero.S: New file.
21513 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
21514 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
21515 * sysdeps/x86_64/multiarch/memset.S: New file.
21516 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
21517 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21518 Set bit_Prefer_SSE_for_memop for Intel processors.
21519 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
21520 Define.
21521 (index_Prefer_SSE_for_memop): Define.
21522 (HAS_PREFER_SSE_FOR_MEMOP): Define.
21523
344d0b54
LM
215242010-11-04 Luis Machado <luisgpm@br.ibm.com>
21525
21526 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
21527 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
21528
c0dde15b
UD
215292010-11-03 H.J. Lu <hongjiu.lu@intel.com>
21530
21531 [BZ #12191]
21532 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21533 (__x86_64_raw_data_cache_size_half): Likewise.
21534 (__x86_64_raw_shared_cache_size): Likewise.
21535 (__x86_64_raw_shared_cache_size_half): Likewise.
21536
21537 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21538 (__x86_64_raw_data_cache_size_half): Likewise.
21539 (__x86_64_raw_shared_cache_size): Likewise.
21540 (__x86_64_raw_shared_cache_size_half): Likewise.
21541 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
21542 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
21543 and __x86_64_raw_shared_cache_size_half. Round
21544 __x86_64_data_cache_size_half, __x86_64_data_cache_size
21545 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
21546 to multiple of 256 bytes.
21547
0e516e0e
MS
215482010-11-03 Ulrich Drepper <drepper@gmail.com>
21549
21550 [BZ #12167]
21551 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
21552 of inacessible symlinks. Verify result of symlink before returning it.
21553 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
21554 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
21555
0e012e87
ER
215562010-10-28 Erich Ritz <erichritz@gmail.com>
21557
21558 * math/math.h (isinf): Fix typo in comment.
21559
de0ff7bc
UD
215602010-11-01 Ulrich Drepper <drepper@gmail.com>
21561
21562 * po/da.po: Update from translation team.
21563
fa41c84d
UD
215642010-10-26 Ulrich Drepper <drepper@gmail.com>
21565
21566 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
21567 is added to the list.
21568
f0967738
AK
215692010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21570 Ulrich Drepper <drepper@gmail.com>
21571
21572 * elf/dl-object.c (_dl_new_object): Don't append the new object to
21573 the global list here. Move code to...
21574 (_dl_add_to_namespace_list): ...here. New function.
21575 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
21576 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
21577 * elf/dl-load.c (lose): Don't remove the element from the list.
21578 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
21579 (_dl_map_object): Likewise.
21580
215812010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
21582
21583 [BZ #12159]
21584 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
21585 into all bytes of SSE register.
21586 Patch by Richard Li <richardpku@gmail.com>.
21587
f0967738 215882010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
21589
21590 [BZ #12140]
21591 * malloc/malloc.c (_int_free): Fill correct number of bytes when
21592 perturbing.
21593
d0b9e94f
MB
215942010-10-20 Michael B. Brutman <brutman@us.ibm.com>
21595
21596 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
21597 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
21598 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
21599 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
21600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
21601 submachine.
21602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
21603
8e9f92e9
AS
216042010-10-22 Andreas Schwab <schwab@redhat.com>
21605
21606 * include/dlfcn.h (__RTLD_SECURE): Define.
21607 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
21608 mode & __RTLD_SECURE instead.
21609 (open_path): Rename preloaded parameter to secure.
21610 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
21611 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
21612 * elf/dl-deps.c (openaux): Likewise.
21613 * elf/rtld.c (struct map_args): Remove is_preloaded.
21614 (map_doit): Don't use it.
21615 (dl_main): Likewise.
21616 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
21617 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
21618
bc96fbda
AS
216192010-09-09 Andreas Schwab <schwab@redhat.com>
21620
21621 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
21622 (sysd-rules-targets): Remove duplicates.
21623 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
21624 rtld-%.$o dependency.
21625
22cd1c9b
AS
216262010-10-18 Andreas Schwab <schwab@redhat.com>
21627
21628 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
21629 _dl_map_object do it.
21630
18edac48
UD
216312010-10-19 Ulrich Drepper <drepper@gmail.com>
21632
21633 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
21634 fast fma builtins, define the macros in the C99 standard.
21635 (FP_FAST_FMAF): Likewise.
21636 (FP_FAST_FMAL): Likewise.
21637 * sysdeps/x86_64/bits/mathdef.h: Likewise.
21638
21639 * bits/mathdef.h: Update copyright year.
21640 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21641
d2050124
MM
216422010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
21643
21644 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
21645 builtins, define the macros in the C99 standard.
21646 (FP_FAST_FMAF): Likewise.
21647 (FP_FAST_FMAL): Likewise.
21648 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
21649 multiply/add.
21650 (FP_FAST_FMAF): Likewise.
21651
475facd1
JJ
216522010-10-15 Jakub Jelinek <jakub@redhat.com>
21653
21654 [BZ #3268]
21655 * math/libm-test.inc (fma_test): Some new testcases.
21656 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
21657 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
21658 y and infinite z. Do multiplication by C already in long double.
21659 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
21660 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
21661 y and infinite z. Do bitwise or of inexact bit into u.d.
21662 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
21663 * sysdeps/i386/fpu/s_fmaf.S: Removed.
21664 * sysdeps/i386/fpu/s_fma.S: Removed.
21665 * sysdeps/i386/fpu/s_fmal.S: Removed.
21666
7c08a05c
JJ
216672010-10-16 Jakub Jelinek <jakub@redhat.com>
21668
21669 [BZ #3268]
21670 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
21671 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
21672 computation is not scheduled after fetestexcept. Fix value
21673 of minimum denormal long double.
21674
f3f7372d
JJ
216752010-10-14 Jakub Jelinek <jakub@redhat.com>
21676
21677 [BZ #3268]
21678 * math/libm-test.inc (fma_test): Add some more tests.
21679 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
21680 correctly.
21681
14d43591
AS
216822010-10-15 Andreas Schwab <schwab@redhat.com>
21683
21684 * scripts/data/localplt-s390-linux-gnu.data: New file.
21685 * scripts/data/localplt-s390x-linux-gnu.data: New file.
21686
5e908464
JJ
216872010-10-13 Jakub Jelinek <jakub@redhat.com>
21688
21689 [BZ #3268]
21690 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
21691 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
21692 instead of dbl-64.
21693 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
21694 inlines.
21695 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
21696 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
21697 if one of x and y is very large and the other is subnormal.
21698 * sysdeps/s390/fpu/s_fmaf.c: New file.
21699 * sysdeps/s390/fpu/s_fma.c: New file.
21700 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
21701 * sysdeps/powerpc/fpu/s_fma.S: New file.
21702 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
21703 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
21704 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
21705
217062010-10-12 Jakub Jelinek <jakub@redhat.com>
21707
21708 [BZ #3268]
21709 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
21710 fma tests.
21711 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
21712 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
21713 * sysdeps/i386/i686/multiarch/s_fma.c: Include
21714 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
21715 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
21716 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
21717 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
21718
b833d51f
UD
217192010-10-12 Ulrich Drepper <drepper@redhat.com>
21720
21721 [BZ #12078]
21722 * posix/regcomp.c (parse_branch): One more memory leak plugged.
21723 * posix/bug-regex31.input: Add test case.
21724
1751705d
UD
217252010-10-11 Ulrich Drepper <drepper@gmail.com>
21726
e9b9cbf5
UD
21727 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
21728 * posix/bug-regex31.input: New file.
21729
21730 [BZ #12078]
21731 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
21732 (parse_sub_exp): Fix last change, use postorder.
21733
ef06edbe
UD
21734 * posix/bug-regex31.c: New file.
21735 * posix/Makefile: Add rules to build and run bug-regex31.
21736
a129c80d
UD
21737 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
21738
21739 [BZ #12078]
21740 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
21741
b76b818e
UD
21742 [BZ #12108]
21743 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
21744 to have entries in sys_siglist.
21745
1751705d
UD
21746 [BZ #12093]
21747 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
21748 be NULL.
21749
9ff8d36f
JJ
217502010-10-07 Jakub Jelinek <jakub@redhat.com>
21751
21752 [BZ #3268]
21753 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
21754 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
21755 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
21756 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
21757 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
21758 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
21759 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
21760 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
21761 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
21762 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
21763 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
21764 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
21765 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
21766 * math/ftestexcept.c (fetestexcept): Likewise.
21767 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
21768 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
21769 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
21770 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
21771 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
21772 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
21773 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21774
af325969
UD
217752010-10-11 Ulrich Drepper <drepper@gmail.com>
21776
c579b202 21777 [BZ #12107]
af325969
UD
21778 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
21779 newline.
21780
67a67b95
UD
217812010-10-06 Ulrich Drepper <drepper@gmail.com>
21782
21783 * string/bug-strstr1.c: New file.
21784 * string/Makefile: Add rules to build and run bug-strstr1.
21785
5fb308bc
EB
217862010-10-05 Eric Blake <eblake@redhat.com>
21787
21788 [BZ #12092]
21789 * string/str-two-way.h (two_way_long_needle): Always clear memory
21790 when skipping input due to the shift table.
21791
45db99c7
UD
217922010-10-03 Ulrich Drepper <drepper@gmail.com>
21793
3b111893
UD
21794 [BZ #12005]
21795 * malloc/mcheck.c: Handle large requests.
21796
45db99c7
UD
21797 [BZ #12077]
21798 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
21799 for strncmp and strncasecmp.
21800 * string/stratcliff.c: Add tests for strcmp and strncmp.
21801 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
21802
cf7a1eb8
NI
218032010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21804
21805 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
21806 __set_fpscr.
21807
6484ba5e
AJ
218082010-09-30 Andreas Jaeger <aj@suse.de>
21809
21810 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
21811 (CGROUP_SUPER_MAGIC): Define.
21812 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21813 Handle btrfs and cgroup file systems.
21814 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21815 Likewise.
21816
91c42559
LM
218172010-09-27 Luis Machado <luisgpm@br.ibm.com>
21818
21819 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
21820 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
21821
87a97932
AK
218222010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21823
21824 [BZ #12067]
21825 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
21826 trying to locate the ELF header.
21827
c21cc9bc
AS
218282010-09-27 Andreas Schwab <schwab@redhat.com>
21829
21830 [BZ #11611]
21831 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
21832 Mask out sign-bit copies when constructing f_fsid.
21833
315970f6
PB
218342010-09-24 Petr Baudis <pasky@suse.cz>
21835
21836 * debug/stack_chk_fail_local.c: Add missing licence exception.
21837 * debug/warning-nop.c: Likewise.
21838
1ac7a2c7
JM
218392010-09-15 Joseph Myers <joseph@codesourcery.com>
21840
21841 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
21842 implementing getdents64 using getdents syscall, set d_type if
21843 __ASSUME_GETDENTS32_D_TYPE.
21844
56801c50
AS
218452010-09-16 Andreas Schwab <schwab@redhat.com>
21846
21847 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
21848 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
21849
dda51327
UD
218502010-09-21 Ulrich Drepper <drepper@redhat.com>
21851
21852 [BZ #12037]
21853 * posix/unistd.h: Undo change of feature selection for ftruncate from
21854 2010-01-11.
21855
8ffcee4a
UD
218562010-09-20 Ulrich Drepper <drepper@redhat.com>
21857
a545ecd9 21858 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
21859 detection.
21860
e24f0a8b
AS
218612010-09-20 Andreas Schwab <schwab@redhat.com>
21862
21863 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
21864 fanotify_mark.
21865 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
21866
7291c56f
AS
218672010-09-14 Andreas Schwab <schwab@redhat.com>
21868
21869 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
21870 variables after CHECK_SP call.
21871 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
21872
bc5fb037
AS
218732010-09-13 Andreas Schwab <schwab@redhat.com>
21874 Ulrich Drepper <drepper@redhat.com>
21875
21876 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
21877 re-relocationg ld.so.
21878 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
21879 _dl_init_paths call.
21880 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
21881 here anymore.
21882
e66e7419
UD
218832010-09-14 Ulrich Drepper <drepper@redhat.com>
21884
21885 * resolv/res_init.c (__res_vinit): Count the default server we added.
21886
c044aa75
CLT
218872010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
21888 Ulrich Drepper <drepper@redhat.com>
21889
21890 [BZ #11968]
21891 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
21892 (____longjmp_chk): Use %ebx for saving value across system call.
21893 Add unwind info.
21894
32cf4069
AS
218952010-09-06 Andreas Schwab <schwab@redhat.com>
21896
21897 * manual/Makefile: Don't mix pattern rules with normal rules.
21898
817328ee
AS
218992010-09-05 Andreas Schwab <schwab@linux-m68k.org>
21900
21901 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
21902 operation.
21903 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
21904 * libio/iofopncook.c (_IO_cookie_init): Likewise.
21905 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
21906 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
21907 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21908 Likewise.
21909
29fddf61
UD
219102010-09-04 Ulrich Drepper <drepper@redhat.com>
21911
21912 [BZ #11979]
21913 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
21914 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
21915
0959ffc9
UD
219162010-09-02 Ulrich Drepper <drepper@redhat.com>
21917
21918 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
21919 * sysdeps/x86_64/addmul_1.S: Likewise.
21920 * sysdeps/x86_64/lshift.S: Likewise.
21921 * sysdeps/x86_64/mul_1.S: Likewise.
21922 * sysdeps/x86_64/rshift.S: Likewise.
21923 * sysdeps/x86_64/sub_n.S: Likewise.
21924 * sysdeps/x86_64/submul_1.S: Likewise.
21925
ece29840
ST
219262010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
21927
0959ffc9
UD
21928 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
21929 Define __sched_param instead of SCHED_* and sched_param when
ece29840 21930 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 21931 * bits/sched.h [__need_schedparam]
ece29840 21932 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
21933 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
21934 (__defined_schedparam): Define to 1.
ece29840
ST
21935 (__sched_param): New structure, identical to sched_param.
21936 (__need_schedparam): Undefine.
21937
e53a31fe
MF
219382010-08-31 Mike Frysinger <vapier@gentoo.org>
21939
fdc0c10d
MF
21940 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
21941 (epoll_create1): Declare.
21942
e53a31fe
MF
21943 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
21944
a726d796
AS
219452010-08-31 Andreas Schwab <schwab@redhat.com>
21946
21947 [BZ #7066]
21948 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
21949 shifting retval into place.
21950
2f3e3dc7
UD
219512010-09-01 Ulrich Drepper <drepper@redhat.com>
21952
f2933da9
UD
21953 * nis/rpcsvc/nis.h: Update copyright notice.
21954 * nis/rpcsvc/nis.x: Likewise.
21955 * nis/rpcsvc/nis_callback.h: Likewise.
21956 * nis/rpcsvc/nis_callback.x: Likewise.
21957 * nis/rpcsvc/nis_object.x: Likewise.
21958 * nis/rpcsvc/nis_tags.h: Likewise.
21959 * nis/rpcsvc/yp.h: Likewise.
21960 * nis/rpcsvc/yp.x: Likewise.
21961 * nis/rpcsvc/ypupd.h: Likewise.
21962 * nis/yp_xdr.c: Likewise.
21963 * nis/ypupdate_xdr.c: Likewise.
21964
2f3e3dc7
UD
21965 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
21966 mainly the body of pmap_getport. Add parameters to specify timeouts.
21967 (pmap_getport): Use __libc_rpc_getport.
21968 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
21969 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
21970 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
21971
f3dcc2f9
AS
219722010-08-31 Andreas Schwab <schwab@linux-m68k.org>
21973
21974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
21975 fanotify_mark.
21976
6d34eb5b
RM
219772010-08-27 Roland McGrath <roland@redhat.com>
21978
21979 * sysdeps/i386/i686/multiarch/Makefile
21980 (CFLAGS-varshift.c): New variable.
21981
9ea3de11
UD
219822010-08-27 Ulrich Drepper <drepper@redhat.com>
21983
c96d23fc
UD
21984 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
21985 * sysdeps/i386/i686/multiarch/varshift.c: New file.
21986
9ea3de11
UD
21987 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
21988
21989 * sysdeps/x86_64/strlen.S: Minimal code improvement.
21990
623aac7f
L
219912010-08-26 H.J. Lu <hongjiu.lu@intel.com>
21992
21993 * sysdeps/x86_64/strlen.S: Unroll the loop.
21994 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21995 strlen-sse2 strlen-sse2-bsf.
21996 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
21997 __strlen_no_bsf if bit_Slow_BSF is set.
21998 (__strlen_sse42): Removed.
21999 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
22000 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
22001
8b2b7715
RM
220022010-08-25 Roland McGrath <roland@redhat.com>
22003
22004 * sysdeps/x86_64/multiarch/varshift.S: File removed.
22005 * sysdeps/x86_64/multiarch/varshift.c: New file.
22006 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
22007 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
22008 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
22009 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22010
e73015f2
L
220112010-08-25 H.J. Lu <hongjiu.lu@intel.com>
22012
22013 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22014 strlen-sse2 strlen-sse2-bsf.
22015 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
22016 __strlen_sse2_bsf if bit_Slow_BSF is unset.
22017 (__strlen_sse2): Removed.
22018 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
22019 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
22020 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22021 bit_Slow_BSF for Atom.
22022 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
22023 (index_Slow_BSF): Define.
22024 (HAS_SLOW_BSF): Define.
22025
df24a73e
UD
220262010-08-25 Ulrich Drepper <drepper@redhat.com>
22027
22028 [BZ #10851]
22029 * resolv/res_init.c (__res_vinit): When no server address at all
22030 is given default to loopback.
22031
f2ac4868
RM
220322010-08-24 Roland McGrath <roland@redhat.com>
22033
09055553
RM
22034 * configure.in: Remove config-name.h generation.
22035 * configure: Regenerated.
22036 * config-name.in: File removed.
22037 * scripts/config-uname.sh: New file.
22038 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
22039 ($(objdir)config-name.h): New target.
22040
f2ac4868
RM
22041 * sunrpc/rpc_parse.h: Avoid nested comment.
22042
73f27d5e
RH
220432010-08-24 Richard Henderson <rth@redhat.com>
22044 Ulrich Drepper <drepper@redhat.com>
22045 H.J. Lu <hongjiu.lu@intel.com>
22046
22047 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
22048 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
22049 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
22050 Replace _mm_srli_si128 with __m128i_shift_right. Replace
22051 _mm_alignr_epi8 with _mm_loadu_si128.
22052 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
22053 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
22054 (__m128i_shift_right): Removed.
22055 * sysdeps/i386/i686/multiarch/varshift.h: New file.
22056 * sysdeps/i386/i686/multiarch/varshift.S: New file.
22057 * sysdeps/x86_64/multiarch/varshift.h: New file.
22058 * sysdeps/x86_64/multiarch/varshift.S: New file.
22059
84b9230c
MF
220602010-08-21 Mike Frysinger <vapier@gentoo.org>
22061
22062 * configure.in: Move assembler checks to before sysdep dir checking.
22063
9bbd0ddc
PB
220642010-08-20 Petr Baudis <pasky@suse.cz>
22065
22066 * LICENSES: Sync the sunrpc license.
22067
9da4bb31
UD
220682010-08-19 Ulrich Drepper <drepper@redhat.com>
22069
a7ab6ec8
UD
22070 * sunrpc/auth_des.c: Update copyright notice once again.
22071 * sunrpc/auth_none.c: Likewise.
22072 * sunrpc/auth_unix.c: Likewise.
22073 * sunrpc/authdes_prot.c: Likewise.
22074 * sunrpc/authuxprot.c: Likewise.
22075 * sunrpc/bindrsvprt.c: Likewise.
22076 * sunrpc/clnt_gen.c: Likewise.
22077 * sunrpc/clnt_perr.c: Likewise.
22078 * sunrpc/clnt_raw.c: Likewise.
22079 * sunrpc/clnt_simp.c: Likewise.
22080 * sunrpc/clnt_tcp.c: Likewise.
22081 * sunrpc/clnt_udp.c: Likewise.
22082 * sunrpc/clnt_unix.c: Likewise.
22083 * sunrpc/des_crypt.c: Likewise.
22084 * sunrpc/des_soft.c: Likewise.
22085 * sunrpc/get_myaddr.c: Likewise.
22086 * sunrpc/getrpcport.c: Likewise.
22087 * sunrpc/key_call.c: Likewise.
22088 * sunrpc/key_prot.c: Likewise.
22089 * sunrpc/openchild.c: Likewise.
22090 * sunrpc/pm_getmaps.c: Likewise.
22091 * sunrpc/pm_getport.c: Likewise.
22092 * sunrpc/pmap_clnt.c: Likewise.
22093 * sunrpc/pmap_prot.c: Likewise.
22094 * sunrpc/pmap_prot2.c: Likewise.
22095 * sunrpc/pmap_rmt.c: Likewise.
22096 * sunrpc/rpc/auth.h: Likewise.
22097 * sunrpc/rpc/auth_unix.h: Likewise.
22098 * sunrpc/rpc/clnt.h: Likewise.
22099 * sunrpc/rpc/des_crypt.h: Likewise.
22100 * sunrpc/rpc/key_prot.h: Likewise.
22101 * sunrpc/rpc/netdb.h: Likewise.
22102 * sunrpc/rpc/pmap_clnt.h: Likewise.
22103 * sunrpc/rpc/pmap_prot.h: Likewise.
22104 * sunrpc/rpc/pmap_rmt.h: Likewise.
22105 * sunrpc/rpc/rpc.h: Likewise.
22106 * sunrpc/rpc/rpc_des.h: Likewise.
22107 * sunrpc/rpc/rpc_msg.h: Likewise.
22108 * sunrpc/rpc/svc.h: Likewise.
22109 * sunrpc/rpc/svc_auth.h: Likewise.
22110 * sunrpc/rpc/types.h: Likewise.
22111 * sunrpc/rpc/xdr.h: Likewise.
22112 * sunrpc/rpc_clntout.c: Likewise.
22113 * sunrpc/rpc_cmsg.c: Likewise.
22114 * sunrpc/rpc_common.c: Likewise.
22115 * sunrpc/rpc_cout.c: Likewise.
22116 * sunrpc/rpc_dtable.c: Likewise.
22117 * sunrpc/rpc_hout.c: Likewise.
22118 * sunrpc/rpc_main.c: Likewise.
22119 * sunrpc/rpc_parse.c: Likewise.
22120 * sunrpc/rpc_parse.h: Likewise.
22121 * sunrpc/rpc_prot.c: Likewise.
22122 * sunrpc/rpc_sample.c: Likewise.
22123 * sunrpc/rpc_scan.c: Likewise.
22124 * sunrpc/rpc_scan.h: Likewise.
22125 * sunrpc/rpc_svcout.c: Likewise.
22126 * sunrpc/rpc_tblout.c: Likewise.
22127 * sunrpc/rpc_util.c: Likewise.
22128 * sunrpc/rpc_util.h: Likewise.
22129 * sunrpc/rpcinfo.c: Likewise.
22130 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
22131 * sunrpc/rpcsvc/key_prot.x: Likewise.
22132 * sunrpc/rpcsvc/klm_prot.x: Likewise.
22133 * sunrpc/rpcsvc/mount.x: Likewise.
22134 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
22135 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
22136 * sunrpc/rpcsvc/rex.x: Likewise.
22137 * sunrpc/rpcsvc/rstat.x: Likewise.
22138 * sunrpc/rpcsvc/rusers.x: Likewise.
22139 * sunrpc/rpcsvc/sm_inter.x: Likewise.
22140 * sunrpc/rpcsvc/spray.x: Likewise.
22141 * sunrpc/rpcsvc/yppasswd.x: Likewise.
22142 * sunrpc/rtime.c: Likewise.
22143 * sunrpc/svc.c: Likewise.
22144 * sunrpc/svc_auth.c: Likewise.
22145 * sunrpc/svc_authux.c: Likewise.
22146 * sunrpc/svc_raw.c: Likewise.
22147 * sunrpc/svc_run.c: Likewise.
22148 * sunrpc/svc_simple.c: Likewise.
22149 * sunrpc/svc_tcp.c: Likewise.
22150 * sunrpc/svc_udp.c: Likewise.
22151 * sunrpc/svc_unix.c: Likewise.
22152 * sunrpc/svcauth_des.c: Likewise.
22153 * sunrpc/xcrypt.c: Likewise.
22154 * sunrpc/xdr.c: Likewise.
22155 * sunrpc/xdr_array.c: Likewise.
22156 * sunrpc/xdr_float.c: Likewise.
22157 * sunrpc/xdr_mem.c: Likewise.
22158 * sunrpc/xdr_rec.c: Likewise.
22159 * sunrpc/xdr_ref.c: Likewise.
22160 * sunrpc/xdr_sizeof.c: Likewise.
22161 * sunrpc/xdr_stdio.c: Likewise.
22162
9da4bb31
UD
22163 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
22164 handling.
22165
bdaa77bc
AS
221662010-08-19 Andreas Schwab <schwab@redhat.com>
22167
22168 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
22169
fe2f79db
LM
221702010-08-19 Luis Machado <luisgpm@br.ibm.com>
22171
22172 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
22173 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
22174 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
22175 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
22176 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
22177 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
22178 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
22179 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
22180 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
22181 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
22182 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
22183 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
22184 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
22185 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
22186
b9b42ee0
AB
221872010-07-26 Anton Blanchard <anton@samba.org>
22188
22189 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
22190 * malloc/arena.c (heap_trim): Likewise.
22191
1c06ba31
UD
221922010-08-16 Ulrich Drepper <drepper@redhat.com>
22193
22194 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
22195 here. Not...
22196 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
22197 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
22198
f8392f40
L
221992010-08-12 H.J. Lu <hongjiu.lu@intel.com>
22200
22201 * sysdeps/i386/elf/Makefile: New file.
22202
3162f12e
AS
222032010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22204
22205 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
22206 from fanotify_init.
22207 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
22208 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22209
28c90b2c
UD
222102010-08-15 Ulrich Drepper <drepper@redhat.com>
22211
22212 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
22213 of strncasecmp_l.
1feccb6c 22214 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 22215
ca6bb004
UD
222162010-08-14 Ulrich Drepper <drepper@redhat.com>
22217
e9f82e0d
UD
22218 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22219 strncase_l-nonascii.
22220 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22221 Add strncase_l-ssse3.
22222 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
22223 * sysdeps/x86_64/strcmp.S: Likewise.
22224 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
22225 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
22226 * sysdeps/x86_64/strncase.S: New file.
22227 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
22228 * sysdeps/x86_64/strncase_l.S: New file.
22229 * string/Makefile (strop-tests): Add strncasecmp.
22230 * string/test-strncasecmp.c: New file.
22231
22232 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
22233 warning.
22234
ca6bb004
UD
22235 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
22236 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
22237
052fa7b3
AS
222382010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22239
22240 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
22241
962dba78
UD
222422010-08-12 Ulrich Drepper <drepper@redhat.com>
22243
22244 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
22245 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
22246 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
22247
bebff237
AM
222482010-05-01 Alan Modra <amodra@gmail.com>
22249
22250 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
22251 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
22252 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
22253 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
22254 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
22255 tidying. Don't tail-call __sigjmp_save for static lib.
22256 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
22257 save location.
22258 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
22259 (CALL_MCOUNT): Add eh info, and nop after bl.
22260 (TAIL_CALL_SYSCALL_ERROR): New macro.
22261 (PSEUDO_RET): Use it.
22262 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22263 Correct save location of integer regs and cr.
22264 (_dl_profile_resolve): Correct cr save location. Delete nops
22265 after bl when SHARED. Reduce cfi size a little by better
22266 placement of cfi directives.
22267 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
22268 make a stack frame. Instead use parm save area as a temp.
22269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
22270 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
22271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22272 Don't make a stack frame for parent, use parm save area.
22273 Increase child stack frame to 112 bytes. Don't save unused reg,
22274 and adjust reg usage. Set up cfi on error recovery and
22275 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
22276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22277 (__makecontext): Add dummy nop after jump to exit.
22278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
22279 Use correct parm save area and cr save, reduce stack frame.
22280 Correct cfi for possible PSEUDO_RET frame setup.
22281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
22282 Branch to local label emitted by PSEUDO_RET rather than
22283 __syscall_error.
22284
02637374
AS
222852010-08-12 Andreas Schwab <schwab@redhat.com>
22286
22287 [BZ #11904]
22288 * locale/programs/locale.c (print_assignment): New function.
22289 (show_locale_vars): Use it.
22290
c3e2f19b
UD
222912010-08-11 Ulrich Drepper <drepper@redhat.com>
22292
3cdaa6ad
UD
22293 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
22294 field.
22295 (struct statfs64): Likewise.
22296 (_STATFS_F_FLAGS): Define.
22297 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
22298 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22299 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
22300 (ST_VALID): Define locally.
22301 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
22302 __statvfs_getflags, use the provided value.
22303 * sysdeps/unix/sysv/linux/kernel-features.h: Define
22304 __ASSUME_STATFS_F_FLAGS.
22305
754f7da3
UD
22306 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
22307
10b3bedc
UD
22308 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
22309 Add sys/fanotify.h.
22310 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
22311 fanotify_mask for GLIBC_2.13.
22312 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
22313 fanotify_init and fanotify_mark.
22314 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22315 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
22316
c08fb0d7
UD
22317 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
22318 Add prlimit.
22319 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
22320 prlimit64 for GLIBC_2.13.
22321 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
22322 prlimit64.
22323 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
22324 syscall.
22325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
22326 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22327 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
22328 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
22329 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
22330 add prlimit alias.
22331 * sysdeps/unix/sysv/linux/prlimit.c: New file.
22332
15bac72b
UD
22333 [BZ #11903]
22334 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
22335 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
22336
c3e2f19b
UD
22337 * nss/Makefile: Add rules to build and run tst-nss-test1.
22338 * shlib-versions: Add entry for libnss_test1.
22339 * nss/nss_test1.c: New file.
22340 * nss/tst-nss-test1.c: New file.
22341
22342 * nss/nsswitch.c (__nss_database_custom): Define new variable.
22343 (__nss_configure_lookup): Set appropriate entry in
22344 __nss_configure_lookup to true.
22345 * nss/nsswitch.h: Define enum with indeces of databases in
22346 databases and __nss_database_custom arrays. Declare
22347 __nss_database_custom.
22348 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
22349 to avoid using nscd when custom rules are installed.
22350 * nss/getXXbyYY_r.c: Likewise.
22351 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22352
22353 * nss/nss_files/files-parse.c: Whitespace fixes.
22354
f15ce4d8
UD
223552010-08-09 Ulrich Drepper <drepper@redhat.com>
22356
22357 [BZ #11883]
22358 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
22359 * posix/fnmatch_loop.c: Likewise.
22360
d22e4cc9
AK
223612010-07-17 Andi Kleen <ak@linux.intel.com>
22362
22363 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
22364 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
22365 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
22366 * Versions.def [GLIBC_2.13]: Add.
22367
805bc17d
UD
223682010-08-06 Ulrich Drepper <drepper@redhat.com>
22369
22370 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22371 Also fail if tpwd after pwuid call is NULL.
22372
5a42321d
ST
223732010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
22374
22375 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
22376 when converting to ms.
22377
fd3ebeda
ST
223782010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22379
22380 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
22381 EOPNOTSUPP errors with ENOTTY.
22382 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
22383 EOPNOTSUPP errors with ENOTTY.
22384
73507d3a
UD
223852010-07-31 Ulrich Drepper <drepper@redhat.com>
22386
22387 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22388 Add strcasecmp_l-ssse3.
22389 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
22390 strcasecmp.
22391 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
22392 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
22393 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
22394
fe36dd02
UD
223952010-07-30 Ulrich Drepper <drepper@redhat.com>
22396
66f6765a
UD
22397 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
22398
42e08a54
UD
22399 * string/Makefile (strop-tests): Add strcasecmp.
22400 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22401 strcasecmp_l-nonascii.
22402 (gen-as-const-headers): Add locale-defines.sym.
22403 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
22404 * sysdeps/x86_64/strcasecmp.S: New file.
22405 * sysdeps/x86_64/strcasecmp_l.S: New file.
22406 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
22407 * sysdeps/x86_64/locale-defines.sym: New file.
22408 * string/test-strcasecmp.c: New file.
22409
fe36dd02
UD
22410 * string/test-strcasestr.c: Test both ends of the range of characters.
22411 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
22412
48cbc0d6
RM
224132010-07-29 Roland McGrath <roland@redhat.com>
22414
76e6d6bc 22415 [BZ #11856]
48cbc0d6
RM
22416 * manual/locale.texi (Yes-or-No Questions): Fix example code.
22417
880113d9
UD
224182010-07-27 Ulrich Drepper <drepper@redhat.com>
22419
22420 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
22421 for ld.so.
22422
deb9cabb
AS
224232010-07-27 Andreas Schwab <schwab@redhat.com>
22424
22425 * manual/memory.texi (Malloc Tunable Parameters): Document
22426 M_PERTURB.
22427
1c7570ff
RM
224282010-07-26 Roland McGrath <roland@redhat.com>
22429
22430 [BZ #11840]
22431 * configure.in (-fgnu89-inline check): Set and substitute
22432 gnu89_inline, not libc_cv_gnu89_inline.
22433 * configure: Regenerated.
22434 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
22435
24fb0f88
UD
224362010-07-26 Ulrich Drepper <drepper@redhat.com>
22437
22438 * string/test-strnlen.c: New file.
22439 * string/Makefile (strop-tests): Add strnlen.
22440 * string/tester.c (test_strnlen): Add a few more test cases.
22441 * string/tst-strlen.c: Better error reporting.
22442
22443 * sysdeps/x86_64/strnlen.S: New file.
22444
8e96b93a
UD
224452010-07-24 Ulrich Drepper <drepper@redhat.com>
22446
22447 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
22448 lower-latency instructions.
22449
dbc676d4
UD
224502010-07-23 Ulrich Drepper <drepper@redhat.com>
22451
22452 * string/test-strcasestr.c: New file.
22453 * string/test-strstr.c: New file.
22454 * string/Makefile (strop-tests): Add strstr and strcasestr.
22455 * string/str-two-way.h: Don't undefine MAX.
22456 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
22457
f6a31e0e
AS
224582010-07-21 Andreas Schwab <schwab@redhat.com>
22459
22460 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22461 strcasestr-nonascii.
22462 (CFLAGS-strcasestr-nonascii.c): Define.
22463 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
22464 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
22465 Remove unused attribute.
22466
5dbc3b6c
RM
224672010-07-20 Roland McGrath <roland@redhat.com>
22468
22469 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
22470 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
22471 ld.so.cache was broken. With it, there is no way to disable dsocaps
22472 like LD_HWCAP_MASK can disable hwcaps.
22473
23d101d8
EPM
224742010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22475
22476 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
22477
cc9f2e47
UD
224782010-07-16 Ulrich Drepper <drepper@redhat.com>
22479
22480 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
22481 call in strcasestr.
22482 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
22483 __strcasestr_sse42_nonascii.
22484 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
22485 strcasestr-nonascii.c.
22486 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
22487
77c1b069
LM
224882010-06-15 Luis Machado <luisgpm@br.ibm.com>
22489
22490 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
22491 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
22492 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
22493 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
22494
440566c3
UD
224952010-07-09 Ulrich Drepper <drepper@redhat.com>
22496
22497 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
22498 fcntl.
22499
5be9d05d
AS
225002010-07-06 Andreas Schwab <schwab@redhat.com>
22501
c30b7ee2 22502 [BZ #11577]
5be9d05d
AS
22503 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
22504 dl_signal_cerror.
22505
8a492a67
UD
225062010-07-06 Ulrich Drepper <drepper@redhat.com>
22507
22508 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
22509 _PC_PIPE_BUF using F_GETPIPE_SZ.
22510
713df3d5
RM
225112010-07-05 Roland McGrath <roland@redhat.com>
22512
22513 * manual/arith.texi (Rounding Functions): Fix rint description
22514 implicit in round description.
22515
702e8f14
UD
225162010-07-02 Ulrich Drepper <drepper@redhat.com>
22517
22518 * elf/Makefile: Fix linking for a few tests to make recent linker
22519 happy.
22520
52ed8be9
AS
225212010-06-30 Andreas Schwab <schwab@redhat.com>
22522
22523 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
22524 $(common-objpfx)libc_nonshared.a.
22525
f47c9a11
LM
225262010-06-21 Luis Machado <luisgpm@br.ibm.com>
22527
22528 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
22529 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
22530 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22531 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22532 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
22533 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
22534 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22535 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
22537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
22538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
22539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
22541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
22543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
22544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
22545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
22546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
22548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
22550 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
22551 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
22552 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
22553 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
22554 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
22555 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
22556 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
22557 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
22558 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
22559 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
22560 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
22561 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
22562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
22563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
22564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
22565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
22566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
22567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
22568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
22569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
22570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
22571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
22572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
22573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
22574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
22575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
22576
6fb8cbcb
L
225772010-06-25 H.J. Lu <hongjiu.lu@intel.com>
22578
22579 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
22580 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
22581 * string/memmove.c (memmove): Renamed to ...
22582 (MEMMOVE): ...this. Default to memmove.
22583 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
22584 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
22585 (END_CHK): Define.
22586 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22587 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
22588 mempcpy-ssse3-back memmove-ssse3-back.
22589 * sysdeps/x86_64/multiarch/bcopy.S: New file .
22590 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
22591 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
22592 * sysdeps/x86_64/multiarch/memcpy.S: New file.
22593 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
22594 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
22595 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
22596 * sysdeps/x86_64/multiarch/memmove.c: New file.
22597 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
22598 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
22599 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
22600 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
22601 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
22602 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
22603 Define.
22604 (index_Fast_Copy_Backward): Define.
22605 (HAS_ARCH_FEATURE): Define.
22606 (HAS_FAST_REP_STRING): Define.
22607 (HAS_FAST_COPY_BACKWARD): Define.
22608
4e733bac 226092010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
22610
22611 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22612 Restore proper fallback handling.
22613
63c4ed22
UD
226142010-06-19 Ulrich Drepper <drepper@redhat.com>
22615
ac2b484c
UD
22616 [BZ #11701]
22617 * posix/group_member.c (__group_member): Correct checking loop.
22618
63c4ed22
UD
22619 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
22620 OOM in getpwuid_r correctly. Return error number when the caller
22621 should return, otherwise -1.
22622 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
22623 call returning > 0 value.
22624 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
22625
765ade4b
AS
226262010-06-07 Andreas Schwab <schwab@redhat.com>
22627
22628 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
22629 libc_nonshared.a from targets in modules-names.
22630
80da2e09
KS
226312010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
22632
22633 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
22634 requires it.
22635
158db122
LM
226362010-06-10 Luis Machado <luisgpm@br.ibm.com>
22637
22638 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
22639 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
22640 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
22641 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
22642
caa78cf8
AS
226432010-06-02 Andreas Schwab <schwab@redhat.com>
22644
22645 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
22646
b2ef2c01
UD
226472010-06-14 Ulrich Drepper <drepper@redhat.com>
22648
22649 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
22650 and F_GETPIPE_SZ.
22651 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
22652 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22653 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22654 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22655 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22656 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
22657
fbd643b6
RM
226582010-06-14 Roland McGrath <roland@redhat.com>
22659
22660 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
22661
f32f2869
JJ
226622010-06-07 Jakub Jelinek <jakub@redhat.com>
22663
22664 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
22665 __REDIRECT followed by __THROW.
22666 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
22667 * posix/getopt.h (getopt): Likewise.
22668
2a50c078
EPM
226692010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22670
22671 * hurd/lookup-at.c (__file_name_lookup_at): Accept
22672 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
22673 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
22674 in AT_FLAGS.
22675 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
22676 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
22677
eb5ad2eb
LM
226782010-05-28 Luis Machado <luisgpm@br.ibm.com>
22679
22680 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
22681
3c88fe1e
L
226822010-05-26 H.J. Lu <hongjiu.lu@intel.com>
22683
22684 [BZ #11640]
22685 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22686 Properly check family and model.
22687
d2f73151
TY
226882010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
22689
22690 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
22691
ebd2e13d
LM
226922010-05-24 Luis Machado <luisgpm@br.ibm.com>
22693
22694 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
22695
b32b8b45
UD
226962010-05-21 Ulrich Drepper <drepper@redhat.com>
22697
22698 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
22699 symbol reference.
22700
9acbe24d
AS
227012010-05-19 Andreas Schwab <schwab@redhat.com>
22702
22703 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
22704 symbol reference.
22705
f0ccf6ea
AS
227062010-05-21 Andreas Schwab <schwab@redhat.com>
22707
3d04ff3a
AS
22708 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
22709 and internal_recvmmsg.
22710 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
22711 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
22712 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
22713 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
22714
f0ccf6ea
AS
22715 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
22716 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
22717 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
22718
5b08ac57
AS
227192010-05-20 Andreas Schwab <schwab@redhat.com>
22720
22721 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
22722
4828935d
LM
227232010-05-17 Luis Machado <luisgpm@br.ibm.com>
22724
22725 POWER7 optimizations.
22726 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
22727 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
22728
373d545e
UD
227292010-05-19 Ulrich Drepper <drepper@redhat.com>
22730
22731 * version.h: Update for 2.13 development version.
22732
21a2b1ae
AS
227332010-05-12 Andrew Stubbs <ams@codesourcery.com>
22734
22735 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
22736 exceptions. Return 0.
22737
3f7dcb2b
RM
227382010-05-07 Roland McGrath <roland@redhat.com>
22739
22740 * elf/ldconfig.c (main): Add a const.
22741
5f24d53a 227422010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 22743
a160f8d8
UD
22744 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
22745 (args_options): Add no-idn option.
22746 (ahosts_keys_int): Add idn_flags to ai_flags.
22747 (parse_option): Handle 'i' option to clear idn_flags.
22748
5f24d53a
UD
22749 * malloc/malloc.c (_int_free): Possible race in the most recently
22750 added check. Only act on the data if no current modification
22751 happened.
265bb1ce
UD
22752
22753See ChangeLog.17 for earlier changes.